issue_id
int64
2.04k
425k
title
stringlengths
9
251
body
stringlengths
4
32.8k
status
stringclasses
6 values
after_fix_sha
stringlengths
7
7
project_name
stringclasses
6 values
repo_url
stringclasses
6 values
repo_name
stringclasses
6 values
language
stringclasses
1 value
issue_url
null
before_fix_sha
null
pull_url
null
commit_datetime
timestamp[us, tz=UTC]
report_datetime
timestamp[us, tz=UTC]
updated_file
stringlengths
23
187
chunk_content
stringlengths
1
22k
20,424
Bug 20424 Autocompletion "Iterate through Collection" should add "import java.util.Iterator"
I use autocompletion to generate an iteration through a collection. So this is the kind of code I'm getting: for (Iterator iter = myCollection.iterator(); iter.hasNext();) { type element = (type) iter.next(); However, autocompletion leaves my .java file without the neccessary import java.util.Iterator; required for all...
resolved fixed
3993ffa
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-08-05T12:09:50Z
2002-06-17T10:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/template/TemplateProposal.java
/* * (c) Copyright IBM Corp. 2000, 2001. * All Rights Reserved. */ package org.eclipse.jdt.internal.ui.text.template; import org.eclipse.core.runtime.CoreException; import org.eclipse.swt.graphics.Image; import org.eclipse.swt.graphics.Point; import org.eclipse.swt.widgets.Shell; import org.eclipse.jface.dialogs.Mes...
20,424
Bug 20424 Autocompletion "Iterate through Collection" should add "import java.util.Iterator"
I use autocompletion to generate an iteration through a collection. So this is the kind of code I'm getting: for (Iterator iter = myCollection.iterator(); iter.hasNext();) { type element = (type) iter.next(); However, autocompletion leaves my .java file without the neccessary import java.util.Iterator; required for all...
resolved fixed
3993ffa
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-08-05T12:09:50Z
2002-06-17T10:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/template/TemplateProposal.java
* A template proposal. */ public class TemplateProposal implements IJavaCompletionProposal { private final Template fTemplate; private final TemplateContext fContext; private final ITextViewer fViewer; private final Image fImage; private final IRegion fRegion; private TemplateBuffer fTemplateBuffer; private Str...
20,424
Bug 20424 Autocompletion "Iterate through Collection" should add "import java.util.Iterator"
I use autocompletion to generate an iteration through a collection. So this is the kind of code I'm getting: for (Iterator iter = myCollection.iterator(); iter.hasNext();) { type element = (type) iter.next(); However, autocompletion leaves my .java file without the neccessary import java.util.Iterator; required for all...
resolved fixed
3993ffa
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-08-05T12:09:50Z
2002-06-17T10:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/template/TemplateProposal.java
/* * @see ICompletionProposal#apply(IDocument) */ public void apply(IDocument document) { try { if (fTemplateBuffer == null) fTemplateBuffer= fContext.evaluate(fTemplate); int start= fRegion.getOffset(); int end= fRegion.getOffset() + fRegion.getLength(); String templateStr...
20,424
Bug 20424 Autocompletion "Iterate through Collection" should add "import java.util.Iterator"
I use autocompletion to generate an iteration through a collection. So this is the kind of code I'm getting: for (Iterator iter = myCollection.iterator(); iter.hasNext();) { type element = (type) iter.next(); However, autocompletion leaves my .java file without the neccessary import java.util.Iterator; required for all...
resolved fixed
3993ffa
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-08-05T12:09:50Z
2002-06-17T10:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/template/TemplateProposal.java
editor.enter(); fSelectedRegion= editor.getSelectedRegion(); } catch (BadLocationException e) { JavaPlugin.log(e); openErrorDialog(e); } catch (CoreException e) { handleException(e); } } private static int getCaretOffset(TemplateBuffer buffer) { TemplatePosition[] v...
20,424
Bug 20424 Autocompletion "Iterate through Collection" should add "import java.util.Iterator"
I use autocompletion to generate an iteration through a collection. So this is the kind of code I'm getting: for (Iterator iter = myCollection.iterator(); iter.hasNext();) { type element = (type) iter.next(); However, autocompletion leaves my .java file without the neccessary import java.util.Iterator; required for all...
resolved fixed
3993ffa
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-08-05T12:09:50Z
2002-06-17T10:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/template/TemplateProposal.java
*/ public String getAdditionalProposalInfo() { try { if (fTemplateBuffer == null) fTemplateBuffer= fContext.evaluate(fTemplate); return textToHTML(fTemplateBuffer.getString()); } catch (CoreException e) { handleException(e); return null; } } /* * @see ICompletionProposal#getDis...
20,424
Bug 20424 Autocompletion "Iterate through Collection" should add "import java.util.Iterator"
I use autocompletion to generate an iteration through a collection. So this is the kind of code I'm getting: for (Iterator iter = myCollection.iterator(); iter.hasNext();) { type element = (type) iter.next(); However, autocompletion leaves my .java file without the neccessary import java.util.Iterator; required for all...
resolved fixed
3993ffa
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-08-05T12:09:50Z
2002-06-17T10:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/template/TemplateProposal.java
StringBuffer buffer= new StringBuffer(string.length()); buffer.append("<pre>"); for (int i= 0; i != string.length(); i++) { char ch= string.charAt(i); switch (ch) { case '&': buffer.append("&amp;"); break; case '<': buffer.append("&lt;"); break; case '>': bu...
20,424
Bug 20424 Autocompletion "Iterate through Collection" should add "import java.util.Iterator"
I use autocompletion to generate an iteration through a collection. So this is the kind of code I'm getting: for (Iterator iter = myCollection.iterator(); iter.hasNext();) { type element = (type) iter.next(); However, autocompletion leaves my .java file without the neccessary import java.util.Iterator; required for all...
resolved fixed
3993ffa
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-08-05T12:09:50Z
2002-06-17T10:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/template/TemplateProposal.java
} private void openErrorDialog(BadLocationException e) { Shell shell= fViewer.getTextWidget().getShell(); MessageDialog.openError(shell, TemplateMessages.getString("TemplateEvaluator.error.title"), e.getMessage()); } private void handleException(CoreException e) { Shell shell= fViewer.getTextWidget().getShell...
21,631
Bug 21631 JavaUI.createTypeDialog() should provide default message [dialogs]
2.0 Release If you use JavaUI.createTypeDialog() to create a new (single selection) type dialog, and then open the dialog, the open will fail silently. The dialog cannot be succesfully opened unless you send setMessage() to the dialog before you open it. This behaviour should be documented, or, preferably, a default me...
resolved fixed
cd4525e
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-08-05T12:26:51Z
2002-07-16T20:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/JavaUI.java
/******************************************************************************* * Copyright (c) 2000, 2002 International Business Machines Corp. and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Common Public License v1.0 * which accompanie...
21,631
Bug 21631 JavaUI.createTypeDialog() should provide default message [dialogs]
2.0 Release If you use JavaUI.createTypeDialog() to create a new (single selection) type dialog, and then open the dialog, the open will fail silently. The dialog cannot be succesfully opened unless you send setMessage() to the dialog before you open it. This behaviour should be documented, or, preferably, a default me...
resolved fixed
cd4525e
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-08-05T12:26:51Z
2002-07-16T20:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/JavaUI.java
import org.eclipse.jdt.core.ISourceReference; import org.eclipse.jdt.core.IWorkingCopy; import org.eclipse.jdt.core.JavaCore; import org.eclipse.jdt.core.JavaModelException; import org.eclipse.jdt.core.search.IJavaSearchConstants; import org.eclipse.jdt.core.search.IJavaSearchScope; import org.eclipse.jdt.core.search.S...
21,631
Bug 21631 JavaUI.createTypeDialog() should provide default message [dialogs]
2.0 Release If you use JavaUI.createTypeDialog() to create a new (single selection) type dialog, and then open the dialog, the open will fail silently. The dialog cannot be succesfully opened unless you send setMessage() to the dialog before you open it. This behaviour should be documented, or, preferably, a default me...
resolved fixed
cd4525e
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-08-05T12:26:51Z
2002-07-16T20:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/JavaUI.java
private static ISharedImages fgSharedImages= null; private JavaUI() { } /**
21,631
Bug 21631 JavaUI.createTypeDialog() should provide default message [dialogs]
2.0 Release If you use JavaUI.createTypeDialog() to create a new (single selection) type dialog, and then open the dialog, the open will fail silently. The dialog cannot be succesfully opened unless you send setMessage() to the dialog before you open it. This behaviour should be documented, or, preferably, a default me...
resolved fixed
cd4525e
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-08-05T12:26:51Z
2002-07-16T20:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/JavaUI.java
* The id of the Java plugin (value <code>"org.eclipse.jdt.ui"</code>). */ public static final String ID_PLUGIN= "org.eclipse.jdt.ui"; /** * The id of the Java perspective * (value <code>"org.eclipse.jdt.ui.JavaPerspective"</code>). */ public static final String ID_PERSPECTIVE= "org.eclipse.jdt.ui.Java...
21,631
Bug 21631 JavaUI.createTypeDialog() should provide default message [dialogs]
2.0 Release If you use JavaUI.createTypeDialog() to create a new (single selection) type dialog, and then open the dialog, the open will fail silently. The dialog cannot be succesfully opened unless you send setMessage() to the dialog before you open it. This behaviour should be documented, or, preferably, a default me...
resolved fixed
cd4525e
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-08-05T12:26:51Z
2002-07-16T20:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/JavaUI.java
* (value <code>"org.eclipse.jdt.ui.CodingActionSet"</code>). * * @since 2.0 */ public static final String ID_CODING_ACTION_SET= "org.eclipse.jdt.ui.CodingActionSet"; /** * The id of the Java action set for open actions * (value <code>"org.eclipse.jdt.ui.A_OpenActionSet"</code>). * * @since 2.0 */ ...
21,631
Bug 21631 JavaUI.createTypeDialog() should provide default message [dialogs]
2.0 Release If you use JavaUI.createTypeDialog() to create a new (single selection) type dialog, and then open the dialog, the open will fail silently. The dialog cannot be succesfully opened unless you send setMessage() to the dialog before you open it. This behaviour should be documented, or, preferably, a default me...
resolved fixed
cd4525e
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-08-05T12:26:51Z
2002-07-16T20:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/JavaUI.java
public static final String ID_CF_EDITOR= "org.eclipse.jdt.ui.ClassFileEditor"; /** * The editor part id of the code snippet editor * (value <code>"org.eclipse.jdt.ui.SnippetEditor"</code>). */ public static final String ID_SNIPPET_EDITOR= "org.eclipse.jdt.ui.SnippetEditor"; /** * The view part id of ...
21,631
Bug 21631 JavaUI.createTypeDialog() should provide default message [dialogs]
2.0 Release If you use JavaUI.createTypeDialog() to create a new (single selection) type dialog, and then open the dialog, the open will fail silently. The dialog cannot be succesfully opened unless you send setMessage() to the dialog before you open it. This behaviour should be documented, or, preferably, a default me...
resolved fixed
cd4525e
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-08-05T12:26:51Z
2002-07-16T20:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/JavaUI.java
* can be safely cast to an <code>ITypeHierarchyViewPart</code>. * </p> * * @see ITypeHierarchyViewPart * @see org.eclipse.ui.IWorkbenchPage#findView(java.lang.String) * @see org.eclipse.ui.IWorkbenchPage#showView(java.lang.String) */ public static final String ID_TYPE_HIERARCHY= "org.eclipse.jdt.ui.Type...
21,631
Bug 21631 JavaUI.createTypeDialog() should provide default message [dialogs]
2.0 Release If you use JavaUI.createTypeDialog() to create a new (single selection) type dialog, and then open the dialog, the open will fail silently. The dialog cannot be succesfully opened unless you send setMessage() to the dialog before you open it. This behaviour should be documented, or, preferably, a default me...
resolved fixed
cd4525e
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-08-05T12:26:51Z
2002-07-16T20:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/JavaUI.java
* The view part id of the Java Browsing Types view * (value <code>"org.eclipse.jdt.ui.TypesView"</code>). * * @since 2.0 */ public static String ID_TYPES_VIEW= "org.eclipse.jdt.ui.TypesView"; /** * The view part id of the Java Browsing Members view * (value <code>"org.eclipse.jdt.ui.MembersView"</code>)...
21,631
Bug 21631 JavaUI.createTypeDialog() should provide default message [dialogs]
2.0 Release If you use JavaUI.createTypeDialog() to create a new (single selection) type dialog, and then open the dialog, the open will fail silently. The dialog cannot be succesfully opened unless you send setMessage() to the dialog before you open it. This behaviour should be documented, or, preferably, a default me...
resolved fixed
cd4525e
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-08-05T12:26:51Z
2002-07-16T20:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/JavaUI.java
fgSharedImages= new SharedImages(); return fgSharedImages; } /** * Creates a selection dialog that lists all packages of the given Java project. * The caller is responsible for opening the dialog with <code>Window.open</code>, * and subsequently extracting the selected package (of type * <code>IPacka...
21,631
Bug 21631 JavaUI.createTypeDialog() should provide default message [dialogs]
2.0 Release If you use JavaUI.createTypeDialog() to create a new (single selection) type dialog, and then open the dialog, the open will fail silently. The dialog cannot be succesfully opened unless you send setMessage() to the dialog before you open it. This behaviour should be documented, or, preferably, a default me...
resolved fixed
cd4525e
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-08-05T12:26:51Z
2002-07-16T20:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/JavaUI.java
(IJavaElementSearchConstants.CONSIDER_BINARIES | IJavaElementSearchConstants.CONSIDER_REQUIRED_PROJECTS)); IPackageFragmentRoot[] roots= null; if ((style & IJavaElementSearchConstants.CONSIDER_REQUIRED_PROJECTS) != 0) { roots= project.getAllPackageFragmentRoots(); } else { roots= project.getPackageFragm...
21,631
Bug 21631 JavaUI.createTypeDialog() should provide default message [dialogs]
2.0 Release If you use JavaUI.createTypeDialog() to create a new (single selection) type dialog, and then open the dialog, the open will fail silently. The dialog cannot be succesfully opened unless you send setMessage() to the dialog before you open it. This behaviour should be documented, or, preferably, a default me...
resolved fixed
cd4525e
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-08-05T12:26:51Z
2002-07-16T20:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/JavaUI.java
ElementListSelectionDialog dialog= new ElementListSelectionDialog(parent, new JavaElementLabelProvider(flags)); dialog.setIgnoreCase(false); dialog.setElements(packages.toArray()); dialog.setFilter(filter); return dialog; } /** * Creates a selection dialog that lists all packages of the given Java project....
21,631
Bug 21631 JavaUI.createTypeDialog() should provide default message [dialogs]
2.0 Release If you use JavaUI.createTypeDialog() to create a new (single selection) type dialog, and then open the dialog, the open will fail silently. The dialog cannot be succesfully opened unless you send setMessage() to the dialog before you open it. This behaviour should be documented, or, preferably, a default me...
resolved fixed
cd4525e
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-08-05T12:26:51Z
2002-07-16T20:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/JavaUI.java
* The caller is responsible for opening the dialog with <code>Window.open</code>, * and subsequently extracting the selected package (of type * <code>IPackageFragment</code>) via <code>SelectionDialog.getResult</code>. * * @param parent the parent shell of the dialog to be created * @param root the package f...
21,631
Bug 21631 JavaUI.createTypeDialog() should provide default message [dialogs]
2.0 Release If you use JavaUI.createTypeDialog() to create a new (single selection) type dialog, and then open the dialog, the open will fail silently. The dialog cannot be succesfully opened unless you send setMessage() to the dialog before you open it. This behaviour should be documented, or, preferably, a default me...
resolved fixed
cd4525e
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-08-05T12:26:51Z
2002-07-16T20:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/JavaUI.java
* @param root the package fragment root * @return a new selection dialog * @exception JavaModelException if the selection dialog could not be opened */ public static SelectionDialog createPackageDialog(Shell parent, IPackageFragmentRoot root) throws JavaModelException { return createPackageDialog(parent, root,...
21,631
Bug 21631 JavaUI.createTypeDialog() should provide default message [dialogs]
2.0 Release If you use JavaUI.createTypeDialog() to create a new (single selection) type dialog, and then open the dialog, the open will fail silently. The dialog cannot be succesfully opened unless you send setMessage() to the dialog before you open it. This behaviour should be documented, or, preferably, a default me...
resolved fixed
cd4525e
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-08-05T12:26:51Z
2002-07-16T20:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/JavaUI.java
public static SelectionDialog createTypeDialog(Shell parent, IRunnableContext context, IJavaSearchScope scope, int style, boolean multipleSelection, String filter) throws JavaModelException { int elementKinds= 0; if (style == IJavaElementSearchConstants.CONSIDER_TYPES) { elementKinds= IJavaSearchConstants.TYPE; ...
21,631
Bug 21631 JavaUI.createTypeDialog() should provide default message [dialogs]
2.0 Release If you use JavaUI.createTypeDialog() to create a new (single selection) type dialog, and then open the dialog, the open will fail silently. The dialog cannot be succesfully opened unless you send setMessage() to the dialog before you open it. This behaviour should be documented, or, preferably, a default me...
resolved fixed
cd4525e
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-08-05T12:26:51Z
2002-07-16T20:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/JavaUI.java
* @param scope the scope that limits which types are included * @param style flags defining the style of the dialog; the only valid values are * <code>IJavaElementSearchConstants.CONSIDER_CLASSES</code>, * <code>CONSIDER_INTERFACES</code>, or their bitwise OR * (equivalent to <code>CONSIDER_TYPES</code>)...
21,631
Bug 21631 JavaUI.createTypeDialog() should provide default message [dialogs]
2.0 Release If you use JavaUI.createTypeDialog() to create a new (single selection) type dialog, and then open the dialog, the open will fail silently. The dialog cannot be succesfully opened unless you send setMessage() to the dialog before you open it. This behaviour should be documented, or, preferably, a default me...
resolved fixed
cd4525e
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-08-05T12:26:51Z
2002-07-16T20:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/JavaUI.java
* any character and '*' representing any string are supported. Clients can pass an empty * string if no filtering is required. * @return a new selection dialog * * @since 2.0 */ public static SelectionDialog createMainTypeDialog(Shell parent, IRunnableContext context, IJavaSearchScope scope, int style, boo...
21,631
Bug 21631 JavaUI.createTypeDialog() should provide default message [dialogs]
2.0 Release If you use JavaUI.createTypeDialog() to create a new (single selection) type dialog, and then open the dialog, the open will fail silently. The dialog cannot be succesfully opened unless you send setMessage() to the dialog before you open it. This behaviour should be documented, or, preferably, a default me...
resolved fixed
cd4525e
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-08-05T12:26:51Z
2002-07-16T20:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/JavaUI.java
* <code>CONSIDER_EXTERNAL_JARS</code>, or their bitwise OR, or <code>0</code> * @param multipleSelection <code>true</code> if multiple selection is allowed * @return a new selection dialog */ public static SelectionDialog createMainTypeDialog(Shell parent, IRunnableContext context, IJavaSearchScope scope, int ...
21,631
Bug 21631 JavaUI.createTypeDialog() should provide default message [dialogs]
2.0 Release If you use JavaUI.createTypeDialog() to create a new (single selection) type dialog, and then open the dialog, the open will fail silently. The dialog cannot be succesfully opened unless you send setMessage() to the dialog before you open it. This behaviour should be documented, or, preferably, a default me...
resolved fixed
cd4525e
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-08-05T12:26:51Z
2002-07-16T20:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/JavaUI.java
/** * Opens a Java editor on the given Java element. The element can be a compilation unit * or class file. If there already is an open Java editor for the given element, it is returned. * * @param element the input element; either a compilation unit * (<code>ICompilationUnit</code>) or a class file (</co...
21,631
Bug 21631 JavaUI.createTypeDialog() should provide default message [dialogs]
2.0 Release If you use JavaUI.createTypeDialog() to create a new (single selection) type dialog, and then open the dialog, the open will fail silently. The dialog cannot be succesfully opened unless you send setMessage() to the dialog before you open it. This behaviour should be documented, or, preferably, a default me...
resolved fixed
cd4525e
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-08-05T12:26:51Z
2002-07-16T20:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/JavaUI.java
/** * Reveals the given java element in the given editor. If the element is not an instance * of <code>ISourceReference</code> this method result in a NOP. If it is a source * reference no checking is done if the editor displays a compilation unit or class file that * contains the source reference element. T...
21,631
Bug 21631 JavaUI.createTypeDialog() should provide default message [dialogs]
2.0 Release If you use JavaUI.createTypeDialog() to create a new (single selection) type dialog, and then open the dialog, the open will fail silently. The dialog cannot be succesfully opened unless you send setMessage() to the dialog before you open it. This behaviour should be documented, or, preferably, a default me...
resolved fixed
cd4525e
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-08-05T12:26:51Z
2002-07-16T20:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/JavaUI.java
* * @see org.eclipse.jdt.core.JavaCore#getSharedWorkingCopies(org.eclipse.jdt.core.IBufferFactory) * @since 2.0 */ public static IWorkingCopy[] getSharedWorkingCopies() { return JavaCore.getSharedWorkingCopies(getBufferFactory()); } /** * Returns the BufferFactory for the Java UI plug-in. * * @retur...
21,631
Bug 21631 JavaUI.createTypeDialog() should provide default message [dialogs]
2.0 Release If you use JavaUI.createTypeDialog() to create a new (single selection) type dialog, and then open the dialog, the open will fail silently. The dialog cannot be succesfully opened unless you send setMessage() to the dialog before you open it. This behaviour should be documented, or, preferably, a default me...
resolved fixed
cd4525e
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-08-05T12:26:51Z
2002-07-16T20:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/JavaUI.java
public static IDocumentProvider getDocumentProvider() { return JavaPlugin.getDefault().getCompilationUnitDocumentProvider(); } /** * Sets the Javadoc location for an archive with the given path. * * @param archivePath the path of the library; this can be an workspace path * or an external path in case of...
21,631
Bug 21631 JavaUI.createTypeDialog() should provide default message [dialogs]
2.0 Release If you use JavaUI.createTypeDialog() to create a new (single selection) type dialog, and then open the dialog, the open will fail silently. The dialog cannot be succesfully opened unless you send setMessage() to the dialog before you open it. This behaviour should be documented, or, preferably, a default me...
resolved fixed
cd4525e
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-08-05T12:26:51Z
2002-07-16T20:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/JavaUI.java
* Returns the Javadoc base URL for an element. The base location contains the * index file. This location must not exist. Returns <code>null</code> if no javadoc location * has been attached to the element's library or project. * Example of a returned URL is <i>http://www.junit.org/junit/javadoc</i>. * * @pa...
20,195
Bug 20195 Can't collapse import container in members view [browsing]
F3 - link Java Browsing to active editor - open Java Browsing perspective - open ClassFileDocumentProvider - expand import container in members view - select first import - try to collapse import container.
resolved fixed
7d17822
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-08-06T16:38:31Z
2002-06-13T14:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/MembersView.java
/* * (c) Copyright IBM Corp. 2000, 2001. * All Rights Reserved. */ package org.eclipse.jdt.internal.ui.browsing; import org.eclipse.swt.SWT; import org.eclipse.swt.widgets.Composite; import org.eclipse.jface.action.IToolBarManager; import org.eclipse.jface.viewers.DoubleClickEvent; import org.eclipse.jface.viewers.I...
20,195
Bug 20195 Can't collapse import container in members view [browsing]
F3 - link Java Browsing to active editor - open Java Browsing perspective - open ClassFileDocumentProvider - expand import container in members view - select first import - try to collapse import container.
resolved fixed
7d17822
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-08-06T16:38:31Z
2002-06-13T14:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/MembersView.java
import org.eclipse.jdt.ui.JavaUI; import org.eclipse.jdt.ui.OverrideIndicatorLabelDecorator; import org.eclipse.jdt.ui.actions.MemberFilterActionGroup; import org.eclipse.jdt.internal.ui.IJavaHelpContextIds; import org.eclipse.jdt.internal.ui.viewsupport.AppearanceAwareLabelProvider; import org.eclipse.jdt.internal.ui....
20,195
Bug 20195 Can't collapse import container in members view [browsing]
F3 - link Java Browsing to active editor - open Java Browsing perspective - open ClassFileDocumentProvider - expand import container in members view - select first import - try to collapse import container.
resolved fixed
7d17822
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-08-06T16:38:31Z
2002-06-13T14:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/MembersView.java
* @return the string used as ID for the Help context */ protected String getHelpContextId() { return IJavaHelpContextIds.MEMBERS_VIEW; } /** * Creates the the viewer of this part. * * @param parent the parent for the viewer */ protected StructuredViewer createViewer(Composite parent) { ProblemTreeVie...
20,195
Bug 20195 Can't collapse import container in members view [browsing]
F3 - link Java Browsing to active editor - open Java Browsing perspective - open ClassFileDocumentProvider - expand import container in members view - select first import - try to collapse import container.
resolved fixed
7d17822
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-08-06T16:38:31Z
2002-06-13T14:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/MembersView.java
return type.isBinary() || type.getDeclaringType() == null; } return false; } /** * Answers if the given <code>element</code> is a valid * element for this part. * * @param element the object to test * @return <true> if the given element is a valid element */ protected boolean isValidElement(Objec...
20,195
Bug 20195 Can't collapse import container in members view [browsing]
F3 - link Java Browsing to active editor - open Java Browsing perspective - open ClassFileDocumentProvider - expand import container in members view - select first import - try to collapse import container.
resolved fixed
7d17822
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-08-06T16:38:31Z
2002-06-13T14:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/MembersView.java
} return false; } /** * Finds the element which has to be selected in this part. * * @param je the Java element which has the focus */ protected IJavaElement findElementToSelect(IJavaElement je) { if (je == null) return null; switch (je.getElementType()) { case IJavaElement.TYPE: if (((IType...
20,195
Bug 20195 Can't collapse import container in members view [browsing]
F3 - link Java Browsing to active editor - open Java Browsing perspective - open ClassFileDocumentProvider - expand import container in members view - select first import - try to collapse import container.
resolved fixed
7d17822
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-08-06T16:38:31Z
2002-06-13T14:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/MembersView.java
* * @param je the Java element for which to search the closest input * @return the closest Java element used as input for this part */ protected IJavaElement findInputForJavaElement(IJavaElement je) { if (je == null || !je.exists()) return null; switch (je.getElementType()) { case IJavaElement.T...
20,195
Bug 20195 Can't collapse import container in members view [browsing]
F3 - link Java Browsing to active editor - open Java Browsing perspective - open ClassFileDocumentProvider - expand import container in members view - select first import - try to collapse import container.
resolved fixed
7d17822
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-08-06T16:38:31Z
2002-06-13T14:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/MembersView.java
try { types= ((ICompilationUnit)parent).getAllTypes(); } catch (JavaModelException ex) { return null; } if (types.length > 0) return types[0]; else return null; } else if (parent instanceof IClassFile) return findInputForJavaElement(parent); default: if (j...
20,195
Bug 20195 Can't collapse import container in members view [browsing]
F3 - link Java Browsing to active editor - open Java Browsing perspective - open ClassFileDocumentProvider - expand import container in members view - select first import - try to collapse import container.
resolved fixed
7d17822
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-08-06T16:38:31Z
2002-06-13T14:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/MembersView.java
getViewer().refresh(); getViewer().getControl().setRedraw(true); } protected void hookViewerListeners() { super.hookViewerListeners(); getViewer().addDoubleClickListener(new IDoubleClickListener() { public void doubleClick(DoubleClickEvent event) { TreeViewer viewer= (TreeViewer)getViewer(); Object ...
12,049
Bug 12049 Java Browing is not saving its state.
Open a java browing perspective. Select a project, package and type. Exit the workspace Re-start it. The selected project,package and type are not selected anymore.
resolved fixed
bc523a1
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-08-07T13:42:26Z
2002-03-21T17:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/JavaBrowsingPart.java
/* * (c) Copyright IBM Corp. 2000, 2001. * All Rights Reserved. */ package org.eclipse.jdt.internal.ui.browsing; import java.util.Collection; import java.util.Comparator; import java.util.Iterator; import org.eclipse.core.resources.IContainer; import org.eclipse.core.resources.IFile; import org.eclipse.core.resource...
12,049
Bug 12049 Java Browing is not saving its state.
Open a java browing perspective. Select a project, package and type. Exit the workspace Re-start it. The selected project,package and type are not selected anymore.
resolved fixed
bc523a1
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-08-07T13:42:26Z
2002-03-21T17:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/JavaBrowsingPart.java
import org.eclipse.swt.widgets.Shell; import org.eclipse.jface.action.IAction; import org.eclipse.jface.action.IMenuListener; import org.eclipse.jface.action.IMenuManager; import org.eclipse.jface.action.IStatusLineManager; import org.eclipse.jface.action.IToolBarManager; import org.eclipse.jface.action.MenuManager; im...
12,049
Bug 12049 Java Browing is not saving its state.
Open a java browing perspective. Select a project, package and type. Exit the workspace Re-start it. The selected project,package and type are not selected anymore.
resolved fixed
bc523a1
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-08-07T13:42:26Z
2002-03-21T17:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/JavaBrowsingPart.java
import org.eclipse.ui.IViewSite; import org.eclipse.ui.IWorkbenchPage; import org.eclipse.ui.IWorkbenchPart; import org.eclipse.ui.IWorkbenchPartSite; import org.eclipse.ui.IWorkingSet; import org.eclipse.ui.IWorkingSetManager; import org.eclipse.ui.PartInitException; import org.eclipse.ui.PlatformUI; import org.eclips...
12,049
Bug 12049 Java Browing is not saving its state.
Open a java browing perspective. Select a project, package and type. Exit the workspace Re-start it. The selected project,package and type are not selected anymore.
resolved fixed
bc523a1
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-08-07T13:42:26Z
2002-03-21T17:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/JavaBrowsingPart.java
import org.eclipse.jdt.ui.actions.GenerateActionGroup; import org.eclipse.jdt.ui.actions.ImportActionGroup; import org.eclipse.jdt.ui.actions.JavaSearchActionGroup; import org.eclipse.jdt.ui.actions.OpenEditorActionGroup; import org.eclipse.jdt.ui.actions.OpenViewActionGroup; import org.eclipse.jdt.ui.actions.RefactorA...
12,049
Bug 12049 Java Browing is not saving its state.
Open a java browing perspective. Select a project, package and type. Exit the workspace Re-start it. The selected project,package and type are not selected anymore.
resolved fixed
bc523a1
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-08-07T13:42:26Z
2002-03-21T17:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/JavaBrowsingPart.java
private ILabelProvider fLabelProvider; private ILabelProvider fTitleProvider; private StructuredViewer fViewer; private IMemento fMemento; private JavaElementTypeComparator fTypeComparator; private WorkingSetFilterActionGroup fWorkingSetFilterActionGroup; private boolean fHasWorkingSetFilter= true; private b...
12,049
Bug 12049 Java Browing is not saving its state.
Open a java browing perspective. Select a project, package and type. Exit the workspace Re-start it. The selected project,package and type are not selected anymore.
resolved fixed
bc523a1
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-08-07T13:42:26Z
2002-03-21T17:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/JavaBrowsingPart.java
private BuildActionGroup fBuildActionGroup; protected CompositeActionGroup fActionGroups; private CustomFiltersActionGroup fCustomFiltersActionGroup; private Menu fContextMenu; private IWorkbenchPart fPreviousSelectionProvider; private Object fPreviousSelectedElement; /* * Ensure selection changed eve...
12,049
Bug 12049 Java Browing is not saving its state.
Open a java browing perspective. Select a project, package and type. Exit the workspace Re-start it. The selected project,package and type are not selected anymore.
resolved fixed
bc523a1
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-08-07T13:42:26Z
2002-03-21T17:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/JavaBrowsingPart.java
*/ public void init(IViewSite site, IMemento memento) throws PartInitException { super.init(site, memento); fMemento= memento; } /* * Implements method from IViewPart. */ public void saveState(IMemento memento) { if (fViewer == null) { if (fMemento != null) memento.putMemento(fMemento); ret...
12,049
Bug 12049 Java Browing is not saving its state.
Open a java browing perspective. Select a project, package and type. Exit the workspace Re-start it. The selected project,package and type are not selected anymore.
resolved fixed
bc523a1
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-08-07T13:42:26Z
2002-03-21T17:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/JavaBrowsingPart.java
} } /** * Creates the search list inner viewer. */ public void createPartControl(Composite parent) { Assert.isTrue(fViewer == null); fTypeComparator= new JavaElementTypeComparator(); fViewer= createViewer(parent); fLabelProvider= createLabelProvider(); ILabelDecorator decorationMgr= PlatformUI.getW...
12,049
Bug 12049 Java Browing is not saving its state.
Open a java browing perspective. Select a project, package and type. Exit the workspace Re-start it. The selected project,package and type are not selected anymore.
resolved fixed
bc523a1
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-08-07T13:42:26Z
2002-03-21T17:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/JavaBrowsingPart.java
if (fMemento != null) restoreState(fMemento); fMemento= null; getSite().setSelectionProvider(fViewer); IStatusLineManager slManager= getViewSite().getActionBars().getStatusLineManager(); fViewer.addSelectionChangedListener(new StatusBarUpdater(slManager)); hookViewerListeners(); addFilters(...
12,049
Bug 12049 Java Browing is not saving its state.
Open a java browing perspective. Select a project, package and type. Exit the workspace Re-start it. The selected project,package and type are not selected anymore.
resolved fixed
bc523a1
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-08-07T13:42:26Z
2002-03-21T17:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/JavaBrowsingPart.java
private void initDragAndDrop() { int ops= DND.DROP_COPY | DND.DROP_MOVE | DND.DROP_LINK; Transfer[] transfers= new Transfer[] { LocalSelectionTransfer.getInstance(), ResourceTransfer.getInstance()}; TransferDropTargetListener[] dropListeners= new TransferDropTargetListener[] { new SelectionTransfe...
12,049
Bug 12049 Java Browing is not saving its state.
Open a java browing perspective. Select a project, package and type. Exit the workspace Re-start it. The selected project,package and type are not selected anymore.
resolved fixed
bc523a1
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-08-07T13:42:26Z
2002-03-21T17:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/JavaBrowsingPart.java
} }); } protected void fillActionBars() { IActionBars actionBars= getViewSite().getActionBars(); IToolBarManager toolBar= actionBars.getToolBarManager(); fillToolBar(toolBar); if (fHasWorkingSetFilter) fWorkingSetFilterActionGroup.fillActionBars(getViewSite().getActionBars()); actionBars.updateActi...
12,049
Bug 12049 Java Browing is not saving its state.
Open a java browing perspective. Select a project, package and type. Exit the workspace Re-start it. The selected project,package and type are not selected anymore.
resolved fixed
bc523a1
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-08-07T13:42:26Z
2002-03-21T17:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/JavaBrowsingPart.java
fActionGroups.dispose(); super.dispose(); } /** * Adds the KeyListener */ protected void addKeyListener() { fViewer.getControl().addKeyListener(new KeyAdapter() { public void keyReleased(KeyEvent event) { handleKeyReleased(event); } }); } protected void handleKeyReleased(KeyEvent event) { i...
12,049
Bug 12049 Java Browing is not saving its state.
Open a java browing perspective. Select a project, package and type. Exit the workspace Re-start it. The selected project,package and type are not selected anymore.
resolved fixed
bc523a1
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-08-07T13:42:26Z
2002-03-21T17:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/JavaBrowsingPart.java
protected void fillToolBar(IToolBarManager tbm) { } /** * Called when the context menu is about to open. * Override to add your own context dependent menu contributions. */ public void menuAboutToShow(IMenuManager menu) { JavaPlugin.createStandardGroups(menu); IStructuredSelection selection= (IStructur...
12,049
Bug 12049 Java Browing is not saving its state.
Open a java browing perspective. Select a project, package and type. Exit the workspace Re-start it. The selected project,package and type are not selected anymore.
resolved fixed
bc523a1
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-08-07T13:42:26Z
2002-03-21T17:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/JavaBrowsingPart.java
return false; int type= element.getElementType(); return type == IJavaElement.JAVA_PROJECT || type == IJavaElement.PACKAGE_FRAGMENT_ROOT || type == IJavaElement.PACKAGE_FRAGMENT || type == IJavaElement.COMPILATION_UNIT || type == IJavaElement.TYPE; } private void addOpenNewWindowAction(IMenuManager...
12,049
Bug 12049 Java Browing is not saving its state.
Open a java browing perspective. Select a project, package and type. Exit the workspace Re-start it. The selected project,package and type are not selected anymore.
resolved fixed
bc523a1
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-08-07T13:42:26Z
2002-03-21T17:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/JavaBrowsingPart.java
new GenerateActionGroup(this), fBuildActionGroup= new BuildActionGroup(this), new JavaSearchActionGroup(this)}); String viewId= getConfigurationElement().getAttribute("id"); Assert.isNotNull(viewId); IPropertyChangeListener titleUpdater= new IPropertyChangeListener() { public void propertyChange(Pr...
12,049
Bug 12049 Java Browing is not saving its state.
Open a java browing perspective. Select a project, package and type. Exit the workspace Re-start it. The selected project,package and type are not selected anymore.
resolved fixed
bc523a1
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-08-07T13:42:26Z
2002-03-21T17:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/JavaBrowsingPart.java
ISelectionProvider getSelectionProvider() { return fViewer; } /** * Answers if the given <code>element</code> is a valid * input for this part. * * @param element the object to test * @return <true> if the given element is a valid input */ abstract protected boolean isValidInput(Object element); /**...
12,049
Bug 12049 Java Browing is not saving its state.
Open a java browing perspective. Select a project, package and type. Exit the workspace Re-start it. The selected project,package and type are not selected anymore.
resolved fixed
bc523a1
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-08-07T13:42:26Z
2002-03-21T17:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/JavaBrowsingPart.java
return input.equals(element); } private boolean isInputResetBy(Object newInput, Object input, IWorkbenchPart part) { if (newInput == null) return part == fPreviousSelectionProvider; if (input instanceof IJavaElement && newInput instanceof IJavaElement) return getTypeComparator().compare(newInput, input)...
12,049
Bug 12049 Java Browing is not saving its state.
Open a java browing perspective. Select a project, package and type. Exit the workspace Re-start it. The selected project,package and type are not selected anymore.
resolved fixed
bc523a1
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-08-07T13:42:26Z
2002-03-21T17:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/JavaBrowsingPart.java
else return false; } public void selectionChanged(IWorkbenchPart part, ISelection selection) { if (!fProcessSelectionEvents || part == this || part instanceof ISearchResultView || !(selection instanceof IStructuredSelection)) return; Object selectedElement= getSingleElementFromSelection(selection...
12,049
Bug 12049 Java Browing is not saving its state.
Open a java browing perspective. Select a project, package and type. Exit the workspace Re-start it. The selected project,package and type are not selected anymore.
resolved fixed
bc523a1
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-08-07T13:42:26Z
2002-03-21T17:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/JavaBrowsingPart.java
return; } else if (selection.isEmpty() && !isInputResetBy(part)) { fPreviousSelectionProvider= part; return; } else if (selectedElement == null && part == fPreviousSelectionProvider) { setInput(null); fPreviousSelectionProvider= part; return; } fPreviousSelectionProvider= part; if (selec...
12,049
Bug 12049 Java Browing is not saving its state.
Open a java browing perspective. Select a project, package and type. Exit the workspace Re-start it. The selected project,package and type are not selected anymore.
resolved fixed
bc523a1
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-08-07T13:42:26Z
2002-03-21T17:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/JavaBrowsingPart.java
fViewer.setInput(input); fProcessSelectionEvents= true; } void updateTitle() { setTitleToolTip(getToolTipText(fViewer.getInput())); } /** * Returns the tool tip text for the given element. */ String getToolTipText(Object element) { String result; if (!(element instanceof IResource)) { result= JavaEl...
12,049
Bug 12049 Java Browing is not saving its state.
Open a java browing perspective. Select a project, package and type. Exit the workspace Re-start it. The selected project,package and type are not selected anymore.
resolved fixed
bc523a1
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-08-07T13:42:26Z
2002-03-21T17:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/JavaBrowsingPart.java
public String getTitleToolTip() { if (fViewer == null) return super.getTitleToolTip(); return getToolTipText(fViewer.getInput()); } protected final StructuredViewer getViewer() { return fViewer; } protected ILabelProvider createLabelProvider() { return new AppearanceAwareLabelProvider( AppearanceAw...
12,049
Bug 12049 Java Browing is not saving its state.
Open a java browing perspective. Select a project, package and type. Exit the workspace Re-start it. The selected project,package and type are not selected anymore.
resolved fixed
bc523a1
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-08-07T13:42:26Z
2002-03-21T17:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/JavaBrowsingPart.java
protected StructuredViewer createViewer(Composite parent) { return new ProblemTableViewer(parent, SWT.MULTI); } protected int getLabelProviderFlags() { return JavaElementLabelProvider.SHOW_BASICS | JavaElementLabelProvider.SHOW_OVERLAY_ICONS | JavaElementLabelProvider.SHOW_SMALL_ICONS | JavaElementLabelProv...
12,049
Bug 12049 Java Browing is not saving its state.
Open a java browing perspective. Select a project, package and type. Exit the workspace Re-start it. The selected project,package and type are not selected anymore.
resolved fixed
bc523a1
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-08-07T13:42:26Z
2002-03-21T17:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/JavaBrowsingPart.java
setInput(findInputForJavaElement((IJavaElement)input)); } protected void setInitialSelection() { Object input; ISelection selection= getSite().getPage().getSelection(); if (selection != null && !selection.isEmpty()) input= getSingleElementFromSelection(selection); else { input= getSite().getPag...
12,049
Bug 12049 Java Browing is not saving its state.
Open a java browing perspective. Select a project, package and type. Exit the workspace Re-start it. The selected project,package and type are not selected anymore.
resolved fixed
bc523a1
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-08-07T13:42:26Z
2002-03-21T17:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/JavaBrowsingPart.java
/** * Adds additional listeners to this view. * This method can be overridden but should * call super. */ protected void hookViewerListeners() { fViewer.addSelectionChangedListener(new ISelectionChangedListener() { public void selectionChanged(SelectionChangedEvent event) { if (!fProcessSelectionEvent...
12,049
Bug 12049 Java Browing is not saving its state.
Open a java browing perspective. Select a project, package and type. Exit the workspace Re-start it. The selected project,package and type are not selected anymore.
resolved fixed
bc523a1
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-08-07T13:42:26Z
2002-03-21T17:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/JavaBrowsingPart.java
} void adjustInputAndSetSelection(IJavaElement je) { IJavaElement elementToSelect= getSuitableJavaElement(findElementToSelect(je)); IJavaElement newInput= findInputForJavaElement(je); if (elementToSelect == null && !isValidInput(newInput)) setInput(null); else if (elementToSelect == null || getViewer()....
12,049
Bug 12049 Java Browing is not saving its state.
Open a java browing perspective. Select a project, package and type. Exit the workspace Re-start it. The selected project,package and type are not selected anymore.
resolved fixed
bc523a1
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-08-07T13:42:26Z
2002-03-21T17:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/JavaBrowsingPart.java
return je; return findInputForJavaElement(je.getParent()); } final protected IJavaElement findElementToSelect(Object obj) { if (obj instanceof IJavaElement) return findElementToSelect((IJavaElement)obj); return null; } /** * Finds the element which has to be selected in this part. * * @param je ...
12,049
Bug 12049 Java Browing is not saving its state.
Open a java browing perspective. Select a project, package and type. Exit the workspace Re-start it. The selected project,package and type are not selected anymore.
resolved fixed
bc523a1
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-08-07T13:42:26Z
2002-03-21T17:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/JavaBrowsingPart.java
if (currentInput == null || !currentInput.equals(findInputForJavaElement((IJavaElement)firstElement))) if (iter.hasNext()) return null; else return firstElement; while (iter.hasNext()) { Object element= iter.next(); if (!(element instanceof IJavaElement)) return null; if (!cur...
12,049
Bug 12049 Java Browing is not saving its state.
Open a java browing perspective. Select a project, package and type. Exit the workspace Re-start it. The selected project,package and type are not selected anymore.
resolved fixed
bc523a1
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-08-07T13:42:26Z
2002-03-21T17:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/JavaBrowsingPart.java
IEditorPart part= EditorUtility.isOpenInEditor(obj); if (part != null) { IWorkbenchPage page= getSite().getPage(); page.bringToTop(part); if (obj instanceof IJavaElement) EditorUtility.revealInEditor(part, (IJavaElement) obj); } } } void setSelectionFromEditor(IWorkbenchPart part) { if (pa...
12,049
Bug 12049 Java Browing is not saving its state.
Open a java browing perspective. Select a project, package and type. Exit the workspace Re-start it. The selected project,package and type are not selected anymore.
resolved fixed
bc523a1
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-08-07T13:42:26Z
2002-03-21T17:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/JavaBrowsingPart.java
if (ei instanceof IFileEditorInput) { IFile file= ((IFileEditorInput)ei).getFile(); IJavaElement je= (IJavaElement)file.getAdapter(IJavaElement.class); if (je == null) { setSelection(null, false); return; } adjustInputAndSetSelection(je); } else if (ei instanceof IClassFileEditorInput...
12,049
Bug 12049 Java Browing is not saving its state.
Open a java browing perspective. Select a project, package and type. Exit the workspace Re-start it. The selected project,package and type are not selected anymore.
resolved fixed
bc523a1
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-08-07T13:42:26Z
2002-03-21T17:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/JavaBrowsingPart.java
if (element instanceof IJavaElement) { if (element instanceof IWorkingCopy) { IWorkingCopy wc= (IWorkingCopy)element; IJavaElement original= wc.getOriginalElement(); if (original != null) element= original; } try { element= ((IJavaElement)element).getUnderlyingResource(); } catch (JavaM...
12,049
Bug 12049 Java Browing is not saving its state.
Open a java browing perspective. Select a project, package and type. Exit the workspace Re-start it. The selected project,package and type are not selected anymore.
resolved fixed
bc523a1
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-08-07T13:42:26Z
2002-03-21T17:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/JavaBrowsingPart.java
if (input instanceof ICompilationUnit) return ((ICompilationUnit)input).findSharedWorkingCopy(JavaUI.getBufferFactory()); else return EditorUtility.getWorkingCopy(input, false); } catch (JavaModelException ex) { } return null; } /** * Returns the original element from which the specified working co...
12,049
Bug 12049 Java Browing is not saving its state.
Open a java browing perspective. Select a project, package and type. Exit the workspace Re-start it. The selected project,package and type are not selected anymore.
resolved fixed
bc523a1
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-08-07T13:42:26Z
2002-03-21T17:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/JavaBrowsingPart.java
return null; if (element instanceof IMember) return ((IMember) element).getCompilationUnit(); int type= element.getElementType(); if (IJavaElement.COMPILATION_UNIT == type) return (ICompilationUnit) element; if (IJavaElement.CLASS_FILE == type) return null; return getCompilationUnit(elemen...
12,049
Bug 12049 Java Browing is not saving its state.
Open a java browing perspective. Select a project, package and type. Exit the workspace Re-start it. The selected project,package and type are not selected anymore.
resolved fixed
bc523a1
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-08-07T13:42:26Z
2002-03-21T17:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/JavaBrowsingPart.java
if (wc != null) element= wc; return element; } else { ICompilationUnit cu= getCompilationUnit(element); if (cu != null && ((IWorkingCopy)cu).isWorkingCopy()) return ((IWorkingCopy)cu).getOriginal(element); else return element; } } boolean isInputAWorkingCopy() { return ((StandardJavaEl...
12,049
Bug 12049 Java Browing is not saving its state.
Open a java browing perspective. Select a project, package and type. Exit the workspace Re-start it. The selected project,package and type are not selected anymore.
resolved fixed
bc523a1
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-08-07T13:42:26Z
2002-03-21T17:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/JavaBrowsingPart.java
unit.reconcile(); return unit.getElementAt(offset); } catch (JavaModelException ex) { } return null; } protected IType getTypeForCU(ICompilationUnit cu) { cu= (ICompilationUnit)getSuitableJavaElement(cu); IType primaryType= cu.findPrimaryType(); if (primaryType != null) return primaryType...
13,036
Bug 13036 Search LabelProviders should not override getText()
Three search subclasses of DecoratingLabel Provider override getText and do not use the label provider. They are org.eclipse.search.internal.ui.util.FileLabelProvider org.eclipse.jdt.internal.ui.search.JavaSearchResultLabelProvider org.eclipse.search.internal.ui.SearchResultLabelProvider. As a result if Decoratinglabel...
verified fixed
169955e
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-08-09T14:57:46Z
2002-04-08T21:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/JavaSearchResultLabelProvider.java
/* * (c) Copyright IBM Corp. 2000, 2001. * All Rights Reserved. */ package org.eclipse.jdt.internal.ui.search; import org.eclipse.core.resources.IMarker; import org.eclipse.swt.graphics.Image; import org.eclipse.jface.viewers.DecoratingLabelProvider; import org.eclipse.ui.PlatformUI; import org.eclipse.search.ui.ISe...
13,036
Bug 13036 Search LabelProviders should not override getText()
Three search subclasses of DecoratingLabel Provider override getText and do not use the label provider. They are org.eclipse.search.internal.ui.util.FileLabelProvider org.eclipse.jdt.internal.ui.search.JavaSearchResultLabelProvider org.eclipse.search.internal.ui.SearchResultLabelProvider. As a result if Decoratinglabel...
verified fixed
169955e
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-08-09T14:57:46Z
2002-04-08T21:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/JavaSearchResultLabelProvider.java
public static final int SHOW_ELEMENT_CONTAINER= 1; public static final int SHOW_CONTAINER_ELEMENT= 2; public static final int SHOW_PATH= 3; public static final String POTENTIAL_MATCH= SearchMessages.getString("JavaSearchResultLabelProvider.potentialMatch"); private IMarker fLastMarker; private IJavaElement f...
13,036
Bug 13036 Search LabelProviders should not override getText()
Three search subclasses of DecoratingLabel Provider override getText and do not use the label provider. They are org.eclipse.search.internal.ui.util.FileLabelProvider org.eclipse.jdt.internal.ui.search.JavaSearchResultLabelProvider org.eclipse.search.internal.ui.SearchResultLabelProvider. As a result if Decoratinglabel...
verified fixed
169955e
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-08-09T14:57:46Z
2002-04-08T21:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/JavaSearchResultLabelProvider.java
return super.getText(fLastMarker.getResource()) + POTENTIAL_MATCH; else return super.getText(fLastMarker.getResource()); } else return ""; } if (javaElement instanceof IImportDeclaration) javaElement= ((IImportDeclaration)javaElement).getParent().getParent(); if (isPotentialMatch) retur...
13,036
Bug 13036 Search LabelProviders should not override getText()
Three search subclasses of DecoratingLabel Provider override getText and do not use the label provider. They are org.eclipse.search.internal.ui.util.FileLabelProvider org.eclipse.jdt.internal.ui.search.JavaSearchResultLabelProvider org.eclipse.search.internal.ui.SearchResultLabelProvider. As a result if Decoratinglabel...
verified fixed
169955e
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-08-09T14:57:46Z
2002-04-08T21:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/JavaSearchResultLabelProvider.java
flags |= JavaElementLabels.F_FULLY_QUALIFIED | JavaElementLabels.M_FULLY_QUALIFIED | JavaElementLabels.I_FULLY_QUALIFIED | JavaElementLabels.M_PARAMETER_TYPES | JavaElementLabels.T_FULLY_QUALIFIED | JavaElementLabels.D_QUALIFIED | JavaElementLabels.CF_QUALIFIED | JavaElementLabels.CU_QUALIFIED; flags |= JavaEle...
21,173
Bug 21173 Can't create new Project because empty string in "New Project" Preference [2.0.1]
In the Java->New Project tab of Preferences I chose the folders radio button and leave the Source folder name empty, and the output location name to be "output". My intent is to have my source come off the main tree with an initial branch to be output. Like this: myProject (root) -- com -- ibm ... -- output -- com -- i...
verified fixed
f3785fc
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-08-12T10:04:33Z
2002-07-01T21:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/BuildPathsBlock.java
/* * (c) Copyright IBM Corp. 2000, 2001. * All Rights Reserved. */ package org.eclipse.jdt.internal.ui.wizards.buildpaths; import java.net.URL; import java.util.ArrayList; import java.util.List; import org.eclipse.core.resources.IContainer; import org.eclipse.core.resources.IFolder; import org.eclipse.core.resources...
21,173
Bug 21173 Can't create new Project because empty string in "New Project" Preference [2.0.1]
In the Java->New Project tab of Preferences I chose the folders radio button and leave the Source folder name empty, and the output location name to be "output". My intent is to have my source come off the main tree with an initial branch to be output. Like this: myProject (root) -- com -- ibm ... -- output -- com -- i...
verified fixed
f3785fc
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-08-12T10:04:33Z
2002-07-01T21:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/BuildPathsBlock.java
import org.eclipse.core.resources.IWorkspaceRoot; import org.eclipse.core.runtime.CoreException; import org.eclipse.core.runtime.IPath; import org.eclipse.core.runtime.IProgressMonitor; import org.eclipse.core.runtime.IStatus; import org.eclipse.core.runtime.NullProgressMonitor; import org.eclipse.core.runtime.Path; im...
21,173
Bug 21173 Can't create new Project because empty string in "New Project" Preference [2.0.1]
In the Java->New Project tab of Preferences I chose the folders radio button and leave the Source folder name empty, and the output location name to be "output". My intent is to have my source come off the main tree with an initial branch to be output. Like this: myProject (root) -- com -- ibm ... -- output -- com -- i...
verified fixed
f3785fc
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-08-12T10:04:33Z
2002-07-01T21:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/BuildPathsBlock.java
import org.eclipse.ui.dialogs.ISelectionStatusValidator; import org.eclipse.ui.help.WorkbenchHelp; import org.eclipse.ui.model.WorkbenchContentProvider; import org.eclipse.ui.model.WorkbenchLabelProvider; import org.eclipse.jdt.core.IClasspathEntry; import org.eclipse.jdt.core.IJavaProject; import org.eclipse.jdt.core....
21,173
Bug 21173 Can't create new Project because empty string in "New Project" Preference [2.0.1]
In the Java->New Project tab of Preferences I chose the folders radio button and leave the Source folder name empty, and the output location name to be "output". My intent is to have my source come off the main tree with an initial branch to be output. Like this: myProject (root) -- com -- ibm ... -- output -- com -- i...
verified fixed
f3785fc
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-08-12T10:04:33Z
2002-07-01T21:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/BuildPathsBlock.java
public static interface IRemoveOldBinariesQuery { /** * Do the callback. Returns <code>true</code> if .class files should be removed from the * old output location. */ boolean doQuery(IPath oldOutputLocation) throws InterruptedException; } private IWorkspaceRoot fWorkspaceRoot; private CheckedList...
21,173
Bug 21173 Can't create new Project because empty string in "New Project" Preference [2.0.1]
In the Java->New Project tab of Preferences I chose the folders radio button and leave the Source folder name empty, and the output location name to be "output". My intent is to have my source come off the main tree with an initial branch to be output. Like this: myProject (root) -- com -- ibm ... -- output -- com -- i...
verified fixed
f3785fc
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-08-12T10:04:33Z
2002-07-01T21:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/BuildPathsBlock.java
private Control fSWTWidget; private boolean fShowSourceFolderPage; private SourceContainerWorkbookPage fSourceContainerPage; private ProjectsWorkbookPage fProjectsPage; private LibrariesWorkbookPage fLibrariesPage; private BuildPathBasePage fCurrPage; public BuildPathsBlock(IWorkspaceRoot root, IStatusC...
21,173
Bug 21173 Can't create new Project because empty string in "New Project" Preference [2.0.1]
In the Java->New Project tab of Preferences I chose the folders radio button and leave the Source folder name empty, and the output location name to be "output". My intent is to have my source come off the main tree with an initial branch to be output. Like this: myProject (root) -- com -- ibm ... -- output -- com -- i...
verified fixed
f3785fc
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-08-12T10:04:33Z
2002-07-01T21:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/BuildPathsBlock.java
}; fClassPathList= new CheckedListDialogField(null, buttonLabels, new CPListLabelProvider()); fClassPathList.setDialogFieldListener(adapter); fClassPathList.setLabelText(NewWizardMessages.getString("BuildPathsBlock.classpath.label")); fClassPathList.setUpButtonIndex(0); fClassPathList.setDownButtonIndex(...
21,173
Bug 21173 Can't create new Project because empty string in "New Project" Preference [2.0.1]
In the Java->New Project tab of Preferences I chose the folders radio button and leave the Source folder name empty, and the output location name to be "output". My intent is to have my source come off the main tree with an initial branch to be output. Like this: myProject (root) -- com -- ibm ... -- output -- com -- i...
verified fixed
f3785fc
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-08-12T10:04:33Z
2002-07-01T21:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/BuildPathsBlock.java
GridLayout layout= new GridLayout(); layout.marginWidth= 0; layout.numColumns= 1; composite.setLayout(layout); TabFolder folder= new TabFolder(composite, SWT.NONE); folder.setLayout(new TabFolderLayout()); folder.setLayoutData(new GridData(GridData.FILL_BOTH)); folder.addSelectionListener(new Select...
21,173
Bug 21173 Can't create new Project because empty string in "New Project" Preference [2.0.1]
In the Java->New Project tab of Preferences I chose the folders radio button and leave the Source folder name empty, and the output location name to be "output". My intent is to have my source come off the main tree with an initial branch to be output. Like this: myProject (root) -- com -- ibm ... -- output -- com -- i...
verified fixed
f3785fc
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-08-12T10:04:33Z
2002-07-01T21:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/BuildPathsBlock.java
item.setText(NewWizardMessages.getString("BuildPathsBlock.tab.projects")); item.setImage(projectImage); item.setData(fProjectsPage); item.setControl(fProjectsPage.getControl(folder)); fLibrariesPage= new LibrariesWorkbookPage(fWorkspaceRoot, fClassPathList); item= new TabItem(folder, SWT.NONE); item.s...
21,173
Bug 21173 Can't create new Project because empty string in "New Project" Preference [2.0.1]
In the Java->New Project tab of Preferences I chose the folders radio button and leave the Source folder name empty, and the output location name to be "output". My intent is to have my source come off the main tree with an initial branch to be output. Like this: myProject (root) -- com -- ibm ... -- output -- com -- i...
verified fixed
f3785fc
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-08-12T10:04:33Z
2002-07-01T21:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/BuildPathsBlock.java
DialogField[] editors= new DialogField[] { fBuildPathDialogField }; LayoutUtil.doDefaultLayout(editorcomp, editors, true, 0, 0); int maxFieldWidth= converter.convertWidthInCharsToPixels(40); LayoutUtil.setWidthHint(fBuildPathDialogField.getTextControl(null), maxFieldWidth); LayoutUtil.setHorizontalGrabbing(f...
21,173
Bug 21173 Can't create new Project because empty string in "New Project" Preference [2.0.1]
In the Java->New Project tab of Preferences I chose the folders radio button and leave the Source folder name empty, and the output location name to be "output". My intent is to have my source come off the main tree with an initial branch to be output. Like this: myProject (root) -- com -- ibm ... -- output -- com -- i...
verified fixed
f3785fc
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-08-12T10:04:33Z
2002-07-01T21:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/BuildPathsBlock.java
/** * Initializes the classpath for the given project. Multiple calls to init are allowed, * but all existing settings will be cleared and replace by the given or default paths. * @param project The java project to configure. Does not have to exist. * @param outputLocation The output location to be set in the p...
21,173
Bug 21173 Can't create new Project because empty string in "New Project" Preference [2.0.1]
In the Java->New Project tab of Preferences I chose the folders radio button and leave the Source folder name empty, and the output location name to be "output". My intent is to have my source come off the main tree with an initial branch to be output. Like this: myProject (root) -- com -- ibm ... -- output -- com -- i...
verified fixed
f3785fc
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-08-12T10:04:33Z
2002-07-01T21:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/BuildPathsBlock.java
newClassPath= getExistingEntries(classpathEntries); } } catch (CoreException e) { JavaPlugin.log(e); } if (newClassPath == null) { newClassPath= getDefaultClassPath(jproject); } List exportedEntries = new ArrayList(); for (int i= 0; i < newClassPath.size(); i++) { CPListElement curr= (CPListE...
21,173
Bug 21173 Can't create new Project because empty string in "New Project" Preference [2.0.1]
In the Java->New Project tab of Preferences I chose the folders radio button and leave the Source folder name empty, and the output location name to be "output". My intent is to have my source come off the main tree with an initial branch to be output. Like this: myProject (root) -- com -- ibm ... -- output -- com -- i...
verified fixed
f3785fc
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-08-12T10:04:33Z
2002-07-01T21:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/BuildPathsBlock.java
boolean projectExists= fCurrJProject.exists(); for (int i= 0; i < classpathEntries.length; i++) { IClasspathEntry curr= classpathEntries[i]; IPath path= curr.getPath(); IResource res= null; boolean isMissing= false; switch (curr.getEntryKind()) { case IClasspathEntry.CPE_CONTAINER: ...
21,173
Bug 21173 Can't create new Project because empty string in "New Project" Preference [2.0.1]
In the Java->New Project tab of Preferences I chose the folders radio button and leave the Source folder name empty, and the output location name to be "output". My intent is to have my source come off the main tree with an initial branch to be output. Like this: myProject (root) -- com -- ibm ... -- output -- com -- i...
verified fixed
f3785fc
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-08-12T10:04:33Z
2002-07-01T21:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/BuildPathsBlock.java
res= fWorkspaceRoot.getFolder(path); } } isMissing= !path.toFile().isFile(); } break; case IClasspathEntry.CPE_SOURCE: res= fWorkspaceRoot.findMember(path); if (res == null) { if (fWorkspaceRoot.getWorkspace().validatePath(path.toString(), IResource.FOLDER).isOK()) { ...
21,173
Bug 21173 Can't create new Project because empty string in "New Project" Preference [2.0.1]
In the Java->New Project tab of Preferences I chose the folders radio button and leave the Source folder name empty, and the output location name to be "output". My intent is to have my source come off the main tree with an initial branch to be output. Like this: myProject (root) -- com -- ibm ... -- output -- com -- i...
verified fixed
f3785fc
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-08-12T10:04:33Z
2002-07-01T21:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/BuildPathsBlock.java
/** * Returns the Java project. Can return <code>null<code> if the page has not * been initialized. */ public IJavaProject getJavaProject() { return fCurrJProject; } /** * Returns the current output location. Note that the path returned must not be valid. */ public IPath getOutputLocation() { retur...
21,173
Bug 21173 Can't create new Project because empty string in "New Project" Preference [2.0.1]
In the Java->New Project tab of Preferences I chose the folders radio button and leave the Source folder name empty, and the output location name to be "output". My intent is to have my source come off the main tree with an initial branch to be output. Like this: myProject (root) -- com -- ibm ... -- output -- com -- i...
verified fixed
f3785fc
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-08-12T10:04:33Z
2002-07-01T21:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/BuildPathsBlock.java
} private List getDefaultClassPath(IJavaProject jproj) { List list= new ArrayList(); IResource srcFolder; if (NewJavaProjectPreferencePage.useSrcAndBinFolders()) { String sourceFolderName= NewJavaProjectPreferencePage.getSourceFolderName(); srcFolder= jproj.getProject().getFolder(sourceFolderName)...
21,173
Bug 21173 Can't create new Project because empty string in "New Project" Preference [2.0.1]
In the Java->New Project tab of Preferences I chose the folders radio button and leave the Source folder name empty, and the output location name to be "output". My intent is to have my source come off the main tree with an initial branch to be output. Like this: myProject (root) -- com -- ibm ... -- output -- com -- i...
verified fixed
f3785fc
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-08-12T10:04:33Z
2002-07-01T21:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/BuildPathsBlock.java
public void changeControlPressed(DialogField field) { buildPathChangeControlPressed(field); } public void dialogFieldChanged(DialogField field) { buildPathDialogFieldChanged(field); } } private void buildPathChangeControlPressed(DialogField field) { if (field == fBuildPathDialogField) { ICont...
21,173
Bug 21173 Can't create new Project because empty string in "New Project" Preference [2.0.1]
In the Java->New Project tab of Preferences I chose the folders radio button and leave the Source folder name empty, and the output location name to be "output". My intent is to have my source come off the main tree with an initial branch to be output. Like this: myProject (root) -- com -- ibm ... -- output -- com -- i...
verified fixed
f3785fc
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-08-12T10:04:33Z
2002-07-01T21:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/BuildPathsBlock.java
fBuildPathDialogField.setText(container.getFullPath().toString()); } } } private void buildPathDialogFieldChanged(DialogField field) { if (field == fClassPathList) { updateClassPathStatus(); updateBuildPathStatus(); } else if (field == fBuildPathDialogField) { updateBuildPathStatus(); } doStat...
21,173
Bug 21173 Can't create new Project because empty string in "New Project" Preference [2.0.1]
In the Java->New Project tab of Preferences I chose the folders radio button and leave the Source folder name empty, and the output location name to be "output". My intent is to have my source come off the main tree with an initial branch to be output. Like this: myProject (root) -- com -- ibm ... -- output -- com -- i...
verified fixed
f3785fc
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-08-12T10:04:33Z
2002-07-01T21:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/BuildPathsBlock.java
*/ private void updateClassPathStatus() { fClassPathStatus.setOK(); List elements= fClassPathList.getElements(); boolean entryMissing= false; IClasspathEntry[] entries= new IClasspathEntry[elements.size()]; for (int i= elements.size()-1 ; i >= 0 ; i--) { CPListElement currElement= (CPListElement)elem...
21,173
Bug 21173 Can't create new Project because empty string in "New Project" Preference [2.0.1]
In the Java->New Project tab of Preferences I chose the folders radio button and leave the Source folder name empty, and the output location name to be "output". My intent is to have my source come off the main tree with an initial branch to be output. Like this: myProject (root) -- com -- ibm ... -- output -- com -- i...
verified fixed
f3785fc
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-08-12T10:04:33Z
2002-07-01T21:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/BuildPathsBlock.java
/** * Validates output location & build path. */ private void updateBuildPathStatus() { fOutputLocationPath= null; String text= fBuildPathDialogField.getText(); if ("".equals(text)) { fBuildPathStatus.setError(NewWizardMessages.getString("BuildPathsBlock.error.EnterBuildPath")); return; } IPa...
21,173
Bug 21173 Can't create new Project because empty string in "New Project" Preference [2.0.1]
In the Java->New Project tab of Preferences I chose the folders radio button and leave the Source folder name empty, and the output location name to be "output". My intent is to have my source come off the main tree with an initial branch to be output. Like this: myProject (root) -- com -- ibm ... -- output -- com -- i...
verified fixed
f3785fc
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-08-12T10:04:33Z
2002-07-01T21:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/BuildPathsBlock.java
if (currElement.getEntryKind() == IClasspathEntry.CPE_SOURCE && fOutputLocationPath.equals(currElement.getPath())) { outputFolderAlsoSourceFolder= true; } } IStatus status= JavaConventions.validateClasspath(fCurrJProject, entries, path); if (!status.isOK()) { fBuildPathStatus.setError(status.getMessa...
21,173
Bug 21173 Can't create new Project because empty string in "New Project" Preference [2.0.1]
In the Java->New Project tab of Preferences I chose the folders radio button and leave the Source folder name empty, and the output location name to be "output". My intent is to have my source come off the main tree with an initial branch to be output. Like this: myProject (root) -- com -- ibm ... -- output -- com -- i...
verified fixed
f3785fc
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-08-12T10:04:33Z
2002-07-01T21:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/BuildPathsBlock.java
try { if (!project.exists()) { IProjectDescription desc= project.getWorkspace().newProjectDescription(project.getName()); if (Platform.getLocation().equals(locationPath)) { locationPath= null; } desc.setLocation(locationPath); project.create(desc, monitor); monitor= null; } if (!pr...
21,173
Bug 21173 Can't create new Project because empty string in "New Project" Preference [2.0.1]
In the Java->New Project tab of Preferences I chose the folders radio button and leave the Source folder name empty, and the output location name to be "output". My intent is to have my source come off the main tree with an initial branch to be output. Like this: myProject (root) -- com -- ibm ... -- output -- com -- i...
verified fixed
f3785fc
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-08-12T10:04:33Z
2002-07-01T21:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/BuildPathsBlock.java
} } public void configureJavaProject(IProgressMonitor monitor) throws CoreException, InterruptedException { if (monitor == null) { monitor= new NullProgressMonitor(); } monitor.beginTask(NewWizardMessages.getString("BuildPathsBlock.operationdesc"), 10); try { Shell shell= null; if (fSWTWidget ...
21,173
Bug 21173 Can't create new Project because empty string in "New Project" Preference [2.0.1]
In the Java->New Project tab of Preferences I chose the folders radio button and leave the Source folder name empty, and the output location name to be "output". My intent is to have my source come off the main tree with an initial branch to be output. Like this: myProject (root) -- com -- ibm ... -- output -- com -- i...
verified fixed
f3785fc
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-08-12T10:04:33Z
2002-07-01T21:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/BuildPathsBlock.java
} if (reorgQuery != null) { IPath oldOutputLocation= fCurrJProject.getOutputLocation(); if (!outputLocation.equals(oldOutputLocation)) { IResource res= fWorkspaceRoot.findMember(oldOutputLocation); if (res instanceof IContainer && hasClassfiles(res)) { if (reorgQuery.doQuery(oldOutputLocation)) ...
21,173
Bug 21173 Can't create new Project because empty string in "New Project" Preference [2.0.1]
In the Java->New Project tab of Preferences I chose the folders radio button and leave the Source folder name empty, and the output location name to be "output". My intent is to have my source come off the main tree with an initial branch to be output. Like this: myProject (root) -- com -- ibm ... -- output -- com -- i...
verified fixed
f3785fc
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-08-12T10:04:33Z
2002-07-01T21:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/BuildPathsBlock.java
if ((res instanceof IFolder) && !res.exists()) { CoreUtility.createFolder((IFolder)res, true, true, null); } classpath[i]= entry.getClasspathEntry(); URL javadocLocation= entry.getJavadocLocation(); if (javadocLocation != null) { IPath path= entry.getPath(); if (entry.getEntryKind() =...
21,173
Bug 21173 Can't create new Project because empty string in "New Project" Preference [2.0.1]
In the Java->New Project tab of Preferences I chose the folders radio button and leave the Source folder name empty, and the output location name to be "output". My intent is to have my source come off the main tree with an initial branch to be output. Like this: myProject (root) -- com -- ibm ... -- output -- com -- i...
verified fixed
f3785fc
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-08-12T10:04:33Z
2002-07-01T21:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/BuildPathsBlock.java
return true; } } } return false; } public static void removeOldClassfiles(IResource resource) throws CoreException { if (resource.isDerived()) { resource.delete(false, null); } else if (resource instanceof IContainer) { IResource[] members= ((IContainer) resource).members(); for (int i= 0; i...