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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
3,471 | Bug 3471 Leading '/' in src page of Java wizard is misleading (1G842TH) | 1. create new java project "jp" with Create Java Project wizard. 2. in wizard goto second ("Source") page Observe: the Build Output Folder is "/jp/bin" Since this looks like a Unix pathname I interpret the leading "/" as an indication for a absolute pathname. Other tools use something like: {WORKBENCH}/jp/bin or shell ... | resolved wontfix | d8eedf7 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-12T18:21:09Z | 2001-10-11T03:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/BuildPathsBlock.java | }
};
}
/**
* Creates the Java project and sets the configured build path and output location.
* If the project already exists only build paths are updated.
*/
private void createJavaProject(List classPathEntries, IPath buildPath, IProgressMonitor monitor) throws CoreException {
IProject project= fCurrJ... |
3,471 | Bug 3471 Leading '/' in src page of Java wizard is misleading (1G842TH) | 1. create new java project "jp" with Create Java Project wizard. 2. in wizard goto second ("Source") page Observe: the Build Output Folder is "/jp/bin" Since this looks like a Unix pathname I interpret the leading "/" as an indication for a absolute pathname. Other tools use something like: {WORKBENCH}/jp/bin or shell ... | resolved wontfix | d8eedf7 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-12T18:21:09Z | 2001-10-11T03:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/BuildPathsBlock.java | CoreUtility.createFolder(folder, true, true, null);
}
monitor.worked(1);
fCurrJProject.setOutputLocation(buildPath, new SubProgressMonitor(monitor, 3));
int nEntries= classPathEntries.size();
IClasspathEntry[] classpath= new IClasspathEntry[nEntries];
for (int i= 0; i < nEntries; i++) {
CP... |
3,471 | Bug 3471 Leading '/' in src page of Java wizard is misleading (1G842TH) | 1. create new java project "jp" with Create Java Project wizard. 2. in wizard goto second ("Source") page Observe: the Build Output Folder is "/jp/bin" Since this looks like a Unix pathname I interpret the leading "/" as an indication for a absolute pathname. Other tools use something like: {WORKBENCH}/jp/bin or shell ... | resolved wontfix | d8eedf7 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-12T18:21:09Z | 2001-10-11T03:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/BuildPathsBlock.java | * @param prevRequiredProjects The required projects before changing the class path
*/
private static void updateReferencedProjects(IJavaProject jproject, String[] prevRequiredProjects, IProgressMonitor monitor) throws CoreException {
String[] newRequiredProjects= jproject.getRequiredProjectNames();
ArrayList pre... |
3,471 | Bug 3471 Leading '/' in src page of Java wizard is misleading (1G842TH) | 1. create new java project "jp" with Create Java Project wizard. 2. in wizard goto second ("Source") page Observe: the Build Output Folder is "/jp/bin" Since this looks like a Unix pathname I interpret the leading "/" as an indication for a absolute pathname. Other tools use something like: {WORKBENCH}/jp/bin or shell ... | resolved wontfix | d8eedf7 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-12T18:21:09Z | 2001-10-11T03:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/BuildPathsBlock.java | private static void addNatureToProject(IProject proj, String natureId, IProgressMonitor monitor) throws CoreException {
IProjectDescription description = proj.getDescription();
String[] prevNatures= description.getNatureIds();
String[] newNatures= new String[prevNatures.length + 1];
System.arraycopy(prevNatures... |
3,471 | Bug 3471 Leading '/' in src page of Java wizard is misleading (1G842TH) | 1. create new java project "jp" with Create Java Project wizard. 2. in wizard goto second ("Source") page Observe: the Build Output Folder is "/jp/bin" Since this looks like a Unix pathname I interpret the leading "/" as an indication for a absolute pathname. Other tools use something like: {WORKBENCH}/jp/bin or shell ... | resolved wontfix | d8eedf7 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-12T18:21:09Z | 2001-10-11T03:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/BuildPathsBlock.java | ElementTreeSelectionDialog dialog= new ElementTreeSelectionDialog(getShell(), lp, cp);
dialog.setTitle(NewWizardMessages.getString("BuildPathsBlock.ChooseOutputFolderDialog.title"));
dialog.setValidator(validator);
dialog.setMessage(NewWizardMessages.getString("BuildPathsBlock.ChooseOutputFolderDialog.descriptio... |
3,471 | Bug 3471 Leading '/' in src page of Java wizard is misleading (1G842TH) | 1. create new java project "jp" with Create Java Project wizard. 2. in wizard goto second ("Source") page Observe: the Build Output Folder is "/jp/bin" Since this looks like a Unix pathname I interpret the leading "/" as an indication for a absolute pathname. Other tools use something like: {WORKBENCH}/jp/bin or shell ... | resolved wontfix | d8eedf7 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-12T18:21:09Z | 2001-10-11T03:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/SourceContainerWorkbookPage.java | /*
* (c) Copyright IBM Corp. 2000, 2001.
* All Rights Reserved.
*/
package org.eclipse.jdt.internal.ui.wizards.buildpaths;
import java.util.ArrayList;
import java.util.List;
import org.eclipse.swt.SWT;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Control;
import org.eclipse.swt.widgets.Sh... |
3,471 | Bug 3471 Leading '/' in src page of Java wizard is misleading (1G842TH) | 1. create new java project "jp" with Create Java Project wizard. 2. in wizard goto second ("Source") page Observe: the Build Output Folder is "/jp/bin" Since this looks like a Unix pathname I interpret the leading "/" as an indication for a absolute pathname. Other tools use something like: {WORKBENCH}/jp/bin or shell ... | resolved wontfix | d8eedf7 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-12T18:21:09Z | 2001-10-11T03:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/SourceContainerWorkbookPage.java | import org.eclipse.ui.model.WorkbenchContentProvider;
import org.eclipse.ui.model.WorkbenchLabelProvider;
import org.eclipse.jdt.core.IClasspathEntry;
import org.eclipse.jdt.core.IJavaProject;
import org.eclipse.jdt.internal.ui.JavaPlugin;
import org.eclipse.jdt.internal.ui.dialogs.ElementTreeSelectionDialog;
import or... |
3,471 | Bug 3471 Leading '/' in src page of Java wizard is misleading (1G842TH) | 1. create new java project "jp" with Create Java Project wizard. 2. in wizard goto second ("Source") page Observe: the Build Output Folder is "/jp/bin" Since this looks like a Unix pathname I interpret the leading "/" as an indication for a absolute pathname. Other tools use something like: {WORKBENCH}/jp/bin or shell ... | resolved wontfix | d8eedf7 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-12T18:21:09Z | 2001-10-11T03:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/SourceContainerWorkbookPage.java | private ListDialogField fFoldersList;
private CPListElement fProjectCPEntry;
private StringDialogField fOutputLocationField;
private boolean fIsProjSelected;
public SourceContainerWorkbookPage(IWorkspaceRoot root, ListDialogField classPathList, StringDialogField outputLocationField, boolean isNewProject) {
fW... |
3,471 | Bug 3471 Leading '/' in src page of Java wizard is misleading (1G842TH) | 1. create new java project "jp" with Create Java Project wizard. 2. in wizard goto second ("Source") page Observe: the Build Output Folder is "/jp/bin" Since this looks like a Unix pathname I interpret the leading "/" as an indication for a absolute pathname. Other tools use something like: {WORKBENCH}/jp/bin or shell ... | resolved wontfix | d8eedf7 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-12T18:21:09Z | 2001-10-11T03:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/SourceContainerWorkbookPage.java | NewWizardMessages.getString("SourceContainerWorkbookPage.folders.remove.button")
};
removeIndex= 2;
} else {
buttonLabels= new String[] {
NewWizardMessages.getString("SourceContainerWorkbookPage.folders.addnew.button"),
NewWizardMessages.getString("SourceContainerWorkbookPage.folders.addnew.adde... |
3,471 | Bug 3471 Leading '/' in src page of Java wizard is misleading (1G842TH) | 1. create new java project "jp" with Create Java Project wizard. 2. in wizard goto second ("Source") page Observe: the Build Output Folder is "/jp/bin" Since this looks like a Unix pathname I interpret the leading "/" as an indication for a absolute pathname. Other tools use something like: {WORKBENCH}/jp/bin or shell ... | resolved wontfix | d8eedf7 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-12T18:21:09Z | 2001-10-11T03:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/SourceContainerWorkbookPage.java | List cpelements= fClassPathList.getElements();
for (int i= 0; i < cpelements.size(); i++) {
CPListElement cpe= (CPListElement)cpelements.get(i);
if (cpe.getEntryKind() == IClasspathEntry.CPE_SOURCE) {
if (fProjPath.equals(cpe.getPath())) {
srcelements.clear();
fProjectCPEntry= cpe;
fIsP... |
3,471 | Bug 3471 Leading '/' in src page of Java wizard is misleading (1G842TH) | 1. create new java project "jp" with Create Java Project wizard. 2. in wizard goto second ("Source") page Observe: the Build Output Folder is "/jp/bin" Since this looks like a Unix pathname I interpret the leading "/" as an indication for a absolute pathname. Other tools use something like: {WORKBENCH}/jp/bin or shell ... | resolved wontfix | d8eedf7 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-12T18:21:09Z | 2001-10-11T03:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/SourceContainerWorkbookPage.java | fProjectRadioButton.doFillIntoGrid(composite, 2);
fFolderRadioButton.doFillIntoGrid(composite, 2);
Control control= fFoldersList.getListControl(composite);
MGridData gd= new MGridData(MGridData.FILL_BOTH);
gd.horizontalIndent= 10;
control.setLayoutData(gd);
control= fFoldersList.getButtonBox(composite);
... |
3,471 | Bug 3471 Leading '/' in src page of Java wizard is misleading (1G842TH) | 1. create new java project "jp" with Create Java Project wizard. 2. in wizard goto second ("Source") page Observe: the Build Output Folder is "/jp/bin" Since this looks like a Unix pathname I interpret the leading "/" as an indication for a absolute pathname. Other tools use something like: {WORKBENCH}/jp/bin or shell ... | resolved wontfix | d8eedf7 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-12T18:21:09Z | 2001-10-11T03:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/SourceContainerWorkbookPage.java | public void customButtonPressed(DialogField field, int index) {
sourcePageCustomButtonPressed(field, index);
}
public void selectionChanged(DialogField field) {}
public void dialogFieldChanged(DialogField field) {
sourcePageDialogFieldChanged(field);
}
}
private void sourcePageCustomButtonPre... |
3,471 | Bug 3471 Leading '/' in src page of Java wizard is misleading (1G842TH) | 1. create new java project "jp" with Create Java Project wizard. 2. in wizard goto second ("Source") page Observe: the Build Output Folder is "/jp/bin" Since this looks like a Unix pathname I interpret the leading "/" as an indication for a absolute pathname. Other tools use something like: {WORKBENCH}/jp/bin or shell ... | resolved wontfix | d8eedf7 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-12T18:21:09Z | 2001-10-11T03:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/SourceContainerWorkbookPage.java | }
break;
case 1:
CPListElement[] srcentries= chooseSourceContainers();
if (srcentries != null) {
for (int i= 0; i < srcentries.length; i++) {
elementsToAdd.add(srcentries[i]);
}
}
break;
}
if (!elementsToAdd.isEmpty()) {
fFoldersList.addElements(elementsToAdd);
fFol... |
3,471 | Bug 3471 Leading '/' in src page of Java wizard is misleading (1G842TH) | 1. create new java project "jp" with Create Java Project wizard. 2. in wizard goto second ("Source") page Observe: the Build Output Folder is "/jp/bin" Since this looks like a Unix pathname I interpret the leading "/" as an indication for a absolute pathname. Other tools use something like: {WORKBENCH}/jp/bin or shell ... | resolved wontfix | d8eedf7 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-12T18:21:09Z | 2001-10-11T03:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/SourceContainerWorkbookPage.java | fIsProjSelected= false;
updateClasspathList();
if (fFoldersList.getSize() > 0) {
askForChangingBuildPathDialog();
}
}
} else if (field == fProjectRadioButton) {
if (fProjectRadioButton.isSelected()) {
fIsProjSelected= true;
updateClasspathList();
}
} else if (field == fFoldersList)... |
3,471 | Bug 3471 Leading '/' in src page of Java wizard is misleading (1G842TH) | 1. create new java project "jp" with Create Java Project wizard. 2. in wizard goto second ("Source") page Observe: the Build Output Folder is "/jp/bin" Since this looks like a Unix pathname I interpret the leading "/" as an indication for a absolute pathname. Other tools use something like: {WORKBENCH}/jp/bin or shell ... | resolved wontfix | d8eedf7 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-12T18:21:09Z | 2001-10-11T03:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/SourceContainerWorkbookPage.java | }
boolean changeDone= false;
for (int i= cpelements.size() - 1; i >= 0 ; i--) {
CPListElement cpe= (CPListElement)cpelements.get(i);
if (cpe.getEntryKind() == IClasspathEntry.CPE_SOURCE) {
if (!srcelements.remove(cpe)) {
cpelements.remove(i);
changeDone= true;
}
}
}
for ... |
3,471 | Bug 3471 Leading '/' in src page of Java wizard is misleading (1G842TH) | 1. create new java project "jp" with Create Java Project wizard. 2. in wizard goto second ("Source") page Observe: the Build Output Folder is "/jp/bin" Since this looks like a Unix pathname I interpret the leading "/" as an indication for a absolute pathname. Other tools use something like: {WORKBENCH}/jp/bin or shell ... | resolved wontfix | d8eedf7 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-12T18:21:09Z | 2001-10-11T03:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/SourceContainerWorkbookPage.java | }
return null;
}
/**
* Asks to change the output folder to 'proj/bin' when no source folders were existing
*/
private void askForChangingBuildPathDialog() {
IPath outputFolder= new Path(fOutputLocationField.getText());
if (outputFolder.equals(fCurrJProject.getProject().getFullPath())) {
IPath newPath... |
3,471 | Bug 3471 Leading '/' in src page of Java wizard is misleading (1G842TH) | 1. create new java project "jp" with Create Java Project wizard. 2. in wizard goto second ("Source") page Observe: the Build Output Folder is "/jp/bin" Since this looks like a Unix pathname I interpret the leading "/" as an indication for a absolute pathname. Other tools use something like: {WORKBENCH}/jp/bin or shell ... | resolved wontfix | d8eedf7 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-12T18:21:09Z | 2001-10-11T03:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/SourceContainerWorkbookPage.java | ElementTreeSelectionDialog dialog= new ElementTreeSelectionDialog(getShell(), lp, cp);
dialog.setValidator(validator);
dialog.setTitle(NewWizardMessages.getString("SourceContainerWorkbookPage.ExistingSourceFolderDialog.title"));
dialog.setMessage(NewWizardMessages.getString("SourceContainerWorkbookPage.ExistingS... |
3,471 | Bug 3471 Leading '/' in src page of Java wizard is misleading (1G842TH) | 1. create new java project "jp" with Create Java Project wizard. 2. in wizard goto second ("Source") page Observe: the Build Output Folder is "/jp/bin" Since this looks like a Unix pathname I interpret the leading "/" as an indication for a absolute pathname. Other tools use something like: {WORKBENCH}/jp/bin or shell ... | resolved wontfix | d8eedf7 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-12T18:21:09Z | 2001-10-11T03:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/SourceContainerWorkbookPage.java | private CPListElement newCPSourceElement(IResource res) {
Assert.isNotNull(res);
return new CPListElement(IClasspathEntry.CPE_SOURCE, res.getFullPath(), res);
}
/*
* @see BuildPathBasePage#getSelection
*/
public List getSelection() {
if (fIsProjSelected) {
ArrayList list= new ArrayList(1);
list.add... |
5,492 | Bug 5492 Open in Hierarchy method list is enabled even when nothing is selected | 206 1) Ensure no item is selected in the hierachy view's member list 2) Right click - not on an item 3) Open is present and enabled 4) Select Open, nothing happens | resolved fixed | 0bf8b4b | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-12T19:32:54Z | 2001-11-02T19:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/MethodsViewer.java | /*
* (c) Copyright IBM Corp. 2000, 2001.
* All Rights Reserved.
*/
package org.eclipse.jdt.internal.ui.typehierarchy;
import java.util.Set;
import org.eclipse.swt.SWT;
import org.eclipse.swt.events.ControlAdapter;
import org.eclipse.swt.events.ControlEvent;
import org.eclipse.swt.widgets.Composite;
import org.eclips... |
5,492 | Bug 5492 Open in Hierarchy method list is enabled even when nothing is selected | 206 1) Ensure no item is selected in the hierachy view's member list 2) Right click - not on an item 3) Open is present and enabled 4) Select Open, nothing happens | resolved fixed | 0bf8b4b | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-12T19:32:54Z | 2001-11-02T19:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/MethodsViewer.java | import org.eclipse.ui.IWorkbenchPartSite;
import org.eclipse.jdt.core.IJavaElement;
import org.eclipse.jdt.core.JavaModelException;
import org.eclipse.jdt.ui.IContextMenuConstants;
import org.eclipse.jdt.ui.JavaElementLabelProvider;
import org.eclipse.jdt.internal.ui.IJavaHelpContextIds;
import org.eclipse.jdt.internal... |
5,492 | Bug 5492 Open in Hierarchy method list is enabled even when nothing is selected | 206 1) Ensure no item is selected in the hierachy view's member list 2) Right click - not on an item 3) Open is present and enabled 4) Select Open, nothing happens | resolved fixed | 0bf8b4b | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-12T19:32:54Z | 2001-11-02T19:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/MethodsViewer.java | public MethodsViewerSorter() {
}
public int compare(Viewer viewer, Object e1, Object e2) {
int cat1 = category(e1);
int cat2 = category(e2);
if (cat1 != cat2)
return cat1 - cat2;
String name1= JavaElementLabels.getElementLabel((IJavaElement) e1, JavaElementLabels.ALL_DEFAULT);
String name... |
5,492 | Bug 5492 Open in Hierarchy method list is enabled even when nothing is selected | 206 1) Ensure no item is selected in the hierachy view's member list 2) Right click - not on an item 3) Open is present and enabled 4) Select Open, nothing happens | resolved fixed | 0bf8b4b | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-12T19:32:54Z | 2001-11-02T19:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/MethodsViewer.java | private OpenJavaElementAction fOpen;
private TableColumn fTableColumn;
private ShowInheritedMembersAction fShowInheritedMembersAction;
private ContextMenuGroup[] fStandardGroups;
public MethodsViewer(Composite parent, IWorkbenchPart part) {
super(new Table(parent, SWT.MULTI));
fProblemItemMapper= new Pr... |
5,492 | Bug 5492 Open in Hierarchy method list is enabled even when nothing is selected | 206 1) Ensure no item is selected in the hierachy view's member list 2) Right click - not on an item 3) Open is present and enabled 4) Select Open, nothing happens | resolved fixed | 0bf8b4b | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-12T19:32:54Z | 2001-11-02T19:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/MethodsViewer.java | });
fFilter= new MethodsViewerFilter();
String title= TypeHierarchyMessages.getString("MethodsViewer.hide_fields.label");
String helpContext= IJavaHelpContextIds.FILTER_FIELDS_ACTION;
MethodsViewerFilterAction hideFields= new MethodsViewerFilterAction(this, title, MethodsViewerFilter.FILTER_FIELDS, ... |
5,492 | Bug 5492 Open in Hierarchy method list is enabled even when nothing is selected | 206 1) Ensure no item is selected in the hierachy view's member list 2) Right click - not on an item 3) Open is present and enabled 4) Select Open, nothing happens | resolved fixed | 0bf8b4b | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-12T19:32:54Z | 2001-11-02T19:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/MethodsViewer.java | fFilterActions= new MethodsViewerFilterAction[] { hideFields, hideStatic, hideNonPublic };
addFilter(fFilter);
fShowInheritedMembersAction= new ShowInheritedMembersAction(this, false);
showInheritedMethods(false);
fStandardGroups= new ContextMenuGroup[] {
new JavaSearchGroup(), new GenerateGroup()
... |
5,492 | Bug 5492 Open in Hierarchy method list is enabled even when nothing is selected | 206 1) Ensure no item is selected in the hierachy view's member list 2) Right click - not on an item 3) Open is present and enabled 4) Select Open, nothing happens | resolved fixed | 0bf8b4b | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-12T19:32:54Z | 2001-11-02T19:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/MethodsViewer.java | }
refresh();
adjustTableColumnSize();
} catch (JavaModelException e) {
ExceptionHandler.handle(e, getControl().getShell(), TypeHierarchyMessages.getString("MethodsViewer.toggle.error.title"), TypeHierarchyMessages.getString("MethodsViewer.toggle.error.message"));
}
}
private void adjustTableColumn... |
5,492 | Bug 5492 Open in Hierarchy method list is enabled even when nothing is selected | 206 1) Ensure no item is selected in the hierachy view's member list 2) Right click - not on an item 3) Open is present and enabled 4) Select Open, nothing happens | resolved fixed | 0bf8b4b | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-12T19:32:54Z | 2001-11-02T19:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/MethodsViewer.java | * Filters the method list
*/
public void setMemberFilter(int filterProperty, boolean set) {
if (set) {
fFilter.addFilter(filterProperty);
} else {
fFilter.removeFilter(filterProperty);
}
for (int i= 0; i < fFilterActions.length; i++) {
if (fFilterActions[i].getFilterProperty() == filterProperty) {
... |
5,492 | Bug 5492 Open in Hierarchy method list is enabled even when nothing is selected | 206 1) Ensure no item is selected in the hierachy view's member list 2) Right click - not on an item 3) Open is present and enabled 4) Select Open, nothing happens | resolved fixed | 0bf8b4b | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-12T19:32:54Z | 2001-11-02T19:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/MethodsViewer.java | ScrollBar bar= getTable().getVerticalBar();
int position= bar != null ? bar.getSelection() : 0;
memento.putString(TAG_VERTICAL_SCROLL, String.valueOf(position));
}
/**
* Restores the state of the filter actions
*/
public void restoreState(IMemento memento) {
boolean set= Boolean.valueOf(memento.getString(... |
5,492 | Bug 5492 Open in Hierarchy method list is enabled even when nothing is selected | 206 1) Ensure no item is selected in the hierachy view's member list 2) Right click - not on an item 3) Open is present and enabled 4) Select Open, nothing happens | resolved fixed | 0bf8b4b | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-12T19:32:54Z | 2001-11-02T19:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/MethodsViewer.java | public void initContextMenu(IMenuListener menuListener, String popupId, IWorkbenchPartSite viewSite) {
MenuManager menuMgr= new MenuManager();
menuMgr.setRemoveAllWhenShown(true);
menuMgr.addMenuListener(menuListener);
Menu menu= menuMgr.createContextMenu(getTable());
getTable().setMenu(menu);
viewSite.regi... |
5,492 | Bug 5492 Open in Hierarchy method list is enabled even when nothing is selected | 206 1) Ensure no item is selected in the hierachy view's member list 2) Right click - not on an item 3) Open is present and enabled 4) Select Open, nothing happens | resolved fixed | 0bf8b4b | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-12T19:32:54Z | 2001-11-02T19:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/MethodsViewer.java | * @see IProblemChangedListener#problemsChanged
*/
public void problemsChanged(final Set changed) {
Control control= getControl();
if (control != null && !control.isDisposed()) {
control.getDisplay().asyncExec(new Runnable() {
public void run() {
fProblemItemMapper.problemsChanged(changed, (ILabelProv... |
5,492 | Bug 5492 Open in Hierarchy method list is enabled even when nothing is selected | 206 1) Ensure no item is selected in the hierachy view's member list 2) Right click - not on an item 3) Open is present and enabled 4) Select Open, nothing happens | resolved fixed | 0bf8b4b | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-12T19:32:54Z | 2001-11-02T19:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewer.java | /*
* (c) Copyright IBM Corp. 2000, 2001.
* All Rights Reserved.
*/
package org.eclipse.jdt.internal.ui.typehierarchy;
import org.eclipse.swt.SWT;
import org.eclipse.swt.widgets.Composite; |
5,492 | Bug 5492 Open in Hierarchy method list is enabled even when nothing is selected | 206 1) Ensure no item is selected in the hierachy view's member list 2) Right click - not on an item 3) Open is present and enabled 4) Select Open, nothing happens | resolved fixed | 0bf8b4b | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-12T19:32:54Z | 2001-11-02T19:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewer.java | import org.eclipse.swt.widgets.Menu;
import org.eclipse.swt.widgets.Tree;
import org.eclipse.jface.action.IMenuListener;
import org.eclipse.jface.action.IMenuManager;
import org.eclipse.jface.action.MenuManager;
import org.eclipse.jface.util.Assert;
import org.eclipse.jface.viewers.DoubleClickEvent;
import org.eclipse.... |
5,492 | Bug 5492 Open in Hierarchy method list is enabled even when nothing is selected | 206 1) Ensure no item is selected in the hierachy view's member list 2) Right click - not on an item 3) Open is present and enabled 4) Select Open, nothing happens | resolved fixed | 0bf8b4b | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-12T19:32:54Z | 2001-11-02T19:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewer.java | private OpenJavaElementAction fOpen;
private ShowInPackageViewAction fShowInPackageViewAction;
private ContextMenuGroup[] fStandardGroups;
public TypeHierarchyViewer(Composite parent, IContentProvider contentProvider, ILabelProvider lprovider, IWorkbenchPart part) {
super(new Tree(parent, SWT.SINGLE));
... |
5,492 | Bug 5492 Open in Hierarchy method list is enabled even when nothing is selected | 206 1) Ensure no item is selected in the hierachy view's member list 2) Right click - not on an item 3) Open is present and enabled 4) Select Open, nothing happens | resolved fixed | 0bf8b4b | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-12T19:32:54Z | 2001-11-02T19:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewer.java | fOpen= new OpenJavaElementAction(this);
addDoubleClickListener(new IDoubleClickListener() {
public void doubleClick(DoubleClickEvent event) {
fOpen.run();
}
});
fShowInPackageViewAction= new ShowInPackageViewAction();
fStandardGroups= new ContextMenuGroup[] {
new JavaSearchGroup(), new NewGroup(), ... |
5,492 | Bug 5492 Open in Hierarchy method list is enabled even when nothing is selected | 206 1) Ensure no item is selected in the hierachy view's member list 2) Right click - not on an item 3) Open is present and enabled 4) Select Open, nothing happens | resolved fixed | 0bf8b4b | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-12T19:32:54Z | 2001-11-02T19:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewer.java | menu.appendToGroup(IContextMenuConstants.GROUP_SHOW, fShowInPackageViewAction);
ContextMenuGroup.add(menu, fStandardGroups, this);
}
/**
* Set the member filter
*/
public void setMemberFilter(IMember[] memberFilter) {
getHierarchyContentProvider().setMemberFilter(memberFilter);
}
/**
* Returns if method ... |
5,492 | Bug 5492 Open in Hierarchy method list is enabled even when nothing is selected | 206 1) Ensure no item is selected in the hierachy view's member list 2) Right click - not on an item 3) Open is present and enabled 4) Select Open, nothing happens | resolved fixed | 0bf8b4b | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-12T19:32:54Z | 2001-11-02T19:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewer.java | /**
* Returns true if the hierarchy contains element the element.
*/
public boolean isElementShown(Object element) {
return findItem(element) != null;
}
/**
* Updates the content of this viewer: refresh and expanding the tree in the way wanted.
*/
public abstract void updateContent();
/**
* Retur... |
3,770 | Bug 3770 Java Preference page needs better grouping (1GERREW) | EG (6/3/2001 1:57:32 PM) the Java preference page needs space between the different groups. Package view related prefs should come together. There should be whitespace before the hierarchy preference setting. NOTES: EG (6/4/2001 12:00:42 PM) adding white space is work since we are using the preference dialog fields. Th... | resolved fixed | c1e5823 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-13T14:45:02Z | 2001-10-11T03:13:20Z | 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... |
3,770 | Bug 3770 Java Preference page needs better grouping (1GERREW) | EG (6/3/2001 1:57:32 PM) the Java preference page needs space between the different groups. Package view related prefs should come together. There should be whitespace before the hierarchy preference setting. NOTES: EG (6/4/2001 12:00:42 PM) adding white space is work since we are using the preference dialog fields. Th... | resolved fixed | c1e5823 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-13T14:45:02Z | 2001-10-11T03:13:20Z | 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_... |
3,770 | Bug 3770 Java Preference page needs better grouping (1GERREW) | EG (6/3/2001 1:57:32 PM) the Java preference page needs space between the different groups. Package view related prefs should come together. There should be whitespace before the hierarchy preference setting. NOTES: EG (6/4/2001 12:00:42 PM) adding white space is work since we are using the preference dialog fields. Th... | resolved fixed | c1e5823 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-13T14:45:02Z | 2001-10-11T03:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaBasePreferencePage.java | public void createControl(Composite parent) {
super.createControl(parent);
WorkbenchHelp.setHelp(getControl(), new DialogPageContextComputer(this, IJavaHelpContextIds.JAVA_BASE_PREFERENCE_PAGE));
}
protected void createFieldEditors() {
Composite parent= getFieldEditorParent();
BooleanFieldEditor boolEdi... |
3,770 | Bug 3770 Java Preference page needs better grouping (1GERREW) | EG (6/3/2001 1:57:32 PM) the Java preference page needs space between the different groups. Package view related prefs should come together. There should be whitespace before the hierarchy preference setting. NOTES: EG (6/4/2001 12:00:42 PM) adding white space is work since we are using the preference dialog fields. Th... | resolved fixed | c1e5823 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-13T14:45:02Z | 2001-10-11T03:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaBasePreferencePage.java | IPreferencesConstants.SHOW_CU_CHILDREN,
JavaUIMessages.getString("JavaBasePreferencePage.cuChildren"),
parent
);
addField(boolEditor);
boolEditor= new BooleanFieldEditor(
IPreferencesConstants.SRCBIN_FOLDERS_IN_NEWPROJ,
JavaUIMessages.getString("JavaBasePreferencePage.folders"),
parent
);
add... |
3,770 | Bug 3770 Java Preference page needs better grouping (1GERREW) | EG (6/3/2001 1:57:32 PM) the Java preference page needs space between the different groups. Package view related prefs should come together. There should be whitespace before the hierarchy preference setting. NOTES: EG (6/4/2001 12:00:42 PM) adding white space is work since we are using the preference dialog fields. Th... | resolved fixed | c1e5823 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-13T14:45:02Z | 2001-10-11T03:13:20Z | 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... |
5,832 | Bug 5832 Template Pref page: Edit: Copy/paste context menu | The text field to edit the templates should have a context menu with copy/paste. | resolved fixed | 783cbe5 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-13T17:08:59Z | 2001-11-13T11:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/EditTemplateDialog.java | /*
* (c) Copyright IBM Corp. 2000, 2001.
* All Rights Reserved.
*/
package org.eclipse.jdt.internal.ui.preferences;
import org.eclipse.swt.SWT;
import org.eclipse.swt.custom.StyledText;
import org.eclipse.swt.events.ModifyEvent;
import org.eclipse.swt.events.ModifyListener;
import org.eclipse.swt.events.SelectionEve... |
5,832 | Bug 5832 Template Pref page: Edit: Copy/paste context menu | The text field to edit the templates should have a context menu with copy/paste. | resolved fixed | 783cbe5 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-13T17:08:59Z | 2001-11-13T11:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/EditTemplateDialog.java | import org.eclipse.swt.widgets.Label;
import org.eclipse.swt.widgets.Shell;
import org.eclipse.swt.widgets.Text;
import org.eclipse.jface.resource.JFaceResources;
import org.eclipse.jface.text.Document;
import org.eclipse.jface.text.DocumentEvent;
import org.eclipse.jface.text.IDocument;
import org.eclipse.jface.text.I... |
5,832 | Bug 5832 Template Pref page: Edit: Copy/paste context menu | The text field to edit the templates should have a context menu with copy/paste. | resolved fixed | 783cbe5 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-13T17:08:59Z | 2001-11-13T11:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/EditTemplateDialog.java | private static class SimpleJavaSourceViewerConfiguration extends JavaSourceViewerConfiguration {
SimpleJavaSourceViewerConfiguration(JavaTextTools tools, ITextEditor editor) {
super(tools, editor);
}
/*
* @see SourceViewerConfiguration#getContentAssistant(ISourceViewer)
*/
public IContentAssistan... |
5,832 | Bug 5832 Template Pref page: Edit: Copy/paste context menu | The text field to edit the templates should have a context menu with copy/paste. | resolved fixed | 783cbe5 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-13T17:08:59Z | 2001-11-13T11:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/EditTemplateDialog.java | private String fErrorMessage;
private boolean fHasAdjacentVariables;
private boolean fEndsWithVariable;
public void reset() {
fErrorMessage= null;
fHasAdjacentVariables= false;
fEndsWithVariable= false;
}
public void acceptError(String message) {
if (fErrorMessage == null)
fErrorMessage= me... |
5,832 | Bug 5832 Template Pref page: Edit: Copy/paste context menu | The text field to edit the templates should have a context menu with copy/paste. | resolved fixed | 783cbe5 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-13T17:08:59Z | 2001-11-13T11:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/EditTemplateDialog.java | public String getErrorMessage() {
if (fHasAdjacentVariables)
return TemplateMessages.getString("EditTemplateDialog.error.adjacent.variables");
return fErrorMessage;
}
}
private Template fTemplate;
private Text fNameText;
private Text fDescriptionText;
private Combo fContextCombo;
private SourceViewer... |
5,832 | Bug 5832 Template Pref page: Edit: Copy/paste context menu | The text field to edit the templates should have a context menu with copy/paste. | resolved fixed | 783cbe5 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-13T17:08:59Z | 2001-11-13T11:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/EditTemplateDialog.java | * @see Dialog#createDialogArea(Composite)
*/
protected Control createDialogArea(Composite ancestor) {
Composite parent= new Composite(ancestor, SWT.NONE);
GridLayout layout= new GridLayout();
layout.numColumns= 2;
parent.setLayout(layout);
parent.setLayoutData(new GridData(GridData.FILL_BOTH));
create... |
5,832 | Bug 5832 Template Pref page: Edit: Copy/paste context menu | The text field to edit the templates should have a context menu with copy/paste. | resolved fixed | 783cbe5 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-13T17:08:59Z | 2001-11-13T11:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/EditTemplateDialog.java | createLabel(parent, TemplateMessages.getString("EditTemplateDialog.description"));
fDescriptionText= createText(parent);
composite= new Composite(parent, SWT.NONE);
composite.setLayoutData(new GridData(GridData.FILL_VERTICAL));
layout= new GridLayout();
layout.marginWidth= 0;
layout.marginHeight= 0;
... |
5,832 | Bug 5832 Template Pref page: Edit: Copy/paste context menu | The text field to edit the templates should have a context menu with copy/paste. | resolved fixed | 783cbe5 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-13T17:08:59Z | 2001-11-13T11:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/EditTemplateDialog.java | private static GridData getButtonGridData(Button button) {
GridData data= new GridData(GridData.FILL_HORIZONTAL);
data.heightHint= SWTUtil.getButtonHeigthHint(button);
return data;
}
private static Label createLabel(Composite parent, String name) {
Label label= new Label(parent, SWT.NULL);
label.setText(n... |
5,832 | Bug 5832 Template Pref page: Edit: Copy/paste context menu | The text field to edit the templates should have a context menu with copy/paste. | resolved fixed | 783cbe5 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-13T17:08:59Z | 2001-11-13T11:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/EditTemplateDialog.java | }
});
viewer.setDocument(document);
Font font= JFaceResources.getFontRegistry().get(JFaceResources.TEXT_FONT);
viewer.getTextWidget().setFont(font);
Control control= viewer.getControl();
GridData data= new GridData(GridData.FILL_BOTH);
data.widthHint= convertWidthInCharsToPixels(60);
data.heightHin... |
5,832 | Bug 5832 Template Pref page: Edit: Copy/paste context menu | The text field to edit the templates should have a context menu with copy/paste. | resolved fixed | 783cbe5 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-13T17:08:59Z | 2001-11-13T11:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/EditTemplateDialog.java | super.okPressed();
}
private void updateButtons() {
boolean valid= fNameText.getText().trim().length() != 0;
StatusInfo status= new StatusInfo();
if (!valid) {
if (fSuppressError)
status.setError("");
else
status.setError(TemplateMessages.getString("EditTemplateDialog.error.noname")... |
5,791 | Bug 5791 NPE in SocketUtil | Launch Eclipse using JDK 1.4 as JRE. From the launched eclispe, launch another program in debug mode, using JDK 1.4. This produces an NPE in SocketUtil: java.lang.reflect.InvocationTargetException at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:277) at org.eclipse.jface.dialogs.ProgressMonitorDialog.r... | verified fixed | 504d14b | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-14T00:40:20Z | 2001-11-12T15:46:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/launcher/JDK12DebugLauncher.java | /*
* (c) Copyright IBM Corp. 2000, 2001.
* All Rights Reserved.
*/
package org.eclipse.jdt.internal.ui.launcher;
import java.io.File;
import java.io.IOException;
import java.io.InterruptedIOException;
import java.util.List;
import java.util.Map;
import java.util.Vector;
import org.eclipse.core.runtime.CoreException;... |
5,791 | Bug 5791 NPE in SocketUtil | Launch Eclipse using JDK 1.4 as JRE. From the launched eclispe, launch another program in debug mode, using JDK 1.4. This produces an NPE in SocketUtil: java.lang.reflect.InvocationTargetException at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:277) at org.eclipse.jface.dialogs.ProgressMonitorDialog.r... | verified fixed | 504d14b | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-14T00:40:20Z | 2001-11-12T15:46:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/launcher/JDK12DebugLauncher.java | import org.eclipse.debug.core.model.IProcess;
import org.eclipse.jdi.Bootstrap;
import org.eclipse.jdt.debug.core.JDIDebugModel;
import org.eclipse.jdt.launching.IVMInstall;
import org.eclipse.jdt.launching.JavaRuntime;
import org.eclipse.jdt.launching.VMRunnerConfiguration;
import org.eclipse.jdt.launching.VMRunnerRes... |
5,791 | Bug 5791 NPE in SocketUtil | Launch Eclipse using JDK 1.4 as JRE. From the launched eclispe, launch another program in debug mode, using JDK 1.4. This produces an NPE in SocketUtil: java.lang.reflect.InvocationTargetException at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:277) at org.eclipse.jface.dialogs.ProgressMonitorDialog.r... | verified fixed | 504d14b | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-14T00:40:20Z | 2001-11-12T15:46:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/launcher/JDK12DebugLauncher.java | */
public VMRunnerResult run(VMRunnerConfiguration config) throws CoreException {
int port= SocketUtil.findUnusedLocalPort(null, 5000, 15000);
if (port == -1) {
throw new CoreException(createStatus(LauncherMessages.getString("jdkLauncher.noPort"), null));
}
String location= getJDKLocation("");
if ("".eq... |
5,791 | Bug 5791 NPE in SocketUtil | Launch Eclipse using JDK 1.4 as JRE. From the launched eclispe, launch another program in debug mode, using JDK 1.4. This produces an NPE in SocketUtil: java.lang.reflect.InvocationTargetException at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:277) at org.eclipse.jface.dialogs.ProgressMonitorDialog.r... | verified fixed | 504d14b | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-14T00:40:20Z | 2001-11-12T15:46:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/launcher/JDK12DebugLauncher.java | addArguments(config.getVMArguments(), arguments);
arguments.add("-Xdebug");
arguments.add("-Xnoagent");
arguments.add("-Djava.compiler=NONE");
arguments.add("-Xrunjdwp:transport=dt_socket,address=127.0.0.1:" + port);
arguments.add(config.getClassToLaunch());
addArguments(config.getProgramArguments(), ar... |
5,791 | Bug 5791 NPE in SocketUtil | Launch Eclipse using JDK 1.4 as JRE. From the launched eclispe, launch another program in debug mode, using JDK 1.4. This produces an NPE in SocketUtil: java.lang.reflect.InvocationTargetException at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:277) at org.eclipse.jface.dialogs.ProgressMonitorDialog.r... | verified fixed | 504d14b | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-14T00:40:20Z | 2001-11-12T15:46:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/launcher/JDK12DebugLauncher.java | IProcess process= DebugPlugin.getDefault().newProcess(p, renderProcessLabel(cmdLine));
process.setAttribute(JavaRuntime.ATTR_CMDLINE, renderCommandLine(cmdLine));
boolean retry= false;
do {
try {
VirtualMachine vm= connector.accept(map);
setTimeout(vm);
IDebugTarg... |
5,791 | Bug 5791 NPE in SocketUtil | Launch Eclipse using JDK 1.4 as JRE. From the launched eclispe, launch another program in debug mode, using JDK 1.4. This produces an NPE in SocketUtil: java.lang.reflect.InvocationTargetException at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:277) at org.eclipse.jface.dialogs.ProgressMonitorDialog.r... | verified fixed | 504d14b | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-14T00:40:20Z | 2001-11-12T15:46:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/launcher/JDK12DebugLauncher.java | private void setTimeout(VirtualMachine vm) {
if (vm instanceof org.eclipse.jdi.VirtualMachine) {
int timeout= fVMInstance.getDebuggerTimeout();
org.eclipse.jdi.VirtualMachine vm2= (org.eclipse.jdi.VirtualMachine)vm;
vm2.setRequestTimeout(timeout);
}
}
protected void specifyArguments(Map map, int por... |
3,607 | Bug 3607 Open Type: can't enter fully qualified name (1GCJUJX) | EG (4/21/2001 4:17:12 PM) it should be possible to enter fully qualified name NOTES: PA (5/31/01 2:44:32 PM) it isn't. MA (15.08.2001 18:10:01) Filter with the simple name from the current entered name, and select the package using the qualifier. | verified fixed | 7bf340f | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-14T15:46:44Z | 2001-10-11T03:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/AbstractElementListSelectionDialog.java | /*
* (c) Copyright IBM Corp. 2000, 2001.
* All Rights Reserved.
*/
package org.eclipse.jdt.internal.ui.dialogs;
import java.util.ArrayList;
import java.util.List;
import org.eclipse.swt.SWT;
import org.eclipse.swt.custom.BusyIndicator;
import org.eclipse.swt.events.SelectionEvent;
import org.eclipse.swt.events.Selec... |
3,607 | Bug 3607 Open Type: can't enter fully qualified name (1GCJUJX) | EG (4/21/2001 4:17:12 PM) it should be possible to enter fully qualified name NOTES: PA (5/31/01 2:44:32 PM) it isn't. MA (15.08.2001 18:10:01) Filter with the simple name from the current entered name, and select the package using the qualifier. | verified fixed | 7bf340f | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-14T15:46:44Z | 2001-10-11T03:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/AbstractElementListSelectionDialog.java | private ILabelProvider fRenderer;
private boolean fIgnoreCase= true;
private boolean fIsMultipleSelection= false;
private boolean fMatchEmptyString= true;
private boolean fAllowDuplicates= true; |
3,607 | Bug 3607 Open Type: can't enter fully qualified name (1GCJUJX) | EG (4/21/2001 4:17:12 PM) it should be possible to enter fully qualified name NOTES: PA (5/31/01 2:44:32 PM) it isn't. MA (15.08.2001 18:10:01) Filter with the simple name from the current entered name, and select the package using the qualifier. | verified fixed | 7bf340f | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-14T15:46:44Z | 2001-10-11T03:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/AbstractElementListSelectionDialog.java | private Label fMessage;
private FilteredList fFilteredList;
private Text fFilterText;
private ISelectionValidator fValidator;
private String fFilter= null;
private String fEmptyListMessage= "";
private String fEmptySelectionMessage= "";
private int fWidth= 60;
private int fHeight= 18;
/**
* Const... |
3,607 | Bug 3607 Open Type: can't enter fully qualified name (1GCJUJX) | EG (4/21/2001 4:17:12 PM) it should be possible to enter fully qualified name NOTES: PA (5/31/01 2:44:32 PM) it isn't. MA (15.08.2001 18:10:01) Filter with the simple name from the current entered name, and select the package using the qualifier. | verified fixed | 7bf340f | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-14T15:46:44Z | 2001-10-11T03:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/AbstractElementListSelectionDialog.java | buttonPressed(IDialogConstants.OK_ID);
}
/**
* Specifies if sorting, filtering and folding is case sensitive.
*/
public void setIgnoreCase(boolean ignoreCase) {
fIgnoreCase= ignoreCase;
}
/**
* Returns if sorting, filtering and folding is case sensitive.
*/
public boolean isCaseIgnored() {
return ... |
3,607 | Bug 3607 Open Type: can't enter fully qualified name (1GCJUJX) | EG (4/21/2001 4:17:12 PM) it should be possible to enter fully qualified name NOTES: PA (5/31/01 2:44:32 PM) it isn't. MA (15.08.2001 18:10:01) Filter with the simple name from the current entered name, and select the package using the qualifier. | verified fixed | 7bf340f | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-14T15:46:44Z | 2001-10-11T03:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/AbstractElementListSelectionDialog.java | }
/**
* Specifies whether duplicate entries are displayed or not.
*/
public void setAllowDuplicates(boolean allowDuplicates) {
fAllowDuplicates= allowDuplicates;
}
/**
* Sets the list size in unit of characters.
* @param width the width of the list.
* @param height the height of the list.
*/
publi... |
3,607 | Bug 3607 Open Type: can't enter fully qualified name (1GCJUJX) | EG (4/21/2001 4:17:12 PM) it should be possible to enter fully qualified name NOTES: PA (5/31/01 2:44:32 PM) it isn't. MA (15.08.2001 18:10:01) Filter with the simple name from the current entered name, and select the package using the qualifier. | verified fixed | 7bf340f | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-14T15:46:44Z | 2001-10-11T03:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/AbstractElementListSelectionDialog.java | fEmptySelectionMessage= message;
}
/**
* Sets an optional validator to check if the selection is valid.
* The validator is invoked whenever the selection changes.
* @param validator the validator to validate the selection.
*/
public void setValidator(ISelectionValidator validator) {
fValidator= validator... |
3,607 | Bug 3607 Open Type: can't enter fully qualified name (1GCJUJX) | EG (4/21/2001 4:17:12 PM) it should be possible to enter fully qualified name NOTES: PA (5/31/01 2:44:32 PM) it isn't. MA (15.08.2001 18:10:01) Filter with the simple name from the current entered name, and select the package using the qualifier. | verified fixed | 7bf340f | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-14T15:46:44Z | 2001-10-11T03:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/AbstractElementListSelectionDialog.java | }
/**
* Returns the current filter pattern.
* @return returns the current filter pattern or <code>null<code> if filter was not set.
*/
public String getFilter() {
if (fFilteredList == null)
return fFilter;
else
return fFilteredList.getFilter();
}
/**
* Returns the indices referring the current ... |
3,607 | Bug 3607 Open Type: can't enter fully qualified name (1GCJUJX) | EG (4/21/2001 4:17:12 PM) it should be possible to enter fully qualified name NOTES: PA (5/31/01 2:44:32 PM) it isn't. MA (15.08.2001 18:10:01) Filter with the simple name from the current entered name, and select the package using the qualifier. | verified fixed | 7bf340f | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-14T15:46:44Z | 2001-10-11T03:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/AbstractElementListSelectionDialog.java | /**
* Sets the selection referenced by an array of elements.
* To be called within open().
* @param selection the indices of the selection.
*/
protected void setSelection(Object[] selection) {
Assert.isNotNull(fFilteredList);
fFilteredList.setSelection(selection);
}
/**
* Returns an array of the cur... |
3,607 | Bug 3607 Open Type: can't enter fully qualified name (1GCJUJX) | EG (4/21/2001 4:17:12 PM) it should be possible to enter fully qualified name NOTES: PA (5/31/01 2:44:32 PM) it isn't. MA (15.08.2001 18:10:01) Filter with the simple name from the current entered name, and select the package using the qualifier. | verified fixed | 7bf340f | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-14T15:46:44Z | 2001-10-11T03:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/AbstractElementListSelectionDialog.java | /**
* Creates the message text widget and sets layout data.
* @param composite the parent composite of the message area.
*/
protected Label createMessageArea(Composite composite) {
Label label= super.createMessageArea(composite);
GridData data= new GridData();
data.grabExcessVerticalSpace= false;
data.gr... |
3,607 | Bug 3607 Open Type: can't enter fully qualified name (1GCJUJX) | EG (4/21/2001 4:17:12 PM) it should be possible to enter fully qualified name NOTES: PA (5/31/01 2:44:32 PM) it isn't. MA (15.08.2001 18:10:01) Filter with the simple name from the current entered name, and select the package using the qualifier. | verified fixed | 7bf340f | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-14T15:46:44Z | 2001-10-11T03:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/AbstractElementListSelectionDialog.java | Assert.isNotNull(fFilteredList);
IStatus status;
Object[] elements= getSelectedElements();
if (elements.length > 0) {
if (fValidator != null) {
status= fValidator.validate(elements);
} else {
status= new StatusInfo();
}
} else {
if (fFilteredList.isEmpty()) {
status= new StatusInfo(IS... |
3,607 | Bug 3607 Open Type: can't enter fully qualified name (1GCJUJX) | EG (4/21/2001 4:17:12 PM) it should be possible to enter fully qualified name NOTES: PA (5/31/01 2:44:32 PM) it isn't. MA (15.08.2001 18:10:01) Filter with the simple name from the current entered name, and select the package using the qualifier. | verified fixed | 7bf340f | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-14T15:46:44Z | 2001-10-11T03:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/AbstractElementListSelectionDialog.java | * @return returns the filtered list widget.
*/
protected FilteredList createFilteredList(Composite parent) {
int flags= SWT.BORDER | SWT.V_SCROLL | SWT.H_SCROLL |
(fIsMultipleSelection ? SWT.MULTI : SWT.SINGLE);
FilteredList list= new FilteredList(parent, flags, fRenderer,
fIgnoreCase, fAllowDuplicates... |
3,607 | Bug 3607 Open Type: can't enter fully qualified name (1GCJUJX) | EG (4/21/2001 4:17:12 PM) it should be possible to enter fully qualified name NOTES: PA (5/31/01 2:44:32 PM) it isn't. MA (15.08.2001 18:10:01) Filter with the simple name from the current entered name, and select the package using the qualifier. | verified fixed | 7bf340f | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-14T15:46:44Z | 2001-10-11T03:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/AbstractElementListSelectionDialog.java | Text text= new Text(parent, SWT.BORDER);
GridData data= new GridData();
data.grabExcessVerticalSpace= false;
data.grabExcessHorizontalSpace= true;
data.horizontalAlignment= GridData.FILL;
data.verticalAlignment= GridData.BEGINNING;
text.setLayoutData(data);
text.setText((fFilter == null ? "" : fFilter)); ... |
3,607 | Bug 3607 Open Type: can't enter fully qualified name (1GCJUJX) | EG (4/21/2001 4:17:12 PM) it should be possible to enter fully qualified name NOTES: PA (5/31/01 2:44:32 PM) it isn't. MA (15.08.2001 18:10:01) Filter with the simple name from the current entered name, and select the package using the qualifier. | verified fixed | 7bf340f | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-14T15:46:44Z | 2001-10-11T03:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/AbstractElementListSelectionDialog.java | private void access$superOpen() {
super.open();
}
/*
* @see Window#create(Shell)
*/
public void create() {
super.create();
Assert.isNotNull(fFilteredList);
if (fFilteredList.isEmpty()) {
handleEmptyList();
} else {
validateCurrentSelection();
fFilterText.selectAll();
fFilte... |
3,607 | Bug 3607 Open Type: can't enter fully qualified name (1GCJUJX) | EG (4/21/2001 4:17:12 PM) it should be possible to enter fully qualified name NOTES: PA (5/31/01 2:44:32 PM) it isn't. MA (15.08.2001 18:10:01) Filter with the simple name from the current entered name, and select the package using the qualifier. | verified fixed | 7bf340f | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-14T15:46:44Z | 2001-10-11T03:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/FilteredList.java | /*
* (c) Copyright IBM Corp. 2000, 2001.
* All Rights Reserved.
*/
package org.eclipse.jdt.internal.ui.dialogs;
import java.util.ArrayList;
import java.util.Comparator;
import java.util.List;
import org.eclipse.swt.SWT;
import org.eclipse.swt.events.DisposeEvent;
import org.eclipse.swt.events.DisposeListener;
import... |
3,607 | Bug 3607 Open Type: can't enter fully qualified name (1GCJUJX) | EG (4/21/2001 4:17:12 PM) it should be possible to enter fully qualified name NOTES: PA (5/31/01 2:44:32 PM) it isn't. MA (15.08.2001 18:10:01) Filter with the simple name from the current entered name, and select the package using the qualifier. | verified fixed | 7bf340f | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-14T15:46:44Z | 2001-10-11T03:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/FilteredList.java | private Table fList;
private ILabelProvider fRenderer;
private boolean fMatchEmtpyString= true;
private boolean fIgnoreCase;
private boolean fAllowDuplicates;
private String fFilter= "";
private TwoArrayQuickSorter fSorter;
private Object[] fElements= new Object[0];
private Label[] fLabels;
private int[] fF... |
3,607 | Bug 3607 Open Type: can't enter fully qualified name (1GCJUJX) | EG (4/21/2001 4:17:12 PM) it should be possible to enter fully qualified name NOTES: PA (5/31/01 2:44:32 PM) it isn't. MA (15.08.2001 18:10:01) Filter with the simple name from the current entered name, and select the package using the qualifier. | verified fixed | 7bf340f | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-14T15:46:44Z | 2001-10-11T03:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/FilteredList.java | public final String string;
public final Image image;
public Label(String string, Image image) {
this.string= string;
this.image= image;
}
public boolean equals(Label label) {
if (label == null)
return false;
return
string.equals(label.string) &&
image.equals(label.image);
}... |
3,607 | Bug 3607 Open Type: can't enter fully qualified name (1GCJUJX) | EG (4/21/2001 4:17:12 PM) it should be possible to enter fully qualified name NOTES: PA (5/31/01 2:44:32 PM) it isn't. MA (15.08.2001 18:10:01) Filter with the simple name from the current entered name, and select the package using the qualifier. | verified fixed | 7bf340f | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-14T15:46:44Z | 2001-10-11T03:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/FilteredList.java | Label rightLabel= (Label) right;
int value= fIgnoreCase
? leftLabel.string.compareToIgnoreCase(rightLabel.string)
: leftLabel.string.compareTo(rightLabel.string);
if (value != 0)
return value;
if (leftLabel.image == null) {
return (rightLabel.image == null) ? 0 : -1;
} else if (r... |
3,607 | Bug 3607 Open Type: can't enter fully qualified name (1GCJUJX) | EG (4/21/2001 4:17:12 PM) it should be possible to enter fully qualified name NOTES: PA (5/31/01 2:44:32 PM) it isn't. MA (15.08.2001 18:10:01) Filter with the simple name from the current entered name, and select the package using the qualifier. | verified fixed | 7bf340f | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-14T15:46:44Z | 2001-10-11T03:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/FilteredList.java | boolean ignoreCase, boolean allowDuplicates, boolean matchEmptyString)
{
super(parent, SWT.NONE);
GridLayout layout= new GridLayout();
layout.marginHeight= 0;
layout.marginWidth= 0;
setLayout(layout);
fList= new Table(this, style);
fList.setLayoutData(new GridData(GridData.FILL_BOTH));
fList.addDisp... |
3,607 | Bug 3607 Open Type: can't enter fully qualified name (1GCJUJX) | EG (4/21/2001 4:17:12 PM) it should be possible to enter fully qualified name NOTES: PA (5/31/01 2:44:32 PM) it isn't. MA (15.08.2001 18:10:01) Filter with the simple name from the current entered name, and select the package using the qualifier. | verified fixed | 7bf340f | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-14T15:46:44Z | 2001-10-11T03:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/FilteredList.java | fElements= new Object[elements.length];
System.arraycopy(elements, 0, fElements, 0, elements.length);
}
int length= fElements.length;
fLabels= new Label[length];
for (int i= 0; i != length; i++)
fLabels[i]= new Label(
fRenderer.getText(fElements[i]),
fRenderer.getImage(fElements[i]));
... |
3,607 | Bug 3607 Open Type: can't enter fully qualified name (1GCJUJX) | EG (4/21/2001 4:17:12 PM) it should be possible to enter fully qualified name NOTES: PA (5/31/01 2:44:32 PM) it isn't. MA (15.08.2001 18:10:01) Filter with the simple name from the current entered name, and select the package using the qualifier. | verified fixed | 7bf340f | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-14T15:46:44Z | 2001-10-11T03:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/FilteredList.java | */
public void addSelectionListener(SelectionListener listener) {
fList.addSelectionListener(listener);
}
/**
* Removes a selection listener from the list.
* @param listener the selection listener to be removed.
*/
public void removeSelectionListener(SelectionListener listener) {
fList.removeS... |
3,607 | Bug 3607 Open Type: can't enter fully qualified name (1GCJUJX) | EG (4/21/2001 4:17:12 PM) it should be possible to enter fully qualified name NOTES: PA (5/31/01 2:44:32 PM) it isn't. MA (15.08.2001 18:10:01) Filter with the simple name from the current entered name, and select the package using the qualifier. | verified fixed | 7bf340f | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-14T15:46:44Z | 2001-10-11T03:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/FilteredList.java | * @return returns the index of the selection, -1 for no selection.
*/
public int getSelectionIndex() {
return fList.getSelectionIndex();
}
/**
* Sets the selection of the list.
* @param elements the array of elements to be selected.
*/
public void setSelection(Object[] elements) {
if ((elements == n... |
3,607 | Bug 3607 Open Type: can't enter fully qualified name (1GCJUJX) | EG (4/21/2001 4:17:12 PM) it should be possible to enter fully qualified name NOTES: PA (5/31/01 2:44:32 PM) it isn't. MA (15.08.2001 18:10:01) Filter with the simple name from the current entered name, and select the package using the qualifier. | verified fixed | 7bf340f | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-14T15:46:44Z | 2001-10-11T03:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/FilteredList.java | }
}
if (l != max)
break;
}
if (j == fFilteredCount)
indices[i] = 0;
}
fList.setSelection(indices);
}
/**
* Returns an array of the selected elements. The type of the elements
* returned in the list are the same as the ones passed with
* <code>setElements</code>.... |
3,607 | Bug 3607 Open Type: can't enter fully qualified name (1GCJUJX) | EG (4/21/2001 4:17:12 PM) it should be possible to enter fully qualified name NOTES: PA (5/31/01 2:44:32 PM) it isn't. MA (15.08.2001 18:10:01) Filter with the simple name from the current entered name, and select the package using the qualifier. | verified fixed | 7bf340f | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-14T15:46:44Z | 2001-10-11T03:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/FilteredList.java | return elements;
}
/**
* Sets the filter pattern. Current only prefix filter patterns are supported.
* @param filter the filter pattern.
*/
public void setFilter(String filter) {
fFilter= (filter == null) ? "" : filter;
fFilteredCount= filter();
updateList();
}
/**
* Returns the filter pattern.
... |
3,607 | Bug 3607 Open Type: can't enter fully qualified name (1GCJUJX) | EG (4/21/2001 4:17:12 PM) it should be possible to enter fully qualified name NOTES: PA (5/31/01 2:44:32 PM) it isn't. MA (15.08.2001 18:10:01) Filter with the simple name from the current entered name, and select the package using the qualifier. | verified fixed | 7bf340f | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-14T15:46:44Z | 2001-10-11T03:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/FilteredList.java | int count= (index == fFoldedCount - 1)
? fElements.length - start
: fFoldedIndices[index + 1] - start;
Object[] elements= new Object[count];
for (int i= 0; i != count; i++)
elements[i]= fElements[start + i];
return elements;
}
/*
* Folds duplicate entries. Two elements are considered a... |
3,607 | Bug 3607 Open Type: can't enter fully qualified name (1GCJUJX) | EG (4/21/2001 4:17:12 PM) it should be possible to enter fully qualified name NOTES: PA (5/31/01 2:44:32 PM) it isn't. MA (15.08.2001 18:10:01) Filter with the simple name from the current entered name, and select the package using the qualifier. | verified fixed | 7bf340f | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-14T15:46:44Z | 2001-10-11T03:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/FilteredList.java | fFoldedIndices[k]= i;
k++;
last= current;
}
}
return k;
}
}
/*
* Filters the list with the filter pattern.
* @return returns the number of elements after filtering.
*/
private int filter() {
if (((fFilter == null) || (fFilter.length() == 0)) && !fMatchEmtpyString)
return 0;
S... |
3,607 | Bug 3607 Open Type: can't enter fully qualified name (1GCJUJX) | EG (4/21/2001 4:17:12 PM) it should be possible to enter fully qualified name NOTES: PA (5/31/01 2:44:32 PM) it isn't. MA (15.08.2001 18:10:01) Filter with the simple name from the current entered name, and select the package using the qualifier. | verified fixed | 7bf340f | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-14T15:46:44Z | 2001-10-11T03:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/FilteredList.java | if (fList.isDisposed())
return;
fList.setRedraw(false);
int itemCount= fList.getItemCount();
if (fFilteredCount < itemCount)
fList.remove(0, itemCount - fFilteredCount - 1);
else if (fFilteredCount > itemCount)
for (int i= 0; i != fFilteredCount - itemCount; i++)
new TableItem(fList, SWT.... |
3,607 | Bug 3607 Open Type: can't enter fully qualified name (1GCJUJX) | EG (4/21/2001 4:17:12 PM) it should be possible to enter fully qualified name NOTES: PA (5/31/01 2:44:32 PM) it isn't. MA (15.08.2001 18:10:01) Filter with the simple name from the current entered name, and select the package using the qualifier. | verified fixed | 7bf340f | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-14T15:46:44Z | 2001-10-11T03:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/TypeSelectionDialog.java | /*
* (c) Copyright IBM Corp. 2000, 2001.
* All Rights Reserved.
*/
package org.eclipse.jdt.internal.ui.dialogs;
import java.util.ArrayList;
import java.util.List;
import org.eclipse.swt.widgets.Shell;
import org.eclipse.jface.dialogs.MessageDialog;
import org.eclipse.jface.operation.IRunnableContext;
import org.ecli... |
3,607 | Bug 3607 Open Type: can't enter fully qualified name (1GCJUJX) | EG (4/21/2001 4:17:12 PM) it should be possible to enter fully qualified name NOTES: PA (5/31/01 2:44:32 PM) it isn't. MA (15.08.2001 18:10:01) Filter with the simple name from the current entered name, and select the package using the qualifier. | verified fixed | 7bf340f | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-14T15:46:44Z | 2001-10-11T03:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/TypeSelectionDialog.java | private IRunnableContext fRunnableContext;
private IJavaSearchScope fScope;
private int fStyle;
/**
* Constructs a type selection dialog.
* @param parent the parent shell.
* @param context the runnable context.
* @param scope the java search scope.
* @param style the widget style.
*/
public TypeS... |
3,607 | Bug 3607 Open Type: can't enter fully qualified name (1GCJUJX) | EG (4/21/2001 4:17:12 PM) it should be possible to enter fully qualified name NOTES: PA (5/31/01 2:44:32 PM) it isn't. MA (15.08.2001 18:10:01) Filter with the simple name from the current entered name, and select the package using the qualifier. | verified fixed | 7bf340f | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-14T15:46:44Z | 2001-10-11T03:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/TypeSelectionDialog.java | setUpperListLabel(JavaUIMessages.getString("TypeSelectionDialog.upperLabel"));
setLowerListLabel(JavaUIMessages.getString("TypeSelectionDialog.lowerLabel"));
}
public void create() {
if (getFilter() == null)
setFilter("A");
super.create();
}
/**
* @see Window#open()
*/
public int open() {
... |
3,607 | Bug 3607 Open Type: can't enter fully qualified name (1GCJUJX) | EG (4/21/2001 4:17:12 PM) it should be possible to enter fully qualified name NOTES: PA (5/31/01 2:44:32 PM) it isn't. MA (15.08.2001 18:10:01) Filter with the simple name from the current entered name, and select the package using the qualifier. | verified fixed | 7bf340f | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-14T15:46:44Z | 2001-10-11T03:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/TypeSelectionDialog.java | /**
* @see SelectionStatusDialog#computeResult()
*/
protected void computeResult() {
TypeInfo ref= (TypeInfo) getLowerSelectedElement();
if (ref == null)
return;
try {
IType type= ref.resolveType(fScope);
if (type == null) {
String title= JavaUIMessages.getString("TypeSelectionDialog.err... |
3,607 | Bug 3607 Open Type: can't enter fully qualified name (1GCJUJX) | EG (4/21/2001 4:17:12 PM) it should be possible to enter fully qualified name NOTES: PA (5/31/01 2:44:32 PM) it isn't. MA (15.08.2001 18:10:01) Filter with the simple name from the current entered name, and select the package using the qualifier. | verified fixed | 7bf340f | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-14T15:46:44Z | 2001-10-11T03:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/util/TypeInfoLabelProvider.java | /*
* (c) Copyright IBM Corp. 2000, 2001.
* All Rights Reserved.
*/
package org.eclipse.jdt.internal.ui.util;
import org.eclipse.jdt.internal.ui.JavaPluginImages;
import org.eclipse.jdt.internal.ui.JavaUIMessages;
import org.eclipse.jface.viewers.LabelProvider;
import org.eclipse.swt.graphics.Image;
public class Type... |
3,607 | Bug 3607 Open Type: can't enter fully qualified name (1GCJUJX) | EG (4/21/2001 4:17:12 PM) it should be possible to enter fully qualified name NOTES: PA (5/31/01 2:44:32 PM) it isn't. MA (15.08.2001 18:10:01) Filter with the simple name from the current entered name, and select the package using the qualifier. | verified fixed | 7bf340f | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-14T15:46:44Z | 2001-10-11T03:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/util/TypeInfoLabelProvider.java | private static final Image INTERFACE_ICON= JavaPluginImages.get(JavaPluginImages.IMG_OBJS_INTERFACE);
private static final Image PKG_ICON= JavaPluginImages.get(JavaPluginImages.IMG_OBJS_PACKAGE);
private int fFlags;
public TypeInfoLabelProvider(int flags) {
fFlags= flags;
}
private boolean isSet(int flag)... |
3,607 | Bug 3607 Open Type: can't enter fully qualified name (1GCJUJX) | EG (4/21/2001 4:17:12 PM) it should be possible to enter fully qualified name NOTES: PA (5/31/01 2:44:32 PM) it isn't. MA (15.08.2001 18:10:01) Filter with the simple name from the current entered name, and select the package using the qualifier. | verified fixed | 7bf340f | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-14T15:46:44Z | 2001-10-11T03:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/util/TypeInfoLabelProvider.java | }else {
if (isSet(SHOW_FULLYQUALIFIED))
buf.append(typeRef.getFullyQualifiedName());
else
buf.append(typeRef.getTypeQualifiedName());
if (isSet(SHOW_PACKAGE_POSTFIX)) {
buf.append(JavaUIMessages.getString("TypeInfoLabelProvider.dash"));
buf.append(getPackageName(typeRef));
}
}
if (isSet... |
5,873 | Bug 5873 Open Type Dialog doesn't behave as expected for former VAJ users | When using the 'Open Type' dialog in VisualAge for Java, you can type a few letters of the class name, and then use the UP/DOWN arrow keys to quickly select the desired type from the list. In Eclipse, you are required to hit the TAB key or use the mouse to move the focus to the list of types. Since a large number of Ec... | resolved fixed | 60187c1 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-14T19:14:02Z | 2001-11-13T22:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/AbstractElementListSelectionDialog.java | /*
* (c) Copyright IBM Corp. 2000, 2001.
* All Rights Reserved.
*/
package org.eclipse.jdt.internal.ui.dialogs;
import java.util.ArrayList;
import java.util.List;
import org.eclipse.swt.SWT;
import org.eclipse.swt.custom.BusyIndicator;
import org.eclipse.swt.events.SelectionEvent;
import org.eclipse.swt.events.Selec... |
5,873 | Bug 5873 Open Type Dialog doesn't behave as expected for former VAJ users | When using the 'Open Type' dialog in VisualAge for Java, you can type a few letters of the class name, and then use the UP/DOWN arrow keys to quickly select the desired type from the list. In Eclipse, you are required to hit the TAB key or use the mouse to move the focus to the list of types. Since a large number of Ec... | resolved fixed | 60187c1 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-14T19:14:02Z | 2001-11-13T22:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/AbstractElementListSelectionDialog.java | private ILabelProvider fRenderer;
private boolean fIgnoreCase= true;
private boolean fIsMultipleSelection= false;
private boolean fMatchEmptyString= true;
private boolean fAllowDuplicates= true; |
5,873 | Bug 5873 Open Type Dialog doesn't behave as expected for former VAJ users | When using the 'Open Type' dialog in VisualAge for Java, you can type a few letters of the class name, and then use the UP/DOWN arrow keys to quickly select the desired type from the list. In Eclipse, you are required to hit the TAB key or use the mouse to move the focus to the list of types. Since a large number of Ec... | resolved fixed | 60187c1 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-14T19:14:02Z | 2001-11-13T22:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/AbstractElementListSelectionDialog.java | private Label fMessage;
protected FilteredList fFilteredList;
private Text fFilterText;
private ISelectionValidator fValidator;
private String fFilter= null;
private String fEmptyListMessage= "";
private String fEmptySelectionMessage= "";
private int fWidth= 60;
private int fHeight= 18;
/**
* Con... |
5,873 | Bug 5873 Open Type Dialog doesn't behave as expected for former VAJ users | When using the 'Open Type' dialog in VisualAge for Java, you can type a few letters of the class name, and then use the UP/DOWN arrow keys to quickly select the desired type from the list. In Eclipse, you are required to hit the TAB key or use the mouse to move the focus to the list of types. Since a large number of Ec... | resolved fixed | 60187c1 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-14T19:14:02Z | 2001-11-13T22:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/AbstractElementListSelectionDialog.java | buttonPressed(IDialogConstants.OK_ID);
}
/**
* Specifies if sorting, filtering and folding is case sensitive.
*/
public void setIgnoreCase(boolean ignoreCase) {
fIgnoreCase= ignoreCase;
}
/**
* Returns if sorting, filtering and folding is case sensitive.
*/
public boolean isCaseIgnored() {
return ... |
5,873 | Bug 5873 Open Type Dialog doesn't behave as expected for former VAJ users | When using the 'Open Type' dialog in VisualAge for Java, you can type a few letters of the class name, and then use the UP/DOWN arrow keys to quickly select the desired type from the list. In Eclipse, you are required to hit the TAB key or use the mouse to move the focus to the list of types. Since a large number of Ec... | resolved fixed | 60187c1 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-14T19:14:02Z | 2001-11-13T22:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/AbstractElementListSelectionDialog.java | }
/**
* Specifies whether duplicate entries are displayed or not.
*/
public void setAllowDuplicates(boolean allowDuplicates) {
fAllowDuplicates= allowDuplicates;
}
/**
* Sets the list size in unit of characters.
* @param width the width of the list.
* @param height the height of the list.
*/
publi... |
5,873 | Bug 5873 Open Type Dialog doesn't behave as expected for former VAJ users | When using the 'Open Type' dialog in VisualAge for Java, you can type a few letters of the class name, and then use the UP/DOWN arrow keys to quickly select the desired type from the list. In Eclipse, you are required to hit the TAB key or use the mouse to move the focus to the list of types. Since a large number of Ec... | resolved fixed | 60187c1 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-14T19:14:02Z | 2001-11-13T22:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/AbstractElementListSelectionDialog.java | fEmptySelectionMessage= message;
}
/**
* Sets an optional validator to check if the selection is valid.
* The validator is invoked whenever the selection changes.
* @param validator the validator to validate the selection.
*/
public void setValidator(ISelectionValidator validator) {
fValidator= validator... |
5,873 | Bug 5873 Open Type Dialog doesn't behave as expected for former VAJ users | When using the 'Open Type' dialog in VisualAge for Java, you can type a few letters of the class name, and then use the UP/DOWN arrow keys to quickly select the desired type from the list. In Eclipse, you are required to hit the TAB key or use the mouse to move the focus to the list of types. Since a large number of Ec... | resolved fixed | 60187c1 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-14T19:14:02Z | 2001-11-13T22:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/AbstractElementListSelectionDialog.java | }
/**
* Returns the current filter pattern.
* @return returns the current filter pattern or <code>null<code> if filter was not set.
*/
public String getFilter() {
if (fFilteredList == null)
return fFilter;
else
return fFilteredList.getFilter();
}
/**
* Returns the indices referring the current ... |
5,873 | Bug 5873 Open Type Dialog doesn't behave as expected for former VAJ users | When using the 'Open Type' dialog in VisualAge for Java, you can type a few letters of the class name, and then use the UP/DOWN arrow keys to quickly select the desired type from the list. In Eclipse, you are required to hit the TAB key or use the mouse to move the focus to the list of types. Since a large number of Ec... | resolved fixed | 60187c1 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-14T19:14:02Z | 2001-11-13T22:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/AbstractElementListSelectionDialog.java | /**
* Sets the selection referenced by an array of elements.
* To be called within open().
* @param selection the indices of the selection.
*/
protected void setSelection(Object[] selection) {
Assert.isNotNull(fFilteredList);
fFilteredList.setSelection(selection);
}
/**
* Returns an array of the cur... |
5,873 | Bug 5873 Open Type Dialog doesn't behave as expected for former VAJ users | When using the 'Open Type' dialog in VisualAge for Java, you can type a few letters of the class name, and then use the UP/DOWN arrow keys to quickly select the desired type from the list. In Eclipse, you are required to hit the TAB key or use the mouse to move the focus to the list of types. Since a large number of Ec... | resolved fixed | 60187c1 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-14T19:14:02Z | 2001-11-13T22:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/AbstractElementListSelectionDialog.java | /**
* Creates the message text widget and sets layout data.
* @param composite the parent composite of the message area.
*/
protected Label createMessageArea(Composite composite) {
Label label= super.createMessageArea(composite);
GridData data= new GridData();
data.grabExcessVerticalSpace= false;
data.gr... |
5,873 | Bug 5873 Open Type Dialog doesn't behave as expected for former VAJ users | When using the 'Open Type' dialog in VisualAge for Java, you can type a few letters of the class name, and then use the UP/DOWN arrow keys to quickly select the desired type from the list. In Eclipse, you are required to hit the TAB key or use the mouse to move the focus to the list of types. Since a large number of Ec... | resolved fixed | 60187c1 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-14T19:14:02Z | 2001-11-13T22:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/AbstractElementListSelectionDialog.java | Assert.isNotNull(fFilteredList);
IStatus status;
Object[] elements= getSelectedElements();
if (elements.length > 0) {
if (fValidator != null) {
status= fValidator.validate(elements);
} else {
status= new StatusInfo();
}
} else {
if (fFilteredList.isEmpty()) {
status= new StatusInfo(IS... |
5,873 | Bug 5873 Open Type Dialog doesn't behave as expected for former VAJ users | When using the 'Open Type' dialog in VisualAge for Java, you can type a few letters of the class name, and then use the UP/DOWN arrow keys to quickly select the desired type from the list. In Eclipse, you are required to hit the TAB key or use the mouse to move the focus to the list of types. Since a large number of Ec... | resolved fixed | 60187c1 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-14T19:14:02Z | 2001-11-13T22:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/AbstractElementListSelectionDialog.java | * @return returns the filtered list widget.
*/
protected FilteredList createFilteredList(Composite parent) {
int flags= SWT.BORDER | SWT.V_SCROLL | SWT.H_SCROLL |
(fIsMultipleSelection ? SWT.MULTI : SWT.SINGLE);
FilteredList list= new FilteredList(parent, flags, fRenderer,
fIgnoreCase, fAllowDuplicates... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.