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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
6,410 | Bug 6410 File unchanged but dirtied by code assist | 1122. Open a Java file. Place the cursor inside the left-most parenthesis of a method call. For example, consider "I" to be the cursor below: Object o = anotherObject.method(I); Press Ctrl-Space. The file is dirtied but not changed, and code assist does not appear. If code assist has nothing to suggest, it should not d... | verified fixed | 588ffa6 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-11T17:07:14Z | 2001-11-29T02:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/JavaCompletionProposal.java | }
/**
* Sets the image.
* @param image The image to set
*/
public void setImage(Image image) {
fImage= image;
}
/*
* @see ICompletionProposalExtension#isValidFor(IDocument, int)
*/
public boolean isValidFor(IDocument document, int offset) {
if (offset < fReplacementOffset)
return false;
in... |
7,385 | Bug 7385 Breakpoint no hit if on variable declaration with no initialization | Build 20011219 It seems that a breakpoint will not be considered if located on a variable declaration with no initialization (in my case, it was the first statement of the method): org.eclipse.jdt.internal.compiler.codegen.CodeStream public void generateSyntheticArgumentValues(BlockScope currentScope, ReferenceBinding ... | verified fixed | 2746f20 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-11T17:23:18Z | 2002-01-09T15:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/BreakpointLocationVerifier.java | package org.eclipse.jdt.internal.ui.javaeditor;
/*
* (c) Copyright IBM Corp. 2000, 2001.
* All Rights Reserved.
*/
import org.eclipse.jdt.internal.compiler.parser.InvalidInputException;
import org.eclipse.jdt.internal.compiler.parser.Scanner;
import org.eclipse.jdt.internal.compiler.parser.TerminalSymbols;
import or... |
7,385 | Bug 7385 Breakpoint no hit if on variable declaration with no initialization | Build 20011219 It seems that a breakpoint will not be considered if located on a variable declaration with no initialization (in my case, it was the first statement of the method): org.eclipse.jdt.internal.compiler.codegen.CodeStream public void generateSyntheticArgumentValues(BlockScope currentScope, ReferenceBinding ... | verified fixed | 2746f20 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-11T17:23:18Z | 2002-01-09T15:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/BreakpointLocationVerifier.java | char[] txt= doc.get(start, length).toCharArray();
scanner.setSourceBuffer(txt);
token= scanner.getNextToken();
while (token != TerminalSymbols.TokenNameEOF) {
if (token == TerminalSymbols.TokenNamebreak ||
token == TerminalSymbols.TokenNamecontinue ||
token == TerminalSymbols.TokenNameIdent... |
7,487 | Bug 7487 Classpath variable edit error message wrong | Using build 2002-01-09 on Windows 2000 From the prefrerence dialog, I opened the page Java > Classpath Variables. I selected the ECLIPSE_HOME variable and pressed Edit. The content came up as ECLIPSE_HOME D:/eclipse-sdk/2001-12-04/eclipse I started editing the path by removing the 2001-12-04 section D:/eclipse-sdk//ecl... | resolved fixed | c5a405e | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-11T18:33:05Z | 2002-01-11T14:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/VariableCreationDialog.java | /*
* (c) Copyright IBM Corp. 2000, 2001.
* All Rights Reserved.
*/
package org.eclipse.jdt.internal.ui.wizards.buildpaths;
import java.io.File;
import java.util.List;
import org.eclipse.core.runtime.IPath;
import org.eclipse.core.runtime.IStatus;
import org.eclipse.core.runtime.Path;
import org.eclipse.swt.SWT;
impo... |
7,487 | Bug 7487 Classpath variable edit error message wrong | Using build 2002-01-09 on Windows 2000 From the prefrerence dialog, I opened the page Java > Classpath Variables. I selected the ECLIPSE_HOME variable and pressed Edit. The content came up as ECLIPSE_HOME D:/eclipse-sdk/2001-12-04/eclipse I started editing the path by removing the 2001-12-04 section D:/eclipse-sdk//ecl... | resolved fixed | c5a405e | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-11T18:33:05Z | 2002-01-11T14:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/VariableCreationDialog.java | import org.eclipse.jdt.internal.ui.wizards.dialogfields.IStringButtonAdapter;
import org.eclipse.jdt.internal.ui.wizards.dialogfields.LayoutUtil;
import org.eclipse.jdt.internal.ui.wizards.dialogfields.SelectionButtonDialogField;
import org.eclipse.jdt.internal.ui.wizards.dialogfields.StringButtonDialogField;
import or... |
7,487 | Bug 7487 Classpath variable edit error message wrong | Using build 2002-01-09 on Windows 2000 From the prefrerence dialog, I opened the page Java > Classpath Variables. I selected the ECLIPSE_HOME variable and pressed Edit. The content came up as ECLIPSE_HOME D:/eclipse-sdk/2001-12-04/eclipse I started editing the path by removing the 2001-12-04 section D:/eclipse-sdk//ecl... | resolved fixed | c5a405e | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-11T18:33:05Z | 2002-01-11T14:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/VariableCreationDialog.java | fElement= element;
fNameStatus= new StatusInfo();
fPathStatus= new StatusInfo();
NewVariableAdapter adapter= new NewVariableAdapter();
fNameField= new StringDialogField();
fNameField.setDialogFieldListener(adapter);
fNameField.setLabelText(NewWizardMessages.getString("VariableCreationDialog.name.label... |
7,487 | Bug 7487 Classpath variable edit error message wrong | Using build 2002-01-09 on Windows 2000 From the prefrerence dialog, I opened the page Java > Classpath Variables. I selected the ECLIPSE_HOME variable and pressed Edit. The content came up as ECLIPSE_HOME D:/eclipse-sdk/2001-12-04/eclipse I started editing the path by removing the 2001-12-04 section D:/eclipse-sdk//ecl... | resolved fixed | c5a405e | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-11T18:33:05Z | 2002-01-11T14:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/VariableCreationDialog.java | /*
* @see Windows#configureShell
*/
protected void configureShell(Shell newShell) {
super.configureShell(newShell);
WorkbenchHelp.setHelp(newShell, new Object[] { IJavaHelpContextIds.VARIABLE_CREATION_DIALOG });
}
public CPVariableElement getClasspathElement() {
return new CPVariableElement(fNameField.ge... |
7,487 | Bug 7487 Classpath variable edit error message wrong | Using build 2002-01-09 on Windows 2000 From the prefrerence dialog, I opened the page Java > Classpath Variables. I selected the ECLIPSE_HOME variable and pressed Edit. The content came up as ECLIPSE_HOME D:/eclipse-sdk/2001-12-04/eclipse I started editing the path by removing the 2001-12-04 section D:/eclipse-sdk//ecl... | resolved fixed | c5a405e | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-11T18:33:05Z | 2002-01-11T14:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/VariableCreationDialog.java | DialogField.createEmptySpace(inner, 1);
fPathField.doFillIntoGrid(inner, 3);
LayoutUtil.setWidthHint(fPathField.getTextControl(null), fieldWidthHint);
DialogField.createEmptySpace(inner, 2);
fDirButton.doFillIntoGrid(inner, 1);
DialogField focusField= (fElement == null) ? fNameField : fPathField;
f... |
7,487 | Bug 7487 Classpath variable edit error message wrong | Using build 2002-01-09 on Windows 2000 From the prefrerence dialog, I opened the page Java > Classpath Variables. I selected the ECLIPSE_HOME variable and pressed Edit. The content came up as ECLIPSE_HOME D:/eclipse-sdk/2001-12-04/eclipse I started editing the path by removing the 2001-12-04 section D:/eclipse-sdk//ecl... | resolved fixed | c5a405e | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-11T18:33:05Z | 2002-01-11T14:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/VariableCreationDialog.java | IPath path= chooseExtJarFile();
if (path != null) {
fPathField.setText(path.toString());
}
}
}
private void doFieldUpdated(DialogField field) {
if (field == fNameField) {
fNameStatus= nameUpdated();
} else if (field == fPathField) {
fPathStatus= pathUpdated();
} else if (field == fDirButton... |
7,487 | Bug 7487 Classpath variable edit error message wrong | Using build 2002-01-09 on Windows 2000 From the prefrerence dialog, I opened the page Java > Classpath Variables. I selected the ECLIPSE_HOME variable and pressed Edit. The content came up as ECLIPSE_HOME D:/eclipse-sdk/2001-12-04/eclipse I started editing the path by removing the 2001-12-04 section D:/eclipse-sdk//ecl... | resolved fixed | c5a405e | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-11T18:33:05Z | 2002-01-11T14:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/VariableCreationDialog.java | status.setError(NewWizardMessages.getFormattedString("VariableCreationDialog.error.invalidname", val.getMessage()));
} else if (nameConflict(name)) {
status.setError(NewWizardMessages.getString("VariableCreationDialog.error.nameexists"));
}
return status;
}
private boolean nameConflict(String name) {
i... |
7,487 | Bug 7487 Classpath variable edit error message wrong | Using build 2002-01-09 on Windows 2000 From the prefrerence dialog, I opened the page Java > Classpath Variables. I selected the ECLIPSE_HOME variable and pressed Edit. The content came up as ECLIPSE_HOME D:/eclipse-sdk/2001-12-04/eclipse I started editing the path by removing the 2001-12-04 section D:/eclipse-sdk//ecl... | resolved fixed | c5a405e | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-11T18:33:05Z | 2002-01-11T14:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/VariableCreationDialog.java | }
}
return status;
}
private String getInitPath() {
String initPath= fPathField.getText();
if (initPath.length() == 0) {
initPath= fDialogSettings.get(IUIConstants.DIALOGSTORE_LASTEXTJAR);
if (initPath == null) {
initPath= "";
}
} else {
IPath entryPath= new Path(initPath);
if (Arc... |
7,487 | Bug 7487 Classpath variable edit error message wrong | Using build 2002-01-09 on Windows 2000 From the prefrerence dialog, I opened the page Java > Classpath Variables. I selected the ECLIPSE_HOME variable and pressed Edit. The content came up as ECLIPSE_HOME D:/eclipse-sdk/2001-12-04/eclipse I started editing the path by removing the 2001-12-04 section D:/eclipse-sdk//ecl... | resolved fixed | c5a405e | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-11T18:33:05Z | 2002-01-11T14:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/VariableCreationDialog.java | FileDialog dialog= new FileDialog(getShell());
dialog.setText(NewWizardMessages.getString("VariableCreationDialog.extjardialog.text"));
dialog.setFilterExtensions(new String[] {"*.jar;*.zip"});
dialog.setFilterPath(initPath);
String res= dialog.open();
if (res != null) {
fDialogSettings.put(IUIConstants.... |
5,651 | Bug 5651 DCR: Please split up the "Use 'src' and 'bin' folders..." preference | Please split the "Use 'src' and 'bin' folders as default in new Java projects" preference into two separate preferences as follows: [ ] "Use 'src' folder as default in new Java projects" [ ] "Use 'bin' folder as default in new Java projects" The best way to describe why I would like this is to paste here a posting I ju... | resolved fixed | 1a487ce | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-14T12:21:55Z | 2001-11-08T03:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/IPreferencesConstants.java | /*
* (c) Copyright IBM Corp. 2000, 2001.
* All Rights Reserved.
*/
package org.eclipse.jdt.internal.ui;
/**
* Defines constants which are used to refer to values in the plugin's preference bundle.
*/
public interface IPreferencesConstants {
static final String LINK_PACKAGES_TO_EDITOR= "org.eclipse.jdt.ui.pac... |
5,651 | Bug 5651 DCR: Please split up the "Use 'src' and 'bin' folders..." preference | Please split the "Use 'src' and 'bin' folders as default in new Java projects" preference into two separate preferences as follows: [ ] "Use 'src' folder as default in new Java projects" [ ] "Use 'bin' folder as default in new Java projects" The best way to describe why I would like this is to paste here a posting I ju... | resolved fixed | 1a487ce | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-14T12:21:55Z | 2001-11-08T03:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java | /*
* (c) Copyright IBM Corp. 2000, 2001.
* All Rights Reserved.
*/
package org.eclipse.jdt.internal.ui.packageview;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import org.eclipse.core.resources.IContainer;
import org.eclipse.core.resources.IFile;
import org.eclipse.core.resources.IR... |
5,651 | Bug 5651 DCR: Please split up the "Use 'src' and 'bin' folders..." preference | Please split the "Use 'src' and 'bin' folders as default in new Java projects" preference into two separate preferences as follows: [ ] "Use 'src' folder as default in new Java projects" [ ] "Use 'bin' folder as default in new Java projects" The best way to describe why I would like this is to paste here a posting I ju... | resolved fixed | 1a487ce | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-14T12:21:55Z | 2001-11-08T03:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java | import org.eclipse.swt.events.KeyAdapter;
import org.eclipse.swt.events.KeyEvent;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Control;
import org.eclipse.swt.widgets.Menu;
import org.eclipse.swt.widgets.ScrollBar;
import org.eclipse.swt.widgets.Shell;
import org.eclipse.swt.widgets.Tree;
im... |
5,651 | Bug 5651 DCR: Please split up the "Use 'src' and 'bin' folders..." preference | Please split the "Use 'src' and 'bin' folders as default in new Java projects" preference into two separate preferences as follows: [ ] "Use 'src' folder as default in new Java projects" [ ] "Use 'bin' folder as default in new Java projects" The best way to describe why I would like this is to paste here a posting I ju... | resolved fixed | 1a487ce | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-14T12:21:55Z | 2001-11-08T03:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java | import org.eclipse.jface.viewers.StructuredSelection;
import org.eclipse.jface.viewers.TreeExpansionEvent;
import org.eclipse.jface.viewers.TreeViewer;
import org.eclipse.ui.IActionBars;
import org.eclipse.ui.IEditorInput;
import org.eclipse.ui.IEditorPart;
import org.eclipse.ui.IFileEditorInput;
import org.eclipse.ui.... |
5,651 | Bug 5651 DCR: Please split up the "Use 'src' and 'bin' folders..." preference | Please split the "Use 'src' and 'bin' folders as default in new Java projects" preference into two separate preferences as follows: [ ] "Use 'src' folder as default in new Java projects" [ ] "Use 'bin' folder as default in new Java projects" The best way to describe why I would like this is to paste here a posting I ju... | resolved fixed | 1a487ce | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-14T12:21:55Z | 2001-11-08T03:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java | import org.eclipse.search.ui.IWorkingSet;
import org.eclipse.search.ui.SearchUI;
import org.eclipse.jdt.core.IClassFile;
import org.eclipse.jdt.core.ICompilationUnit;
import org.eclipse.jdt.core.IJavaElement;
import org.eclipse.jdt.core.IJavaModel;
import org.eclipse.jdt.core.IMember;
import org.eclipse.jdt.core.IOpena... |
5,651 | Bug 5651 DCR: Please split up the "Use 'src' and 'bin' folders..." preference | Please split the "Use 'src' and 'bin' folders as default in new Java projects" preference into two separate preferences as follows: [ ] "Use 'src' folder as default in new Java projects" [ ] "Use 'bin' folder as default in new Java projects" The best way to describe why I would like this is to paste here a posting I ju... | resolved fixed | 1a487ce | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-14T12:21:55Z | 2001-11-08T03:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java | import org.eclipse.jdt.internal.ui.javaeditor.IClassFileEditorInput;
import org.eclipse.jdt.internal.ui.javaeditor.JarEntryEditorInput;
import org.eclipse.jdt.internal.ui.preferences.JavaBasePreferencePage;
import org.eclipse.jdt.internal.ui.preferences.WorkInProgressPreferencePage;
import org.eclipse.jdt.internal.ui.r... |
5,651 | Bug 5651 DCR: Please split up the "Use 'src' and 'bin' folders..." preference | Please split the "Use 'src' and 'bin' folders as default in new Java projects" preference into two separate preferences as follows: [ ] "Use 'src' folder as default in new Java projects" [ ] "Use 'bin' folder as default in new Java projects" The best way to describe why I would like this is to paste here a posting I ju... | resolved fixed | 1a487ce | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-14T12:21:55Z | 2001-11-08T03:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java | static final String TAG_PATH= "path";
static final String TAG_VERTICAL_POSITION= "verticalPosition";
static final String TAG_HORIZONTAL_POSITION= "horizontalPosition";
static final String TAG_FILTERS = "filters";
static final String TAG_FILTER = "filter";
static final String TAG_SHOWLIBRARIES = "showLibraries... |
5,651 | Bug 5651 DCR: Please split up the "Use 'src' and 'bin' folders..." preference | Please split the "Use 'src' and 'bin' folders as default in new Java projects" preference into two separate preferences as follows: [ ] "Use 'src' folder as default in new Java projects" [ ] "Use 'bin' folder as default in new Java projects" The best way to describe why I would like this is to paste here a posting I ju... | resolved fixed | 1a487ce | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-14T12:21:55Z | 2001-11-08T03:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java | private ForwardAction fForwardAction;
private GoIntoAction fZoomInAction;
private UpAction fUpAction;
private GotoTypeAction fGotoTypeAction;
private GotoPackageAction fGotoPackageAction;
private AddBookmarkAction fAddBookmarkAction;
private ActionContributionItem[] fFilterActions;
private Separator fFilterSep... |
5,651 | Bug 5651 DCR: Please split up the "Use 'src' and 'bin' folders..." preference | Please split the "Use 'src' and 'bin' folders as default in new Java projects" preference into two separate preferences as follows: [ ] "Use 'src' folder as default in new Java projects" [ ] "Use 'bin' folder as default in new Java projects" The best way to describe why I would like this is to paste here a posting I ju... | resolved fixed | 1a487ce | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-14T12:21:55Z | 2001-11-08T03:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java | }
};
private ITreeViewerListener fExpansionListener= new ITreeViewerListener() {
public void treeCollapsed(TreeExpansionEvent event) {
}
public void treeExpanded(TreeExpansionEvent event) {
Object element= event.getElement();
if (element instanceof ICompilationUnit ||
element instanceof IClassFi... |
5,651 | Bug 5651 DCR: Please split up the "Use 'src' and 'bin' folders..." preference | Please split the "Use 'src' and 'bin' folders as default in new Java projects" preference into two separate preferences as follows: [ ] "Use 'src' folder as default in new Java projects" [ ] "Use 'bin' folder as default in new Java projects" The best way to describe why I would like this is to paste here a posting I ju... | resolved fixed | 1a487ce | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-14T12:21:55Z | 2001-11-08T03:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java | store.setDefault(TAG_SHOWBINARIES, true);
}
/**
* Returns the package explorer part of the active perspective. If
* there isn't any package explorer part <code>null</code> is returned.
*/
public static PackageExplorerPart getFromActivePerspective() {
IViewPart view= JavaPlugin.getActivePage().findView(VIEW_... |
5,651 | Bug 5651 DCR: Please split up the "Use 'src' and 'bin' folders..." preference | Please split the "Use 'src' and 'bin' folders as default in new Java projects" preference into two separate preferences as follows: [ ] "Use 'src' folder as default in new Java projects" [ ] "Use 'bin' folder as default in new Java projects" The best way to describe why I would like this is to paste here a posting I ju... | resolved fixed | 1a487ce | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-14T12:21:55Z | 2001-11-08T03:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java | fContextMenu.dispose();
getSite().getPage().removePartListener(fPartListener);
JavaPlugin.getDefault().getPreferenceStore().removePropertyChangeListener(this);
if (fViewer != null)
fViewer.removeTreeListener(fExpansionListener);
super.dispose();
}
/**
* Implementation of IWorkbenchPart.createPartControl... |
5,651 | Bug 5651 DCR: Please split up the "Use 'src' and 'bin' folders..." preference | Please split the "Use 'src' and 'bin' folders as default in new Java projects" preference into two separate preferences as follows: [ ] "Use 'src' folder as default in new Java projects" [ ] "Use 'bin' folder as default in new Java projects" The best way to describe why I would like this is to paste here a posting I ju... | resolved fixed | 1a487ce | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-14T12:21:55Z | 2001-11-08T03:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java | MembersFilterAction hideFields= new MembersFilterAction(this, title, MethodsViewerFilter.FILTER_FIELDS, helpContext, false);
hideFields.setDescription(TypeHierarchyMessages.getString("MethodsViewer.hide_fields.description"));
hideFields.setToolTipChecked(TypeHierarchyMessages.getString("MethodsViewer.hide_fields.t... |
5,651 | Bug 5651 DCR: Please split up the "Use 'src' and 'bin' folders..." preference | Please split the "Use 'src' and 'bin' folders as default in new Java projects" preference into two separate preferences as follows: [ ] "Use 'src' folder as default in new Java projects" [ ] "Use 'bin' folder as default in new Java projects" The best way to describe why I would like this is to paste here a posting I ju... | resolved fixed | 1a487ce | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-14T12:21:55Z | 2001-11-08T03:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java | fViewer.addFilter(fWorkingSetFilter);
if(fMemento != null)
restoreFilters();
else
initFilterFromPreferences();
fViewer.setInput(findInputElement());
initDragAndDrop();
initFrameList();
initKeyListener();
updateTitle();
MenuManager menuMgr= new MenuManager("#PopupMenu");
menuMgr.se... |
5,651 | Bug 5651 DCR: Please split up the "Use 'src' and 'bin' folders..." preference | Please split the "Use 'src' and 'bin' folders as default in new Java projects" preference into two separate preferences as follows: [ ] "Use 'src' folder as default in new Java projects" [ ] "Use 'bin' folder as default in new Java projects" The best way to describe why I would like this is to paste here a posting I ju... | resolved fixed | 1a487ce | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-14T12:21:55Z | 2001-11-08T03:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java | fViewer.addDoubleClickListener(new IDoubleClickListener() {
public void doubleClick(DoubleClickEvent event) {
handleDoubleClick(event);
}
});
fViewer.getControl().addKeyListener(new KeyAdapter() {
public void keyPressed(KeyEvent e) {
handleKeyPressed(e);
}
});
getSite().setSelectionProvider(... |
5,651 | Bug 5651 DCR: Please split up the "Use 'src' and 'bin' folders..." preference | Please split the "Use 'src' and 'bin' folders as default in new Java projects" preference into two separate preferences as follows: [ ] "Use 'src' folder as default in new Java projects" [ ] "Use 'bin' folder as default in new Java projects" The best way to describe why I would like this is to paste here a posting I ju... | resolved fixed | 1a487ce | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-14T12:21:55Z | 2001-11-08T03:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java | toolBar.add(fForwardAction);
toolBar.add(fUpAction);
fFilterSeparator= new Separator();
if (JavaBasePreferencePage.showCompilationUnitChildren())
addFilterActions(toolBar);
actionBars.updateActionBars();
IMenuManager menu= actionBars.getMenuManager();
menu.add(fFilterAction);
menu.add(fShowLib... |
5,651 | Bug 5651 DCR: Please split up the "Use 'src' and 'bin' folders..." preference | Please split the "Use 'src' and 'bin' folders as default in new Java projects" preference into two separate preferences as follows: [ ] "Use 'src' folder as default in new Java projects" [ ] "Use 'bin' folder as default in new Java projects" The best way to describe why I would like this is to paste here a posting I ju... | resolved fixed | 1a487ce | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-14T12:21:55Z | 2001-11-08T03:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java | }
/**
* Answer the property defined by key.
*/
public Object getAdapter(Class key) {
if (key.equals(ISelectionProvider.class))
return fViewer;
return super.getAdapter(key);
}
/**
* Returns the tool tip text for the given element.
*/
String getToolTipText(Object element) {
String result;
if (!(... |
5,651 | Bug 5651 DCR: Please split up the "Use 'src' and 'bin' folders..." preference | Please split the "Use 'src' and 'bin' folders as default in new Java projects" preference into two separate preferences as follows: [ ] "Use 'src' folder as default in new Java projects" [ ] "Use 'bin' folder as default in new Java projects" The best way to describe why I would like this is to paste here a posting I ju... | resolved fixed | 1a487ce | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-14T12:21:55Z | 2001-11-08T03:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java | return wsstr;
return result + " - " + wsstr;
}
public String getTitleToolTip() {
if (fViewer == null)
return super.getTitleToolTip();
return getToolTipText(fViewer.getInput());
}
/**
* @see IWorkbenchPart#setFocus()
*/
public void setFocus() {
fViewer.getTree().setFocus();
}
/**
* Sets the w... |
5,651 | Bug 5651 DCR: Please split up the "Use 'src' and 'bin' folders..." preference | Please split the "Use 'src' and 'bin' folders as default in new Java projects" preference into two separate preferences as follows: [ ] "Use 'src' folder as default in new Java projects" [ ] "Use 'bin' folder as default in new Java projects" The best way to describe why I would like this is to paste here a posting I ju... | resolved fixed | 1a487ce | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-14T12:21:55Z | 2001-11-08T03:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java | if (set) {
fMemberFilter.addFilter(filterProperty);
} else {
fMemberFilter.removeFilter(filterProperty);
}
for (int i= 0; i < fFilterActions.length; i++) {
if (((MembersFilterAction)fFilterActions[i].getAction()).getFilterProperty() == filterProperty) {
fFilterActions[i].getAction().setChecked(set);
... |
5,651 | Bug 5651 DCR: Please split up the "Use 'src' and 'bin' folders..." preference | Please split the "Use 'src' and 'bin' folders as default in new Java projects" preference into two separate preferences as follows: [ ] "Use 'src' folder as default in new Java projects" [ ] "Use 'bin' folder as default in new Java projects" The best way to describe why I would like this is to paste here a posting I ju... | resolved fixed | 1a487ce | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-14T12:21:55Z | 2001-11-08T03:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java | }
/**
* Returns the current selection.
*/
private ISelection getSelection() {
return fViewer.getSelection();
}
/**
* Called when the context menu is about to open. Override
* to add your own context dependent menu contributions.
*/
public void menuAboutToShow(IMenuManager menu) {
JavaPlugin... |
5,651 | Bug 5651 DCR: Please split up the "Use 'src' and 'bin' folders..." preference | Please split the "Use 'src' and 'bin' folders as default in new Java projects" preference into two separate preferences as follows: [ ] "Use 'src' folder as default in new Java projects" [ ] "Use 'bin' folder as default in new Java projects" The best way to describe why I would like this is to paste here a posting I ju... | resolved fixed | 1a487ce | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-14T12:21:55Z | 2001-11-08T03:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java | menu.appendToGroup(IContextMenuConstants.GROUP_OPEN, fOpenCUAction);
addOpenWithMenu(menu, selection);
addOpenToMenu(menu, selection);
addRefactoring(menu);
ContextMenuGroup.add(menu, fStandardGroups, fViewer);
if (fAddBookmarkAction.canOperateOnSelection())
menu.appendToGroup(IContextMenuConstan... |
5,651 | Bug 5651 DCR: Please split up the "Use 'src' and 'bin' folders..." preference | Please split the "Use 'src' and 'bin' folders as default in new Java projects" preference into two separate preferences as follows: [ ] "Use 'src' folder as default in new Java projects" [ ] "Use 'bin' folder as default in new Java projects" The best way to describe why I would like this is to paste here a posting I ju... | resolved fixed | 1a487ce | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-14T12:21:55Z | 2001-11-08T03:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java | fShowNavigatorAction= new ShowInNavigatorAction(provider);
fAddBookmarkAction= new AddBookmarkAction(provider);
fStandardGroups= new ContextMenuGroup[] {
new BuildGroup(),
new ReorgGroup(),
new GenerateGroup(),
new JavaSearchGroup()
};
fDeleteAction= new DeleteAction(provider);
fRefreshActio... |
5,651 | Bug 5651 DCR: Please split up the "Use 'src' and 'bin' folders..." preference | Please split the "Use 'src' and 'bin' folders as default in new Java projects" preference into two separate preferences as follows: [ ] "Use 'src' folder as default in new Java projects" [ ] "Use 'bin' folder as default in new Java projects" The best way to describe why I would like this is to paste here a posting I ju... | resolved fixed | 1a487ce | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-14T12:21:55Z | 2001-11-08T03:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java | MenuManager refactoring= new MenuManager(PackagesMessages.getString("PackageExplorer.refactoringTitle"));
ContextMenuGroup.add(refactoring, new ContextMenuGroup[] { new RefactoringGroup() }, fViewer);
if (!refactoring.isEmpty())
menu.appendToGroup(IContextMenuConstants.GROUP_REORGANIZE, refactoring);
}
pri... |
5,651 | Bug 5651 DCR: Please split up the "Use 'src' and 'bin' folders..." preference | Please split the "Use 'src' and 'bin' folders as default in new Java projects" preference into two separate preferences as follows: [ ] "Use 'src' folder as default in new Java projects" [ ] "Use 'bin' folder as default in new Java projects" The best way to describe why I would like this is to paste here a posting I ju... | resolved fixed | 1a487ce | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-14T12:21:55Z | 2001-11-08T03:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java | MenuManager submenu= new MenuManager(PackagesMessages.getString("PackageExplorer.openWith"));
submenu.add(new OpenWithMenu(getSite().getPage(), (IFile) resource));
menu.appendToGroup(IContextMenuConstants.GROUP_OPEN, submenu);
}
private boolean isSelectionOfType(ISelection s, Class clazz, boolean considerUn... |
5,651 | Bug 5651 DCR: Please split up the "Use 'src' and 'bin' folders..." preference | Please split the "Use 'src' and 'bin' folders as default in new Java projects" preference into two separate preferences as follows: [ ] "Use 'src' folder as default in new Java projects" [ ] "Use 'bin' folder as default in new Java projects" The best way to describe why I would like this is to paste here a posting I ju... | resolved fixed | 1a487ce | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-14T12:21:55Z | 2001-11-08T03:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java | private void initDragAndDrop() {
int ops= DND.DROP_COPY | DND.DROP_MOVE;
final LocalSelectionTransfer lt= LocalSelectionTransfer.getInstance();
Transfer[] transfers= new Transfer[] {
lt,
ResourceTransfer.getInstance(),
FileTransfer.getInstance()};
TransferDropTargetListener[] dropListeners= new ... |
5,651 | Bug 5651 DCR: Please split up the "Use 'src' and 'bin' folders..." preference | Please split the "Use 'src' and 'bin' folders as default in new Java projects" preference into two separate preferences as follows: [ ] "Use 'src' folder as default in new Java projects" [ ] "Use 'bin' folder as default in new Java projects" The best way to describe why I would like this is to paste here a posting I ju... | resolved fixed | 1a487ce | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-14T12:21:55Z | 2001-11-08T03:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java | if (event.character == SWT.DEL && event.stateMask == 0){
fDeleteAction.update();
if (fDeleteAction.isEnabled())
fDeleteAction.run();
}
}
/**
* Handles double clicks in viewer.
* Opens editor if file double-clicked.
*/
private void handleDoubleClick(DoubleClickEvent event) {
IStructuredSelection... |
5,651 | Bug 5651 DCR: Please split up the "Use 'src' and 'bin' folders..." preference | Please split the "Use 'src' and 'bin' folders as default in new Java projects" preference into two separate preferences as follows: [ ] "Use 'src' folder as default in new Java projects" [ ] "Use 'bin' folder as default in new Java projects" The best way to describe why I would like this is to paste here a posting I ju... | resolved fixed | 1a487ce | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-14T12:21:55Z | 2001-11-08T03:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java | }
}
}
/**
* Handles selection changed in viewer.
* Updates global actions.
* Links to editor (if option enabled)
*/
private void handleSelectionChanged(SelectionChangedEvent event) {
IStructuredSelection sel= (IStructuredSelection) event.getSelection();
fZoomInAction.update();
linkToEditor(sel);
... |
5,651 | Bug 5651 DCR: Please split up the "Use 'src' and 'bin' folders..." preference | Please split the "Use 'src' and 'bin' folders as default in new Java projects" preference into two separate preferences as follows: [ ] "Use 'src' folder as default in new Java projects" [ ] "Use 'bin' folder as default in new Java projects" The best way to describe why I would like this is to paste here a posting I ju... | resolved fixed | 1a487ce | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-14T12:21:55Z | 2001-11-08T03:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java | converted.add(element);
else
converted.add(e);
}
}
}
return new StructuredSelection(converted.toArray());
}
public void selectAndReveal(Object element) {
selectReveal(new StructuredSelection(element));
}
/**
* Returns whether the preference to link selection to active editor is enable... |
5,651 | Bug 5651 DCR: Please split up the "Use 'src' and 'bin' folders..." preference | Please split the "Use 'src' and 'bin' folders as default in new Java projects" preference into two separate preferences as follows: [ ] "Use 'src' folder as default in new Java projects" [ ] "Use 'bin' folder as default in new Java projects" The best way to describe why I would like this is to paste here a posting I ju... | resolved fixed | 1a487ce | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-14T12:21:55Z | 2001-11-08T03:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java | IJavaElement cu= JavaModelUtil.findElementOfKind((IJavaElement)obj, IJavaElement.COMPILATION_UNIT);
if (cu != null)
element= getResourceFor(cu);
if (element == null)
element= JavaModelUtil.findElementOfKind((IJavaElement)obj, IJavaElement.CLASS_FILE);
}
else if (obj instanceof IFile)
element... |
5,651 | Bug 5651 DCR: Please split up the "Use 'src' and 'bin' folders..." preference | Please split the "Use 'src' and 'bin' folders as default in new Java projects" preference into two separate preferences as follows: [ ] "Use 'src' folder as default in new Java projects" [ ] "Use 'bin' folder as default in new Java projects" The best way to describe why I would like this is to paste here a posting I ju... | resolved fixed | 1a487ce | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-14T12:21:55Z | 2001-11-08T03:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java | if (original != null)
element= original;
}
try {
element= ((IJavaElement)element).getUnderlyingResource();
} catch (JavaModelException e) {
return null;
}
}
if (!(element instanceof IResource) || ((IResource)element).isPhantom()) {
return null;
}
return (IResource)element;
}
publ... |
5,651 | Bug 5651 DCR: Please split up the "Use 'src' and 'bin' folders..." preference | Please split the "Use 'src' and 'bin' folders as default in new Java projects" preference into two separate preferences as follows: [ ] "Use 'src' folder as default in new Java projects" [ ] "Use 'bin' folder as default in new Java projects" The best way to describe why I would like this is to paste here a posting I ju... | resolved fixed | 1a487ce | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-14T12:21:55Z | 2001-11-08T03:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java | protected void saveFilterState(IMemento memento) {
boolean showLibraries= getLibraryFilter().getShowLibraries();
String show= "true";
if (!showLibraries)
show= "false";
memento.putString(TAG_SHOWLIBRARIES, show);
boolean showBinaries= getBinaryFilter().getShowBinaries();
String showBinString= "tr... |
5,651 | Bug 5651 DCR: Please split up the "Use 'src' and 'bin' folders..." preference | Please split the "Use 'src' and 'bin' folders as default in new Java projects" preference into two separate preferences as follows: [ ] "Use 'src' folder as default in new Java projects" [ ] "Use 'bin' folder as default in new Java projects" The best way to describe why I would like this is to paste here a posting I ju... | resolved fixed | 1a487ce | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-14T12:21:55Z | 2001-11-08T03:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java | position= bar != null ? bar.getSelection() : 0;
memento.putString(TAG_HORIZONTAL_POSITION, String.valueOf(position));
}
protected void saveSelectionState(IMemento memento) {
Object elements[]= ((IStructuredSelection) fViewer.getSelection()).toArray();
if (elements.length > 0) {
IMemento selectionMem= memento... |
5,651 | Bug 5651 DCR: Please split up the "Use 'src' and 'bin' folders..." preference | Please split the "Use 'src' and 'bin' folders as default in new Java projects" preference into two separate preferences as follows: [ ] "Use 'src' folder as default in new Java projects" [ ] "Use 'bin' folder as default in new Java projects" The best way to describe why I would like this is to paste here a posting I ju... | resolved fixed | 1a487ce | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-14T12:21:55Z | 2001-11-08T03:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java | IWorkingSet ws= getWorkingSetFilter().getWorkingSet();
if (ws != null) {
memento.putString(TAG_WORKINGSET, ws.getName());
}
}
/**
* Saves the state of the filter actions
*/
public void saveMemberFilterState(IMemento memento) {
memento.putString(TAG_HIDEFIELDS, String.valueOf(hasMemberFilter(MethodsViewe... |
5,651 | Bug 5651 DCR: Please split up the "Use 'src' and 'bin' folders..." preference | Please split the "Use 'src' and 'bin' folders as default in new Java projects" preference into two separate preferences as follows: [ ] "Use 'src' folder as default in new Java projects" [ ] "Use 'bin' folder as default in new Java projects" The best way to describe why I would like this is to paste here a posting I ju... | resolved fixed | 1a487ce | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-14T12:21:55Z | 2001-11-08T03:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java | ScrollBar bar= tree.getVerticalBar();
if (bar != null) {
try {
String posStr= memento.getString(TAG_VERTICAL_POSITION);
int position;
position= new Integer(posStr).intValue();
bar.setSelection(position);
} catch (NumberFormatException e) {
}
}
bar= tree.getHorizontalBar();
if (bar ... |
5,651 | Bug 5651 DCR: Please split up the "Use 'src' and 'bin' folders..." preference | Please split the "Use 'src' and 'bin' folders as default in new Java projects" preference into two separate preferences as follows: [ ] "Use 'src' folder as default in new Java projects" [ ] "Use 'bin' folder as default in new Java projects" The best way to describe why I would like this is to paste here a posting I ju... | resolved fixed | 1a487ce | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-14T12:21:55Z | 2001-11-08T03:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java | Object element= JavaCore.create(elementMem[i].getString(TAG_PATH));
list.add(element);
}
fViewer.setSelection(new StructuredSelection(list));
}
}
protected void restoreExpansionState(IMemento memento) {
IMemento childMem= memento.getChild(TAG_EXPANDED);
if (childMem != null) {
ArrayList elements= n... |
5,651 | Bug 5651 DCR: Please split up the "Use 'src' and 'bin' folders..." preference | Please split the "Use 'src' and 'bin' folders as default in new Java projects" preference into two separate preferences as follows: [ ] "Use 'src' folder as default in new Java projects" [ ] "Use 'bin' folder as default in new Java projects" The best way to describe why I would like this is to paste here a posting I ju... | resolved fixed | 1a487ce | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-14T12:21:55Z | 2001-11-08T03:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java | if (event.stateMask != 0)
return;
int key= event.keyCode;
if (key == SWT.F5) {
fRefreshAction.selectionChanged(
(IStructuredSelection) fViewer.getSelection());
if (fRefreshAction.isEnabled())
fRefreshAction.run();
} else if (key == SWT.F4) {
OpenTypeHierarchyUtil.open(getSelection(), get... |
5,651 | Bug 5651 DCR: Please split up the "Use 'src' and 'bin' folders..." preference | Please split the "Use 'src' and 'bin' folders as default in new Java projects" preference into two separate preferences as follows: [ ] "Use 'src' folder as default in new Java projects" [ ] "Use 'bin' folder as default in new Java projects" The best way to describe why I would like this is to paste here a posting I ju... | resolved fixed | 1a487ce | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-14T12:21:55Z | 2001-11-08T03:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java | Object element= null;
if (input instanceof IFile)
element= JavaCore.create((IFile)input);
if (element == null)
element= input;
if (element != null) {
IStructuredSelection oldSelection= (IStructuredSelection)getSelection();
if (oldSelection.size() == 1) {
Object o= oldSelection... |
5,651 | Bug 5651 DCR: Please split up the "Use 'src' and 'bin' folders..." preference | Please split the "Use 'src' and 'bin' folders as default in new Java projects" preference into two separate preferences as follows: [ ] "Use 'src' folder as default in new Java projects" [ ] "Use 'bin' folder as default in new Java projects" The best way to describe why I would like this is to paste here a posting I ju... | resolved fixed | 1a487ce | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-14T12:21:55Z | 2001-11-08T03:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java | }
}
}
/**
* A compilation unit or class was expanded, expand
* the main type.
*/
void expandMainType(Object element) {
try {
IType type= null;
if (element instanceof ICompilationUnit) {
ICompilationUnit cu= (ICompilationUnit)element;
IType[] types= cu.getTypes();
if (types.length > 0)... |
5,651 | Bug 5651 DCR: Please split up the "Use 'src' and 'bin' folders..." preference | Please split the "Use 'src' and 'bin' folders as default in new Java projects" preference into two separate preferences as follows: [ ] "Use 'src' folder as default in new Java projects" [ ] "Use 'bin' folder as default in new Java projects" The best way to describe why I would like this is to paste here a posting I ju... | resolved fixed | 1a487ce | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-14T12:21:55Z | 2001-11-08T03:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java | }
});
}
}
} catch(JavaModelException e) {
}
}
/**
* Returns the element contained in the EditorInput
*/
Object getElementOfInput(IEditorInput input) {
if (input instanceof IClassFileEditorInput)
return ((IClassFileEditorInput)input).getClassFile();
else if (input instanceof IFileEdi... |
5,651 | Bug 5651 DCR: Please split up the "Use 'src' and 'bin' folders..." preference | Please split the "Use 'src' and 'bin' folders as default in new Java projects" preference into two separate preferences as follows: [ ] "Use 'src' folder as default in new Java projects" [ ] "Use 'bin' folder as default in new Java projects" The best way to describe why I would like this is to paste here a posting I ju... | resolved fixed | 1a487ce | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-14T12:21:55Z | 2001-11-08T03:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java | * Returns the pattern filter for this view.
* @return the pattern filter
*/
JavaElementPatternFilter getPatternFilter() {
return fPatternFilter;
}
/**
* Returns the library filter for this view.
* @return the library filter
*/
LibraryFilter getLibraryFilter() {
return fLibraryFilter;
}
/**
... |
5,651 | Bug 5651 DCR: Please split up the "Use 'src' and 'bin' folders..." preference | Please split the "Use 'src' and 'bin' folders as default in new Java projects" preference into two separate preferences as follows: [ ] "Use 'src' folder as default in new Java projects" [ ] "Use 'bin' folder as default in new Java projects" The best way to describe why I would like this is to paste here a posting I ju... | resolved fixed | 1a487ce | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-14T12:21:55Z | 2001-11-08T03:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java | if(filtersMem != null) {
IMemento children[]= filtersMem.getChildren(TAG_FILTER);
String filters[]= new String[children.length];
for (int i = 0; i < children.length; i++) {
filters[i]= children[i].getString(TAG_ELEMENT);
}
getPatternFilter().setPatterns(filters);
} else {
getPatternFilter().set... |
5,651 | Bug 5651 DCR: Please split up the "Use 'src' and 'bin' folders..." preference | Please split the "Use 'src' and 'bin' folders as default in new Java projects" preference into two separate preferences as follows: [ ] "Use 'src' folder as default in new Java projects" [ ] "Use 'bin' folder as default in new Java projects" The best way to describe why I would like this is to paste here a posting I ju... | resolved fixed | 1a487ce | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-14T12:21:55Z | 2001-11-08T03:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java | }
}
restoreMemberFilterState(fMemento);
}
void initFilterFromPreferences() {
initBinaryFilterFromPreferences();
initLibraryFilterFromPreferences();
}
void initLibraryFilterFromPreferences() {
JavaPlugin plugin= JavaPlugin.getDefault();
boolean show= plugin.getPreferenceStore().getBoolean(TAG_SHOWLIBRA... |
5,651 | Bug 5651 DCR: Please split up the "Use 'src' and 'bin' folders..." preference | Please split the "Use 'src' and 'bin' folders as default in new Java projects" preference into two separate preferences as follows: [ ] "Use 'src' folder as default in new Java projects" [ ] "Use 'bin' folder as default in new Java projects" The best way to describe why I would like this is to paste here a posting I ju... | resolved fixed | 1a487ce | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-14T12:21:55Z | 2001-11-08T03:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java | } else {
ILabelProvider labelProvider = (ILabelProvider) getViewer().getLabelProvider();
String inputText= labelProvider.getText(input);
String title= PackagesMessages.getFormattedString("PackageExplorer.argTitle", new String[] { viewName, inputText });
setTitle(title);
setTitleToolTip(getToolTipText(in... |
5,651 | Bug 5651 DCR: Please split up the "Use 'src' and 'bin' folders..." preference | Please split the "Use 'src' and 'bin' folders as default in new Java projects" preference into two separate preferences as follows: [ ] "Use 'src' folder as default in new Java projects" [ ] "Use 'bin' folder as default in new Java projects" The best way to describe why I would like this is to paste here a posting I ju... | resolved fixed | 1a487ce | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-14T12:21:55Z | 2001-11-08T03:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java | if (event.getProperty() == IPreferencesConstants.SHOW_CU_CHILDREN) {
IPreferenceStore store= JavaPlugin.getDefault().getPreferenceStore();
IActionBars actionBars= getViewSite().getActionBars();
IToolBarManager toolBar= actionBars.getToolBarManager();
boolean b= store.getBoolean(IPreferencesConstants.SHOW_CU... |
5,651 | Bug 5651 DCR: Please split up the "Use 'src' and 'bin' folders..." preference | Please split the "Use 'src' and 'bin' folders as default in new Java projects" preference into two separate preferences as follows: [ ] "Use 'src' folder as default in new Java projects" [ ] "Use 'bin' folder as default in new Java projects" The best way to describe why I would like this is to paste here a posting I ju... | resolved fixed | 1a487ce | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-14T12:21:55Z | 2001-11-08T03:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaBasePreferencePage.java | /*
* (c) Copyright IBM Corp. 2000, 2001.
* All Rights Reserved.
*/
package org.eclipse.jdt.internal.ui.preferences;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.jface.preference.BooleanFieldEditor;
import org.eclipse.jface.preference.FieldEditorPreferencePage;
import org.eclipse.jface.preference.IPre... |
5,651 | Bug 5651 DCR: Please split up the "Use 'src' and 'bin' folders..." preference | Please split the "Use 'src' and 'bin' folders as default in new Java projects" preference into two separate preferences as follows: [ ] "Use 'src' folder as default in new Java projects" [ ] "Use 'bin' folder as default in new Java projects" The best way to describe why I would like this is to paste here a posting I ju... | resolved fixed | 1a487ce | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-14T12:21:55Z | 2001-11-08T03:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaBasePreferencePage.java | public JavaBasePreferencePage() {
super(GRID);
setPreferenceStore(JavaPlugin.getDefault().getPreferenceStore());
setDescription(JavaUIMessages.getString("JavaBasePreferencePage.description"));
}
public static void initDefaults(IPreferenceStore store) {
store.setDefault(IPreferencesConstants.LINK_PACKAGES_TO_... |
5,651 | Bug 5651 DCR: Please split up the "Use 'src' and 'bin' folders..." preference | Please split the "Use 'src' and 'bin' folders as default in new Java projects" preference into two separate preferences as follows: [ ] "Use 'src' folder as default in new Java projects" [ ] "Use 'bin' folder as default in new Java projects" The best way to describe why I would like this is to paste here a posting I ju... | resolved fixed | 1a487ce | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-14T12:21:55Z | 2001-11-08T03:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaBasePreferencePage.java | super.createControl(parent);
WorkbenchHelp.setHelp(getControl(), new DialogPageContextComputer(this, IJavaHelpContextIds.JAVA_BASE_PREFERENCE_PAGE));
}
protected void createFieldEditors() {
Composite parent= getFieldEditorParent();
BooleanFieldEditor boolEditor= new BooleanFieldEditor(
IPreferencesConstan... |
5,651 | Bug 5651 DCR: Please split up the "Use 'src' and 'bin' folders..." preference | Please split the "Use 'src' and 'bin' folders as default in new Java projects" preference into two separate preferences as follows: [ ] "Use 'src' folder as default in new Java projects" [ ] "Use 'bin' folder as default in new Java projects" The best way to describe why I would like this is to paste here a posting I ju... | resolved fixed | 1a487ce | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-14T12:21:55Z | 2001-11-08T03:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaBasePreferencePage.java | parent
);
addField(boolEditor);
boolEditor= new BooleanFieldEditor(
IPreferencesConstants.SRCBIN_FOLDERS_IN_NEWPROJ,
JavaUIMessages.getString("JavaBasePreferencePage.folders"),
parent
);
addField(boolEditor);
addField(new SpacerFieldEditor(parent));
RadioGroupFieldEditor editor= new Radio... |
5,651 | Bug 5651 DCR: Please split up the "Use 'src' and 'bin' folders..." preference | Please split the "Use 'src' and 'bin' folders as default in new Java projects" preference into two separate preferences as follows: [ ] "Use 'src' folder as default in new Java projects" [ ] "Use 'bin' folder as default in new Java projects" The best way to describe why I would like this is to paste here a posting I ju... | resolved fixed | 1a487ce | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-14T12:21:55Z | 2001-11-08T03:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaBasePreferencePage.java | public static boolean linkPackageSelectionToEditor() {
IPreferenceStore store= JavaPlugin.getDefault().getPreferenceStore();
return store.getBoolean(IPreferencesConstants.LINK_PACKAGES_TO_EDITOR);
}
public static boolean showCompilationUnitChildren() {
IPreferenceStore store= JavaPlugin.getDefault().getPrefer... |
6,277 | Bug 6277 Shift Left/Right use CTRL+I | Build 20011122. In the edit menu for a Java editor, the accelerators for Shift Left/Right use Ctrl+I. Shouldn't it show as Ctrl+Tab? Tab should be a different keycode than CTRL+I. Currently, the Java editor takes both. | resolved fixed | 9b43529 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-14T12:53:47Z | 2001-11-23T21:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/BasicEditorActionContributor.java | package org.eclipse.jdt.internal.ui.javaeditor;
/*
* (c) Copyright IBM Corp. 2000, 2001.
* All Rights Reserved.
*/
import java.util.ResourceBundle;
import org.eclipse.jface.action.IMenuManager;
import org.eclipse.jface.action.IStatusLineManager;
import org.eclipse.jface.action.Separator;
import org.eclipse.jface.tex... |
6,277 | Bug 6277 Shift Left/Right use CTRL+I | Build 20011122. In the edit menu for a Java editor, the accelerators for Shift Left/Right use Ctrl+I. Shouldn't it show as Ctrl+Tab? Tab should be a different keycode than CTRL+I. Currently, the Java editor takes both. | resolved fixed | 9b43529 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-14T12:53:47Z | 2001-11-23T21:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/BasicEditorActionContributor.java | protected static class SelectionAction extends TextEditorAction implements ISelectionChangedListener {
protected int fOperationCode;
protected ITextOperationTarget fOperationTarget= null;
public SelectionAction(String prefix, int operation) {
super(JavaEditorMessages.getResourceBundle(), prefix, null)... |
6,277 | Bug 6277 Shift Left/Right use CTRL+I | Build 20011122. In the edit menu for a Java editor, the accelerators for Shift Left/Right use Ctrl+I. Shouldn't it show as Ctrl+Tab? Tab should be a different keycode than CTRL+I. Currently, the Java editor takes both. | resolved fixed | 9b43529 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-14T12:53:47Z | 2001-11-23T21:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/BasicEditorActionContributor.java | ISelectionProvider p= getTextEditor().getSelectionProvider();
if (p != null) p.removeSelectionChangedListener(this);
}
super.setEditor(editor);
if (editor != null) {
ISelectionProvider p= editor.getSelectionProvider();
if (p != null) p.addSelectionChangedListener(this);
fOperationTarge... |
6,277 | Bug 6277 Shift Left/Right use CTRL+I | Build 20011122. In the edit menu for a Java editor, the accelerators for Shift Left/Right use Ctrl+I. Shouldn't it show as Ctrl+Tab? Tab should be a different keycode than CTRL+I. Currently, the Java editor takes both. | resolved fixed | 9b43529 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-14T12:53:47Z | 2001-11-23T21:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/BasicEditorActionContributor.java | }
};
protected RetargetTextEditorAction fContentAssist;
protected SelectionAction fShiftRight;
protected SelectionAction fShiftLeft;
public BasicEditorActionContributor() {
super();
fContentAssist= new RetargetTextEditorAction(JavaEditorMessages.getResourceBundle(), "ContentAssistProposal.");
fSh... |
6,277 | Bug 6277 Shift Left/Right use CTRL+I | Build 20011122. In the edit menu for a Java editor, the accelerators for Shift Left/Right use Ctrl+I. Shouldn't it show as Ctrl+Tab? Tab should be a different keycode than CTRL+I. Currently, the Java editor takes both. | resolved fixed | 9b43529 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-14T12:53:47Z | 2001-11-23T21:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/BasicEditorActionContributor.java | editMenu.add(fShiftLeft);
editMenu.add(new Separator(IContextMenuConstants.GROUP_OPEN));
editMenu.add(new Separator(IContextMenuConstants.GROUP_GENERATE));
editMenu.appendToGroup(IContextMenuConstants.GROUP_GENERATE, fContentAssist);
}
}
/**
* @see IEditorActionBarContributor#setActiveEditor... |
7,252 | Bug 7252 Can add a variable with no associated jar file to a build path | It is possible to add a variable to the build path for a project using add variable but this will not pick up the classes in that directory. The user although warned can still select it. STEPS 1) Define a classpath variable PATH_TEST that is a directory with classes in it 2) Open the properties dialog on a JavaProject ... | verified fixed | a364a78 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-14T16:14:00Z | 2002-01-04T13:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/MessageLine.java | /*
* (c) Copyright IBM Corp. 2000, 2001.
* All Rights Reserved.
*/
package org.eclipse.jdt.internal.ui.dialogs;
import org.eclipse.swt.SWT;
import org.eclipse.swt.custom.CLabel;
import org.eclipse.swt.events.DisposeEvent;
import org.eclipse.swt.events.DisposeListener;
import org.eclipse.swt.graphics.Color;
import or... |
7,252 | Bug 7252 Can add a variable with no associated jar file to a build path | It is possible to add a variable to the build path for a project using add variable but this will not pick up the classes in that directory. The user although warned can still select it. STEPS 1) Define a classpath variable PATH_TEST that is a directory with classes in it 2) Open the properties dialog on a JavaProject ... | verified fixed | a364a78 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-14T16:14:00Z | 2002-01-04T13:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/MessageLine.java | public MessageLine(Composite parent) {
this(parent, SWT.LEFT);
}
/**
* Creates a new message line as a child of the parent and with the given SWT stylebits.
* Error message will be shown in <code>RED</code>.
*/
public MessageLine(Composite parent, int style) {
super(parent, style);
fDefaultColor= getFor... |
7,252 | Bug 7252 Can add a variable with no associated jar file to a build path | It is possible to add a variable to the build path for a project using add variable but this will not pick up the classes in that directory. The user although warned can still select it. STEPS 1) Define a classpath variable PATH_TEST that is a directory with classes in it 2) Open the properties dialog on a JavaProject ... | verified fixed | a364a78 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-14T16:14:00Z | 2002-01-04T13:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/MessageLine.java | */
public void clearMessage() {
setMessage(null);
}
/**
* Get the currently displayed error text.
* @return The error message. If no error message is displayed <code>null</code> is returned.
*/
public String getErrorMessage() {
return fErrorText;
}
/**
* Get the currently displayed message.
* @retur... |
7,252 | Bug 7252 Can add a variable with no associated jar file to a build path | It is possible to add a variable to the build path for a project using add variable but this will not pick up the classes in that directory. The user although warned can still select it. STEPS 1) Define a classpath variable PATH_TEST that is a directory with classes in it 2) Open the properties dialog on a JavaProject ... | verified fixed | a364a78 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-14T16:14:00Z | 2002-01-04T13:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/MessageLine.java | fErrorText= message;
if (message == null) {
setMessage(fMessageText);
} else {
if (fErrorColor == null) {
fErrorColor= new Color(getDisplay(), fErrorRGB);
addDisposeListener(new DisposeListener() {
public void widgetDisposed(DisposeEvent e) {
fErrorColor.dispose();
}
});
}
se... |
7,252 | Bug 7252 Can add a variable with no associated jar file to a build path | It is possible to add a variable to the build path for a project using add variable but this will not pick up the classes in that directory. The user although warned can still select it. STEPS 1) Define a classpath variable PATH_TEST that is a directory with classes in it 2) Open the properties dialog on a JavaProject ... | verified fixed | a364a78 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-14T16:14:00Z | 2002-01-04T13:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/SelectionStatusDialog.java | /*
* (c) Copyright IBM Corp. 2000, 2001.
* All Rights Reserved.
*/
package org.eclipse.jdt.internal.ui.dialogs;
import java.util.Arrays;
import org.eclipse.swt.SWT;
import org.eclipse.swt.graphics.Image;
import org.eclipse.swt.layout.GridData;
import org.eclipse.swt.layout.GridLayout;
import org.eclipse.swt.widgets.... |
7,252 | Bug 7252 Can add a variable with no associated jar file to a build path | It is possible to add a variable to the build path for a project using add variable but this will not pick up the classes in that directory. The user although warned can still select it. STEPS 1) Define a classpath variable PATH_TEST that is a directory with classes in it 2) Open the properties dialog on a JavaProject ... | verified fixed | a364a78 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-14T16:14:00Z | 2002-01-04T13:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/SelectionStatusDialog.java | private MessageLine fStatusLine;
private IStatus fLastStatus;
private Image fImage;
private boolean fStatusLineAboveButtons= false;
/**
* Creates an instance of a <code>SelectionStatusDialog</code>.
*/
public SelectionStatusDialog(Shell parent) {
super(parent);
} |
7,252 | Bug 7252 Can add a variable with no associated jar file to a build path | It is possible to add a variable to the build path for a project using add variable but this will not pick up the classes in that directory. The user although warned can still select it. STEPS 1) Define a classpath variable PATH_TEST that is a directory with classes in it 2) Open the properties dialog on a JavaProject ... | verified fixed | a364a78 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-14T16:14:00Z | 2002-01-04T13:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/SelectionStatusDialog.java | /**
* Controls whether status line appears to the left of the buttons (default)
* or above them.
*
* @param aboveButtons if <code>true</code> status line is placed above buttons; if
* <code>false</code> to the right
*/
public void setStatusLineAboveButtons(boolean aboveButtons) {
fStatusLineAboveButtons... |
7,252 | Bug 7252 Can add a variable with no associated jar file to a build path | It is possible to add a variable to the build path for a project using add variable but this will not pick up the classes in that directory. The user although warned can still select it. STEPS 1) Define a classpath variable PATH_TEST that is a directory with classes in it 2) Open the properties dialog on a JavaProject ... | verified fixed | a364a78 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-14T16:14:00Z | 2002-01-04T13:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/SelectionStatusDialog.java | return result[0];
}
/**
* Sets a result element at the given position.
*/
protected void setResult(int position, Object element) {
Object[] result= getResult();
result[position]= element;
setResult(Arrays.asList(result));
}
/**
* Compute the result and return it.
*/
protected abstract void comput... |
7,252 | Bug 7252 Can add a variable with no associated jar file to a build path | It is possible to add a variable to the build path for a project using add variable but this will not pick up the classes in that directory. The user although warned can still select it. STEPS 1) Define a classpath variable PATH_TEST that is a directory with classes in it 2) Open the properties dialog on a JavaProject ... | verified fixed | a364a78 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-14T16:14:00Z | 2002-01-04T13:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/SelectionStatusDialog.java | fLastStatus= status;
if (fStatusLine != null && !fStatusLine.isDisposed()) {
updateButtonsEnableState(status);
StatusUtil.applyToStatusLine(fStatusLine, status);
}
}
/**
* Update the status of the ok button to reflect the given status. Subclasses
* may override this method to update additional... |
7,252 | Bug 7252 Can add a variable with no associated jar file to a build path | It is possible to add a variable to the build path for a project using add variable but this will not pick up the classes in that directory. The user although warned can still select it. STEPS 1) Define a classpath variable PATH_TEST that is a directory with classes in it 2) Open the properties dialog on a JavaProject ... | verified fixed | a364a78 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-14T16:14:00Z | 2002-01-04T13:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/SelectionStatusDialog.java | }
/*
* @see Dialog#createButtonBar(Composite)
*/
protected Control createButtonBar(Composite parent) {
Composite composite= new Composite(parent, SWT.NULL);
GridLayout layout= new GridLayout();
if (fStatusLineAboveButtons) {
layout.marginWidth= 5;
} else {
layout.numColumns= 2;
}
layout.marginHe... |
7,252 | Bug 7252 Can add a variable with no associated jar file to a build path | It is possible to add a variable to the build path for a project using add variable but this will not pick up the classes in that directory. The user although warned can still select it. STEPS 1) Define a classpath variable PATH_TEST that is a directory with classes in it 2) Open the properties dialog on a JavaProject ... | verified fixed | a364a78 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-14T16:14:00Z | 2002-01-04T13:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/StatusDialog.java | /*
* (c) Copyright IBM Corp. 2000, 2001.
* All Rights Reserved.
*/
package org.eclipse.jdt.internal.ui.dialogs;
import org.eclipse.swt.SWT;
import org.eclipse.swt.graphics.Image;
import org.eclipse.swt.layout.GridData;
import org.eclipse.swt.layout.GridLayout;
import org.eclipse.swt.widgets.Button;
import org.eclips... |
7,252 | Bug 7252 Can add a variable with no associated jar file to a build path | It is possible to add a variable to the build path for a project using add variable but this will not pick up the classes in that directory. The user although warned can still select it. STEPS 1) Define a classpath variable PATH_TEST that is a directory with classes in it 2) Open the properties dialog on a JavaProject ... | verified fixed | a364a78 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-14T16:14:00Z | 2002-01-04T13:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/StatusDialog.java | private Button fOkButton;
private MessageLine fStatusLine;
private IStatus fLastStatus;
private String fTitle;
private Image fImage;
private boolean fStatusLineAboveButtons;
/** |
7,252 | Bug 7252 Can add a variable with no associated jar file to a build path | It is possible to add a variable to the build path for a project using add variable but this will not pick up the classes in that directory. The user although warned can still select it. STEPS 1) Define a classpath variable PATH_TEST that is a directory with classes in it 2) Open the properties dialog on a JavaProject ... | verified fixed | a364a78 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-14T16:14:00Z | 2002-01-04T13:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/StatusDialog.java | * Creates an instane of a status dialog.
*/
public StatusDialog(Shell parent) {
super(parent);
fStatusLineAboveButtons= false;
}
/**
* Specifies whether status line appears to the left of the buttons (default)
* or above them.
*
* @param aboveButtons if <code>true</code> status line is placed above b... |
7,252 | Bug 7252 Can add a variable with no associated jar file to a build path | It is possible to add a variable to the build path for a project using add variable but this will not pick up the classes in that directory. The user although warned can still select it. STEPS 1) Define a classpath variable PATH_TEST that is a directory with classes in it 2) Open the properties dialog on a JavaProject ... | verified fixed | a364a78 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-14T16:14:00Z | 2002-01-04T13:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/StatusDialog.java | /**
* Returns the last status.
*/
public IStatus getStatus() {
return fLastStatus;
}
/**
* Updates the status of the ok button to reflect the given status.
* Subclasses may override this method to update additional buttons.
* @param status the status.
*/
protected void updateButtonsEnableState(IStatus... |
7,252 | Bug 7252 Can add a variable with no associated jar file to a build path | It is possible to add a variable to the build path for a project using add variable but this will not pick up the classes in that directory. The user although warned can still select it. STEPS 1) Define a classpath variable PATH_TEST that is a directory with classes in it 2) Open the properties dialog on a JavaProject ... | verified fixed | a364a78 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-14T16:14:00Z | 2002-01-04T13:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/StatusDialog.java | if (fLastStatus != null) {
if (fLastStatus.matches(IStatus.ERROR)) {
StatusInfo status= new StatusInfo();
status.setError("");
fLastStatus= status;
}
updateStatus(fLastStatus);
}
}
/*
* @see Dialog#createButtonsForButtonBar(Composite)
*/
protected void createButtonsForButtonBar(Compos... |
7,252 | Bug 7252 Can add a variable with no associated jar file to a build path | It is possible to add a variable to the build path for a project using add variable but this will not pick up the classes in that directory. The user although warned can still select it. STEPS 1) Define a classpath variable PATH_TEST that is a directory with classes in it 2) Open the properties dialog on a JavaProject ... | verified fixed | a364a78 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-14T16:14:00Z | 2002-01-04T13:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/StatusDialog.java | fStatusLine= new MessageLine(composite);
fStatusLine.setAlignment(SWT.LEFT);
fStatusLine.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
fStatusLine.setMessage("");
super.createButtonBar(composite);
return composite;
}
/**
* Sets the title for this dialog.
* @param title the title.
*/
publi... |
7,252 | Bug 7252 Can add a variable with no associated jar file to a build path | It is possible to add a variable to the build path for a project using add variable but this will not pick up the classes in that directory. The user although warned can still select it. STEPS 1) Define a classpath variable PATH_TEST that is a directory with classes in it 2) Open the properties dialog on a JavaProject ... | verified fixed | a364a78 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-14T16:14:00Z | 2002-01-04T13:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/StatusUtil.java | /*
* (c) Copyright IBM Corp. 2000, 2001.
* All Rights Reserved.
*/
package org.eclipse.jdt.internal.ui.dialogs;
import org.eclipse.jface.dialogs.DialogPage;
import org.eclipse.core.runtime.IStatus;
/**
* A utility class to work with IStatus.
*/
public class StatusUtil {
/**
* Compares two instances of <code>ISt... |
7,252 | Bug 7252 Can add a variable with no associated jar file to a build path | It is possible to add a variable to the build path for a project using add variable but this will not pick up the classes in that directory. The user although warned can still select it. STEPS 1) Define a classpath variable PATH_TEST that is a directory with classes in it 2) Open the properties dialog on a JavaProject ... | verified fixed | a364a78 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-14T16:14:00Z | 2002-01-04T13:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/StatusUtil.java | if (s1.getSeverity() > s2.getSeverity()) {
return s1;
} else {
return s2;
}
}
/**
* Finds the most severe status from a array of stati.
* An error is more severe than a warning, and a warning is more severe
* than ok.
*/
public static IStatus getMostSevere(IStatus[] status) {
IStatus max= null;
... |
7,252 | Bug 7252 Can add a variable with no associated jar file to a build path | It is possible to add a variable to the build path for a project using add variable but this will not pick up the classes in that directory. The user although warned can still select it. STEPS 1) Define a classpath variable PATH_TEST that is a directory with classes in it 2) Open the properties dialog on a JavaProject ... | verified fixed | a364a78 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-14T16:14:00Z | 2002-01-04T13:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/StatusUtil.java | private static String[] getErrorMessages(IStatus status) {
String message= status.getMessage();
if (status.matches(IStatus.ERROR) && !"".equals(message)) {
return new String[] { message, null };
} else if (status.matches(IStatus.WARNING | IStatus.INFO)) {
return new String[] { null, message };
} else {
... |
7,337 | Bug 7337 NPE when pasting a member (that got deleted) | 1) create a class with members a and b 2) copy a in the packages view (while show members is enabled) 3) delete a in the packages view 4) paste in the packages view ->NPE 4 org.eclipse.ui 0 java.lang.NullPointerException java.lang.NullPointerException at org.eclipse.jdt.internal.corext.codemanipulation.MemberEdit.conne... | resolved fixed | 38b50b8 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-15T12:00:55Z | 2002-01-08T11:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/reorg/PasteSourceReferencesAction.java | package org.eclipse.jdt.internal.ui.reorg;
import org.eclipse.core.resources.IFile;
import org.eclipse.core.runtime.CoreException;
import org.eclipse.core.runtime.NullProgressMonitor;
import org.eclipse.swt.custom.BusyIndicator;
import org.eclipse.swt.dnd.Clipboard;
import org.eclipse.jface.viewers.ISelectionProvider;
... |
7,337 | Bug 7337 NPE when pasting a member (that got deleted) | 1) create a class with members a and b 2) copy a in the packages view (while show members is enabled) 3) delete a in the packages view 4) paste in the packages view ->NPE 4 org.eclipse.ui 0 java.lang.NullPointerException java.lang.NullPointerException at org.eclipse.jdt.internal.corext.codemanipulation.MemberEdit.conne... | resolved fixed | 38b50b8 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-15T12:00:55Z | 2002-01-08T11:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/reorg/PasteSourceReferencesAction.java | public PasteSourceReferencesAction(ISelectionProvider provider) {
super("&Paste", provider);
}
/*
* @see RefactoringAction#canOperateOn(IStructuredSelection)
*/
public boolean canOperateOn(IStructuredSelection selection) {
try{
if (! isAnythingInInterestingClipboard())
return false;
if (select... |
7,337 | Bug 7337 NPE when pasting a member (that got deleted) | 1) create a class with members a and b 2) copy a in the packages view (while show members is enabled) 3) delete a in the packages view 4) paste in the packages view ->NPE 4 org.eclipse.ui 0 java.lang.NullPointerException java.lang.NullPointerException at org.eclipse.jdt.internal.corext.codemanipulation.MemberEdit.conne... | resolved fixed | 38b50b8 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-15T12:00:55Z | 2002-01-08T11:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/reorg/PasteSourceReferencesAction.java | if (! (selected instanceof ISourceReference))
return false;
if (! (selected instanceof IJavaElement))
return false;
if (((IJavaElement)selected).isReadOnly())
return false;
if (! ((IJavaElement)selected).exists())
return false;
IFile file= SourceReferenceUtil.getFile((ISourceR... |
7,337 | Bug 7337 NPE when pasting a member (that got deleted) | 1) create a class with members a and b 2) copy a in the packages view (while show members is enabled) 3) delete a in the packages view 4) paste in the packages view ->NPE 4 org.eclipse.ui 0 java.lang.NullPointerException java.lang.NullPointerException at org.eclipse.jdt.internal.corext.codemanipulation.MemberEdit.conne... | resolved fixed | 38b50b8 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-15T12:00:55Z | 2002-01-08T11:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/reorg/PasteSourceReferencesAction.java | return new Clipboard(JavaPlugin.getActiveWorkbenchShell().getDisplay());
}
private static boolean isAnythingInInterestingClipboard(){
TypedSource[] elems= (TypedSource[])getClipboard().getContents(TypedSourceTransfer.getInstance());
if (elems == null)
return false;
for (int i= 0; i < elems.length; i++) {
... |
7,337 | Bug 7337 NPE when pasting a member (that got deleted) | 1) create a class with members a and b 2) copy a in the packages view (while show members is enabled) 3) delete a in the packages view 4) paste in the packages view ->NPE 4 org.eclipse.ui 0 java.lang.NullPointerException java.lang.NullPointerException at org.eclipse.jdt.internal.corext.codemanipulation.MemberEdit.conne... | resolved fixed | 38b50b8 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-15T12:00:55Z | 2002-01-08T11:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/reorg/PasteSourceReferencesAction.java | private ISourceReference getSelectedElement(){
return (ISourceReference)getStructuredSelection().getFirstElement();
}
/*
* @see Action#run
*/
public void run() {
new BusyIndicator().showWhile(JavaPlugin.getActiveWorkbenchShell().getDisplay(), new Runnable() {
public void run() {
try {
perform(g... |
7,337 | Bug 7337 NPE when pasting a member (that got deleted) | 1) create a class with members a and b 2) copy a in the packages view (while show members is enabled) 3) delete a in the packages view 4) paste in the packages view ->NPE 4 org.eclipse.ui 0 java.lang.NullPointerException java.lang.NullPointerException at org.eclipse.jdt.internal.corext.codemanipulation.MemberEdit.conne... | resolved fixed | 38b50b8 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-15T12:00:55Z | 2002-01-08T11:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/reorg/PasteSourceReferencesAction.java | }
private static void paste(int style, ISourceReference selected) throws CoreException{
TextBuffer tb= TextBuffer.acquire(SourceReferenceUtil.getFile(selected));
TextBufferEditor tbe= new TextBufferEditor(tb);
TypedSource[] elems= getClipboardContents();
IJavaElement element= (IJavaElement)selected;
int... |
7,337 | Bug 7337 NPE when pasting a member (that got deleted) | 1) create a class with members a and b 2) copy a in the packages view (while show members is enabled) 3) delete a in the packages view 4) paste in the packages view ->NPE 4 org.eclipse.ui 0 java.lang.NullPointerException java.lang.NullPointerException at org.eclipse.jdt.internal.corext.codemanipulation.MemberEdit.conne... | resolved fixed | 38b50b8 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-15T12:00:55Z | 2002-01-08T11:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/reorg/PasteSourceReferencesAction.java | tbe.performEdits(new NullProgressMonitor());
TextBuffer.commitChanges(tb, false, new NullProgressMonitor());
TextBuffer.release(tb);
}
private static boolean canPasteAfter(ISourceReference ref, TypedSource[] elements){
if (ref instanceof ICompilationUnit)
return false;
if (ref instanceof IImportContai... |
7,337 | Bug 7337 NPE when pasting a member (that got deleted) | 1) create a class with members a and b 2) copy a in the packages view (while show members is enabled) 3) delete a in the packages view 4) paste in the packages view ->NPE 4 org.eclipse.ui 0 java.lang.NullPointerException java.lang.NullPointerException at org.eclipse.jdt.internal.corext.codemanipulation.MemberEdit.conne... | resolved fixed | 38b50b8 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-15T12:00:55Z | 2002-01-08T11:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/reorg/PasteSourceReferencesAction.java | return false;
}
return true;
}
private static int getElementType(ISourceReference ref){
return ((IJavaElement)ref).getElementType();
}
private static boolean canPasteAfterImportContainerOrDeclaration(int type){
if (type == IJavaElement.IMPORT_CONTAINER)
return true;
if (type == IJavaElement.IMPORT_... |
7,337 | Bug 7337 NPE when pasting a member (that got deleted) | 1) create a class with members a and b 2) copy a in the packages view (while show members is enabled) 3) delete a in the packages view 4) paste in the packages view ->NPE 4 org.eclipse.ui 0 java.lang.NullPointerException java.lang.NullPointerException at org.eclipse.jdt.internal.corext.codemanipulation.MemberEdit.conne... | resolved fixed | 38b50b8 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-15T12:00:55Z | 2002-01-08T11:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/reorg/PasteSourceReferencesAction.java | return false;
}
private static boolean canPasteInImportContainer(TypedSource[] elements){
return areAllValuesOfType(elements, IJavaElement.IMPORT_DECLARATION);
}
private static boolean canPasteInType(TypedSource[] elements){
return areAllMembers(elements);
}
private static boolean canPasteInCompilatio... |
7,337 | Bug 7337 NPE when pasting a member (that got deleted) | 1) create a class with members a and b 2) copy a in the packages view (while show members is enabled) 3) delete a in the packages view 4) paste in the packages view ->NPE 4 org.eclipse.ui 0 java.lang.NullPointerException java.lang.NullPointerException at org.eclipse.jdt.internal.corext.codemanipulation.MemberEdit.conne... | resolved fixed | 38b50b8 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-15T12:00:55Z | 2002-01-08T11:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/reorg/PasteSourceReferencesAction.java | private static boolean areAllValuesOfType(TypedSource[] elements, int type){
for (int i= 0; i < elements.length; i++) {
if (elements[i].getType() != type)
return false;
}
return true;
}
private static boolean areAllMembers(TypedSource[] elements){
for (int i= 0; i < elements.length; i++) {
if (! i... |
7,540 | Bug 7540 JDT Type hierarchy "Lock view ..." doen't work always | If the "Lock view and show members in hierarchy" is selected before any method is selected in method pane, the class pane isn t updated, if a method is selected afterwards. Selecting a method and select "Lock view..." works as expected | resolved fixed | f58d6b6 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-15T15:27:26Z | 2002-01-14T17:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java | /*
* (c) Copyright IBM Corp. 2000, 2001.
* All Rights Reserved.
*/
package org.eclipse.jdt.internal.ui.typehierarchy;
import java.util.ArrayList;
import java.util.List;
import org.eclipse.core.resources.IFile;
import org.eclipse.core.resources.IResource;
import org.eclipse.core.runtime.CoreException;
import org.ecli... |
7,540 | Bug 7540 JDT Type hierarchy "Lock view ..." doen't work always | If the "Lock view and show members in hierarchy" is selected before any method is selected in method pane, the class pane isn t updated, if a method is selected afterwards. Selecting a method and select "Lock view..." works as expected | resolved fixed | f58d6b6 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-15T15:27:26Z | 2002-01-14T17:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java | import org.eclipse.jface.action.IStatusLineManager;
import org.eclipse.jface.action.IToolBarManager;
import org.eclipse.jface.action.MenuManager;
import org.eclipse.jface.action.Separator;
import org.eclipse.jface.action.ToolBarManager;
import org.eclipse.jface.dialogs.IDialogSettings;
import org.eclipse.jface.dialogs.... |
7,540 | Bug 7540 JDT Type hierarchy "Lock view ..." doen't work always | If the "Lock view and show members in hierarchy" is selected before any method is selected in method pane, the class pane isn t updated, if a method is selected afterwards. Selecting a method and select "Lock view..." works as expected | resolved fixed | f58d6b6 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-15T15:27:26Z | 2002-01-14T17:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java | import org.eclipse.jdt.core.ICompilationUnit;
import org.eclipse.jdt.core.IJavaElement;
import org.eclipse.jdt.core.IMember;
import org.eclipse.jdt.core.IType;
import org.eclipse.jdt.core.JavaCore;
import org.eclipse.jdt.core.JavaModelException;
import org.eclipse.jdt.ui.IContextMenuConstants;
import org.eclipse.jdt.ui... |
7,540 | Bug 7540 JDT Type hierarchy "Lock view ..." doen't work always | If the "Lock view and show members in hierarchy" is selected before any method is selected in method pane, the class pane isn t updated, if a method is selected afterwards. Selecting a method and select "Lock view..." works as expected | resolved fixed | f58d6b6 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-15T15:27:26Z | 2002-01-14T17:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java | public static final int VIEW_ID_TYPE= 2;
public static final int VIEW_ID_SUPER= 0;
public static final int VIEW_ID_SUB= 1;
public static final int VIEW_ORIENTATION_VERTICAL= 0;
public static final int VIEW_ORIENTATION_HORIZONTAL= 1;
public static final int VIEW_ORIENTATION_SINGLE= 2;
private static final Stri... |
7,540 | Bug 7540 JDT Type hierarchy "Lock view ..." doen't work always | If the "Lock view and show members in hierarchy" is selected before any method is selected in method pane, the class pane isn t updated, if a method is selected afterwards. Selecting a method and select "Lock view..." works as expected | resolved fixed | f58d6b6 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-15T15:27:26Z | 2002-01-14T17:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java | private IType fSelectedType;
private IJavaElement fInputElement;
private ArrayList fInputHistory;
private IMemento fMemento;
private IProblemChangedListener fHierarchyProblemListener;
private TypeHierarchyLifeCycle fHierarchyLifeCycle;
private ITypeHierarchyLifeCycleListener fTypeHierarchyLifeCycleLis... |
7,540 | Bug 7540 JDT Type hierarchy "Lock view ..." doen't work always | If the "Lock view and show members in hierarchy" is selected before any method is selected in method pane, the class pane isn t updated, if a method is selected afterwards. Selecting a method and select "Lock view..." works as expected | resolved fixed | f58d6b6 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-15T15:27:26Z | 2002-01-14T17:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java | private Label fEmptyTypesViewer;
private ViewForm fTypeViewerViewForm;
private ViewForm fMethodViewerViewForm;
private CLabel fMethodViewerPaneLabel;
private JavaElementLabelProvider fPaneLabelProvider;
private IDialogSettings fDialogSettings;
private ToggleViewAction[] fViewActions;
private HistoryDro... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.