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
8,082
Bug 8082 template pref page: export overwrites without warning
export from template pref page overwrites files without warning this is never good - you can lose templates you have saved on your disk somewhere
resolved fixed
e63e83a
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-12T10:04:23Z
2002-01-23T12:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/TemplatePreferencePage.java
return viewer; } public void createSpacer(Composite parent) { Label spacer= new Label(parent, SWT.NONE); GridData data= new GridData(); data.horizontalAlignment= GridData.FILL; data.verticalAlignment= GridData.BEGINNING; data.heightHint= 4; spacer.setLayoutData(data); } private static GridData get...
8,082
Bug 8082 template pref page: export overwrites without warning
export from template pref page overwrites files without warning this is never good - you can lose templates you have saved on your disk somewhere
resolved fixed
e63e83a
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-12T10:04:23Z
2002-01-23T12:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/TemplatePreferencePage.java
} private void updateButtons() { int selectionCount= ((IStructuredSelection) fTableViewer.getSelection()).size(); int itemCount= fTableViewer.getTable().getItemCount(); fEditButton.setEnabled(selectionCount == 1); fExportButton.setEnabled(selectionCount > 0); fRemoveButton.setEnabled(selectionCount > 0 ...
8,082
Bug 8082 template pref page: export overwrites without warning
export from template pref page overwrites files without warning this is never good - you can lose templates you have saved on your disk somewhere
resolved fixed
e63e83a
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-12T10:04:23Z
2002-01-23T12:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/TemplatePreferencePage.java
fTemplates.add(template); fTableViewer.refresh(); fTableViewer.setChecked(template, template.isEnabled()); fTableViewer.setSelection(new StructuredSelection(template)); } } private void edit() { IStructuredSelection selection= (IStructuredSelection) fTableViewer.getSelection(); Object[] objects= sel...
8,082
Bug 8082 template pref page: export overwrites without warning
export from template pref page overwrites files without warning this is never good - you can lose templates you have saved on your disk somewhere
resolved fixed
e63e83a
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-12T10:04:23Z
2002-01-23T12:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/TemplatePreferencePage.java
if (path == null) return; try { fTemplates.addFromFile(new File(path)); fTableViewer.refresh(); fTableViewer.setAllChecked(false); fTableViewer.setCheckedElements(getEnabledTemplates()); } catch (CoreException e) { openReadErrorDialog(e); } } private void exportAll() { export(fTe...
8,082
Bug 8082 template pref page: export overwrites without warning
export from template pref page overwrites files without warning this is never good - you can lose templates you have saved on your disk somewhere
resolved fixed
e63e83a
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-12T10:04:23Z
2002-01-23T12:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/TemplatePreferencePage.java
dialog.setText(TemplateMessages.getFormattedString("TemplatePreferencePage.export.title", new Integer(templateSet.getTemplates().length))); dialog.setFilterExtensions(new String[] {TemplateMessages.getString("TemplatePreferencePage.export.extension")}); dialog.setFileName(TemplateMessages.getString("TemplatePrefe...
8,082
Bug 8082 template pref page: export overwrites without warning
export from template pref page overwrites files without warning this is never good - you can lose templates you have saved on your disk somewhere
resolved fixed
e63e83a
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-12T10:04:23Z
2002-01-23T12:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/TemplatePreferencePage.java
templates[i].setEnabled(enable); fTableViewer.setAllChecked(enable); } /* * @see IWorkbenchPreferencePage#init(IWorkbench) */ public void init(IWorkbench workbench) {} /* * @see Control#setVisible(boolean) */ public void setVisible(boolean visible) { super.setVisible(visible); if (visible) ...
8,082
Bug 8082 template pref page: export overwrites without warning
export from template pref page overwrites files without warning this is never good - you can lose templates you have saved on your disk somewhere
resolved fixed
e63e83a
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-12T10:04:23Z
2002-01-23T12:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/TemplatePreferencePage.java
fTableViewer.refresh(); fTableViewer.setAllChecked(false); fTableViewer.setCheckedElements(getEnabledTemplates()); } /* * @see PreferencePage#performOk() */ public boolean performOk() { IPreferenceStore prefs= JavaPlugin.getDefault().getPreferenceStore(); prefs.setValue(PREF_FORMAT_TEMPLATES, fFormatB...
8,082
Bug 8082 template pref page: export overwrites without warning
export from template pref page overwrites files without warning this is never good - you can lose templates you have saved on your disk somewhere
resolved fixed
e63e83a
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-12T10:04:23Z
2002-01-23T12:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/TemplatePreferencePage.java
openReadErrorDialog(e); } return super.performCancel(); } /** * Initializes the default values of this page in the preference bundle. * Will be called on startup of the JavaPlugin */ public static void initDefaults(IPreferenceStore prefs) { prefs.setDefault(PREF_FORMAT_TEMPLATES, true); } public stat...
8,082
Bug 8082 template pref page: export overwrites without warning
export from template pref page overwrites files without warning this is never good - you can lose templates you have saved on your disk somewhere
resolved fixed
e63e83a
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-12T10:04:23Z
2002-01-23T12:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/ExperimentalProposal.java
/* * (c) Copyright IBM Corp. 2000, 2001. * All Rights Reserved. */ package org.eclipse.jdt.internal.ui.text.java; import org.eclipse.swt.graphics.Image; import org.eclipse.swt.graphics.Point; import org.eclipse.swt.widgets.Shell; import org.eclipse.jface.dialogs.MessageDialog; import org.eclipse.jface.text.BadLocati...
8,082
Bug 8082 template pref page: export overwrites without warning
export from template pref page overwrites files without warning this is never good - you can lose templates you have saved on your disk somewhere
resolved fixed
e63e83a
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-12T10:04:23Z
2002-01-23T12:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/ExperimentalProposal.java
private int[] fPositionOffsets; private int[] fPositionLengths; private ITextViewer fViewer; private IRegion fSelectedRegion; /** * Creates a template proposal with a template and its context. * @param template the template * @param context the context in which the template was requested. * @param im...
8,082
Bug 8082 template pref page: export overwrites without warning
export from template pref page overwrites files without warning this is never good - you can lose templates you have saved on your disk somewhere
resolved fixed
e63e83a
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-12T10:04:23Z
2002-01-23T12:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/ExperimentalProposal.java
String replacementString= getReplacementString(); try { LinkedPositionManager manager= new LinkedPositionManager(document); for (int i= 0; i != fPositionOffsets.length; i++) manager.addPosition(replacementOffset + fPositionOffsets[i], fPositionLengths[i]); LinkedPositionUI editor= new LinkedPositi...
8,082
Bug 8082 template pref page: export overwrites without warning
export from template pref page overwrites files without warning this is never good - you can lose templates you have saved on your disk somewhere
resolved fixed
e63e83a
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-12T10:04:23Z
2002-01-23T12:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/ExperimentalResultCollector.java
package org.eclipse.jdt.internal.ui.text.java; /* * (c) Copyright IBM Corp. 2000, 2001. * All Rights Reserved. */ import org.eclipse.jface.text.ITextViewer; /** * Bin to collect the proposal of the infrastructure on code assist in a java text. */ public class ExperimentalResultCollector extends ResultCollector ...
8,082
Bug 8082 template pref page: export overwrites without warning
export from template pref page overwrites files without warning this is never good - you can lose templates you have saved on your disk somewhere
resolved fixed
e63e83a
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-12T10:04:23Z
2002-01-23T12:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/ExperimentalResultCollector.java
if ((completionName.length == 0) || ((completionName.length == 1) && completionName[0] == ')')) return original; int count= parameterNames.length; int[] offsets= new int[count]; int[] lengths= new int[count]; StringBuffer buffer= new StringBuffer(); buffer.append(name); buffer.append('('); for (int ...
12,283
Bug 12283 exception in organize import dialog
20020321++ i pressed 'next' in the dialog that shows up on organize imports java.lang.ArrayIndexOutOfBoundsException: 2 at org.eclipse.jdt.internal.ui.dialogs.FilteredList.getSelection (FilteredList.java:337) at org.eclipse.jdt.internal.ui.dialogs.AbstractElementListSelectionDialog.getSelect edElements(AbstractElementL...
resolved fixed
5c48792
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-12T14:52:30Z
2002-03-26T16:26:40Z
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.KeyEvent; import org.eclipse.swt.events.KeyListener...
12,283
Bug 12283 exception in organize import dialog
20020321++ i pressed 'next' in the dialog that shows up on organize imports java.lang.ArrayIndexOutOfBoundsException: 2 at org.eclipse.jdt.internal.ui.dialogs.FilteredList.getSelection (FilteredList.java:337) at org.eclipse.jdt.internal.ui.dialogs.AbstractElementListSelectionDialog.getSelect edElements(AbstractElementL...
resolved fixed
5c48792
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-12T14:52:30Z
2002-03-26T16:26:40Z
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;
12,283
Bug 12283 exception in organize import dialog
20020321++ i pressed 'next' in the dialog that shows up on organize imports java.lang.ArrayIndexOutOfBoundsException: 2 at org.eclipse.jdt.internal.ui.dialogs.FilteredList.getSelection (FilteredList.java:337) at org.eclipse.jdt.internal.ui.dialogs.AbstractElementListSelectionDialog.getSelect edElements(AbstractElementL...
resolved fixed
5c48792
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-12T14:52:30Z
2002-03-26T16:26:40Z
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; private Obj...
12,283
Bug 12283 exception in organize import dialog
20020321++ i pressed 'next' in the dialog that shows up on organize imports java.lang.ArrayIndexOutOfBoundsException: 2 at org.eclipse.jdt.internal.ui.dialogs.FilteredList.getSelection (FilteredList.java:337) at org.eclipse.jdt.internal.ui.dialogs.AbstractElementListSelectionDialog.getSelect edElements(AbstractElementL...
resolved fixed
5c48792
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-12T14:52:30Z
2002-03-26T16:26:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/AbstractElementListSelectionDialog.java
* Handles default selection (double click). * By default, the OK button is pressed. */ protected void handleDefaultSelected() { if (validateCurrentSelection()) buttonPressed(IDialogConstants.OK_ID); } /** * Specifies if sorting, filtering and folding is case sensitive. */ public void setIgnoreCase(b...
12,283
Bug 12283 exception in organize import dialog
20020321++ i pressed 'next' in the dialog that shows up on organize imports java.lang.ArrayIndexOutOfBoundsException: 2 at org.eclipse.jdt.internal.ui.dialogs.FilteredList.getSelection (FilteredList.java:337) at org.eclipse.jdt.internal.ui.dialogs.AbstractElementListSelectionDialog.getSelect edElements(AbstractElementL...
resolved fixed
5c48792
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-12T14:52:30Z
2002-03-26T16:26:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/AbstractElementListSelectionDialog.java
/** * Specifies if multiple selection is allowed. */ public void setMultipleSelection(boolean multipleSelection) { fIsMultipleSelection= multipleSelection; } /** * Specifies whether duplicate entries are displayed or not. */ public void setAllowDuplicates(boolean allowDuplicates) { fAllowDuplicates= all...
12,283
Bug 12283 exception in organize import dialog
20020321++ i pressed 'next' in the dialog that shows up on organize imports java.lang.ArrayIndexOutOfBoundsException: 2 at org.eclipse.jdt.internal.ui.dialogs.FilteredList.getSelection (FilteredList.java:337) at org.eclipse.jdt.internal.ui.dialogs.AbstractElementListSelectionDialog.getSelect edElements(AbstractElementL...
resolved fixed
5c48792
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-12T14:52:30Z
2002-03-26T16:26:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/AbstractElementListSelectionDialog.java
/** * Sets the message to be displayed if the selection is empty. * @param message the message to be displayed. */ public void setEmptySelectionMessage(String message) { fEmptySelectionMessage= message; } /** * Sets an optional validator to check if the selection is valid. * The validator is invoked wh...
12,283
Bug 12283 exception in organize import dialog
20020321++ i pressed 'next' in the dialog that shows up on organize imports java.lang.ArrayIndexOutOfBoundsException: 2 at org.eclipse.jdt.internal.ui.dialogs.FilteredList.getSelection (FilteredList.java:337) at org.eclipse.jdt.internal.ui.dialogs.AbstractElementListSelectionDialog.getSelect edElements(AbstractElementL...
resolved fixed
5c48792
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-12T14:52:30Z
2002-03-26T16:26:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/AbstractElementListSelectionDialog.java
public void setFilter(String filter) { if (fFilterText == null) fFilter= filter; else fFilterText.setText(filter); } /** * 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 ...
12,283
Bug 12283 exception in organize import dialog
20020321++ i pressed 'next' in the dialog that shows up on organize imports java.lang.ArrayIndexOutOfBoundsException: 2 at org.eclipse.jdt.internal.ui.dialogs.FilteredList.getSelection (FilteredList.java:337) at org.eclipse.jdt.internal.ui.dialogs.AbstractElementListSelectionDialog.getSelect edElements(AbstractElementL...
resolved fixed
5c48792
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-12T14:52:30Z
2002-03-26T16:26:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/AbstractElementListSelectionDialog.java
*/ protected int getSelectionIndex() { Assert.isNotNull(fFilteredList); return fFilteredList.getSelectionIndex(); } /** * 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[] select...
12,283
Bug 12283 exception in organize import dialog
20020321++ i pressed 'next' in the dialog that shows up on organize imports java.lang.ArrayIndexOutOfBoundsException: 2 at org.eclipse.jdt.internal.ui.dialogs.FilteredList.getSelection (FilteredList.java:337) at org.eclipse.jdt.internal.ui.dialogs.AbstractElementListSelectionDialog.getSelect edElements(AbstractElementL...
resolved fixed
5c48792
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-12T14:52:30Z
2002-03-26T16:26:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/AbstractElementListSelectionDialog.java
public Object[] getFoldedElements(int index) { Assert.isNotNull(fFilteredList); return fFilteredList.getFoldedElements(index); } /** * Creates the message text widget and sets layout data. * @param composite the parent composite of the message area. */ protected Label createMessageArea(Composite compos...
12,283
Bug 12283 exception in organize import dialog
20020321++ i pressed 'next' in the dialog that shows up on organize imports java.lang.ArrayIndexOutOfBoundsException: 2 at org.eclipse.jdt.internal.ui.dialogs.FilteredList.getSelection (FilteredList.java:337) at org.eclipse.jdt.internal.ui.dialogs.AbstractElementListSelectionDialog.getSelect edElements(AbstractElementL...
resolved fixed
5c48792
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-12T14:52:30Z
2002-03-26T16:26:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/AbstractElementListSelectionDialog.java
/** * Validates the current selection and updates the status line * accordingly. */ protected boolean validateCurrentSelection() { Assert.isNotNull(fFilteredList); IStatus status; Object[] elements= getSelectedElements(); if (elements.length > 0) { if (fValidator != null) { status= fValidator.vali...
12,283
Bug 12283 exception in organize import dialog
20020321++ i pressed 'next' in the dialog that shows up on organize imports java.lang.ArrayIndexOutOfBoundsException: 2 at org.eclipse.jdt.internal.ui.dialogs.FilteredList.getSelection (FilteredList.java:337) at org.eclipse.jdt.internal.ui.dialogs.AbstractElementListSelectionDialog.getSelect edElements(AbstractElementL...
resolved fixed
5c48792
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-12T14:52:30Z
2002-03-26T16:26:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/AbstractElementListSelectionDialog.java
super.cancelPressed(); } /** * Creates a filtered list. * @param parent the parent composite. * @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...
12,283
Bug 12283 exception in organize import dialog
20020321++ i pressed 'next' in the dialog that shows up on organize imports java.lang.ArrayIndexOutOfBoundsException: 2 at org.eclipse.jdt.internal.ui.dialogs.FilteredList.getSelection (FilteredList.java:337) at org.eclipse.jdt.internal.ui.dialogs.AbstractElementListSelectionDialog.getSelect edElements(AbstractElementL...
resolved fixed
5c48792
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-12T14:52:30Z
2002-03-26T16:26:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/AbstractElementListSelectionDialog.java
}); fFilteredList= list; return list; } private void handleWidgetSelected() { Object[] newSelection= fFilteredList.getSelection(); if (newSelection.length != fSelection.length) { fSelection= newSelection; handleSelectionChanged(); } else { for (int i= 0; i != newSelection.length; i++) { ...
12,283
Bug 12283 exception in organize import dialog
20020321++ i pressed 'next' in the dialog that shows up on organize imports java.lang.ArrayIndexOutOfBoundsException: 2 at org.eclipse.jdt.internal.ui.dialogs.FilteredList.getSelection (FilteredList.java:337) at org.eclipse.jdt.internal.ui.dialogs.AbstractElementListSelectionDialog.getSelect edElements(AbstractElementL...
resolved fixed
5c48792
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-12T14:52:30Z
2002-03-26T16:26:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/AbstractElementListSelectionDialog.java
Listener listener= new Listener() { public void handleEvent(Event e) { fFilteredList.setFilter(fFilterText.getText()); } }; text.addListener(SWT.Modify, listener); text.addKeyListener(new KeyListener() { public void keyPressed(KeyEvent e) { if (e.keyCode == SWT.ARROW_DOWN) fFilteredList.se...
12,283
Bug 12283 exception in organize import dialog
20020321++ i pressed 'next' in the dialog that shows up on organize imports java.lang.ArrayIndexOutOfBoundsException: 2 at org.eclipse.jdt.internal.ui.dialogs.FilteredList.getSelection (FilteredList.java:337) at org.eclipse.jdt.internal.ui.dialogs.AbstractElementListSelectionDialog.getSelect edElements(AbstractElementL...
resolved fixed
5c48792
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-12T14:52:30Z
2002-03-26T16:26:40Z
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...
12,283
Bug 12283 exception in organize import dialog
20020321++ i pressed 'next' in the dialog that shows up on organize imports java.lang.ArrayIndexOutOfBoundsException: 2 at org.eclipse.jdt.internal.ui.dialogs.FilteredList.getSelection (FilteredList.java:337) at org.eclipse.jdt.internal.ui.dialogs.AbstractElementListSelectionDialog.getSelect edElements(AbstractElementL...
resolved fixed
5c48792
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-12T14:52:30Z
2002-03-26T16:26:40Z
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.Comparator; import java.util.HashSet; import java.util.Set; import java.util.Vector; import org.eclipse.swt.SWT; import org.eclipse.swt.events.DisposeEvent; import org.eclipse.swt.events.D...
12,283
Bug 12283 exception in organize import dialog
20020321++ i pressed 'next' in the dialog that shows up on organize imports java.lang.ArrayIndexOutOfBoundsException: 2 at org.eclipse.jdt.internal.ui.dialogs.FilteredList.getSelection (FilteredList.java:337) at org.eclipse.jdt.internal.ui.dialogs.AbstractElementListSelectionDialog.getSelect edElements(AbstractElementL...
resolved fixed
5c48792
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-12T14:52:30Z
2002-03-26T16:26:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/FilteredList.java
import org.eclipse.swt.widgets.Label; import org.eclipse.swt.widgets.Table; import org.eclipse.swt.widgets.TableItem; import org.eclipse.jface.viewers.ILabelProvider; import org.eclipse.jdt.internal.core.Assert; import org.eclipse.jdt.internal.ui.util.StringMatcher; /** * A composite widget which holds a list of eleme...
12,283
Bug 12283 exception in organize import dialog
20020321++ i pressed 'next' in the dialog that shows up on organize imports java.lang.ArrayIndexOutOfBoundsException: 2 at org.eclipse.jdt.internal.ui.dialogs.FilteredList.getSelection (FilteredList.java:337) at org.eclipse.jdt.internal.ui.dialogs.AbstractElementListSelectionDialog.getSelect edElements(AbstractElementL...
resolved fixed
5c48792
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-12T14:52:30Z
2002-03-26T16:26:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/FilteredList.java
private StringMatcher fMatcher; public void setFilter(String pattern, boolean ignoreCase, boolean ignoreWildCards) { fMatcher= new StringMatcher(pattern + '*', ignoreCase, ignoreWildCards); } public boolean match(Object element) { return fMatcher.match(fRenderer.getText(element)); } } private Tab...
12,283
Bug 12283 exception in organize import dialog
20020321++ i pressed 'next' in the dialog that shows up on organize imports java.lang.ArrayIndexOutOfBoundsException: 2 at org.eclipse.jdt.internal.ui.dialogs.FilteredList.getSelection (FilteredList.java:337) at org.eclipse.jdt.internal.ui.dialogs.AbstractElementListSelectionDialog.getSelect edElements(AbstractElementL...
resolved fixed
5c48792
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-12T14:52:30Z
2002-03-26T16:26:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/FilteredList.java
private Label[] fLabels; private Vector fImages= new Vector(); private int[] fFoldedIndices; private int fFoldedCount; private int[] fFilteredIndices; private int fFilteredCount; private FilterMatcher fFilterMatcher= new DefaultFilterMatcher(); private Comparator fComparator; private UpdateThread fUpdateT...
12,283
Bug 12283 exception in organize import dialog
20020321++ i pressed 'next' in the dialog that shows up on organize imports java.lang.ArrayIndexOutOfBoundsException: 2 at org.eclipse.jdt.internal.ui.dialogs.FilteredList.getSelection (FilteredList.java:337) at org.eclipse.jdt.internal.ui.dialogs.AbstractElementListSelectionDialog.getSelect edElements(AbstractElementL...
resolved fixed
5c48792
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-12T14:52:30Z
2002-03-26T16:26:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/FilteredList.java
private boolean fIgnoreCase; LabelComparator(boolean ignoreCase) { fIgnoreCase= ignoreCase; } public int compare(Object left, Object right) { Label leftLabel= (Label) left; Label rightLabel= (Label) right; int value; if (fComparator == null) { value= fIgnoreCase ? leftLabel.stri...
12,283
Bug 12283 exception in organize import dialog
20020321++ i pressed 'next' in the dialog that shows up on organize imports java.lang.ArrayIndexOutOfBoundsException: 2 at org.eclipse.jdt.internal.ui.dialogs.FilteredList.getSelection (FilteredList.java:337) at org.eclipse.jdt.internal.ui.dialogs.AbstractElementListSelectionDialog.getSelect edElements(AbstractElementL...
resolved fixed
5c48792
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-12T14:52:30Z
2002-03-26T16:26:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/FilteredList.java
if (leftLabel.image == null) { return (rightLabel.image == null) ? 0 : -1; } else if (rightLabel.image == null) { return +1; } else { return fImages.indexOf(leftLabel.image) - fImages.indexOf(rightLabel.image); } } } /** * Constructs a new instance of a filtered list. * ...
12,283
Bug 12283 exception in organize import dialog
20020321++ i pressed 'next' in the dialog that shows up on organize imports java.lang.ArrayIndexOutOfBoundsException: 2 at org.eclipse.jdt.internal.ui.dialogs.FilteredList.getSelection (FilteredList.java:337) at org.eclipse.jdt.internal.ui.dialogs.AbstractElementListSelectionDialog.getSelect edElements(AbstractElementL...
resolved fixed
5c48792
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-12T14:52:30Z
2002-03-26T16:26:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/FilteredList.java
setLayout(layout); fList= new Table(this, style); fList.setLayoutData(new GridData(GridData.FILL_BOTH)); fList.addDisposeListener(new DisposeListener() { public void widgetDisposed(DisposeEvent e) { fRenderer.dispose(); if (fUpdateThread != null) fUpdateThread.requestStop(); } }); fRe...
12,283
Bug 12283 exception in organize import dialog
20020321++ i pressed 'next' in the dialog that shows up on organize imports java.lang.ArrayIndexOutOfBoundsException: 2 at org.eclipse.jdt.internal.ui.dialogs.FilteredList.getSelection (FilteredList.java:337) at org.eclipse.jdt.internal.ui.dialogs.AbstractElementListSelectionDialog.getSelect edElements(AbstractElementL...
resolved fixed
5c48792
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-12T14:52:30Z
2002-03-26T16:26:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/FilteredList.java
int length= fElements.length; fLabels= new Label[length]; Set imageSet= new HashSet(); for (int i= 0; i != length; i++) { String text= fRenderer.getText(fElements[i]); Image image= fRenderer.getImage(fElements[i]); fLabels[i]= new Label(text, image); imageSet.add(image); } fImages.cl...
12,283
Bug 12283 exception in organize import dialog
20020321++ i pressed 'next' in the dialog that shows up on organize imports java.lang.ArrayIndexOutOfBoundsException: 2 at org.eclipse.jdt.internal.ui.dialogs.FilteredList.getSelection (FilteredList.java:337) at org.eclipse.jdt.internal.ui.dialogs.AbstractElementListSelectionDialog.getSelect edElements(AbstractElementL...
resolved fixed
5c48792
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-12T14:52:30Z
2002-03-26T16:26:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/FilteredList.java
Assert.isNotNull(filterMatcher); fFilterMatcher= filterMatcher; } /** * Sets a custom comparator for sorting the list. */ public void setComparator(Comparator comparator) { Assert.isNotNull(comparator); fComparator= comparator; } /** * Adds a selection listener to the list. * @param ...
12,283
Bug 12283 exception in organize import dialog
20020321++ i pressed 'next' in the dialog that shows up on organize imports java.lang.ArrayIndexOutOfBoundsException: 2 at org.eclipse.jdt.internal.ui.dialogs.FilteredList.getSelection (FilteredList.java:337) at org.eclipse.jdt.internal.ui.dialogs.AbstractElementListSelectionDialog.getSelect edElements(AbstractElementL...
resolved fixed
5c48792
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-12T14:52:30Z
2002-03-26T16:26:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/FilteredList.java
fList.setSelection(selection); } /** * Returns the selection of the list. * @return returns an array of indices specifying the current selection. */ public int[] getSelectionIndices() { return fList.getSelectionIndices(); } /** * Returns the selection of the list. * This is a convenience function f...
12,283
Bug 12283 exception in organize import dialog
20020321++ i pressed 'next' in the dialog that shows up on organize imports java.lang.ArrayIndexOutOfBoundsException: 2 at org.eclipse.jdt.internal.ui.dialogs.FilteredList.getSelection (FilteredList.java:337) at org.eclipse.jdt.internal.ui.dialogs.AbstractElementListSelectionDialog.getSelect edElements(AbstractElementL...
resolved fixed
5c48792
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-12T14:52:30Z
2002-03-26T16:26:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/FilteredList.java
for (int i= 0; i != elements.length; i++) { int j; for (j= 0; j != fFoldedCount; j++) { int max= (j == fFoldedCount - 1) ? fFilteredCount : fFoldedIndices[j + 1]; int l; for (l= fFoldedIndices[j]; l != max; l++) { if (fElements[fFilteredIndices[l]].equals(elements[i])) { ...
12,283
Bug 12283 exception in organize import dialog
20020321++ i pressed 'next' in the dialog that shows up on organize imports java.lang.ArrayIndexOutOfBoundsException: 2 at org.eclipse.jdt.internal.ui.dialogs.FilteredList.getSelection (FilteredList.java:337) at org.eclipse.jdt.internal.ui.dialogs.AbstractElementListSelectionDialog.getSelect edElements(AbstractElementL...
resolved fixed
5c48792
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-12T14:52:30Z
2002-03-26T16:26:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/FilteredList.java
* <code>setElements</code>. The array does not contain the rendered strings. * @return returns the array of selected elements. */ public Object[] getSelection() { if (fList.isDisposed() || (fList.getSelectionCount() == 0)) return new Object[0]; int[] indices= fList.getSelectionIndices(); Object[] elements...
12,283
Bug 12283 exception in organize import dialog
20020321++ i pressed 'next' in the dialog that shows up on organize imports java.lang.ArrayIndexOutOfBoundsException: 2 at org.eclipse.jdt.internal.ui.dialogs.FilteredList.getSelection (FilteredList.java:337) at org.eclipse.jdt.internal.ui.dialogs.AbstractElementListSelectionDialog.getSelect edElements(AbstractElementL...
resolved fixed
5c48792
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-12T14:52:30Z
2002-03-26T16:26:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/FilteredList.java
/** * Returns the filter pattern. * @return returns the filter pattern. */ public String getFilter() { return fFilter; } /** * Returns all elements which are folded together to one entry in the list. * @param index the index selecting the entry in the list. * @return returns an array of elements folde...
12,283
Bug 12283 exception in organize import dialog
20020321++ i pressed 'next' in the dialog that shows up on organize imports java.lang.ArrayIndexOutOfBoundsException: 2 at org.eclipse.jdt.internal.ui.dialogs.FilteredList.getSelection (FilteredList.java:337) at org.eclipse.jdt.internal.ui.dialogs.AbstractElementListSelectionDialog.getSelect edElements(AbstractElementL...
resolved fixed
5c48792
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-12T14:52:30Z
2002-03-26T16:26:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/FilteredList.java
* duplicates if they coiincide in the rendered string and image. * @return returns the number of elements after folding. */ private int fold() { if (fAllowDuplicates) { for (int i= 0; i != fFilteredCount; i++) fFoldedIndices[i]= i; return fFilteredCount; } else { int k= 0; Label...
12,283
Bug 12283 exception in organize import dialog
20020321++ i pressed 'next' in the dialog that shows up on organize imports java.lang.ArrayIndexOutOfBoundsException: 2 at org.eclipse.jdt.internal.ui.dialogs.FilteredList.getSelection (FilteredList.java:337) at org.eclipse.jdt.internal.ui.dialogs.AbstractElementListSelectionDialog.getSelect edElements(AbstractElementL...
resolved fixed
5c48792
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-12T14:52:30Z
2002-03-26T16:26:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/FilteredList.java
if (((fFilter == null) || (fFilter.length() == 0)) && !fMatchEmtpyString) return 0; fFilterMatcher.setFilter(fFilter.trim(), fIgnoreCase, false); int k= 0; for (int i= 0; i != fElements.length; i++) { if (fFilterMatcher.match(fElements[i])) fFilteredIndices[k++]= i; } return k; } pri...
12,283
Bug 12283 exception in organize import dialog
20020321++ i pressed 'next' in the dialog that shows up on organize imports java.lang.ArrayIndexOutOfBoundsException: 2 at org.eclipse.jdt.internal.ui.dialogs.FilteredList.getSelection (FilteredList.java:337) at org.eclipse.jdt.internal.ui.dialogs.AbstractElementListSelectionDialog.getSelect edElements(AbstractElementL...
resolved fixed
5c48792
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-12T14:52:30Z
2002-03-26T16:26:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/FilteredList.java
*/ public int getCount() { return fCount + 1; } /* * @see IncrementalRunnable#cancel() */ public void cancel() { fIndex= 0; } /* * @see Runnable#run() */ public void run() { final int index= fIndex++; fDisplay.syncExec(new Runnable() { public void run() { if (fTable...
12,283
Bug 12283 exception in organize import dialog
20020321++ i pressed 'next' in the dialog that shows up on organize imports java.lang.ArrayIndexOutOfBoundsException: 2 at org.eclipse.jdt.internal.ui.dialogs.FilteredList.getSelection (FilteredList.java:337) at org.eclipse.jdt.internal.ui.dialogs.AbstractElementListSelectionDialog.getSelect edElements(AbstractElementL...
resolved fixed
5c48792
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-12T14:52:30Z
2002-03-26T16:26:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/FilteredList.java
item.setText(label.string); item.setImage(label.image); if (index == 0) { fTable.setSelection(0); fTable.notifyListeners(SWT.Selection, new Event()); } } else { if (fCount < itemCount) { fTable.setRedraw(false); fTable.remove(fCount, item...
12,283
Bug 12283 exception in organize import dialog
20020321++ i pressed 'next' in the dialog that shows up on organize imports java.lang.ArrayIndexOutOfBoundsException: 2 at org.eclipse.jdt.internal.ui.dialogs.FilteredList.getSelection (FilteredList.java:337) at org.eclipse.jdt.internal.ui.dialogs.AbstractElementListSelectionDialog.getSelect edElements(AbstractElementL...
resolved fixed
5c48792
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-12T14:52:30Z
2002-03-26T16:26:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/FilteredList.java
* Creates an update thread. */ public UpdateThread(IncrementalRunnable runnable) { fRunnable= runnable; } /** * Requests the thread to stop. */ public void requestStop() { fStop= true; } /** * @see Runnable#run() */ public void run() { final int count= fRunnable.getCount(); ...
12,283
Bug 12283 exception in organize import dialog
20020321++ i pressed 'next' in the dialog that shows up on organize imports java.lang.ArrayIndexOutOfBoundsException: 2 at org.eclipse.jdt.internal.ui.dialogs.FilteredList.getSelection (FilteredList.java:337) at org.eclipse.jdt.internal.ui.dialogs.AbstractElementListSelectionDialog.getSelect edElements(AbstractElementL...
resolved fixed
5c48792
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-12T14:52:30Z
2002-03-26T16:26:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/MultiElementListSelectionDialog.java
/* * (c) Copyright IBM Corp. 2000, 2001. * All Rights Reserved. */ package org.eclipse.jdt.internal.ui.dialogs; import java.text.MessageFormat; import java.util.ArrayList; import java.util.List; import org.eclipse.swt.SWT; import org.eclipse.swt.layout.GridData; import org.eclipse.swt.layout.GridLayout; import org.e...
12,283
Bug 12283 exception in organize import dialog
20020321++ i pressed 'next' in the dialog that shows up on organize imports java.lang.ArrayIndexOutOfBoundsException: 2 at org.eclipse.jdt.internal.ui.dialogs.FilteredList.getSelection (FilteredList.java:337) at org.eclipse.jdt.internal.ui.dialogs.AbstractElementListSelectionDialog.getSelect edElements(AbstractElementL...
resolved fixed
5c48792
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-12T14:52:30Z
2002-03-26T16:26:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/MultiElementListSelectionDialog.java
private static class Page { public Object[] elements; public String filter; public boolean okState= false; public Page(Object[] elements) { this.elements= elements; } }; private Page[] fPages; private int fCurrentPage; private int fNumberOfPages; private Button fFinishButton; private Butto...
12,283
Bug 12283 exception in organize import dialog
20020321++ i pressed 'next' in the dialog that shows up on organize imports java.lang.ArrayIndexOutOfBoundsException: 2 at org.eclipse.jdt.internal.ui.dialogs.FilteredList.getSelection (FilteredList.java:337) at org.eclipse.jdt.internal.ui.dialogs.AbstractElementListSelectionDialog.getSelect edElements(AbstractElementL...
resolved fixed
5c48792
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-12T14:52:30Z
2002-03-26T16:26:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/MultiElementListSelectionDialog.java
} /** * Sets message shown in the right top corner. Use {0} and {1} as placeholders * for the current and the total number of pages. * @param message the message. */ public void setPageInfoMessage(String message) { fPageInfoMessage= message; } /** * Sets the elements to be displayed in the dialog. ...
12,283
Bug 12283 exception in organize import dialog
20020321++ i pressed 'next' in the dialog that shows up on organize imports java.lang.ArrayIndexOutOfBoundsException: 2 at org.eclipse.jdt.internal.ui.dialogs.FilteredList.getSelection (FilteredList.java:337) at org.eclipse.jdt.internal.ui.dialogs.AbstractElementListSelectionDialog.getSelect edElements(AbstractElementL...
resolved fixed
5c48792
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-12T14:52:30Z
2002-03-26T16:26:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/MultiElementListSelectionDialog.java
selection= getInitialSelections(); } Assert.isTrue(selection.size() == fNumberOfPages); return super.open(); } /** * @see Dialog#createDialogArea(Composite) */ protected Control createDialogArea(Composite parent) { Composite contents= (Composite) super.createDialogArea(parent); createMessag...
12,283
Bug 12283 exception in organize import dialog
20020321++ i pressed 'next' in the dialog that shows up on organize imports java.lang.ArrayIndexOutOfBoundsException: 2 at org.eclipse.jdt.internal.ui.dialogs.FilteredList.getSelection (FilteredList.java:337) at org.eclipse.jdt.internal.ui.dialogs.AbstractElementListSelectionDialog.getSelect edElements(AbstractElementL...
resolved fixed
5c48792
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-12T14:52:30Z
2002-03-26T16:26:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/MultiElementListSelectionDialog.java
/** * @see SelectionDialog#createMessageArea(Composite) */ protected Label createMessageArea(Composite parent) { Composite composite= new Composite(parent, SWT.NONE); GridLayout layout= new GridLayout(); layout.marginHeight= 0; layout.marginWidth= 0; layout.horizontalSpacing= 5; layout.numColumns= 2; ...
12,283
Bug 12283 exception in organize import dialog
20020321++ i pressed 'next' in the dialog that shows up on organize imports java.lang.ArrayIndexOutOfBoundsException: 2 at org.eclipse.jdt.internal.ui.dialogs.FilteredList.getSelection (FilteredList.java:337) at org.eclipse.jdt.internal.ui.dialogs.AbstractElementListSelectionDialog.getSelect edElements(AbstractElementL...
resolved fixed
5c48792
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-12T14:52:30Z
2002-03-26T16:26:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/MultiElementListSelectionDialog.java
*/ protected void computeResult() { setResult(fCurrentPage, getSelectedElements()); } /** * @see Dialog#buttonPressed(int) */ protected void buttonPressed(int buttonId) { if (buttonId == IDialogConstants.BACK_ID) { turnPage(false); } else if (buttonId == IDialogConstants.NEXT_ID) { turnPage(true)...
12,283
Bug 12283 exception in organize import dialog
20020321++ i pressed 'next' in the dialog that shows up on organize imports java.lang.ArrayIndexOutOfBoundsException: 2 at org.eclipse.jdt.internal.ui.dialogs.FilteredList.getSelection (FilteredList.java:337) at org.eclipse.jdt.internal.ui.dialogs.AbstractElementListSelectionDialog.getSelect edElements(AbstractElementL...
resolved fixed
5c48792
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-12T14:52:30Z
2002-03-26T16:26:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/MultiElementListSelectionDialog.java
/** * @see AbstractElementListSelectionDialog#updateButtonsEnableState(IStatus) */ protected void updateButtonsEnableState(IStatus status) { boolean isOK= !status.matches(IStatus.ERROR); fPages[fCurrentPage].okState= isOK; fNextButton.setEnabled(isOK && (fCurrentPage < fNumberOfPages - 1)); fBackButton.set...
12,283
Bug 12283 exception in organize import dialog
20020321++ i pressed 'next' in the dialog that shows up on organize imports java.lang.ArrayIndexOutOfBoundsException: 2 at org.eclipse.jdt.internal.ui.dialogs.FilteredList.getSelection (FilteredList.java:337) at org.eclipse.jdt.internal.ui.dialogs.AbstractElementListSelectionDialog.getSelect edElements(AbstractElementL...
resolved fixed
5c48792
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-12T14:52:30Z
2002-03-26T16:26:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/MultiElementListSelectionDialog.java
if (toNextPage) { if (fCurrentPage + 1 >= fNumberOfPages) return; fCurrentPage++; } else { if (fCurrentPage - 1 < 0) return; fCurrentPage--; } if (fPageInfoLabel != null && !fPageInfoLabel.isDisposed()) fPageInfoLabel.setText(getPageInfoMessage()); setPageData(); validate...
12,283
Bug 12283 exception in organize import dialog
20020321++ i pressed 'next' in the dialog that shows up on organize imports java.lang.ArrayIndexOutOfBoundsException: 2 at org.eclipse.jdt.internal.ui.dialogs.FilteredList.getSelection (FilteredList.java:337) at org.eclipse.jdt.internal.ui.dialogs.AbstractElementListSelectionDialog.getSelect edElements(AbstractElementL...
resolved fixed
5c48792
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-12T14:52:30Z
2002-03-26T16:26:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/MultiElementListSelectionDialog.java
Object[] selectedElements= (Object[]) getInitialSelections().get(fCurrentPage); if (selectedElements != null) setSelection(selectedElements); } private String getPageInfoMessage() { if (fPageInfoMessage == null) return ""; String[] args= new String[] { Integer.toString(fCurrentPage + 1), Integer.to...
12,593
Bug 12593 code assist inserts fully qualified type names (ignoring preferences)
20020328 package p; import java.util.List; public abstract class Test { public void foo() { List l= new List(){<CODE ASSIST HERE>} } } choose the 'addAll' method (any of the two) you get the fully qualified name for Collections (although my java editor/code assist preference says it should insert an import statement)
resolved fixed
b37ed19
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-12T18:41:45Z
2002-04-02T12:20:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/IJavaCompletionProposal.java
/******************************************************************************* * Copyright (c) 2000, 2002 International Business Machines Corp. and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Common Public License v0.5 * which accompanie...
12,593
Bug 12593 code assist inserts fully qualified type names (ignoring preferences)
20020328 package p; import java.util.List; public abstract class Test { public void foo() { List l= new List(){<CODE ASSIST HERE>} } } choose the 'addAll' method (any of the two) you get the fully qualified name for Collections (although my java editor/code assist preference says it should insert an import statement)
resolved fixed
b37ed19
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-12T18:41:45Z
2002-04-02T12:20:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/ResultCollector.java
package org.eclipse.jdt.internal.ui.text.java; /* * (c) Copyright IBM Corp. 2000, 2001. * All Rights Reserved. */ import java.util.ArrayList; import org.eclipse.swt.graphics.Image; import org.eclipse.swt.graphics.Point; import org.eclipse.jface.resource.ImageDescriptor; import org.eclipse.jdt.core.CompletionReque...
12,593
Bug 12593 code assist inserts fully qualified type names (ignoring preferences)
20020328 package p; import java.util.List; public abstract class Test { public void foo() { List l= new List(){<CODE ASSIST HERE>} } } choose the 'addAll' method (any of the two) you get the fully qualified name for Collections (although my java editor/code assist preference says it should insert an import statement)
resolved fixed
b37ed19
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-12T18:41:45Z
2002-04-02T12:20:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/ResultCollector.java
private final static char[] METHOD_WITH_ARGUMENTS_TRIGGERS= new char[] { '(', '-', ' ' }; private final static char[] METHOD_TRIGGERS= new char[] { ';', ',', '.', '\t', '[', ' ' }; private final static char[] TYPE_TRIGGERS= new char[] { '.', '\t', '[', '(', ' ' }; private final static char[] VAR_TRIGGER= new char[] ...
12,593
Bug 12593 code assist inserts fully qualified type names (ignoring preferences)
20020328 package p; import java.util.List; public abstract class Test { public void foo() { List l= new List(){<CODE ASSIST HERE>} } } choose the 'addAll' method (any of the two) you get the fully qualified name for Collections (although my java editor/code assist preference says it should insert an import statement)
resolved fixed
b37ed19
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-12T18:41:45Z
2002-04-02T12:20:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/ResultCollector.java
private IJavaProject fJavaProject; private ICompilationUnit fCompilationUnit; private int fCodeAssistOffset; private ImageDescriptorRegistry fRegistry= JavaPlugin.getImageDescriptorRegistry(); private ArrayList[] fResults = new ArrayList[] { fPackages, fLabels, fModifiers, fKeywords, fTypes, fMethods, fFields,...
12,593
Bug 12593 code assist inserts fully qualified type names (ignoring preferences)
20020328 package p; import java.util.List; public abstract class Test { public void foo() { List l= new List(){<CODE ASSIST HERE>} } } choose the 'addAll' method (any of the two) you get the fully qualified name for Collections (although my java editor/code assist preference says it should insert an import statement)
resolved fixed
b37ed19
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-12T18:41:45Z
2002-04-02T12:20:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/ResultCollector.java
*/ public void acceptError(IProblem error) { fLastProblem= error; } /* * @see ICompletionRequestor#acceptField */ public void acceptField( char[] declaringTypePackageName, char[] declaringTypeName, char[] name, char[] typePackageName, char[] typeName, char[] completionName, int modifiers, int start,...
12,593
Bug 12593 code assist inserts fully qualified type names (ignoring preferences)
20020328 package p; import java.util.List; public abstract class Test { public void foo() { List l= new List(){<CODE ASSIST HERE>} } } choose the 'addAll' method (any of the two) you get the fully qualified name for Collections (although my java editor/code assist preference says it should insert an import statement)
resolved fixed
b37ed19
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-12T18:41:45Z
2002-04-02T12:20:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/ResultCollector.java
} /* * @see ICompletionRequestor#acceptInterface */ public void acceptInterface(char[] packageName, char[] typeName, char[] completionName, int modifiers, int start, int end, int relevance) { ImageDescriptor descriptor= JavaPluginImages.DESC_OBJS_INTERFACE; if (Flags.isDeprecated(modifiers)) descriptor=...
12,593
Bug 12593 code assist inserts fully qualified type names (ignoring preferences)
20020328 package p; import java.util.List; public abstract class Test { public void foo() { List l= new List(){<CODE ASSIST HERE>} } } choose the 'addAll' method (any of the two) you get the fully qualified name for Collections (although my java editor/code assist preference says it should insert an import statement)
resolved fixed
b37ed19
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-12T18:41:45Z
2002-04-02T12:20:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/ResultCollector.java
/* * @see ICompletionRequestor#acceptLabel */ public void acceptLabel(char[] labelName, int start, int end, int relevance) { String ln= new String(labelName); fLabels.add(createCompletion(start, end, ln, null, ln, relevance)); } /* * @see ICompletionRequestor#acceptLocalVariable */ public void accep...
12,593
Bug 12593 code assist inserts fully qualified type names (ignoring preferences)
20020328 package p; import java.util.List; public abstract class Test { public void foo() { List l= new List(){<CODE ASSIST HERE>} } } choose the 'addAll' method (any of the two) you get the fully qualified name for Collections (although my java editor/code assist preference says it should insert an import statement)
resolved fixed
b37ed19
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-12T18:41:45Z
2002-04-02T12:20:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/ResultCollector.java
buf.append(' '); } buf.append(parameterTypeNames[i]); if (parameterNames != null && parameterNames[i] != null) { buf.append(' '); buf.append(parameterNames[i]); } } } return buf.toString(); } /* * @see ICompletionRequestor#acceptMethod */ public void acceptMethod(char[] declari...
12,593
Bug 12593 code assist inserts fully qualified type names (ignoring preferences)
20020328 package p; import java.util.List; public abstract class Test { public void foo() { List l= new List(){<CODE ASSIST HERE>} } } choose the 'addAll' method (any of the two) you get the fully qualified name for Collections (although my java editor/code assist preference says it should insert an import statement)
resolved fixed
b37ed19
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-12T18:41:45Z
2002-04-02T12:20:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/ResultCollector.java
proposal.setContextInformation(contextInformation); } boolean userMustCompleteParameters= (contextInformation != null && completionName.length > 0); char[] triggers= userMustCompleteParameters ? METHOD_WITH_ARGUMENTS_TRIGGERS : METHOD_TRIGGERS; proposal.setTriggerCharacters(triggers); if (userMustComplet...
12,593
Bug 12593 code assist inserts fully qualified type names (ignoring preferences)
20020328 package p; import java.util.List; public abstract class Test { public void foo() { List l= new List(){<CODE ASSIST HERE>} } } choose the 'addAll' method (any of the two) you get the fully qualified name for Collections (although my java editor/code assist preference says it should insert an import statement)
resolved fixed
b37ed19
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-12T18:41:45Z
2002-04-02T12:20:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/ResultCollector.java
/* * @see ICompletionRequestor#acceptType */ public void acceptType(char[] packageName, char[] typeName, char[] completionName, int start, int end, int relevance) { ProposalInfo info= new ProposalInfo(fJavaProject, packageName, typeName); fTypes.add(createTypeCompletion(start, end, new String(completionName),...
12,593
Bug 12593 code assist inserts fully qualified type names (ignoring preferences)
20020328 package p; import java.util.List; public abstract class Test { public void foo() { List l= new List(){<CODE ASSIST HERE>} } } choose the 'addAll' method (any of the two) you get the fully qualified name for Collections (although my java editor/code assist preference says it should insert an import statement)
resolved fixed
b37ed19
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-12T18:41:45Z
2002-04-02T12:20:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/ResultCollector.java
fVariables.add(proposal); } public String getErrorMessage() { if (fLastProblem != null) return fLastProblem.getMessage(); return ""; } public JavaCompletionProposal[] getResults() { int totLen= 0; for (int i= 0; i < fResults.length; i++) { totLen += fResults[i].size(); } JavaCompletionPropo...
12,593
Bug 12593 code assist inserts fully qualified type names (ignoring preferences)
20020328 package p; import java.util.List; public abstract class Test { public void foo() { List l= new List(){<CODE ASSIST HERE>} } } choose the 'addAll' method (any of the two) you get the fully qualified name for Collections (although my java editor/code assist preference says it should insert an import statement)
resolved fixed
b37ed19
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-12T18:41:45Z
2002-04-02T12:20:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/ResultCollector.java
nameBuffer.append(name); nameBuffer.append('('); if (parameterTypeNames != null && parameterTypeNames.length > 0) { nameBuffer.append(getParameterSignature(parameterTypeNames, parameterNames)); } nameBuffer.append(')'); if (returnTypeName != null && returnTypeName.length > 0) { nameBuffer.append(" ");...
12,593
Bug 12593 code assist inserts fully qualified type names (ignoring preferences)
20020328 package p; import java.util.List; public abstract class Test { public void foo() { List l= new List(){<CODE ASSIST HERE>} } } choose the 'addAll' method (any of the two) you get the fully qualified name for Collections (although my java editor/code assist preference says it should insert an import statement)
resolved fixed
b37ed19
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-12T18:41:45Z
2002-04-02T12:20:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/ResultCollector.java
declTypeBuf.append('.'); } declTypeBuf.append(declaringTypeName); StringBuffer nameBuffer= new StringBuffer(); nameBuffer.append(declaringTypeName); nameBuffer.append('('); if (parameterTypeNames.length > 0) { nameBuffer.append(getParameterSignature(parameterTypeNames, parameterNames)); } nameBuff...
12,593
Bug 12593 code assist inserts fully qualified type names (ignoring preferences)
20020328 package p; import java.util.List; public abstract class Test { public void foo() { List l= new List(){<CODE ASSIST HERE>} } } choose the 'addAll' method (any of the two) you get the fully qualified name for Collections (although my java editor/code assist preference says it should insert an import statement)
resolved fixed
b37ed19
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-12T18:41:45Z
2002-04-02T12:20:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/ResultCollector.java
if (containerName.length() > 0) { buf.append(containerName); } else { buf.append(JavaTextMessages.getString("ResultCollector.default_package")); } } String name= buf.toString(); JavaCompletionProposal proposal= createCompletion(start, end, completion, descriptor, name, relevance); proposal.set...
12,593
Bug 12593 code assist inserts fully qualified type names (ignoring preferences)
20020328 package p; import java.util.List; public abstract class Test { public void foo() { List l= new List(){<CODE ASSIST HERE>} } } choose the 'addAll' method (any of the two) you get the fully qualified name for Collections (although my java editor/code assist preference says it should insert an import statement)
resolved fixed
b37ed19
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-12T18:41:45Z
2002-04-02T12:20:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/ResultCollector.java
protected ImageDescriptor getDeprecatedDescriptor(ImageDescriptor descriptor) { Point size= new Point(16, 16); return new JavaElementImageDescriptor(descriptor, JavaElementImageDescriptor.WARNING, size); } protected JavaCompletionProposal createCompletion(int start, int end, String completion, ImageDescrip...
12,593
Bug 12593 code assist inserts fully qualified type names (ignoring preferences)
20020328 package p; import java.util.List; public abstract class Test { public void foo() { List l= new List(){<CODE ASSIST HERE>} } } choose the 'addAll' method (any of the two) you get the fully qualified name for Collections (although my java editor/code assist preference says it should insert an import statement)
resolved fixed
b37ed19
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-12T18:41:45Z
2002-04-02T12:20:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/ResultCollector.java
public void reset(int codeAssistOffset, IJavaProject jproject, ICompilationUnit cu) { fJavaProject= jproject; fCompilationUnit= cu; fCodeAssistOffset= codeAssistOffset; fUserReplacementLength= -1; fLastProblem= null; for (int i= 0; i < fResults.length; i++) fResults[i].clear(); } /** * If ...
13,323
Bug 13323 Problem Tree Viewer not propagating Label change
Build 20020409 In the handleLabelProviderChanged method in ProblemTreeViewer a changed event on a resource is adapted to the Java elements it represents but the change is not propagated. As a result when the CVS decorator is turned on the ProblemTreeViewer is not decorated. The last line LabelProviderChangedEvent e= ne...
resolved fixed
a85f683
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-12T19:10:41Z
2002-04-10T14:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/ProblemTreeViewer.java
package org.eclipse.jdt.internal.ui.viewsupport; import java.util.Set; import org.eclipse.swt.widgets.Composite; import org.eclipse.swt.widgets.Control; import org.eclipse.swt.widgets.Item; import org.eclipse.swt.widgets.Tree; import org.eclipse.swt.widgets.Widget; import org.eclipse.core.resources.IResource; import or...
13,323
Bug 13323 Problem Tree Viewer not propagating Label change
Build 20020409 In the handleLabelProviderChanged method in ProblemTreeViewer a changed event on a resource is adapted to the Java elements it represents but the change is not propagated. As a result when the CVS decorator is turned on the ProblemTreeViewer is not decorated. The last line LabelProviderChangedEvent e= ne...
resolved fixed
a85f683
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-12T19:10:41Z
2002-04-10T14:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/ProblemTreeViewer.java
*/ public ProblemTreeViewer(Composite parent) { super(parent); initMapper(); } /* * @see TreeViewer#TreeViewer(Composite, int) */ public ProblemTreeViewer(Composite parent, int style) { super(parent, style); initMapper(); } /* * @see TreeViewer#TreeViewer(Tree) */ public ProblemTreeViewer(Tree tr...
13,323
Bug 13323 Problem Tree Viewer not propagating Label change
Build 20020409 In the handleLabelProviderChanged method in ProblemTreeViewer a changed event on a resource is adapted to the Java elements it represents but the change is not propagated. As a result when the CVS decorator is turned on the ProblemTreeViewer is not decorated. The last line LabelProviderChangedEvent e= ne...
resolved fixed
a85f683
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-12T19:10:41Z
2002-04-10T14:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/ProblemTreeViewer.java
if (control != null && !control.isDisposed()) { control.getDisplay().asyncExec(new Runnable() { public void run() { fProblemItemMapper.problemsChanged(changed, (ILabelProvider)getLabelProvider()); } }); } } /* * @see StructuredViewer#mapElement(Object, Widget) */ protected void mapElement(...
13,323
Bug 13323 Problem Tree Viewer not propagating Label change
Build 20020409 In the handleLabelProviderChanged method in ProblemTreeViewer a changed event on a resource is adapted to the Java elements it represents but the change is not propagated. As a result when the CVS decorator is turned on the ProblemTreeViewer is not decorated. The last line LabelProviderChangedEvent e= ne...
resolved fixed
a85f683
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-12T19:10:41Z
2002-04-10T14:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/ProblemTreeViewer.java
protected void handleLabelProviderChanged(LabelProviderChangedEvent event) { Object[] source= event.getElements(); if (source == null) { super.handleLabelProviderChanged(event); return; } Object[] mapped= new Object[source.length]; for (int i= 0; i < source.length; i++) { Object o= source[i]...
13,799
Bug 13799 JAR exporter exports class files from output folder
There was a problem with the output folder not being detected as such.
resolved fixed
a65156e
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-15T16:01:16Z
2002-04-15T14:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/jarpackager/JarFileExportOperation.java
/* * (c) Copyright IBM Corp. 2000, 2002. * All Rights Reserved. */ package org.eclipse.jdt.internal.ui.jarpackager; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.lang.reflect.InvocationTargetException; import java.util.ArrayList; import java.util.A...
13,799
Bug 13799 JAR exporter exports class files from output folder
There was a problem with the output folder not being detected as such.
resolved fixed
a65156e
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-15T16:01:16Z
2002-04-15T14:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/jarpackager/JarFileExportOperation.java
import java.util.HashSet; import java.util.Iterator; import java.util.List; import java.util.Map; import java.util.Set; import java.util.jar.Manifest; import org.eclipse.core.resources.IContainer; import org.eclipse.core.resources.IFile; import org.eclipse.core.resources.IFolder; import org.eclipse.core.resources.IMark...
13,799
Bug 13799 JAR exporter exports class files from output folder
There was a problem with the output folder not being detected as such.
resolved fixed
a65156e
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-15T16:01:16Z
2002-04-15T14:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/jarpackager/JarFileExportOperation.java
import org.eclipse.ui.IEditorPart; import org.eclipse.ui.IFileEditorInput; import org.eclipse.jdt.core.IJavaElement; import org.eclipse.jdt.core.IJavaModelMarker; import org.eclipse.jdt.core.IJavaProject; import org.eclipse.jdt.core.IPackageFragment; import org.eclipse.jdt.core.IPackageFragmentRoot; import org.eclipse....
13,799
Bug 13799 JAR exporter exports class files from output folder
There was a problem with the output folder not being detected as such.
resolved fixed
a65156e
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-15T16:01:16Z
2002-04-15T14:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/jarpackager/JarFileExportOperation.java
private MultiStatus fProblems; /** * Creates an instance of this class. * * @param jarPackage the JAR package specification * @param parent the parent for the dialog, * or <code>null</code> if no dialog should be presented */ public JarFileExportOperation(JarPackageData jarPackage, Shell parent) { ...
13,799
Bug 13799 JAR exporter exports class files from output folder
There was a problem with the output folder not being detected as such.
resolved fixed
a65156e
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-15T16:01:16Z
2002-04-15T14:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/jarpackager/JarFileExportOperation.java
fParentShell= parent; fProblems= new MultiStatus(JavaPlugin.getPluginId(), JavaStatusConstants.INTERNAL_ERROR, JarPackagerMessages.getString("JarFileExportOperation.exportFinishedWithWarnings"), null); } protected void addWarning(String message, Throwable error) { if (fJarPackage == null || fJarPackage.logWarnin...
13,799
Bug 13799 JAR exporter exports class files from output folder
There was a problem with the output folder not being detected as such.
resolved fixed
a65156e
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-15T16:01:16Z
2002-04-15T14:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/jarpackager/JarFileExportOperation.java
try { resource= je.getUnderlyingResource(); } catch (JavaModelException ex) { addWarning(JarPackagerMessages.getFormattedString("JarFileExportOperation.underlyingResourceNotFound", je.getElementName()), ex); return count; } } else resource= (IResource)element; if (resource.getType()...
13,799
Bug 13799 JAR exporter exports class files from output folder
There was a problem with the output folder not being detected as such.
resolved fixed
a65156e
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-15T16:01:16Z
2002-04-15T14:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/jarpackager/JarFileExportOperation.java
} return count; } /** * Exports the passed resource to the JAR file * * @param element the resource or JavaElement to export */ protected void exportElement(Object element, IProgressMonitor progressMonitor) throws InterruptedException { int leadSegmentsToRemove= 1; IPackageFragmentRoot pkgRoot= null; ...
13,799
Bug 13799 JAR exporter exports class files from output folder
There was a problem with the output folder not being detected as such.
resolved fixed
a65156e
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-15T16:01:16Z
2002-04-15T14:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/jarpackager/JarFileExportOperation.java
return; } if (resource.getType() == IResource.FILE) { if (!resource.isLocal(IResource.DEPTH_ZERO)) try { resource.setLocal(true , IResource.DEPTH_ZERO, progressMonitor); } catch (CoreException ex) { addWarning(JarPackagerMessages.getFormattedString("JarFileExportOperation.resourceNotLocal", res...
13,799
Bug 13799 JAR exporter exports class files from output folder
There was a problem with the output folder not being detected as such.
resolved fixed
a65156e
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-15T16:01:16Z
2002-04-15T14:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/jarpackager/JarFileExportOperation.java
} } if (pkgRoot != null) { leadSegmentsToRemove= pkgRoot.getPath().segmentCount(); if (fJarPackage.useSourceFolderHierarchy()&& !pkgRoot.getElementName().equals(pkgRoot.DEFAULT_PACKAGEROOT_PATH)) leadSegmentsToRemove--; } IPath destinationPath= resource.getFullPath().removeFirstSegments...
13,799
Bug 13799 JAR exporter exports class files from output folder
There was a problem with the output folder not being detected as such.
resolved fixed
a65156e
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-15T16:01:16Z
2002-04-15T14:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/jarpackager/JarFileExportOperation.java
Object[] children; try { children= pkgFragment.getChildren(); for (int i= 0; i < children.length; i++) exportElement(children[i], progressMonitor); children= pkgFragment.getNonJavaResources(); for (int i= 0; i < children.length; i++) exportElement(children[i], progressMonitor); } catch (CoreExce...
13,799
Bug 13799 JAR exporter exports class files from output folder
There was a problem with the output folder not being detected as such.
resolved fixed
a65156e
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-15T16:01:16Z
2002-04-15T14:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/jarpackager/JarFileExportOperation.java
addWarning(JarPackagerMessages.getFormattedString("JarFileExportOperation.cantGetRootKind", resource.getFullPath()), ex); } if ((fJarPackage.areClassFilesExported() && ((isNonJavaResource || (pkgRoot != null && !isJavaFile(resource) && !isClassFile(resource))) || isInClassFolder && isClassFile(resource))...
13,799
Bug 13799 JAR exporter exports class files from output folder
There was a problem with the output folder not being detected as such.
resolved fixed
a65156e
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-15T16:01:16Z
2002-04-15T14:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/jarpackager/JarFileExportOperation.java
if (!resource.isLocal(IResource.DEPTH_ZERO)) file.setLocal(true , IResource.DEPTH_ZERO, progressMonitor); IPath classFilePath= baseDestinationPath.append(file.getName()); progressMonitor.subTask(JarPackagerMessages.getFormattedString("JarFileExportOperation.exporting", classFilePath.toString())); ...
13,799
Bug 13799 JAR exporter exports class files from output folder
There was a problem with the output folder not being detected as such.
resolved fixed
a65156e
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-15T16:01:16Z
2002-04-15T14:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/jarpackager/JarFileExportOperation.java
* passed file and that are on the classpath of its project. * * @param file the file for which to find the corresponding classpath resources * @param pathInJar the path that the file has in the JAR (i.e. project and source folder segments removed) * @param javaProject the javaProject that contains the file ...
13,799
Bug 13799 JAR exporter exports class files from output folder
There was a problem with the output folder not being detected as such.
resolved fixed
a65156e
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-15T16:01:16Z
2002-04-15T14:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/jarpackager/JarFileExportOperation.java
if (!canBeExported) return Collections.EMPTY_LIST.iterator(); reportPossibleCompileProblems(file, hasErrors, hasWarnings, canBeExported); IContainer classContainer= outputContainer; if (pathInJar.segmentCount() > 1) classContainer= outputContainer.getFolder(pathInJar.removeLastSegments(1)); if (fExpor...
13,799
Bug 13799 JAR exporter exports class files from output folder
There was a problem with the output folder not being detected as such.
resolved fixed
a65156e
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-15T16:01:16Z
2002-04-15T14:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/jarpackager/JarFileExportOperation.java
List files= new ArrayList(resources.length); for (int i= 0; i < resources.length; i++) if (resources[i].getType() == IResource.FILE && isClassFile(resources[i])) files.add(resources[i]); return files.iterator(); } /** * Answers whether the given resource is a Java file. * The resource must be a file wh...
13,799
Bug 13799 JAR exporter exports class files from output folder
There was a problem with the output folder not being detected as such.
resolved fixed
a65156e
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-15T16:01:16Z
2002-04-15T14:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/jarpackager/JarFileExportOperation.java
/* * Builds and returns a map that has the class files * for each java file in a given directory */ private Map buildJavaToClassMap(IContainer container) throws CoreException { if (!isCompilerGeneratingSourceFileAttribute()) return null; if (container == null || !container.isAccessible()) return new...
13,799
Bug 13799 JAR exporter exports class files from output folder
There was a problem with the output folder not being detected as such.
resolved fixed
a65156e
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-15T16:01:16Z
2002-04-15T14:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/jarpackager/JarFileExportOperation.java
/* * Can't fully build the map because one or more * class file does not contain the name of its * source file. */ addWarning(JarPackagerMessages.getFormattedString("JarFileExportOperation.classFileWithoutSourceFileAttribute", classFile.getLocation().toFile()), null); return nu...
13,799
Bug 13799 JAR exporter exports class files from output folder
There was a problem with the output folder not being detected as such.
resolved fixed
a65156e
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-15T16:01:16Z
2002-04-15T14:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/jarpackager/JarFileExportOperation.java
if (filePath.isValidPath(filePath.toString()) && filePath.segmentCount() >= 2) return JavaPlugin.getWorkspace().getRoot().getFile(filePath); else return null; } /** * Creates a folder resource handle for the folder with the given workspace path. * * @param folderPath the path of the folder to create a h...
13,799
Bug 13799 JAR exporter exports class files from output folder
There was a problem with the output folder not being detected as such.
resolved fixed
a65156e
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-15T16:01:16Z
2002-04-15T14:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/jarpackager/JarFileExportOperation.java
else message= JarPackagerMessages.getString("JarFileExportOperation.jarCreationFailed"); return new MultiStatus(JavaPlugin.getPluginId(), 0, fProblems.getChildren(), message, null); } return fProblems; } /** * Answer a boolean indicating whether the passed child is a descendant * of one or more m...
13,799
Bug 13799 JAR exporter exports class files from output folder
There was a problem with the output folder not being detected as such.
resolved fixed
a65156e
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-15T16:01:16Z
2002-04-15T14:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/jarpackager/JarFileExportOperation.java
if (canBeExported) addWarning(JarPackagerMessages.getFormattedString("JarFileExportOperation.exportedWithCompileErrors", file.getFullPath()), null); else addWarning(JarPackagerMessages.getFormattedString("JarFileExportOperation.notExportedDueToCompileErrors", file.getFullPath()), null); } if (hasWarnin...
13,799
Bug 13799 JAR exporter exports class files from output folder
There was a problem with the output folder not being detected as such.
resolved fixed
a65156e
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-15T16:01:16Z
2002-04-15T14:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/jarpackager/JarFileExportOperation.java
} } public void singleRun(IProgressMonitor progressMonitor) throws InvocationTargetException, InterruptedException { try { if (!preconditionsOK()) throw new InvocationTargetException(null, JarPackagerMessages.getString("JarFileExportOperation.jarCreationFailedSeeDetails")); int totalWork= countSelectedEl...
13,799
Bug 13799 JAR exporter exports class files from output folder
There was a problem with the output folder not being detected as such.
resolved fixed
a65156e
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-15T16:01:16Z
2002-04-15T14:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/jarpackager/JarFileExportOperation.java
} finally { try { if (fJarWriter != null) fJarWriter.close(); } catch (IOException ex) { String message= JarPackagerMessages.getFormattedString("JarFileExportOperation.unableToCloseJarFile", ex.getLocalizedMessage()); addError(message, ex); throw new InvocationTargetException(ex, message); ...
13,799
Bug 13799 JAR exporter exports class files from output folder
There was a problem with the output folder not being detected as such.
resolved fixed
a65156e
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-15T16:01:16Z
2002-04-15T14:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/jarpackager/JarFileExportOperation.java
if (!fJarPackage.isMainClassValid(new BusyIndicatorRunnableContext())) { addError(JarPackagerMessages.getString("JarFileExportOperation.invalidMainClass"), null); return false; } IFile[] unsavedFiles= getUnsavedFiles(); if (unsavedFiles.length > 0) return saveModifiedResourcesIfUserConfirms(unsavedFi...
13,799
Bug 13799 JAR exporter exports class files from output folder
There was a problem with the output folder not being detected as such.
resolved fixed
a65156e
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-15T16:01:16Z
2002-04-15T14:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/jarpackager/JarFileExportOperation.java
return (IFile[])unsavedFiles.toArray(new IFile[unsavedFiles.size()]); } /** * Asks the user to confirm to save the modified resources. * * @return true if user pressed OK. */ private boolean confirmSaveModifiedResources(IFile[] dirtyFiles) { if (dirtyFiles == null || dirtyFiles.length == 0) return true...
13,799
Bug 13799 JAR exporter exports class files from output folder
There was a problem with the output folder not being detected as such.
resolved fixed
a65156e
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-15T16:01:16Z
2002-04-15T14:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/jarpackager/JarFileExportOperation.java
*/ private boolean saveModifiedResourcesIfUserConfirms(IFile[] dirtyFiles) { if (confirmSaveModifiedResources(dirtyFiles)) return saveModifiedResources(dirtyFiles); for (int i= 0; i < dirtyFiles.length; i++) addError(JarPackagerMessages.getFormattedString("JarFileExportOperation.fileUnsaved", dirtyFiles[i...
13,799
Bug 13799 JAR exporter exports class files from output folder
There was a problem with the output folder not being detected as such.
resolved fixed
a65156e
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-15T16:01:16Z
2002-04-15T14:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/jarpackager/JarFileExportOperation.java
try { new ProgressMonitorDialog(fParentShell).run(false, false, createSaveModifiedResourcesRunnable(dirtyFiles)); retVal[0]= true; } finally { description.setAutoBuilding(autoBuild); workspace.setDescription(description); } } catch (InvocationTargetException ex) { addErr...