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,911
Bug 8911 Set defaults for new Java Class Wizard's method stubs options
In the new Java Class Wizard, I would like to change the default options for the method stubs. Currently, it always defaults to no main method, no constructors from superclass and inherit abstract methods.
verified fixed
8e38296
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-12T13:10:46Z
2002-02-01T10:40:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/NewClassCreationWizardPage.java
import org.eclipse.core.runtime.IProgressMonitor; import org.eclipse.core.runtime.IStatus; import org.eclipse.core.runtime.SubProgressMonitor; import org.eclipse.jface.viewers.IStructuredSelection; import org.eclipse.ui.help.DialogPageContextComputer; import org.eclipse.ui.help.WorkbenchHelp; import org.eclipse.jdt.cor...
8,911
Bug 8911 Set defaults for new Java Class Wizard's method stubs options
In the new Java Class Wizard, I would like to change the default options for the method stubs. Currently, it always defaults to no main method, no constructors from superclass and inherit abstract methods.
verified fixed
8e38296
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-12T13:10:46Z
2002-02-01T10:40:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/NewClassCreationWizardPage.java
String[] buttonNames3= new String[] { NewWizardMessages.getString("NewClassCreationWizardPage.methods.main"), NewWizardMessages.getString("NewClassCreationWizardPage.methods.constructors"), NewWizardMessages.getString("NewClassCreationWizardPage.methods.inherited") }; fMethodStubsButtons= new SelectionBut...
8,911
Bug 8911 Set defaults for new Java Class Wizard's method stubs options
In the new Java Class Wizard, I would like to change the default options for the method stubs. Currently, it always defaults to no main method, no constructors from superclass and inherit abstract methods.
verified fixed
8e38296
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-12T13:10:46Z
2002-02-01T10:40:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/NewClassCreationWizardPage.java
fTypeNameStatus, fModifierStatus, fSuperClassStatus, fSuperInterfacesStatus }); } /* * @see ContainerPage#handleFieldChanged */ protected void handleFieldChanged(String fieldName) { super.handleFieldChanged(fieldName); updateStatus(findMostSevereStatus()); } /* * @see WizardPage#c...
8,911
Bug 8911 Set defaults for new Java Class Wizard's method stubs options
In the new Java Class Wizard, I would like to change the default options for the method stubs. Currently, it always defaults to no main method, no constructors from superclass and inherit abstract methods.
verified fixed
8e38296
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-12T13:10:46Z
2002-02-01T10:40:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/NewClassCreationWizardPage.java
layout.minimumWidth= convertWidthInCharsToPixels(80); layout.numColumns= nColumns; composite.setLayout(layout); createContainerControls(composite, nColumns); createPackageControls(composite, nColumns); createEnclosingTypeControls(composite, nColumns); createSeparator(composite, nColumns); c...
8,911
Bug 8911 Set defaults for new Java Class Wizard's method stubs options
In the new Java Class Wizard, I would like to change the default options for the method stubs. Currently, it always defaults to no main method, no constructors from superclass and inherit abstract methods.
verified fixed
8e38296
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-12T13:10:46Z
2002-02-01T10:40:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/NewClassCreationWizardPage.java
LayoutUtil.setHorizontalSpan(fMethodStubsButtons.getSelectionButtonsGroup(composite), nColumns - 1); } /* * @see TypePage#evalMethods */ protected String[] evalMethods(IType type, IImportsStructure imports, IProgressMonitor monitor) throws CoreException { List newMethods= new ArrayList(); boolean ...
5,811
Bug 5811 [preferences] Pref to set editor background color
It would be very useful to add a preference to change the background color of the Java editor, since all of the other elements are editable.
resolved fixed
8a2963a
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-12T16:48:39Z
2001-11-12T18:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaEditorPreferencePage.java
/* * (c) Copyright IBM Corp. 2000, 2001. * All Rights Reserved. */ package org.eclipse.jdt.internal.ui.preferences; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.HashMap; import java.util.Iterator; import java.util.Map; import org.eclipse.swt.SWT; impor...
5,811
Bug 5811 [preferences] Pref to set editor background color
It would be very useful to add a preference to change the background color of the Java editor, since all of the other elements are editable.
resolved fixed
8a2963a
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-12T16:48:39Z
2001-11-12T18:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaEditorPreferencePage.java
import org.eclipse.jface.preference.IPreferenceStore; import org.eclipse.jface.preference.PreferenceConverter; import org.eclipse.jface.preference.PreferencePage; import org.eclipse.jface.resource.JFaceResources; import org.eclipse.jface.text.Document; import org.eclipse.jface.text.IDocument; import org.eclipse.jface.t...
5,811
Bug 5811 [preferences] Pref to set editor background color
It would be very useful to add a preference to change the background color of the Java editor, since all of the other elements are editable.
resolved fixed
8a2963a
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-12T16:48:39Z
2001-11-12T18:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaEditorPreferencePage.java
public final OverlayPreferenceStore.OverlayKey[] fKeys= new OverlayPreferenceStore.OverlayKey[] { new OverlayPreferenceStore.OverlayKey(OverlayPreferenceStore.STRING, AbstractTextEditor.PREFERENCE_COLOR_FOREGROUND), new OverlayPreferenceStore.OverlayKey(OverlayPreferenceStore.STRING, AbstractTextEditor.PREFERENC...
5,811
Bug 5811 [preferences] Pref to set editor background color
It would be very useful to add a preference to change the background color of the Java editor, since all of the other elements are editable.
resolved fixed
8a2963a
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-12T16:48:39Z
2001-11-12T18:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaEditorPreferencePage.java
new OverlayPreferenceStore.OverlayKey(OverlayPreferenceStore.STRING, IJavaColorConstants.JAVADOC_KEYWORD), new OverlayPreferenceStore.OverlayKey(OverlayPreferenceStore.BOOLEAN, IJavaColorConstants.JAVADOC_KEYWORD + "_bold"), new OverlayPreferenceStore.OverlayKey(OverlayPreferenceStore.STRING, IJavaColorConstants...
5,811
Bug 5811 [preferences] Pref to set editor background color
It would be very useful to add a preference to change the background color of the Java editor, since all of the other elements are editable.
resolved fixed
8a2963a
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-12T16:48:39Z
2001-11-12T18:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaEditorPreferencePage.java
private final String[][] fListModel= new String[][] { { "Multi-line comment", IJavaColorConstants.JAVA_MULTI_LINE_COMMENT }, { "Single-line comment", IJavaColorConstants.JAVA_SINGLE_LINE_COMMENT }, { "Keywords", IJavaColorConstants.JAVA_KEYWORD }, { "Strings", IJavaColorConstants.JAVA_STRING }, { "Others", IJ...
5,811
Bug 5811 [preferences] Pref to set editor background color
It would be very useful to add a preference to change the background color of the Java editor, since all of the other elements are editable.
resolved fixed
8a2963a
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-12T16:48:39Z
2001-11-12T18:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaEditorPreferencePage.java
public void widgetSelected(SelectionEvent e) { Button button= (Button) e.widget; fOverlayStore.setValue((String) fCheckBoxes.get(button), button.getSelection()); } }; private Map fTextFields= new HashMap(); private ModifyListener fTextFieldListener= new ModifyListener() { public void modifyText(ModifyEve...
5,811
Bug 5811 [preferences] Pref to set editor background color
It would be very useful to add a preference to change the background color of the Java editor, since all of the other elements are editable.
resolved fixed
8a2963a
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-12T16:48:39Z
2001-11-12T18:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaEditorPreferencePage.java
store.setDefault(CompilationUnitEditor.MATCHING_BRACKETS, true); color= display.getSystemColor(SWT.COLOR_GRAY); PreferenceConverter.setDefault(store, CompilationUnitEditor.MATCHING_BRACKETS_COLOR, color.getRGB()); WorkbenchChainedTextFontFieldEditor.startPropagate(store, JFaceResources.TEXT_FONT); color= di...
5,811
Bug 5811 [preferences] Pref to set editor background color
It would be very useful to add a preference to change the background color of the Java editor, since all of the other elements are editable.
resolved fixed
8a2963a
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-12T16:48:39Z
2001-11-12T18:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaEditorPreferencePage.java
store.setDefault(IJavaColorConstants.JAVADOC_KEYWORD + "_bold", true); PreferenceConverter.setDefault(store, IJavaColorConstants.JAVADOC_TAG, new RGB(127, 127, 159)); store.setDefault(IJavaColorConstants.JAVADOC_TAG + "_bold", false); PreferenceConverter.setDefault(store, IJavaColorConstants.JAVADOC_LINK, n...
5,811
Bug 5811 [preferences] Pref to set editor background color
It would be very useful to add a preference to change the background color of the Java editor, since all of the other elements are editable.
resolved fixed
8a2963a
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-12T16:48:39Z
2001-11-12T18:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaEditorPreferencePage.java
} /* * @see PreferencePage#createControl(Composite) */ public void createControl(Composite parent) { super.createControl(parent); WorkbenchHelp.setHelp(getControl(), new DialogPageContextComputer(this, IJavaHelpContextIds.JAVA_EDITOR_PREFERENCE_PAGE)); } private void handleListSelection() { int i= fList....
5,811
Bug 5811 [preferences] Pref to set editor background color
It would be very useful to add a preference to change the background color of the Java editor, since all of the other elements are editable.
resolved fixed
8a2963a
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-12T16:48:39Z
2001-11-12T18:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaEditorPreferencePage.java
GridData gd= new GridData(GridData.FILL_BOTH); editorComposite.setLayoutData(gd); fList= new List(editorComposite, SWT.SINGLE | SWT.V_SCROLL); gd= new GridData(GridData.FILL_BOTH); gd.heightHint= convertHeightInCharsToPixels(5); fList.setLayoutData(gd); Composite stylesComposite= new Composite(editorC...
5,811
Bug 5811 [preferences] Pref to set editor background color
It would be very useful to add a preference to change the background color of the Java editor, since all of the other elements are editable.
resolved fixed
8a2963a
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-12T16:48:39Z
2001-11-12T18:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaEditorPreferencePage.java
gd.horizontalAlignment= GridData.BEGINNING; label.setLayoutData(gd); fBoldCheckBox= new Button(stylesComposite, SWT.CHECK); gd= new GridData(GridData.FILL_HORIZONTAL); gd.horizontalAlignment= GridData.BEGINNING; fBoldCheckBox.setLayoutData(gd); label= new Label(colorComposite, SWT.LEFT); label.setTe...
5,811
Bug 5811 [preferences] Pref to set editor background color
It would be very useful to add a preference to change the background color of the Java editor, since all of the other elements are editable.
resolved fixed
8a2963a
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-12T16:48:39Z
2001-11-12T18:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaEditorPreferencePage.java
} public void widgetSelected(SelectionEvent e) { int i= fList.getSelectionIndex(); String key= fListModel[i][1]; PreferenceConverter.setValue(fOverlayStore, key, fColorEditor.getColorValue()); } }); fBoldCheckBox.addSelectionListener(new SelectionListener() { public void widgetDefaultSelecte...
5,811
Bug 5811 [preferences] Pref to set editor background color
It would be very useful to add a preference to change the background color of the Java editor, since all of the other elements are editable.
resolved fixed
8a2963a
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-12T16:48:39Z
2001-11-12T18:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaEditorPreferencePage.java
String content= loadPreviewContentFromFile("ColorSettingPreviewCode.txt"); IDocument document= new Document(content); IDocumentPartitioner partitioner= fJavaTextTools.createDocumentPartitioner(); partitioner.connect(document); document.setDocumentPartitioner(partitioner); fPreviewViewer.setDocument(documen...
5,811
Bug 5811 [preferences] Pref to set editor background color
It would be very useful to add a preference to change the background color of the Java editor, since all of the other elements are editable.
resolved fixed
8a2963a
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-12T16:48:39Z
2001-11-12T18:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaEditorPreferencePage.java
private Control fBracketHighlightColor; private Control createBehaviorPage(Composite parent) { Composite behaviorComposite= new Composite(parent, SWT.NULL); GridLayout layout= new GridLayout(); layout.numColumns= 2; behaviorComposite.setLayout(layout); String label= "Highlight &matching brackets"; fBr...
5,811
Bug 5811 [preferences] Pref to set editor background color
It would be very useful to add a preference to change the background color of the Java editor, since all of the other elements are editable.
resolved fixed
8a2963a
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-12T16:48:39Z
2001-11-12T18:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaEditorPreferencePage.java
private Control createContentAssistPage(Composite parent) { Composite contentAssistComposite= new Composite(parent, SWT.NULL); GridLayout layout= new GridLayout(); layout.numColumns= 2; contentAssistComposite.setLayout(layout); String label= "Insert single &proposals automatically"; addCheckBox(contentAs...
5,811
Bug 5811 [preferences] Pref to set editor background color
It would be very useful to add a preference to change the background color of the Java editor, since all of the other elements are editable.
resolved fixed
8a2963a
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-12T16:48:39Z
2001-11-12T18:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaEditorPreferencePage.java
label= "&Background for completion proposals:"; addColorButton(contentAssistComposite, label, ContentAssistPreference.PROPOSALS_BACKGROUND, 0); label= "&Foreground for completion proposals:"; addColorButton(contentAssistComposite, label, ContentAssistPreference.PROPOSALS_FOREGROUND, 0); label= "Bac&kgroun...
5,811
Bug 5811 [preferences] Pref to set editor background color
It would be very useful to add a preference to change the background color of the Java editor, since all of the other elements are editable.
resolved fixed
8a2963a
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-12T16:48:39Z
2001-11-12T18:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaEditorPreferencePage.java
item= new TabItem(folder, SWT.NONE); item.setText("&Colors"); item.setImage(JavaPluginImages.get(JavaPluginImages.IMG_OBJS_CFILE)); item.setControl(createColorPage(folder)); item= new TabItem(folder, SWT.NONE); item.setText("Code A&ssist"); item.setImage(JavaPluginImages.get(JavaPluginImages.IMG_OBJS_CFI...
5,811
Bug 5811 [preferences] Pref to set editor background color
It would be very useful to add a preference to change the background color of the Java editor, since all of the other elements are editable.
resolved fixed
8a2963a
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-12T16:48:39Z
2001-11-12T18:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaEditorPreferencePage.java
handleListSelection(); } }); } private void initializeFields() { Iterator e= fColorButtons.keySet().iterator(); while (e.hasNext()) { ColorEditor c= (ColorEditor) e.next(); String key= (String) fColorButtons.get(c); RGB rgb= PreferenceConverter.getColor(fOverlayStore, key); c.setColorValue(r...
5,811
Bug 5811 [preferences] Pref to set editor background color
It would be very useful to add a preference to change the background color of the Java editor, since all of the other elements are editable.
resolved fixed
8a2963a
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-12T16:48:39Z
2001-11-12T18:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaEditorPreferencePage.java
} /* * @see PreferencePage#performOk() */ public boolean performOk() { fFontEditor.store(); fOverlayStore.propagate(); return true; } /* * @see PreferencePage#performDefaults() */ protected void performDefaults() { fFontEditor.loadDefault(); fOverlayStore.loadDefaults(); initializeFie...
5,811
Bug 5811 [preferences] Pref to set editor background color
It would be very useful to add a preference to change the background color of the Java editor, since all of the other elements are editable.
resolved fixed
8a2963a
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-12T16:48:39Z
2001-11-12T18:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaEditorPreferencePage.java
public void dispose() { if (fJavaTextTools != null) { fJavaTextTools= null; } fFontEditor.setPreferencePage(null); fFontEditor.setPreferenceStore(null); if (fOverlayStore != null) { fOverlayStore.stop(); fOverlayStore= null; } super.dispose(); } private Control addColorButton(Comp...
5,811
Bug 5811 [preferences] Pref to set editor background color
It would be very useful to add a preference to change the background color of the Java editor, since all of the other elements are editable.
resolved fixed
8a2963a
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-12T16:48:39Z
2001-11-12T18:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaEditorPreferencePage.java
labelControl.setText(label); gd= new GridData(GridData.FILL_HORIZONTAL); gd.horizontalIndent= indentation; labelControl.setLayoutData(gd); ColorEditor editor= new ColorEditor(composite); Button button= editor.getButton(); button.setData(editor); gd= new GridData(); gd.horizontalAlignment= GridD...
5,811
Bug 5811 [preferences] Pref to set editor background color
It would be very useful to add a preference to change the background color of the Java editor, since all of the other elements are editable.
resolved fixed
8a2963a
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-12T16:48:39Z
2001-11-12T18:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaEditorPreferencePage.java
fCheckBoxes.put(checkBox, key); return checkBox; } private void addTextField(Composite parent, String label, String key, int textLimit, int indentation) { Label labelControl= new Label(parent, SWT.NONE); labelControl.setText(label); GridData gd= new GridData(GridData.FILL_HORIZONTAL); gd.horizontalInde...
5,811
Bug 5811 [preferences] Pref to set editor background color
It would be very useful to add a preference to change the background color of the Java editor, since all of the other elements are editable.
resolved fixed
8a2963a
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-12T16:48:39Z
2001-11-12T18:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaEditorPreferencePage.java
fFontEditor= new WorkbenchChainedTextFontFieldEditor(key, label, editorComposite); fFontEditor.setChangeButtonText("C&hange..."); GridData gd= new GridData(GridData.FILL_HORIZONTAL); gd.horizontalSpan= 2; editorComposite.setLayoutData(gd); } private String loadPreviewContentFromFile(String filename) { ...
9,304
Bug 9304 new class wizard: incorrect terminology used
1. new class wizard 2. press Add.. in interfaces 3. the dialog you see has a title 'Extended Interfaces Selection' this is incorrect - it should be 'Implemented Interfaces Selection' (this bug was pointed out on the wsad newsgroup)
verified fixed
eda4d5a
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-12T18:37:39Z
2002-02-08T12:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/TypePage.java
/* * (c) Copyright IBM Corp. 2000, 2001. * All Rights Reserved. */ package org.eclipse.jdt.internal.ui.wizards; import java.lang.reflect.InvocationTargetException; import java.util.ArrayList; import java.util.List; import org.eclipse.core.resources.IWorkspaceRoot; import org.eclipse.core.runtime.CoreException; impor...
9,304
Bug 9304 new class wizard: incorrect terminology used
1. new class wizard 2. press Add.. in interfaces 3. the dialog you see has a title 'Extended Interfaces Selection' this is incorrect - it should be 'Implemented Interfaces Selection' (this bug was pointed out on the wsad newsgroup)
verified fixed
eda4d5a
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-12T18:37:39Z
2002-02-08T12:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/TypePage.java
import org.eclipse.jdt.core.Flags; import org.eclipse.jdt.core.IBuffer; import org.eclipse.jdt.core.ICompilationUnit; import org.eclipse.jdt.core.IJavaElement; import org.eclipse.jdt.core.IJavaProject; import org.eclipse.jdt.core.IPackageFragment; import org.eclipse.jdt.core.IPackageFragmentRoot; import org.eclipse.jdt...
9,304
Bug 9304 new class wizard: incorrect terminology used
1. new class wizard 2. press Add.. in interfaces 3. the dialog you see has a title 'Extended Interfaces Selection' this is incorrect - it should be 'Implemented Interfaces Selection' (this bug was pointed out on the wsad newsgroup)
verified fixed
eda4d5a
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-12T18:37:39Z
2002-02-08T12:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/TypePage.java
import org.eclipse.jdt.internal.ui.dialogs.TypeSelectionDialog; import org.eclipse.jdt.internal.ui.javaeditor.EditorUtility; import org.eclipse.jdt.internal.ui.preferences.CodeGenerationPreferencePage; import org.eclipse.jdt.internal.ui.preferences.ImportOrganizePreferencePage; import org.eclipse.jdt.internal.ui.prefer...
9,304
Bug 9304 new class wizard: incorrect terminology used
1. new class wizard 2. press Add.. in interfaces 3. the dialog you see has a title 'Extended Interfaces Selection' this is incorrect - it should be 'Implemented Interfaces Selection' (this bug was pointed out on the wsad newsgroup)
verified fixed
eda4d5a
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-12T18:37:39Z
2002-02-08T12:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/TypePage.java
private final static String PAGE_NAME= "TypePage"; protected final static String PACKAGE= PAGE_NAME + ".package"; protected final static String ENCLOSING= PAGE_NAME + ".enclosing"; protected final static String ENCLOSINGSELECTION= ENCLOSING + ".selection"; protected final static String TYPENAME= PAGE_NAME ...
9,304
Bug 9304 new class wizard: incorrect terminology used
1. new class wizard 2. press Add.. in interfaces 3. the dialog you see has a title 'Extended Interfaces Selection' this is incorrect - it should be 'Implemented Interfaces Selection' (this bug was pointed out on the wsad newsgroup)
verified fixed
eda4d5a
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-12T18:37:39Z
2002-02-08T12:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/TypePage.java
public InterfacesListLabelProvider() { super(); fInterfaceImage= JavaPluginImages.get(JavaPluginImages.IMG_OBJS_INTERFACE); } public Image getImage(Object element) { return fInterfaceImage; } } private StringButtonStatusDialogField fPackageDialogField; private SelectionButtonDialogField fEnclosi...
9,304
Bug 9304 new class wizard: incorrect terminology used
1. new class wizard 2. press Add.. in interfaces 3. the dialog you see has a title 'Extended Interfaces Selection' this is incorrect - it should be 'Implemented Interfaces Selection' (this bug was pointed out on the wsad newsgroup)
verified fixed
eda4d5a
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-12T18:37:39Z
2002-02-08T12:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/TypePage.java
private IType fCreatedType; protected IStatus fEnclosingTypeStatus; protected IStatus fPackageStatus; protected IStatus fTypeNameStatus; protected IStatus fSuperClassStatus; protected IStatus fModifierStatus; protected IStatus fSuperInterfacesStatus; private boolean fIsClass; private int fStaticMdfIndex; ...
9,304
Bug 9304 new class wizard: incorrect terminology used
1. new class wizard 2. press Add.. in interfaces 3. the dialog you see has a title 'Extended Interfaces Selection' this is incorrect - it should be 'Implemented Interfaces Selection' (this bug was pointed out on the wsad newsgroup)
verified fixed
eda4d5a
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-12T18:37:39Z
2002-02-08T12:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/TypePage.java
fEnclosingTypeSelection= new SelectionButtonDialogField(SWT.CHECK); fEnclosingTypeSelection.setDialogFieldListener(adapter); fEnclosingTypeSelection.setLabelText(NewWizardMessages.getString("TypePage.enclosing.selection.label")); fEnclosingTypeDialogField= new StringButtonDialogField(adapter); fEnclosingTyp...
9,304
Bug 9304 new class wizard: incorrect terminology used
1. new class wizard 2. press Add.. in interfaces 3. the dialog you see has a title 'Extended Interfaces Selection' this is incorrect - it should be 'Implemented Interfaces Selection' (this bug was pointed out on the wsad newsgroup)
verified fixed
eda4d5a
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-12T18:37:39Z
2002-02-08T12:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/TypePage.java
NewWizardMessages.getString("TypePage.modifiers.default"), NewWizardMessages.getString("TypePage.modifiers.private"), NewWizardMessages.getString("TypePage.modifiers.protected") }; fAccMdfButtons= new SelectionButtonDialogFieldGroup(SWT.RADIO, buttonNames1, 4); fAccMdfButtons.setDialogFieldListener(ada...
9,304
Bug 9304 new class wizard: incorrect terminology used
1. new class wizard 2. press Add.. in interfaces 3. the dialog you see has a title 'Extended Interfaces Selection' this is incorrect - it should be 'Implemented Interfaces Selection' (this bug was pointed out on the wsad newsgroup)
verified fixed
eda4d5a
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-12T18:37:39Z
2002-02-08T12:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/TypePage.java
fEnclosingTypeStatus= new StatusInfo(); fCanModifyPackage= true; fCanModifyEnclosingType= true; updateEnableState(); fTypeNameStatus= new StatusInfo(); fSuperClassStatus= new StatusInfo(); fSuperInterfacesStatus= new StatusInfo(); fModifierStatus= new StatusInfo(); } /** * Initializes all f...
9,304
Bug 9304 new class wizard: incorrect terminology used
1. new class wizard 2. press Add.. in interfaces 3. the dialog you see has a title 'Extended Interfaces Selection' this is incorrect - it should be 'Implemented Interfaces Selection' (this bug was pointed out on the wsad newsgroup)
verified fixed
eda4d5a
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-12T18:37:39Z
2002-02-08T12:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/TypePage.java
enclosingType= typeInCU; } } else { ICompilationUnit cu= (ICompilationUnit) JavaModelUtil.findElementOfKind(elem, IJavaElement.COMPILATION_UNIT); if (cu != null) { enclosingType= JavaModelUtil.findPrimaryType(cu); } } try { IType type= null; if (elem.getElementType() == IJavaEl...
9,304
Bug 9304 new class wizard: incorrect terminology used
1. new class wizard 2. press Add.. in interfaces 3. the dialog you see has a title 'Extended Interfaces Selection' this is incorrect - it should be 'Implemented Interfaces Selection' (this bug was pointed out on the wsad newsgroup)
verified fixed
eda4d5a
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-12T18:37:39Z
2002-02-08T12:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/TypePage.java
setTypeName("", true); setSuperClass(initSuperclass, true); setSuperInterfaces(initSuperinterfaces, true); } /** * Creates a separator line. * @param composite The parent composite * @param nColumns Number of columns to span */ protected void createSeparator(Composite composite, int nColumns) { ...
9,304
Bug 9304 new class wizard: incorrect terminology used
1. new class wizard 2. press Add.. in interfaces 3. the dialog you see has a title 'Extended Interfaces Selection' this is incorrect - it should be 'Implemented Interfaces Selection' (this bug was pointed out on the wsad newsgroup)
verified fixed
eda4d5a
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-12T18:37:39Z
2002-02-08T12:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/TypePage.java
protected void createEnclosingTypeControls(Composite composite, int nColumns) { Composite tabGroup= new Composite(composite, SWT.NONE); MGridLayout layout= new MGridLayout(); layout.marginWidth= 0; layout.marginHeight= 0; tabGroup.setLayout(layout); fEnclosingTypeSelection.doFillIntoGrid(tabGroup, 1); ...
9,304
Bug 9304 new class wizard: incorrect terminology used
1. new class wizard 2. press Add.. in interfaces 3. the dialog you see has a title 'Extended Interfaces Selection' this is incorrect - it should be 'Implemented Interfaces Selection' (this bug was pointed out on the wsad newsgroup)
verified fixed
eda4d5a
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-12T18:37:39Z
2002-02-08T12:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/TypePage.java
} /** * Creates the controls for the modifiers radio/ceckbox buttons. * @param composite The parent composite * @param nColumns Number of columns to span */ protected void createModifierControls(Composite composite, int nColumns) { LayoutUtil.setHorizontalSpan(fAccMdfButtons.getLabelControl(composite), 1)...
9,304
Bug 9304 new class wizard: incorrect terminology used
1. new class wizard 2. press Add.. in interfaces 3. the dialog you see has a title 'Extended Interfaces Selection' this is incorrect - it should be 'Implemented Interfaces Selection' (this bug was pointed out on the wsad newsgroup)
verified fixed
eda4d5a
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-12T18:37:39Z
2002-02-08T12:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/TypePage.java
fSuperClassDialogField.doFillIntoGrid(composite, nColumns); LayoutUtil.setWidthHint(fSuperClassDialogField.getTextControl(null), getMaxFieldWidth()); } /** * Creates the controls for the superclass name field. * @param composite The parent composite * @param nColumns Number of columns to span */ protect...
9,304
Bug 9304 new class wizard: incorrect terminology used
1. new class wizard 2. press Add.. in interfaces 3. the dialog you see has a title 'Extended Interfaces Selection' this is incorrect - it should be 'Implemented Interfaces Selection' (this bug was pointed out on the wsad newsgroup)
verified fixed
eda4d5a
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-12T18:37:39Z
2002-02-08T12:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/TypePage.java
public void changeControlPressed(DialogField field) { typePageChangeControlPressed(field); } public void customButtonPressed(DialogField field, int index) { typePageCustomButtonPressed(field, index); } public void selectionChanged(DialogField field) {} public void dialogFieldChanged(Dialo...
9,304
Bug 9304 new class wizard: incorrect terminology used
1. new class wizard 2. press Add.. in interfaces 3. the dialog you see has a title 'Extended Interfaces Selection' this is incorrect - it should be 'Implemented Interfaces Selection' (this bug was pointed out on the wsad newsgroup)
verified fixed
eda4d5a
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-12T18:37:39Z
2002-02-08T12:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/TypePage.java
IType type= chooseSuperType(); if (type != null) { fSuperClassDialogField.setText(JavaModelUtil.getFullyQualifiedName(type)); } } } private void typePageCustomButtonPressed(DialogField field, int index) { if (field == fSuperInterfacesDialogField) { chooseSuperInterfaces(); } } /* * A fiel...
9,304
Bug 9304 new class wizard: incorrect terminology used
1. new class wizard 2. press Add.. in interfaces 3. the dialog you see has a title 'Extended Interfaces Selection' this is incorrect - it should be 'Implemented Interfaces Selection' (this bug was pointed out on the wsad newsgroup)
verified fixed
eda4d5a
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-12T18:37:39Z
2002-02-08T12:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/TypePage.java
} else if (field == fEnclosingTypeSelection) { updateEnableState(); boolean isEnclosedType= isEnclosingTypeSelected(); if (!isEnclosedType) { if (fAccMdfButtons.isSelected(PRIVATE_INDEX) || fAccMdfButtons.isSelected(PROTECTED_INDEX)) { fAccMdfButtons.setSelection(PRIVATE_INDEX, false); fAccMdfBut...
9,304
Bug 9304 new class wizard: incorrect terminology used
1. new class wizard 2. press Add.. in interfaces 3. the dialog you see has a title 'Extended Interfaces Selection' this is incorrect - it should be 'Implemented Interfaces Selection' (this bug was pointed out on the wsad newsgroup)
verified fixed
eda4d5a
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-12T18:37:39Z
2002-02-08T12:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/TypePage.java
fieldName= MODIFIERS; } else { fieldName= METHODS; } handleFieldChanged(fieldName); } /** * Called whenever a content of a field has changed. * Implementors of TypePage can hook in. * @see ContainerPage#handleFieldChanged */ protected void handleFieldChanged(String fieldName) { ...
9,304
Bug 9304 new class wizard: incorrect terminology used
1. new class wizard 2. press Add.. in interfaces 3. the dialog you see has a title 'Extended Interfaces Selection' this is incorrect - it should be 'Implemented Interfaces Selection' (this bug was pointed out on the wsad newsgroup)
verified fixed
eda4d5a
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-12T18:37:39Z
2002-02-08T12:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/TypePage.java
* Gets the text of package field. */ public String getPackageText() { return fPackageDialogField.getText(); } /** * Gets the text of enclosing type field. */ public String getEnclosingTypeText() { return fEnclosingTypeDialogField.getText(); } /** * Returns the package fragment corresponding to t...
9,304
Bug 9304 new class wizard: incorrect terminology used
1. new class wizard 2. press Add.. in interfaces 3. the dialog you see has a title 'Extended Interfaces Selection' this is incorrect - it should be 'Implemented Interfaces Selection' (this bug was pointed out on the wsad newsgroup)
verified fixed
eda4d5a
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-12T18:37:39Z
2002-02-08T12:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/TypePage.java
* This will update model and the text of the control. * @param canBeModified Selects if the package fragment can be changed by the user */ public void setPackageFragment(IPackageFragment pack, boolean canBeModified) { fCurrPackage= pack; fCanModifyPackage= canBeModified; String str= (pack == null) ? "" : pac...
9,304
Bug 9304 new class wizard: incorrect terminology used
1. new class wizard 2. press Add.. in interfaces 3. the dialog you see has a title 'Extended Interfaces Selection' this is incorrect - it should be 'Implemented Interfaces Selection' (this bug was pointed out on the wsad newsgroup)
verified fixed
eda4d5a
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-12T18:37:39Z
2002-02-08T12:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/TypePage.java
fEnclosingTypeDialogField.setText(str); updateEnableState(); } /** * Returns <code>true</code> if the enclosing type selection check box is enabled. */ public boolean isEnclosingTypeSelected() { return fEnclosingTypeSelection.isSelected(); } /** * Sets the enclosing type selection checkbox. * @param ...
9,304
Bug 9304 new class wizard: incorrect terminology used
1. new class wizard 2. press Add.. in interfaces 3. the dialog you see has a title 'Extended Interfaces Selection' this is incorrect - it should be 'Implemented Interfaces Selection' (this bug was pointed out on the wsad newsgroup)
verified fixed
eda4d5a
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-12T18:37:39Z
2002-02-08T12:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/TypePage.java
public void setTypeName(String name, boolean canBeModified) { fTypeNameDialogField.setText(name); fTypeNameDialogField.setEnabled(canBeModified); } /** * Gets the selected modifiers. * @see Flags */ public int getModifiers() { int mdf= 0; if (fAccMdfButtons.isSelected(PUBLIC_INDEX)) { mdf+= ICo...
9,304
Bug 9304 new class wizard: incorrect terminology used
1. new class wizard 2. press Add.. in interfaces 3. the dialog you see has a title 'Extended Interfaces Selection' this is incorrect - it should be 'Implemented Interfaces Selection' (this bug was pointed out on the wsad newsgroup)
verified fixed
eda4d5a
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-12T18:37:39Z
2002-02-08T12:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/TypePage.java
* Sets the modifiers. * @param canBeModified Selects if the modifiers can be changed by the user * @see IConstants */ public void setModifiers(int modifiers, boolean canBeModified) { if (Flags.isPublic(modifiers)) { fAccMdfButtons.setSelection(PUBLIC_INDEX, true); } else if (Flags.isPrivate(modifiers))...
9,304
Bug 9304 new class wizard: incorrect terminology used
1. new class wizard 2. press Add.. in interfaces 3. the dialog you see has a title 'Extended Interfaces Selection' this is incorrect - it should be 'Implemented Interfaces Selection' (this bug was pointed out on the wsad newsgroup)
verified fixed
eda4d5a
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-12T18:37:39Z
2002-02-08T12:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/TypePage.java
*/ public String getSuperClass() { return fSuperClassDialogField.getText(); } /** * Sets the super class name. * @param canBeModified Selects if the super class can be changed by the user */ public void setSuperClass(String name, boolean canBeModified) { fSuperClassDialogField.setText(name); fSuperCla...
9,304
Bug 9304 new class wizard: incorrect terminology used
1. new class wizard 2. press Add.. in interfaces 3. the dialog you see has a title 'Extended Interfaces Selection' this is incorrect - it should be 'Implemented Interfaces Selection' (this bug was pointed out on the wsad newsgroup)
verified fixed
eda4d5a
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-12T18:37:39Z
2002-02-08T12:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/TypePage.java
/** * Called when the package field has changed. * The method validates the package name and returns the status of the validation * This also updates the package fragment model. * Can be extended to add more validation */ protected IStatus packageChanged() { StatusInfo status= new StatusInfo(); fPackageD...
9,304
Bug 9304 new class wizard: incorrect terminology used
1. new class wizard 2. press Add.. in interfaces 3. the dialog you see has a title 'Extended Interfaces Selection' this is incorrect - it should be 'Implemented Interfaces Selection' (this bug was pointed out on the wsad newsgroup)
verified fixed
eda4d5a
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-12T18:37:39Z
2002-02-08T12:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/TypePage.java
IPath packagePath= pack.getUnderlyingResource().getFullPath(); if (outputPath.isPrefixOf(packagePath)) { status.setError(NewWizardMessages.getString("TypePage.error.ClashOutputLocation")); return status; } } } catch (JavaModelException e) { JavaPlugin.log(e.getStatus()); } ...
9,304
Bug 9304 new class wizard: incorrect terminology used
1. new class wizard 2. press Add.. in interfaces 3. the dialog you see has a title 'Extended Interfaces Selection' this is incorrect - it should be 'Implemented Interfaces Selection' (this bug was pointed out on the wsad newsgroup)
verified fixed
eda4d5a
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-12T18:37:39Z
2002-02-08T12:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/TypePage.java
} /* * Updates the enable state of buttons related to the enclosing type selection checkbox. */ private void updateEnableState() { boolean enclosing= isEnclosingTypeSelected(); fPackageDialogField.setEnabled(fCanModifyPackage && !enclosing); fEnclosingTypeDialogField.setEnabled(fCanModifyEnclosingType && ...
9,304
Bug 9304 new class wizard: incorrect terminology used
1. new class wizard 2. press Add.. in interfaces 3. the dialog you see has a title 'Extended Interfaces Selection' this is incorrect - it should be 'Implemented Interfaces Selection' (this bug was pointed out on the wsad newsgroup)
verified fixed
eda4d5a
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-12T18:37:39Z
2002-02-08T12:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/TypePage.java
status.setError(NewWizardMessages.getString("TypePage.error.EnclosingTypeEnterName")); return status; } try { IType type= JavaModelUtil.findType(root.getJavaProject(), enclName); if (type == null) { status.setError(NewWizardMessages.getString("TypePage.error.EnclosingTypeNotExists")); return stat...
9,304
Bug 9304 new class wizard: incorrect terminology used
1. new class wizard 2. press Add.. in interfaces 3. the dialog you see has a title 'Extended Interfaces Selection' this is incorrect - it should be 'Implemented Interfaces Selection' (this bug was pointed out on the wsad newsgroup)
verified fixed
eda4d5a
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-12T18:37:39Z
2002-02-08T12:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/TypePage.java
*/ protected IStatus typeNameChanged() { StatusInfo status= new StatusInfo(); String typeName= getTypeName(); if (typeName.length() == 0) { status.setError(NewWizardMessages.getString("TypePage.error.EnterTypeName")); return status; } if (typeName.indexOf('.') != -1) { status.setError(NewWizardM...
9,304
Bug 9304 new class wizard: incorrect terminology used
1. new class wizard 2. press Add.. in interfaces 3. the dialog you see has a title 'Extended Interfaces Selection' this is incorrect - it should be 'Implemented Interfaces Selection' (this bug was pointed out on the wsad newsgroup)
verified fixed
eda4d5a
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-12T18:37:39Z
2002-02-08T12:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/TypePage.java
} } else { IType type= getEnclosingType(); if (type != null) { IType member= type.getType(typeName); if (member.exists()) { status.setError(NewWizardMessages.getString("TypePage.error.TypeNameExists")); return status; } } } return status; } /** * Called when the superclass na...
9,304
Bug 9304 new class wizard: incorrect terminology used
1. new class wizard 2. press Add.. in interfaces 3. the dialog you see has a title 'Extended Interfaces Selection' this is incorrect - it should be 'Implemented Interfaces Selection' (this bug was pointed out on the wsad newsgroup)
verified fixed
eda4d5a
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-12T18:37:39Z
2002-02-08T12:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/TypePage.java
} IStatus val= JavaConventions.validateJavaTypeName(sclassName); if (!val.isOK()) { status.setError(NewWizardMessages.getString("TypePage.error.InvalidSuperClassName")); return status; } if (root != null) { try { IType type= resolveSuperTypeName(root.getJavaProject(), sclassName); if (typ...
9,304
Bug 9304 new class wizard: incorrect terminology used
1. new class wizard 2. press Add.. in interfaces 3. the dialog you see has a title 'Extended Interfaces Selection' this is incorrect - it should be 'Implemented Interfaces Selection' (this bug was pointed out on the wsad newsgroup)
verified fixed
eda4d5a
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-12T18:37:39Z
2002-02-08T12:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/TypePage.java
JavaPlugin.log(e.getStatus()); } } else { status.setError(""); } return status; } private IType resolveSuperTypeName(IJavaProject jproject, String sclassName) throws JavaModelException { IType type= null; if (isEnclosingTypeSelected()) { IType enclosingType= getEnclosingType(); ...
9,304
Bug 9304 new class wizard: incorrect terminology used
1. new class wizard 2. press Add.. in interfaces 3. the dialog you see has a title 'Extended Interfaces Selection' this is incorrect - it should be 'Implemented Interfaces Selection' (this bug was pointed out on the wsad newsgroup)
verified fixed
eda4d5a
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-12T18:37:39Z
2002-02-08T12:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/TypePage.java
type= JavaModelUtil.findType(jproject, "java.lang", sclassName); } } if (type == null) { type= JavaModelUtil.findType(jproject, sclassName); } } return type; } /** * Called when the list of super interface has changed. * The method validates the superinterfaces and returns the status...
9,304
Bug 9304 new class wizard: incorrect terminology used
1. new class wizard 2. press Add.. in interfaces 3. the dialog you see has a title 'Extended Interfaces Selection' this is incorrect - it should be 'Implemented Interfaces Selection' (this bug was pointed out on the wsad newsgroup)
verified fixed
eda4d5a
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-12T18:37:39Z
2002-02-08T12:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/TypePage.java
status.setWarning(NewWizardMessages.getFormattedString("TypePage.warning.InterfaceNotExists", intfname)); return status; } else { if (type.isClass()) { status.setWarning(NewWizardMessages.getFormattedString("TypePage.warning.InterfaceIsNotInterface", intfname)); return status; } ...
9,304
Bug 9304 new class wizard: incorrect terminology used
1. new class wizard 2. press Add.. in interfaces 3. the dialog you see has a title 'Extended Interfaces Selection' this is incorrect - it should be 'Implemented Interfaces Selection' (this bug was pointed out on the wsad newsgroup)
verified fixed
eda4d5a
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-12T18:37:39Z
2002-02-08T12:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/TypePage.java
} return status; } private IPackageFragment choosePackage() { IPackageFragmentRoot froot= getPackageFragmentRoot(); IJavaElement[] packages= null; try { if (froot != null) { packages= froot.getChildren(); } } catch (JavaModelException e) { JavaPlugin.log(e); } if (packages == null) ...
9,304
Bug 9304 new class wizard: incorrect terminology used
1. new class wizard 2. press Add.. in interfaces 3. the dialog you see has a title 'Extended Interfaces Selection' this is incorrect - it should be 'Implemented Interfaces Selection' (this bug was pointed out on the wsad newsgroup)
verified fixed
eda4d5a
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-12T18:37:39Z
2002-02-08T12:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/TypePage.java
if (dialog.open() == dialog.OK) { return (IPackageFragment) dialog.getFirstResult(); } return null; } private IType chooseEnclosingType() { IPackageFragmentRoot root= getPackageFragmentRoot(); if (root == null) { return null; } IJavaSearchScope scope= SearchEngine.createJavaSearchScope(new IJav...
9,304
Bug 9304 new class wizard: incorrect terminology used
1. new class wizard 2. press Add.. in interfaces 3. the dialog you see has a title 'Extended Interfaces Selection' this is incorrect - it should be 'Implemented Interfaces Selection' (this bug was pointed out on the wsad newsgroup)
verified fixed
eda4d5a
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-12T18:37:39Z
2002-02-08T12:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/TypePage.java
if (root == null) { return null; } IJavaElement[] elements= new IJavaElement[] { root.getJavaProject() }; IJavaSearchScope scope= SearchEngine.createJavaSearchScope(elements); TypeSelectionDialog dialog= new TypeSelectionDialog(getShell(), getWizard().getContainer(), IJavaSearchConstants.CLASS, scope); di...
9,304
Bug 9304 new class wizard: incorrect terminology used
1. new class wizard 2. press Add.. in interfaces 3. the dialog you see has a title 'Extended Interfaces Selection' this is incorrect - it should be 'Implemented Interfaces Selection' (this bug was pointed out on the wsad newsgroup)
verified fixed
eda4d5a
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-12T18:37:39Z
2002-02-08T12:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/TypePage.java
/** * Creates a type using the current field values. */ public void createType(IProgressMonitor monitor) throws CoreException, InterruptedException { monitor.beginTask(NewWizardMessages.getString("TypePage.operationdesc"), 10); IPackageFragmentRoot root= getPackageFragmentRoot(); IPackageFragment pack=...
9,304
Bug 9304 new class wizard: incorrect terminology used
1. new class wizard 2. press Add.. in interfaces 3. the dialog you see has a title 'Extended Interfaces Selection' this is incorrect - it should be 'Implemented Interfaces Selection' (this bug was pointed out on the wsad newsgroup)
verified fixed
eda4d5a
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-12T18:37:39Z
2002-02-08T12:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/TypePage.java
int threshold= ImportOrganizePreferencePage.getImportNumberThreshold(); String lineDelimiter= null; if (!isInnerClass) { lineDelimiter= System.getProperty("line.separator", "\n"); String packStatement= pack.isDefaultPackage() ? "" : "package " + pack.getElementName() + ";" + lineDelimiter; IComp...
9,304
Bug 9304 new class wizard: incorrect terminology used
1. new class wizard 2. press Add.. in interfaces 3. the dialog you see has a title 'Extended Interfaces Selection' this is incorrect - it should be 'Implemented Interfaces Selection' (this bug was pointed out on the wsad newsgroup)
verified fixed
eda4d5a
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-12T18:37:39Z
2002-02-08T12:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/TypePage.java
indent= StubUtility.getIndentUsed(enclosingType) + 1; } imports.create(!isInnerClass, new SubProgressMonitor(monitor, 1)); String[] methods= evalMethods(createdType, imports, new SubProgressMonitor(monitor, 1)); if (methods.length > 0) { for (int i= 0; i < methods.length; i++) { createdType.crea...
9,304
Bug 9304 new class wizard: incorrect terminology used
1. new class wizard 2. press Add.. in interfaces 3. the dialog you see has a title 'Extended Interfaces Selection' this is incorrect - it should be 'Implemented Interfaces Selection' (this bug was pointed out on the wsad newsgroup)
verified fixed
eda4d5a
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-12T18:37:39Z
2002-02-08T12:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/TypePage.java
String formattedContent= StubUtility.codeFormat(originalContent, indent, lineDelimiter); buf.replace(range.getOffset(), range.getLength(), formattedContent); if (!isInnerClass) { String fileComment= getFileComment(cu); if (fileComment != null) { buf.replace(0, 0, fileComment + lineDelimiter); } buf....
9,304
Bug 9304 new class wizard: incorrect terminology used
1. new class wizard 2. press Add.. in interfaces 3. the dialog you see has a title 'Extended Interfaces Selection' this is incorrect - it should be 'Implemented Interfaces Selection' (this bug was pointed out on the wsad newsgroup)
verified fixed
eda4d5a
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-12T18:37:39Z
2002-02-08T12:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/TypePage.java
} else { imports.addImport(typename); } } } private void writeSuperInterfaces(StringBuffer buf, IImportsStructure imports) { List interfaces= getSuperInterfaces(); int last= interfaces.size() - 1; if (last >= 0) { if (fIsClass) { buf.append(" implements "); } else { buf.append(" extend...
9,304
Bug 9304 new class wizard: incorrect terminology used
1. new class wizard 2. press Add.. in interfaces 3. the dialog you see has a title 'Extended Interfaces Selection' this is incorrect - it should be 'Implemented Interfaces Selection' (this bug was pointed out on the wsad newsgroup)
verified fixed
eda4d5a
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-12T18:37:39Z
2002-02-08T12:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/TypePage.java
String typeComment= getTypeComment(parentCU); if (typeComment != null) { buf.append(typeComment); buf.append(lineDelimiter); } int modifiers= getModifiers(); buf.append(Flags.toString(modifiers)); if (modifiers != 0) { buf.append(' '); } buf.append(fIsClass ? "class " : "interface "); buf.a...
9,304
Bug 9304 new class wizard: incorrect terminology used
1. new class wizard 2. press Add.. in interfaces 3. the dialog you see has a title 'Extended Interfaces Selection' this is incorrect - it should be 'Implemented Interfaces Selection' (this bug was pointed out on the wsad newsgroup)
verified fixed
eda4d5a
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-12T18:37:39Z
2002-02-08T12:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/TypePage.java
/** * Called from createType to get a file comment. By default the content of template * 'filecomment' is taken. * Returns source or null, if no file comment should be added */ protected String getFileComment(ICompilationUnit parentCU) { if (CodeGenerationPreferencePage.doFileComments()) { return getTem...
9,304
Bug 9304 new class wizard: incorrect terminology used
1. new class wizard 2. press Add.. in interfaces 3. the dialog you see has a title 'Extended Interfaces Selection' this is incorrect - it should be 'Implemented Interfaces Selection' (this bug was pointed out on the wsad newsgroup)
verified fixed
eda4d5a
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-12T18:37:39Z
2002-02-08T12:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/TypePage.java
} } } catch (CoreException e) { JavaPlugin.log(e); } return null; } /** * Creates the bodies of all unimplemented methods or/and all constructors * Can be used by implementors of TypePage to add method stub checkboxes */ protected String[] constructInheritedMethods(IType type, boolean doConstruc...
9,304
Bug 9304 new class wizard: incorrect terminology used
1. new class wizard 2. press Add.. in interfaces 3. the dialog you see has a title 'Extended Interfaces Selection' this is incorrect - it should be 'Implemented Interfaces Selection' (this bug was pointed out on the wsad newsgroup)
verified fixed
eda4d5a
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-12T18:37:39Z
2002-02-08T12:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/TypePage.java
if (unimplemented != null) { for (int i= 0; i < unimplemented.length; i++) { newMethods.add(unimplemented[i]); } } } return (String[]) newMethods.toArray(new String[newMethods.size()]); } /** * @see NewElementWizardPage#getRunnable */ public IRunnableWithProgress getRunnable() { ...
9,517
Bug 9517 Browser Perspective: new project doesn't show up in project view part
Test pass for M3 - open eclipse - switch to browser perspective - open context menu in project view part - select New->Project - create JUnit project observe: new project doesn't show up in project view part
resolved fixed
9196996
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-14T10:42:32Z
2002-02-13T08:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/ProjectsView.java
/* * (c) Copyright IBM Corp. 2000, 2001. * All Rights Reserved. */ package org.eclipse.jdt.internal.ui.browsing; import org.eclipse.swt.SWT; import org.eclipse.swt.widgets.Composite; import org.eclipse.jface.viewers.StructuredViewer; import org.eclipse.jdt.core.IJavaElement; import org.eclipse.jdt.core.IJavaModel; i...
9,517
Bug 9517 Browser Perspective: new project doesn't show up in project view part
Test pass for M3 - open eclipse - switch to browser perspective - open context menu in project view part - select New->Project - create JUnit project observe: new project doesn't show up in project view part
resolved fixed
9196996
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-14T10:42:32Z
2002-02-13T08:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/ProjectsView.java
/** * Creates the the viewer of this part. * * @param parent the parent for the viewer */ protected StructuredViewer createViewer(Composite parent) { return new ProblemTreeViewer(parent, SWT.SINGLE); } /** * Creates the the content provider of this part. */ protected BaseJavaElementContentProvider ...
9,517
Bug 9517 Browser Perspective: new project doesn't show up in project view part
Test pass for M3 - open eclipse - switch to browser perspective - open context menu in project view part - select New->Project - create JUnit project observe: new project doesn't show up in project view part
resolved fixed
9196996
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-14T10:42:32Z
2002-02-13T08:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/ProjectsView.java
/** * Returns the context ID for the Help system. * * @return the string used as ID for the Help context */ protected String getHelpContextId() { return IJavaHelpContextIds.PROJECTS_VIEW; } /** * Adds additional listeners to this view. */ protected void hookViewerListeners() { } protected void setI...
9,517
Bug 9517 Browser Perspective: new project doesn't show up in project view part
Test pass for M3 - open eclipse - switch to browser perspective - open context menu in project view part - select New->Project - create JUnit project observe: new project doesn't show up in project view part
resolved fixed
9196996
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-14T10:42:32Z
2002-02-13T08:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/ProjectsView.java
* * @param element the object to test * @return <true> if the given element is a valid element */ protected boolean isValidElement(Object element) { return element instanceof IJavaProject || element instanceof IPackageFragmentRoot; } /** * Finds the element which has to be selected in this part. * *...
9,528
Bug 9528 CCE while coping a project to the clipboard
Test pass for M3 Got the following CCE while copying text to the clipboard. java.lang.ClassCastException: org.eclipse.jdt.internal.core.JavaProject at org.eclipse.jdt.internal.ui.reorg.SourceReferenceAction.getWorkingCopyElements (SourceReferenceAction.java:139) at org.eclipse.jdt.internal.ui.reorg.SourceReferenceActio...
resolved fixed
af2c531
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-14T10:56:29Z
2002-02-13T08:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/reorg/SourceReferenceAction.java
package org.eclipse.jdt.internal.ui.reorg; import java.util.ArrayList; import java.util.Iterator; import java.util.List; import org.eclipse.core.runtime.CoreException; import org.eclipse.swt.custom.BusyIndicator; import org.eclipse.jface.viewers.ISelectionProvider; import org.eclipse.jface.viewers.IStructuredSelection;...
9,528
Bug 9528 CCE while coping a project to the clipboard
Test pass for M3 Got the following CCE while copying text to the clipboard. java.lang.ClassCastException: org.eclipse.jdt.internal.core.JavaProject at org.eclipse.jdt.internal.ui.reorg.SourceReferenceAction.getWorkingCopyElements (SourceReferenceAction.java:139) at org.eclipse.jdt.internal.ui.reorg.SourceReferenceActio...
resolved fixed
af2c531
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-14T10:56:29Z
2002-02-13T08:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/reorg/SourceReferenceAction.java
private ISelectionProvider fSelectionProvider; protected SourceReferenceAction(String name, ISelectionProvider provider) { super(name, provider); fSelectionProvider= provider; } protected ISelectionProvider getSelectionProvider(){ return fSelectionProvider; } /* * @see Action#run */ public final void ...
9,528
Bug 9528 CCE while coping a project to the clipboard
Test pass for M3 Got the following CCE while copying text to the clipboard. java.lang.ClassCastException: org.eclipse.jdt.internal.core.JavaProject at org.eclipse.jdt.internal.ui.reorg.SourceReferenceAction.getWorkingCopyElements (SourceReferenceAction.java:139) at org.eclipse.jdt.internal.ui.reorg.SourceReferenceActio...
resolved fixed
af2c531
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-14T10:56:29Z
2002-02-13T08:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/reorg/SourceReferenceAction.java
protected abstract void perform() throws CoreException; /* * @see RefactoringAction#canOperateOn(IStructuredSelection) */ public boolean canOperateOn(IStructuredSelection selection) { try{ if (selection.isEmpty()) return false; Object[] elems= selection.toArray(); for (int i= 0; i < elems.leng...
9,528
Bug 9528 CCE while coping a project to the clipboard
Test pass for M3 Got the following CCE while copying text to the clipboard. java.lang.ClassCastException: org.eclipse.jdt.internal.core.JavaProject at org.eclipse.jdt.internal.ui.reorg.SourceReferenceAction.getWorkingCopyElements (SourceReferenceAction.java:139) at org.eclipse.jdt.internal.ui.reorg.SourceReferenceActio...
resolved fixed
af2c531
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-14T10:56:29Z
2002-02-13T08:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/reorg/SourceReferenceAction.java
if (! (elem instanceof ISourceReference)) return false; if (! (elem instanceof IJavaElement)) return false; if (elem instanceof IClassFile) return false; if (elem instanceof ICompilationUnit) return false; if ((elem instanceof IMember) && ((IMember)elem).isBinary()) return false; ...
9,528
Bug 9528 CCE while coping a project to the clipboard
Test pass for M3 Got the following CCE while copying text to the clipboard. java.lang.ClassCastException: org.eclipse.jdt.internal.core.JavaProject at org.eclipse.jdt.internal.ui.reorg.SourceReferenceAction.getWorkingCopyElements (SourceReferenceAction.java:139) at org.eclipse.jdt.internal.ui.reorg.SourceReferenceActio...
resolved fixed
af2c531
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-14T10:56:29Z
2002-02-13T08:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/reorg/SourceReferenceAction.java
ICompilationUnit cu= SourceReferenceUtil.getCompilationUnit(elem); ICompilationUnit wc= WorkingCopyUtil.getWorkingCopyIfExists(cu); if (wc.equals(cu)) return false; IJavaElement element= (IJavaElement)elem; IJavaElement wcElement= JavaModelUtil.findInCompilationUnit(wc, element); return wcElement == null |...
9,741
Bug 9741 Organize import is gone from the context menu
Is this intentional?
resolved fixed
edf2d4c
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-14T11:38:26Z
2002-02-13T19:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java
package org.eclipse.jdt.internal.ui.javaeditor; /* * (c) Copyright IBM Corp. 2000, 2001. * All Rights Reserved. */ import java.lang.reflect.InvocationTargetException;
9,741
Bug 9741 Organize import is gone from the context menu
Is this intentional?
resolved fixed
edf2d4c
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-14T11:38:26Z
2002-02-13T19:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java
import java.util.Iterator; import org.eclipse.swt.custom.StyledText; import org.eclipse.swt.events.KeyEvent; import org.eclipse.swt.events.KeyListener; import org.eclipse.swt.events.MouseEvent; import org.eclipse.swt.events.MouseListener; import org.eclipse.swt.events.PaintEvent; import org.eclipse.swt.events.PaintList...
9,741
Bug 9741 Organize import is gone from the context menu
Is this intentional?
resolved fixed
edf2d4c
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-14T11:38:26Z
2002-02-13T19:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java
import org.eclipse.jface.preference.IPreferenceStore; import org.eclipse.jface.preference.PreferenceConverter; import org.eclipse.jface.text.BadLocationException; import org.eclipse.jface.text.BadPositionCategoryException; import org.eclipse.jface.text.DefaultPositionUpdater; import org.eclipse.jface.text.IDocument; im...
9,741
Bug 9741 Organize import is gone from the context menu
Is this intentional?
resolved fixed
edf2d4c
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-14T11:38:26Z
2002-02-13T19:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java
import org.eclipse.ui.IWorkbenchPage; import org.eclipse.ui.actions.WorkspaceModifyOperation; import org.eclipse.ui.dialogs.SaveAsDialog; import org.eclipse.ui.part.FileEditorInput; import org.eclipse.ui.texteditor.IDocumentProvider; import org.eclipse.ui.texteditor.ITextEditorActionConstants; import org.eclipse.ui.tex...
9,741
Bug 9741 Organize import is gone from the context menu
Is this intentional?
resolved fixed
edf2d4c
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-14T11:38:26Z
2002-02-13T19:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java
/** * Responsible for highlighting matching pairs of brackets. */ class BracketHighlighter implements KeyListener, MouseListener, ISelectionChangedListener, ITextListener, ITextInputListener { /** * Highlights the brackets. */ class HighlightBrackets implements PaintListener { private JavaPai...
9,741
Bug 9741 Organize import is gone from the context menu
Is this intentional?
resolved fixed
edf2d4c
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-14T11:38:26Z
2002-02-13T19:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java
public void setHighlightColor(Color color) { fColor= color; } public void dispose() { if (fMatcher != null) { fMatcher.dispose(); fMatcher= null; } fColor= null; fTextWidget= null; } public void deactivate(boolean redraw) { if (fIsActive) { fIsActive...
9,741
Bug 9741 Organize import is gone from the context menu
Is this intentional?
resolved fixed
edf2d4c
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-14T11:38:26Z
2002-02-13T19:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java
} IRegion pair= fMatcher.match(fSourceViewer.getDocument(), selection.x); if (pair == null) { deactivate(true); return; } if (fIsActive) { if (pair.getOffset() != fBracketPosition.getOffset() || pair.getLength() != fBracketPosition.getLength() || fMatcher....
9,741
Bug 9741 Organize import is gone from the context menu
Is this intentional?
resolved fixed
edf2d4c
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-14T11:38:26Z
2002-02-13T19:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java
fBracketPosition.offset= pair.getOffset(); fBracketPosition.length= pair.getLength(); fAnchor= fMatcher.getAnchor(); fTextWidget.addPaintListener(this); fManager.manage(fBracketPosition); handleDrawRequest(null); } } public void paintControl(PaintEvent event) { if (fText...
9,741
Bug 9741 Organize import is gone from the context menu
Is this intentional?
resolved fixed
edf2d4c
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-14T11:38:26Z
2002-02-13T19:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java
if (gc != null) { Point left= fTextWidget.getLocationAtOffset(offset); Point right= fTextWidget.getLocationAtOffset(offset + length); gc.setForeground(fColor); gc.drawRectangle(left.x, left.y, right.x - left.x - 1, gc.getFontMetrics().getHeight() - 1); } else { fTextWidget....
9,741
Bug 9741 Organize import is gone from the context menu
Is this intentional?
resolved fixed
edf2d4c
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-14T11:38:26Z
2002-02-13T19:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java
fDocument.addPositionUpdater(fPositionUpdater); } public void dispose() { uninstall(fDocument); } public void uninstall(IDocument document) { if (document == fDocument && document != null) { try { fDocument.removePositionUpdater(fPositionUpdater); fDocument.removePositionCat...
9,741
Bug 9741 Organize import is gone from the context menu
Is this intentional?
resolved fixed
edf2d4c
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-14T11:38:26Z
2002-02-13T19:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java
try { fDocument.removePosition(fCategory, position); } catch (BadPositionCategoryException x) { } } }; private BracketPositionManager fManager= new BracketPositionManager(); private HighlightBrackets fHighlightBrackets; private ISourceViewer fSourceViewer; private boolean fTextChan...
9,741
Bug 9741 Organize import is gone from the context menu
Is this intentional?
resolved fixed
edf2d4c
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-14T11:38:26Z
2002-02-13T19:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java
provider.addSelectionChangedListener(this); fSourceViewer.addTextListener(this); StyledText text= fSourceViewer.getTextWidget(); text.addKeyListener(this); text.addMouseListener(this); } public void dispose() { if (fManager != null) { fManager.dispose(); fManager= null; } ...
9,741
Bug 9741 Organize import is gone from the context menu
Is this intentional?
resolved fixed
edf2d4c
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-14T11:38:26Z
2002-02-13T19:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java
StyledText text= fSourceViewer.getTextWidget(); if (text != null && !text.isDisposed()) { text.removeKeyListener(fBracketHighlighter); text.removeMouseListener(fBracketHighlighter); } fSourceViewer= null; } } /** * @see KeyListener#keyPressed(KeyEvent) */ public void keyPres...
9,741
Bug 9741 Organize import is gone from the context menu
Is this intentional?
resolved fixed
edf2d4c
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-14T11:38:26Z
2002-02-13T19:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java
* @see MouseListener#mouseDown(MouseEvent) */ public void mouseDown(MouseEvent e) { } /** * @see MouseListener#mouseUp(MouseEvent) */ public void mouseUp(MouseEvent e) { fHighlightBrackets.run(); } /** * @see ISelectionChangedListener#selectionChanged(SelectionChangedEvent) */ publ...
9,741
Bug 9741 Organize import is gone from the context menu
Is this intentional?
resolved fixed
edf2d4c
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-14T11:38:26Z
2002-02-13T19:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java
} }); } } /** * @see ITextInputListener#inputDocumentAboutToBeChanged(IDocument, IDocument) */ public void inputDocumentAboutToBeChanged(IDocument oldInput, IDocument newInput) { if (oldInput != null) { fHighlightBrackets.deactivate(false); fManager.uninstall(oldInput); } } /*...
9,741
Bug 9741 Organize import is gone from the context menu
Is this intentional?
resolved fixed
edf2d4c
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-14T11:38:26Z
2002-02-13T19:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java
public IContentAssistant getContentAssistant() { return fContentAssistant; } }; private final static String CODE_FORMATTER_TAB_SIZE= "org.eclipse.jdt.core.formatter.tabulation.size"; private final static String CODE_FORMATTER_TAB_CHAR= "org.eclipse.jdt.core.formatter.tabulation.char"; public final st...
9,741
Bug 9741 Organize import is gone from the context menu
Is this intentional?
resolved fixed
edf2d4c
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-14T11:38:26Z
2002-02-13T19:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java
public CompilationUnitEditor() { super(); setDocumentProvider(JavaPlugin.getDefault().getCompilationUnitDocumentProvider()); setEditorContextMenuId("#CompilationUnitEditorContext"); setRulerContextMenuId("#CompilationUnitRulerContext"); setOutlinerContextMenuId("#CompilationUnitOutlinerContext"); setHelp...