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
7,834
Bug 7834 Methods-override dialog should present methods sorted (abc..)
Imagine a class extending JPanel. I want to override setBackgroundColor(Color c). I don't know where in the class-hierarchy the method is declared, so i've to search more or less to all entries in the tree, eye-scanning setBa.. . It's not so easy, as there are quite a few methods. So it would be nice to sort the method...
verified fixed
66fae4e
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-22T16:54:46Z
2002-01-17T15:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/actions/OverrideMethodQuery.java
if (element instanceof IMethod) { return ((IMethod)element).getDeclaringType(); } return null; } /* * @see ITreeContentProvider#hasChildren(Object) */ public boolean hasChildren(Object element) { return getChildren(element).length > 0; } /* * @see IStructuredContentProvider#getElements(O...
7,834
Bug 7834 Methods-override dialog should present methods sorted (abc..)
Imagine a class extending JPanel. I want to override setBackgroundColor(Color c). I don't know where in the class-hierarchy the method is declared, so i've to search more or less to all entries in the tree, eye-scanning setBa.. . It's not so easy, as there are quite a few methods. So it would be nice to sort the method...
verified fixed
66fae4e
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-22T16:54:46Z
2002-01-17T15:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/actions/OverrideMethodQuery.java
private IType[] fAllTypes; public OverrideMethodSorter(ITypeHierarchy typeHierarchy) { IType curr= typeHierarchy.getType(); IType[] superTypes= typeHierarchy.getAllSupertypes(curr); fAllTypes= new IType[superTypes.length + 1]; fAllTypes[0]= curr; System.arraycopy(superTypes, 0, fAllTypes, 1, superTypes...
7,834
Bug 7834 Methods-override dialog should present methods sorted (abc..)
Imagine a class extending JPanel. I want to override setBackgroundColor(Color c). I don't know where in the class-hierarchy the method is declared, so i've to search more or less to all entries in the tree, eye-scanning setBa.. . It's not so easy, as there are quite a few methods. So it would be nice to sort the method...
verified fixed
66fae4e
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-22T16:54:46Z
2002-01-17T15:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/actions/OverrideMethodQuery.java
return -1; } if (curr.equals(e2)) { return 1; } } } return 0; } } private class OverrideMethodValidator implements ISelectionValidator { /* * @see ISelectionValidator#validate(Object[]) */ public IStatus validate(Object[] selection) { int count= 0; for (int i= ...
7,834
Bug 7834 Methods-override dialog should present methods sorted (abc..)
Imagine a class extending JPanel. I want to override setBackgroundColor(Color c). I don't know where in the class-hierarchy the method is declared, so i've to search more or less to all entries in the tree, eye-scanning setBa.. . It's not so easy, as there are quite a few methods. So it would be nice to sort the method...
verified fixed
66fae4e
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-22T16:54:46Z
2002-01-17T15:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/actions/OverrideMethodQuery.java
message= JavaUIMessages.getFormattedString("OverrideMethodQuery.selectioninfo.more", String.valueOf(count)); } return new StatusInfo(IStatus.INFO, message); } } private boolean fEmptySelectionAllowed; private Shell fShell; public OverrideMethodQuery(Shell shell, boolean emptySelectionAllowed) { fShell...
7,834
Bug 7834 Methods-override dialog should present methods sorted (abc..)
Imagine a class extending JPanel. I want to override setBackgroundColor(Color c). I don't know where in the class-hierarchy the method is declared, so i've to search more or less to all entries in the tree, eye-scanning setBa.. . It's not so easy, as there are quite a few methods. So it would be nice to sort the method...
verified fixed
66fae4e
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-22T16:54:46Z
2002-01-17T15:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/actions/OverrideMethodQuery.java
expanded.add(typesArrays[0]); } ILabelProvider lprovider= new JavaElementLabelProvider(JavaElementLabelProvider.SHOW_DEFAULT); ITreeContentProvider cprovider= new OverrideMethodContentProvider(methods, typesArrays); CheckedTreeSelectionDialog dialog= new CheckedTreeSelectionDialog(fShell, lprovider, cprov...
8,280
Bug 8280 Package view back/forward/up arrow hover help
Start up Eclipse with some existing Java Projects in the workspace. Select a package in one of these projects. Right-click and select Go Into. Hover over the Back arrow. Notice that a very tall tool-tip (full screen height) text appears, the first line being "Back to Java Model" and the remaining lines being package na...
verified fixed
6b99f94
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-24T10:59:22Z
2002-01-23T21:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerLabelProvider.java
/* * (c) Copyright IBM Corp. 2000, 2001. * All Rights Reserved. */ package org.eclipse.jdt.internal.ui.packageview; import org.eclipse.core.resources.IStorage; import org.eclipse.swt.graphics.Image; import org.eclipse.jface.viewers.LabelProvider; import org.eclipse.jdt.internal.ui.preferences.WorkInProgressPreferenc...
8,280
Bug 8280 Package view back/forward/up arrow hover help
Start up Eclipse with some existing Java Projects in the workspace. Select a package in one of these projects. Right-click and select Go Into. Hover over the Back arrow. Notice that a very tall tool-tip (full screen height) text appears, the first line being "Back to Java Model" and the remaining lines being package na...
verified fixed
6b99f94
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-24T10:59:22Z
2002-01-23T21:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerLabelProvider.java
private JavaElementImageProvider fImageLabelProvider; private StorageLabelProvider fStorageLabelProvider; private int fImageFlags; private int fTextFlags; /** * Create new JavaElementLabelProvider for the PackageExplorerPart */ public PackageExplorerLabelProvider() { fStorageLabelProvider= new StorageLabelPr...
8,280
Bug 8280 Package view back/forward/up arrow hover help
Start up Eclipse with some existing Java Projects in the workspace. Select a package in one of these projects. Right-click and select Go Into. Hover over the Back arrow. Notice that a very tall tool-tip (full screen height) text appears, the first line being "Back to Java Model" and the remaining lines being package na...
verified fixed
6b99f94
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-24T10:59:22Z
2002-01-23T21:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerLabelProvider.java
Image result= fImageLabelProvider.getImageLabel(element, fImageFlags); if (result != null) { return result; } if (element instanceof IStorage) return fStorageLabelProvider.getImage(element); return super.getImage(element); } /* (non-Javadoc) * @see ILabelProvider#getText */ public String getText(O...
8,280
Bug 8280 Package view back/forward/up arrow hover help
Start up Eclipse with some existing Java Projects in the workspace. Select a package in one of these projects. Right-click and select Go Into. Hover over the Back arrow. Notice that a very tall tool-tip (full screen height) text appears, the first line being "Back to Java Model" and the remaining lines being package na...
verified fixed
6b99f94
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-24T10:59:22Z
2002-01-23T21:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/JavaUILabelProvider.java
/* * (c) Copyright IBM Corp. 2000, 2001. * All Rights Reserved. */ package org.eclipse.jdt.internal.ui.viewsupport; import org.eclipse.core.resources.IStorage; import org.eclipse.swt.graphics.Image; import org.eclipse.jface.viewers.LabelProvider; public class JavaUILabelProvider extends LabelProvider { private Ja...
8,280
Bug 8280 Package view back/forward/up arrow hover help
Start up Eclipse with some existing Java Projects in the workspace. Select a package in one of these projects. Right-click and select Go Into. Hover over the Back arrow. Notice that a very tall tool-tip (full screen height) text appears, the first line being "Back to Java Model" and the remaining lines being package na...
verified fixed
6b99f94
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-24T10:59:22Z
2002-01-23T21:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/JavaUILabelProvider.java
fImageFlags= imageFlags; fTextFlags= textFlags; } public JavaUILabelProvider(int textFlags, int imageFlags) { this(textFlags, imageFlags, new JavaElementImageProvider()); } public JavaUILabelProvider(JavaElementImageProvider imageLabelProvider) { this(JavaElementLabels.M_PARAMETER_TYPES, JavaElementImageP...
8,280
Bug 8280 Package view back/forward/up arrow hover help
Start up Eclipse with some existing Java Projects in the workspace. Select a package in one of these projects. Right-click and select Go Into. Hover over the Back arrow. Notice that a very tall tool-tip (full screen height) text appears, the first line being "Back to Java Model" and the remaining lines being package na...
verified fixed
6b99f94
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-24T10:59:22Z
2002-01-23T21:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/JavaUILabelProvider.java
Image result= fImageLabelProvider.getImageLabel(element, fImageFlags); if (result != null) { return result; } if (element instanceof IStorage) return fStorageLabelProvider.getImage(element); return super.getImage(element); } /* (non-Javadoc) * @see ILabelProvider#getText */ public String getText(O...
8,280
Bug 8280 Package view back/forward/up arrow hover help
Start up Eclipse with some existing Java Projects in the workspace. Select a package in one of these projects. Right-click and select Go Into. Hover over the Back arrow. Notice that a very tall tool-tip (full screen height) text appears, the first line being "Back to Java Model" and the remaining lines being package na...
verified fixed
6b99f94
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-24T10:59:22Z
2002-01-23T21:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/JavaElementLabelProvider.java
/* * (c) Copyright IBM Corp. 2000, 2001. * All Rights Reserved. */ package org.eclipse.jdt.ui; import org.eclipse.core.resources.IStorage; import org.eclipse.swt.graphics.Image; import org.eclipse.jface.viewers.LabelProvider; import org.eclipse.jdt.internal.ui.viewsupport.JavaElementImageProvider; import org.eclipse...
8,280
Bug 8280 Package view back/forward/up arrow hover help
Start up Eclipse with some existing Java Projects in the workspace. Select a package in one of these projects. Right-click and select Go Into. Hover over the Back arrow. Notice that a very tall tool-tip (full screen height) text appears, the first line being "Back to Java Model" and the remaining lines being package na...
verified fixed
6b99f94
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-24T10:59:22Z
2002-01-23T21:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/JavaElementLabelProvider.java
/** * Flag (bit mask) indicating that method label include method parameter types. */ public final static int SHOW_PARAMETERS= 0x002; /** * Flag (bit mask) indicating that the label of a member should include the container. * For example, include the name of the type enclosing a field. * @deprecated Us...
8,280
Bug 8280 Package view back/forward/up arrow hover help
Start up Eclipse with some existing Java Projects in the workspace. Select a package in one of these projects. Right-click and select Go Into. Hover over the Back arrow. Notice that a very tall tool-tip (full screen height) text appears, the first line being "Back to Java Model" and the remaining lines being package na...
verified fixed
6b99f94
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-24T10:59:22Z
2002-01-23T21:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/JavaElementLabelProvider.java
*/ public final static int SHOW_ROOT= 0x040; /** * Flag (bit mask) indicating that the label qualification of a type should * be shown after the name. * @deprecated SHOW_POST_QUALIFIED instead */ public final static int SHOW_POSTIFIX_QUALIFICATION= 0x080; /** * Flag (bit mask) indicating that the l...
8,280
Bug 8280 Package view back/forward/up arrow hover help
Start up Eclipse with some existing Java Projects in the workspace. Select a package in one of these projects. Right-click and select Go Into. Hover over the Back arrow. Notice that a very tall tool-tip (full screen height) text appears, the first line being "Back to Java Model" and the remaining lines being package na...
verified fixed
6b99f94
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-24T10:59:22Z
2002-01-23T21:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/JavaElementLabelProvider.java
* Examples: String - java.lang, size() - java.util.Vector */ public final static int SHOW_POST_QUALIFIED= 0x800; /** * Constant (value <code>0</code>) indicating that the label should show * the basic images only. */ public final static int SHOW_BASICS= 0x000; /** * Constant indicating the defau...
8,280
Bug 8280 Package view back/forward/up arrow hover help
Start up Eclipse with some existing Java Projects in the workspace. Select a package in one of these projects. Right-click and select Go Into. Hover over the Back arrow. Notice that a very tall tool-tip (full screen height) text appears, the first line being "Back to Java Model" and the remaining lines being package na...
verified fixed
6b99f94
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-24T10:59:22Z
2002-01-23T21:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/JavaElementLabelProvider.java
public JavaElementLabelProvider() { this(SHOW_DEFAULT); } /** * Creates a new label provider. * * @param flags the initial options; a bitwise OR of <code>SHOW_* </code> constants */ public JavaElementLabelProvider(int flags) { fImageLabelProvider= new JavaElementImageProvider(); fStorageLabelProvider= ...
8,280
Bug 8280 Package view back/forward/up arrow hover help
Start up Eclipse with some existing Java Projects in the workspace. Select a package in one of these projects. Right-click and select Go Into. Hover over the Back arrow. Notice that a very tall tool-tip (full screen height) text appears, the first line being "Back to Java Model" and the remaining lines being package na...
verified fixed
6b99f94
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-24T10:59:22Z
2002-01-23T21:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/JavaElementLabelProvider.java
/** * Turns off the rendering options specified in the given flags. * * @param flags the initial options; a bitwise OR of <code>SHOW_* </code> constants */ public void turnOff(int flags) { fFlags &= (~flags); updateImageProviderFlags(); updateTextProviderFlags(); } private void updateImageProviderFla...
8,280
Bug 8280 Package view back/forward/up arrow hover help
Start up Eclipse with some existing Java Projects in the workspace. Select a package in one of these projects. Right-click and select Go Into. Hover over the Back arrow. Notice that a very tall tool-tip (full screen height) text appears, the first line being "Back to Java Model" and the remaining lines being package na...
verified fixed
6b99f94
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-24T10:59:22Z
2002-01-23T21:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/JavaElementLabelProvider.java
if (getFlag(SHOW_CONTAINER)) { fTextFlags |= JavaElementLabels.P_POST_QUALIFIED | JavaElementLabels.T_POST_QUALIFIED | JavaElementLabels.CF_POST_QUALIFIED | JavaElementLabels.CU_POST_QUALIFIED | JavaElementLabels.M_POST_QUALIFIED | JavaElementLabels.F_POST_QUALIFIED; } if (getFlag(SHOW_POSTIFIX_QUALIFICATION)) ...
8,280
Bug 8280 Package view back/forward/up arrow hover help
Start up Eclipse with some existing Java Projects in the workspace. Select a package in one of these projects. Right-click and select Go Into. Hover over the Back arrow. Notice that a very tall tool-tip (full screen height) text appears, the first line being "Back to Java Model" and the remaining lines being package na...
verified fixed
6b99f94
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-24T10:59:22Z
2002-01-23T21:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/JavaElementLabelProvider.java
Image result= fImageLabelProvider.getImageLabel(element, fImageFlags); if (result != null) { return result; } if (element instanceof IStorage) return fStorageLabelProvider.getImage(element); return super.getImage(element); } /* (non-Javadoc) * @see ILabelProvider#getText */ public String getText(O...
8,085
Bug 8085 template pref page: exception while importing incorrect file
i tried to import this: <?xml version="1.0" encoding="UTF-8"?> <templatfes><template context="javadoc" description="author name" enabled="true" name="@author">@author ${user}</template></templates> which has an error i got an error dialog and this: 4 org.eclipse.jdt.ui 1 Internal Error org.eclipse.jdt.internal.ui.JavaU...
verified fixed
c333a9d
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-24T11:05:15Z
2002-01-23T12:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/TemplatePreferencePage.java
package org.eclipse.jdt.internal.ui.preferences; import java.io.File; import java.util.ArrayList; import java.util.Iterator; import java.util.List; import org.eclipse.swt.SWT; import org.eclipse.swt.graphics.Font; import org.eclipse.swt.layout.GridData; import org.eclipse.swt.layout.GridLayout; import org.eclipse.swt.w...
8,085
Bug 8085 template pref page: exception while importing incorrect file
i tried to import this: <?xml version="1.0" encoding="UTF-8"?> <templatfes><template context="javadoc" description="author name" enabled="true" name="@author">@author ${user}</template></templates> which has an error i got an error dialog and this: 4 org.eclipse.jdt.ui 1 Internal Error org.eclipse.jdt.internal.ui.JavaU...
verified fixed
c333a9d
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-24T11:05:15Z
2002-01-23T12:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/TemplatePreferencePage.java
import org.eclipse.jface.viewers.CheckboxTableViewer; import org.eclipse.jface.viewers.ColumnWeightData; import org.eclipse.jface.viewers.DoubleClickEvent; import org.eclipse.jface.viewers.ICheckStateListener; import org.eclipse.jface.viewers.IDoubleClickListener; import org.eclipse.jface.viewers.ISelectionChangedListe...
8,085
Bug 8085 template pref page: exception while importing incorrect file
i tried to import this: <?xml version="1.0" encoding="UTF-8"?> <templatfes><template context="javadoc" description="author name" enabled="true" name="@author">@author ${user}</template></templates> which has an error i got an error dialog and this: 4 org.eclipse.jdt.ui 1 Internal Error org.eclipse.jdt.internal.ui.JavaU...
verified fixed
c333a9d
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-24T11:05:15Z
2002-01-23T12:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/TemplatePreferencePage.java
private static final String PREF_FORMAT_TEMPLATES= JavaUI.ID_PLUGIN + ".template.format"; private Templates fTemplates; private CheckboxTableViewer fTableViewer; private Button fAddButton; private Button fEditButton; private Button fImportButton; private Button fExportButton; private Button fExportAllButton; p...
8,085
Bug 8085 template pref page: exception while importing incorrect file
i tried to import this: <?xml version="1.0" encoding="UTF-8"?> <templatfes><template context="javadoc" description="author name" enabled="true" name="@author">@author ${user}</template></templates> which has an error i got an error dialog and this: 4 org.eclipse.jdt.ui 1 Internal Error org.eclipse.jdt.internal.ui.JavaU...
verified fixed
c333a9d
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-24T11:05:15Z
2002-01-23T12:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/TemplatePreferencePage.java
setDescription(TemplateMessages.getString("TemplatePreferencePage.message")); fTemplates= Templates.getInstance(); } /** * @see PreferencePage#createContents(Composite) */ protected Control createContents(Composite ancestor) { Composite parent= new Composite(ancestor, SWT.NONE); GridLayout layout= new Gr...
8,085
Bug 8085 template pref page: exception while importing incorrect file
i tried to import this: <?xml version="1.0" encoding="UTF-8"?> <templatfes><template context="javadoc" description="author name" enabled="true" name="@author">@author ${user}</template></templates> which has an error i got an error dialog and this: 4 org.eclipse.jdt.ui 1 Internal Error org.eclipse.jdt.internal.ui.JavaU...
verified fixed
c333a9d
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-24T11:05:15Z
2002-01-23T12:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/TemplatePreferencePage.java
column3.setText(TemplateMessages.getString("TemplatePreferencePage.column.description")); tableLayout.addColumnData(new ColumnWeightData(30)); tableLayout.addColumnData(new ColumnWeightData(20)); tableLayout.addColumnData(new ColumnWeightData(70)); fTableViewer= new CheckboxTableViewer(table); fTableVie...
8,085
Bug 8085 template pref page: exception while importing incorrect file
i tried to import this: <?xml version="1.0" encoding="UTF-8"?> <templatfes><template context="javadoc" description="author name" enabled="true" name="@author">@author ${user}</template></templates> which has an error i got an error dialog and this: 4 org.eclipse.jdt.ui 1 Internal Error org.eclipse.jdt.internal.ui.JavaU...
verified fixed
c333a9d
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-24T11:05:15Z
2002-01-23T12:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/TemplatePreferencePage.java
}); fTableViewer.addSelectionChangedListener(new ISelectionChangedListener() { public void selectionChanged(SelectionChangedEvent e) { selectionChanged1(); } }); fTableViewer.addCheckStateListener(new ICheckStateListener() { public void checkStateChanged(CheckStateChangedEvent event) { Templat...
8,085
Bug 8085 template pref page: exception while importing incorrect file
i tried to import this: <?xml version="1.0" encoding="UTF-8"?> <templatfes><template context="javadoc" description="author name" enabled="true" name="@author">@author ${user}</template></templates> which has an error i got an error dialog and this: 4 org.eclipse.jdt.ui 1 Internal Error org.eclipse.jdt.internal.ui.JavaU...
verified fixed
c333a9d
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-24T11:05:15Z
2002-01-23T12:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/TemplatePreferencePage.java
fEditButton.setText(TemplateMessages.getString("TemplatePreferencePage.edit")); fEditButton.addListener(SWT.Selection, new Listener() { public void handleEvent(Event e) { edit(); } }); fRemoveButton= new Button(buttons, SWT.PUSH); fRemoveButton.setLayoutData(getButtonGridData(fRemoveButton)); fRemo...
8,085
Bug 8085 template pref page: exception while importing incorrect file
i tried to import this: <?xml version="1.0" encoding="UTF-8"?> <templatfes><template context="javadoc" description="author name" enabled="true" name="@author">@author ${user}</template></templates> which has an error i got an error dialog and this: 4 org.eclipse.jdt.ui 1 Internal Error org.eclipse.jdt.internal.ui.JavaU...
verified fixed
c333a9d
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-24T11:05:15Z
2002-01-23T12:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/TemplatePreferencePage.java
} }); fExportAllButton= new Button(buttons, SWT.PUSH); fExportAllButton.setLayoutData(getButtonGridData(fExportAllButton)); fExportAllButton.setText(TemplateMessages.getString("TemplatePreferencePage.export.all")); fExportAllButton.addListener(SWT.Selection, new Listener() { public void handleEvent(Event ...
8,085
Bug 8085 template pref page: exception while importing incorrect file
i tried to import this: <?xml version="1.0" encoding="UTF-8"?> <templatfes><template context="javadoc" description="author name" enabled="true" name="@author">@author ${user}</template></templates> which has an error i got an error dialog and this: 4 org.eclipse.jdt.ui 1 Internal Error org.eclipse.jdt.internal.ui.JavaU...
verified fixed
c333a9d
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-24T11:05:15Z
2002-01-23T12:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/TemplatePreferencePage.java
createSpacer(parent); fFormatButton= new Button(parent, SWT.CHECK); fFormatButton.setText(TemplateMessages.getString("TemplatePreferencePage.use.code.formatter")); fTableViewer.setInput(fTemplates); fTableViewer.setAllChecked(false); fTableViewer.setCheckedElements(getEnabledTemplates()); IPreferenceSt...
8,085
Bug 8085 template pref page: exception while importing incorrect file
i tried to import this: <?xml version="1.0" encoding="UTF-8"?> <templatfes><template context="javadoc" description="author name" enabled="true" name="@author">@author ${user}</template></templates> which has an error i got an error dialog and this: 4 org.eclipse.jdt.ui 1 Internal Error org.eclipse.jdt.internal.ui.JavaU...
verified fixed
c333a9d
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-24T11:05:15Z
2002-01-23T12:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/TemplatePreferencePage.java
viewer.setEditable(false); viewer.setDocument(new Document()); Font font= JFaceResources.getFontRegistry().get(JFaceResources.TEXT_FONT); viewer.getTextWidget().setFont(font); Control control= viewer.getControl(); GridData data= new GridData(GridData.FILL_BOTH); data.heightHint= convertHeightInCharsToP...
8,085
Bug 8085 template pref page: exception while importing incorrect file
i tried to import this: <?xml version="1.0" encoding="UTF-8"?> <templatfes><template context="javadoc" description="author name" enabled="true" name="@author">@author ${user}</template></templates> which has an error i got an error dialog and this: 4 org.eclipse.jdt.ui 1 Internal Error org.eclipse.jdt.internal.ui.JavaU...
verified fixed
c333a9d
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-24T11:05:15Z
2002-01-23T12:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/TemplatePreferencePage.java
private void selectionChanged1() { IStructuredSelection selection= (IStructuredSelection) fTableViewer.getSelection(); if (selection.size() == 1) { Template template= (Template) selection.getFirstElement(); fPatternViewer.getTextWidget().setText(template.getPattern()); } else { fPatternViewer.getText...
8,085
Bug 8085 template pref page: exception while importing incorrect file
i tried to import this: <?xml version="1.0" encoding="UTF-8"?> <templatfes><template context="javadoc" description="author name" enabled="true" name="@author">@author ${user}</template></templates> which has an error i got an error dialog and this: 4 org.eclipse.jdt.ui 1 Internal Error org.eclipse.jdt.internal.ui.JavaU...
verified fixed
c333a9d
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-24T11:05:15Z
2002-01-23T12:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/TemplatePreferencePage.java
fTableViewer.refresh(); fTableViewer.setChecked(template, template.isEnabled()); fTableViewer.setSelection(new StructuredSelection(template)); } } private void edit() { IStructuredSelection selection= (IStructuredSelection) fTableViewer.getSelection(); Object[] objects= selection.toArray(); if ((ob...
8,085
Bug 8085 template pref page: exception while importing incorrect file
i tried to import this: <?xml version="1.0" encoding="UTF-8"?> <templatfes><template context="javadoc" description="author name" enabled="true" name="@author">@author ${user}</template></templates> which has an error i got an error dialog and this: 4 org.eclipse.jdt.ui 1 Internal Error org.eclipse.jdt.internal.ui.JavaU...
verified fixed
c333a9d
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-24T11:05:15Z
2002-01-23T12:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/TemplatePreferencePage.java
return; try { fTemplates.addFromFile(new File(path)); fTableViewer.refresh(); fTableViewer.setAllChecked(false); fTableViewer.setCheckedElements(getEnabledTemplates()); } catch (CoreException e) { JavaPlugin.log(e); openReadErrorDialog(e); } } private void exportAll() { export(fT...
8,085
Bug 8085 template pref page: exception while importing incorrect file
i tried to import this: <?xml version="1.0" encoding="UTF-8"?> <templatfes><template context="javadoc" description="author name" enabled="true" name="@author">@author ${user}</template></templates> which has an error i got an error dialog and this: 4 org.eclipse.jdt.ui 1 Internal Error org.eclipse.jdt.internal.ui.JavaU...
verified fixed
c333a9d
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-24T11:05:15Z
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,085
Bug 8085 template pref page: exception while importing incorrect file
i tried to import this: <?xml version="1.0" encoding="UTF-8"?> <templatfes><template context="javadoc" description="author name" enabled="true" name="@author">@author ${user}</template></templates> which has an error i got an error dialog and this: 4 org.eclipse.jdt.ui 1 Internal Error org.eclipse.jdt.internal.ui.JavaU...
verified fixed
c333a9d
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-24T11:05:15Z
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,085
Bug 8085 template pref page: exception while importing incorrect file
i tried to import this: <?xml version="1.0" encoding="UTF-8"?> <templatfes><template context="javadoc" description="author name" enabled="true" name="@author">@author ${user}</template></templates> which has an error i got an error dialog and this: 4 org.eclipse.jdt.ui 1 Internal Error org.eclipse.jdt.internal.ui.JavaU...
verified fixed
c333a9d
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-24T11:05:15Z
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,085
Bug 8085 template pref page: exception while importing incorrect file
i tried to import this: <?xml version="1.0" encoding="UTF-8"?> <templatfes><template context="javadoc" description="author name" enabled="true" name="@author">@author ${user}</template></templates> which has an error i got an error dialog and this: 4 org.eclipse.jdt.ui 1 Internal Error org.eclipse.jdt.internal.ui.JavaU...
verified fixed
c333a9d
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-24T11:05:15Z
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,085
Bug 8085 template pref page: exception while importing incorrect file
i tried to import this: <?xml version="1.0" encoding="UTF-8"?> <templatfes><template context="javadoc" description="author name" enabled="true" name="@author">@author ${user}</template></templates> which has an error i got an error dialog and this: 4 org.eclipse.jdt.ui 1 Internal Error org.eclipse.jdt.internal.ui.JavaU...
verified fixed
c333a9d
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-24T11:05:15Z
2002-01-23T12:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/template/TemplateSet.java
/* * (c) Copyright IBM Corp. 2000, 2001. * All Rights Reserved. */ package org.eclipse.jdt.internal.ui.text.template; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.util.ArrayList; ...
8,085
Bug 8085 template pref page: exception while importing incorrect file
i tried to import this: <?xml version="1.0" encoding="UTF-8"?> <templatfes><template context="javadoc" description="author name" enabled="true" name="@author">@author ${user}</template></templates> which has an error i got an error dialog and this: 4 org.eclipse.jdt.ui 1 Internal Error org.eclipse.jdt.internal.ui.JavaU...
verified fixed
c333a9d
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-24T11:05:15Z
2002-01-23T12:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/template/TemplateSet.java
import org.w3c.dom.NodeList; import org.w3c.dom.Text; import org.xml.sax.InputSource; import org.xml.sax.SAXException; import org.eclipse.jdt.internal.ui.JavaStatusConstants; import org.eclipse.jdt.internal.ui.JavaUIErrorStatus; import org.eclipse.jdt.internal.ui.JavaUIException; /** * <code>TemplateSet</code> manages...
8,085
Bug 8085 template pref page: exception while importing incorrect file
i tried to import this: <?xml version="1.0" encoding="UTF-8"?> <templatfes><template context="javadoc" description="author name" enabled="true" name="@author">@author ${user}</template></templates> which has an error i got an error dialog and this: 4 org.eclipse.jdt.ui 1 Internal Error org.eclipse.jdt.internal.ui.JavaU...
verified fixed
c333a9d
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-24T11:05:15Z
2002-01-23T12:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/template/TemplateSet.java
private static final String CONTEXT_ATTRIBUTE= "context"; private static final String ENABLED_ATTRIBUTE= "enabled"; private List fTemplates= new ArrayList(); private Comparator fTemplateComparator= new TemplateComparator(); private Template[] fSortedTemplates= new Template[0]; /** * Convenience method for re...
8,085
Bug 8085 template pref page: exception while importing incorrect file
i tried to import this: <?xml version="1.0" encoding="UTF-8"?> <templatfes><template context="javadoc" description="author name" enabled="true" name="@author">@author ${user}</template></templates> which has an error i got an error dialog and this: 4 org.eclipse.jdt.ui 1 Internal Error org.eclipse.jdt.internal.ui.JavaU...
verified fixed
c333a9d
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-24T11:05:15Z
2002-01-23T12:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/template/TemplateSet.java
DocumentBuilderFactory factory= DocumentBuilderFactory.newInstance(); DocumentBuilder parser= factory.newDocumentBuilder(); Document document= parser.parse(new InputSource(stream)); NodeList elements= document.getElementsByTagName(TEMPLATE_TAG); int count= elements.getLength(); for (int i= 0; i != ...
8,085
Bug 8085 template pref page: exception while importing incorrect file
i tried to import this: <?xml version="1.0" encoding="UTF-8"?> <templatfes><template context="javadoc" description="author name" enabled="true" name="@author">@author ${user}</template></templates> which has an error i got an error dialog and this: 4 org.eclipse.jdt.ui 1 Internal Error org.eclipse.jdt.internal.ui.JavaU...
verified fixed
c333a9d
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-24T11:05:15Z
2002-01-23T12:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/template/TemplateSet.java
} catch (ParserConfigurationException e) { throwReadException(e); } catch (IOException e) { throwReadException(e); } catch (SAXException e) { throwReadException(e); } } /** * Convenience method for saving to a file. * * @see saveToStream(OutputStream) */ public void saveToFile(File file) thro...
8,085
Bug 8085 template pref page: exception while importing incorrect file
i tried to import this: <?xml version="1.0" encoding="UTF-8"?> <templatfes><template context="javadoc" description="author name" enabled="true" name="@author">@author ${user}</template></templates> which has an error i got an error dialog and this: 4 org.eclipse.jdt.ui 1 Internal Error org.eclipse.jdt.internal.ui.JavaU...
verified fixed
c333a9d
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-24T11:05:15Z
2002-01-23T12:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/template/TemplateSet.java
*/ public void saveToStream(OutputStream stream) throws CoreException { try { DocumentBuilderFactory factory= DocumentBuilderFactory.newInstance(); DocumentBuilder builder= factory.newDocumentBuilder(); Document document= builder.newDocument(); Node root= document.createElement("templates"); docume...
8,085
Bug 8085 template pref page: exception while importing incorrect file
i tried to import this: <?xml version="1.0" encoding="UTF-8"?> <templatfes><template context="javadoc" description="author name" enabled="true" name="@author">@author ${user}</template></templates> which has an error i got an error dialog and this: 4 org.eclipse.jdt.ui 1 Internal Error org.eclipse.jdt.internal.ui.JavaU...
verified fixed
c333a9d
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-24T11:05:15Z
2002-01-23T12:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/template/TemplateSet.java
attributes.setNamedItem(enabled); Text pattern= document.createTextNode(template.getPattern()); node.appendChild(pattern); } OutputFormat format = new OutputFormat(); format.setPreserveSpace(true); Serializer serializer = SerializerFactory.getSerializerFactory("xml").makeSerializer(str...
8,085
Bug 8085 template pref page: exception while importing incorrect file
i tried to import this: <?xml version="1.0" encoding="UTF-8"?> <templatfes><template context="javadoc" description="author name" enabled="true" name="@author">@author ${user}</template></templates> which has an error i got an error dialog and this: 4 org.eclipse.jdt.ui 1 Internal Error org.eclipse.jdt.internal.ui.JavaU...
verified fixed
c333a9d
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-24T11:05:15Z
2002-01-23T12:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/template/TemplateSet.java
public void add(Template template) { if (exists(template)) return; fTemplates.add(template); sort(); } private boolean exists(Template template) { for (Iterator iterator = fTemplates.iterator(); iterator.hasNext();) { Template anotherTemplate = (Template) iterator.next(); if (template.equals(anot...
8,085
Bug 8085 template pref page: exception while importing incorrect file
i tried to import this: <?xml version="1.0" encoding="UTF-8"?> <templatfes><template context="javadoc" description="author name" enabled="true" name="@author">@author ${user}</template></templates> which has an error i got an error dialog and this: 4 org.eclipse.jdt.ui 1 Internal Error org.eclipse.jdt.internal.ui.JavaU...
verified fixed
c333a9d
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-24T11:05:15Z
2002-01-23T12:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/template/TemplateSet.java
} /** * Returns all templates. */ public Template[] getTemplates() { return (Template[]) fTemplates.toArray(new Template[fTemplates.size()]); } /** * Returns templates matching a prefix. */ public Template[] getMatchingTemplates(TemplateContext context) { String prefix= context.getKey(); String t...
3,658
Bug 3658 JDT change listener efficiency issue (1GEMN5F)
ClassFileMarkerAnnotationModel.visit is very much less than optimal if fMarkerResource is set. It traverses the entire delta only looking for a particular resource! I don't understand when fMarkerResource is set and when it is not but in the case I saw, it was set to be a particular project resource which was not even ...
resolved fixed
f938ef0
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-24T16:12:45Z
2001-10-11T03:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileMarkerAnnotationModel.java
package org.eclipse.jdt.internal.ui.javaeditor; /* * (c) Copyright IBM Corp. 2000, 2001. * All Rights Reserved. */ import org.eclipse.core.resources.IMarker; import org.eclipse.core.resources.IMarkerDelta; import org.eclipse.core.resources.IResource; import org.eclipse.core.resources.IResourceChangeEvent; import org...
3,658
Bug 3658 JDT change listener efficiency issue (1GEMN5F)
ClassFileMarkerAnnotationModel.visit is very much less than optimal if fMarkerResource is set. It traverses the entire delta only looking for a particular resource! I don't understand when fMarkerResource is set and when it is not but in the case I saw, it was set to be a particular project resource which was not even ...
resolved fixed
f938ef0
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-24T16:12:45Z
2001-10-11T03:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileMarkerAnnotationModel.java
protected boolean fChangesApplied; public ClassFileMarkerAnnotationModel(IResource markerResource) { super(); fMarkerResource= markerResource; fWorkspace= fMarkerResource.getWorkspace(); } public void setClassFile(IClassFile classFile) { fClassFile= classFile; } /** * @see AbstractMarkerAnnotationM...
3,658
Bug 3658 JDT change listener efficiency issue (1GEMN5F)
ClassFileMarkerAnnotationModel.visit is very much less than optimal if fMarkerResource is set. It traverses the entire delta only looking for a particular resource! I don't understand when fMarkerResource is set and when it is not but in the case I saw, it was set to be a particular project resource which was not even ...
resolved fixed
f938ef0
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-24T16:12:45Z
2001-10-11T03:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileMarkerAnnotationModel.java
} } /** * @see AbstractMarkerAnnotationModel#createMarkerAnnotation(IMarker) */ protected MarkerAnnotation createMarkerAnnotation(IMarker marker) { return new JavaMarkerAnnotation(marker); } /** * @see AbstractMarkerAnnotationModel#listenToMarkerChanges(boolean) */ protected void listenToMarkerChang...
3,658
Bug 3658 JDT change listener efficiency issue (1GEMN5F)
ClassFileMarkerAnnotationModel.visit is very much less than optimal if fMarkerResource is set. It traverses the entire delta only looking for a particular resource! I don't understand when fMarkerResource is set and when it is not but in the case I saw, it was set to be a particular project resource which was not even ...
resolved fixed
f938ef0
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-24T16:12:45Z
2001-10-11T03:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileMarkerAnnotationModel.java
return fMarkerResource.findMarkers(IMarker.MARKER, true, IResource.DEPTH_INFINITE); } /** * @see IResourceDeltaVisitor#visit */ public boolean visit(IResourceDelta delta) throws CoreException { if (delta != null) { if (fMarkerResource != null && !fMarkerResource.equals(delta.getResource())) r...
3,658
Bug 3658 JDT change listener efficiency issue (1GEMN5F)
ClassFileMarkerAnnotationModel.visit is very much less than optimal if fMarkerResource is set. It traverses the entire delta only looking for a particular resource! I don't understand when fMarkerResource is set and when it is not but in the case I saw, it was set to be a particular project resource which was not even ...
resolved fixed
f938ef0
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-24T16:12:45Z
2001-10-11T03:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileMarkerAnnotationModel.java
} } } return (fMarkerResource == null); } return false; } /** * @see IResourceChangeListener#resourceChanged */ public void resourceChanged(IResourceChangeEvent e) { IResourceDelta delta= e.getDelta(); try { if (delta != null) { fChangesApplied= false; delta.accept(this)...
8,221
Bug 8221 NPE in refactoring preview page (Pull up)
1. select TestCase.setUp and invoke 'Pull Up' 2. In the delete tree check all elements, press next 3. Open the 'VectorTest.java' tree and select the node 'Delete....' -> 4 org.eclipse.core.runtime 0 java.lang.NullPointerException java.lang.NullPointerException at org.eclipse.jdt.internal.ui.refactoring.ComparePreviewer...
verified fixed
c2780ff
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-24T16:15:40Z
2002-01-23T18:20:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/reorg/PasteInCompilationUnitEdit.java
package org.eclipse.jdt.internal.ui.reorg; import org.eclipse.core.runtime.CoreException; import org.eclipse.jdt.core.ICompilationUnit; import org.eclipse.jdt.core.IImportContainer; import org.eclipse.jdt.core.IJavaElement; import org.eclipse.jdt.core.IPackageDeclaration; import org.eclipse.jdt.core.IType; import org.e...
8,221
Bug 8221 NPE in refactoring preview page (Pull up)
1. select TestCase.setUp and invoke 'Pull Up' 2. In the delete tree check all elements, press next 3. Open the 'VectorTest.java' tree and select the node 'Delete....' -> 4 org.eclipse.core.runtime 0 java.lang.NullPointerException java.lang.NullPointerException at org.eclipse.jdt.internal.ui.refactoring.ComparePreviewer...
verified fixed
c2780ff
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-24T16:15:40Z
2002-01-23T18:20:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/reorg/PasteInCompilationUnitEdit.java
private String fSource; private int fType; private ICompilationUnit fCu; protected PasteInCompilationUnitEdit(String source, int type, ICompilationUnit cu) { Assert.isNotNull(source); fSource= source; Assert.isTrue(type == IJavaElement.PACKAGE_DECLARATION || type == IJavaElement.IMPORT_CONTAINER ...
8,221
Bug 8221 NPE in refactoring preview page (Pull up)
1. select TestCase.setUp and invoke 'Pull Up' 2. In the delete tree check all elements, press next 3. Open the 'VectorTest.java' tree and select the node 'Delete....' -> 4 org.eclipse.core.runtime 0 java.lang.NullPointerException java.lang.NullPointerException at org.eclipse.jdt.internal.ui.refactoring.ComparePreviewer...
verified fixed
c2780ff
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-24T16:15:40Z
2002-01-23T18:20:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/reorg/PasteInCompilationUnitEdit.java
return new PasteInCompilationUnitEdit(fSource, fType, fCu); } /* non Java-doc * @see TextEdit#connect */ public void connect(TextBufferEditor editor) throws CoreException { setText(fSource); setTextRange(new TextRange(computeOffset(), 0)); } private int computeOffset() throws JavaModelException{ swit...
8,221
Bug 8221 NPE in refactoring preview page (Pull up)
1. select TestCase.setUp and invoke 'Pull Up' 2. In the delete tree check all elements, press next 3. Open the 'VectorTest.java' tree and select the node 'Delete....' -> 4 org.eclipse.core.runtime 0 java.lang.NullPointerException java.lang.NullPointerException at org.eclipse.jdt.internal.ui.refactoring.ComparePreviewer...
verified fixed
c2780ff
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-24T16:15:40Z
2002-01-23T18:20:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/reorg/PasteInCompilationUnitEdit.java
return 0; return declarations[0].getSourceRange().getOffset(); } private int computeOffsetForImportContainer() throws JavaModelException{ IImportContainer container= fCu.getImportContainer(); if (container.exists()) return container.getSourceRange().getOffset(); IPackageDeclaration[] declarations=...
4,914
Bug 4914 can't extract class expression
class B{ Object m(){ return /*[*/B.class/*]*/; } } cannot extract the selected fragment
verified fixed
3688645
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-24T18:51:39Z
2001-10-12T09:46:40Z
org.eclipse.jdt.ui.tests.refactoring/resources/ExtractMethodWorkSpace/ExtractMethodTests/A.java
public class A{ String f(int y, int z, boolean ff){ try{ } catch (Exception e){ } return null; } void f(){} }
4,914
Bug 4914 can't extract class expression
class B{ Object m(){ return /*[*/B.class/*]*/; } } cannot extract the selected fragment
verified fixed
3688645
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-24T18:51:39Z
2001-10-12T09:46:40Z
org.eclipse.jdt.ui.tests.refactoring/resources/ExtractMethodWorkSpace/ExtractMethodTests/X.java
import java.io.*; public class X { void foo(final int out){ new Object(){ void bar(){ System.out.println(out); } }; } }
6,680
Bug 6680 extract method: incorrect return statement inserted - compile errors
class A { int i(){ return 0;} void m(){ /*[*/i(); m();/*]*/ } } refactors incorectly to: class A { int i(){ return 0;} void m(){ xxx();/*]*/ } private int xxx() { return /*[*/i(); m(); } }
resolved fixed
166ec63
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-24T19:47:15Z
2001-12-07T18:33:20Z
org.eclipse.jdt.ui.tests.refactoring/resources/ExtractMethodWorkSpace/ExtractMethodTests/A.java
class A{ void m(){ int i= 1 + 1; if (i < 0){ i += i; return; } else m(); } }
4,131
Bug 4131 extract method: missing exception declaration (1GIUPJ3)
AK (8/22/2001 10:23:30 AM) 1. public class A { void m() throws Exception{ /*[*/try{ for (;;){ } }catch(Exception e){ throw new Exception(); }/*]*/ } } 2. extract from /*[*/ to /*]*/ 3. the new method is missing the exception declaratio which results in compile error NOTES:
resolved fixed
0a63615
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-25T15:49:14Z
2001-10-11T03:13:20Z
org.eclipse.jdt.ui.tests.refactoring/resources/ExtractMethodWorkSpace/ExtractMethodTests/A.java
class A { int i(){ return 0;} void m(){ i(); m(); } }
6,064
Bug 6064 Open on selection shouldn't require selection
Build 20011116 - move the text insertion point into the middle of a type name in a Java editor - press F3 - it has no effect It would be better if it opened on the current word. (I notice that it currently works for a partial selection, if the selection includes the start of the type name, as if it's doing code-assist ...
resolved fixed
b7e598e
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-25T17:36:44Z
2001-11-19T14:26:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/OpenHierarchyOnSelectionAction.java
package org.eclipse.jdt.internal.ui.javaeditor; /* * (c) Copyright IBM Corp. 2000, 2001. * All Rights Reserved. */ import org.eclipse.jface.resource.ImageDescriptor; import org.eclipse.jface.text.ITextSelection; import org.eclipse.ui.PartInitException; import org.eclipse.ui.texteditor.ITextEditor; import org.eclip...
6,064
Bug 6064 Open on selection shouldn't require selection
Build 20011116 - move the text insertion point into the middle of a type name in a Java editor - press F3 - it has no effect It would be better if it opened on the current word. (I notice that it currently works for a partial selection, if the selection includes the start of the type name, as if it's doing code-assist ...
resolved fixed
b7e598e
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-25T17:36:44Z
2001-11-19T14:26:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/OpenHierarchyOnSelectionAction.java
public OpenHierarchyOnSelectionAction(ImageDescriptor image, ITextEditor editor) { this(); setImageDescriptor(image); setContentEditor(editor); } public OpenHierarchyOnSelectionAction() { super(); setText(JavaEditorMessages.getString("OpenHierarchy.label")); setToolTipText(JavaEditorMessages.getString(...
6,064
Bug 6064 Open on selection shouldn't require selection
Build 20011116 - move the text insertion point into the middle of a type name in a Java editor - press F3 - it has no effect It would be better if it opened on the current word. (I notice that it currently works for a partial selection, if the selection includes the start of the type name, as if it's doing code-assist ...
resolved fixed
b7e598e
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-25T17:36:44Z
2001-11-19T14:26:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/OpenHierarchyOnSelectionAction.java
setDialogTitle(JavaEditorMessages.getString("OpenHierarchy.dialog.title")); setDialogMessage(JavaEditorMessages.getString("OpenHierarchy.dialog.message")); } /** * Overwrites OpenOnSelectionAction#setContentEditor * No installation of a selection listener -> empty selection ok */ public void setContentEd...
6,064
Bug 6064 Open on selection shouldn't require selection
Build 20011116 - move the text insertion point into the middle of a type name in a Java editor - press F3 - it has no effect It would be better if it opened on the current word. (I notice that it currently works for a partial selection, if the selection includes the start of the type name, as if it's doing code-assist ...
resolved fixed
b7e598e
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-25T17:36:44Z
2001-11-19T14:26:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/OpenOnSelectionAction.java
package org.eclipse.jdt.internal.ui.javaeditor; /* * (c) Copyright IBM Corp. 2000, 2001. * All Rights Reserved. */ import java.util.List; import java.util.ResourceBundle; import org.eclipse.swt.widgets.Shell; import org.eclipse.jface.resource.ImageDescriptor; import org.eclipse.jface.text.ITextSelection; import org....
6,064
Bug 6064 Open on selection shouldn't require selection
Build 20011116 - move the text insertion point into the middle of a type name in a Java editor - press F3 - it has no effect It would be better if it opened on the current word. (I notice that it currently works for a partial selection, if the selection includes the start of the type name, as if it's doing code-assist ...
resolved fixed
b7e598e
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-25T17:36:44Z
2001-11-19T14:26:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/OpenOnSelectionAction.java
class SelectionChangedListener implements ISelectionChangedListener { /* * @see ISelectionChangedListener#selectionChanged(SelectionChangedEvent) */ public void selectionChanged(SelectionChangedEvent event) { ISelection s= event.getSelection(); if (s instanceof ITextSelection) { ITextSelection ts...
6,064
Bug 6064 Open on selection shouldn't require selection
Build 20011116 - move the text insertion point into the middle of a type name in a Java editor - press F3 - it has no effect It would be better if it opened on the current word. (I notice that it currently works for a partial selection, if the selection includes the start of the type name, as if it's doing code-assist ...
resolved fixed
b7e598e
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-25T17:36:44Z
2001-11-19T14:26:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/OpenOnSelectionAction.java
setText(JavaEditorMessages.getString("OpenOnSelection.label")); setToolTipText(JavaEditorMessages.getString("OpenOnSelection.tooltip")); setDescription(JavaEditorMessages.getString("OpenOnSelection.description")); setDialogTitle(JavaEditorMessages.getString("OpenOnSelection.dialog.title")); setDialogMessage...
6,064
Bug 6064 Open on selection shouldn't require selection
Build 20011116 - move the text insertion point into the middle of a type name in a Java editor - press F3 - it has no effect It would be better if it opened on the current word. (I notice that it currently works for a partial selection, if the selection includes the start of the type name, as if it's doing code-assist ...
resolved fixed
b7e598e
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-25T17:36:44Z
2001-11-19T14:26:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/OpenOnSelectionAction.java
fEditor= editor; if (fEditor != null) { ISelectionProvider p= fEditor.getSelectionProvider(); if (p != null) p.addSelectionChangedListener(fListener); } } protected ICodeAssist getCodeAssist() { IEditorInput input= fEditor.getEditorInput(); if (input instanceof IClassFileEditorInput) { IClassFi...
6,064
Bug 6064 Open on selection shouldn't require selection
Build 20011116 - move the text insertion point into the middle of a type name in a Java editor - press F3 - it has no effect It would be better if it opened on the current word. (I notice that it currently works for a partial selection, if the selection includes the start of the type name, as if it's doing code-assist ...
resolved fixed
b7e598e
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-25T17:36:44Z
2001-11-19T14:26:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/OpenOnSelectionAction.java
if (result != null && result.length > 0) { List filtered= filterResolveResults(result); IJavaElement selected= selectJavaElement(filtered, getShell(), fDialogTitle, fDialogMessage); if (selected != null) { open(selected); return; } } } else { openOnEmptySelection(sele...
8,321
Bug 8321 Refactoring Preferences Page should capitalize button titles
The button titles on the Java->Refactoring preference page should be capitalized
verified fixed
6a5fadc
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-25T19:14:27Z
2002-01-23T21:06:40Z
org.eclipse.jdt.ui.tests.refactoring/resources/ExtractMethodWorkSpace/ExtractMethodTests/A.java
public class A { void m() throws Exception{ try{ for (;;){ } }catch(Exception e){ throw new Exception(); } } }
8,476
Bug 8476 JAR Packager: Make main class field editable
null
resolved fixed
9d526a8
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-28T18:26:05Z
2002-01-25T14:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/jarpackager/JarManifestWizardPage.java
/* * (c) Copyright IBM Corp. 2000, 2001. * All Rights Reserved. */ package org.eclipse.jdt.internal.ui.jarpackager; import java.util.ArrayList; import java.util.Arrays; import java.util.Iterator; import java.util.List; import java.util.Set; import org.eclipse.core.resources.IFile; import org.eclipse.core.resources.I...
8,476
Bug 8476 JAR Packager: Make main class field editable
null
resolved fixed
9d526a8
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-28T18:26:05Z
2002-01-25T14:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/jarpackager/JarManifestWizardPage.java
import org.eclipse.jface.viewers.ILabelProvider; import org.eclipse.jface.viewers.ITreeContentProvider; import org.eclipse.jface.wizard.IWizardPage; import org.eclipse.jface.wizard.WizardPage; import org.eclipse.ui.dialogs.SaveAsDialog; import org.eclipse.ui.dialogs.SelectionDialog; import org.eclipse.ui.help.DialogPag...
8,476
Bug 8476 JAR Packager: Make main class field editable
null
resolved fixed
9d526a8
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-28T18:26:05Z
2002-01-25T14:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/jarpackager/JarManifestWizardPage.java
private class UntypedListener implements Listener { /* * Implements method from Listener */ public void handleEvent(Event e) { if (getControl() == null) return; update(); } } private UntypedListener fUntypedListener= new UntypedListener(); private JarPackage fJarPackage; private Composi...
8,476
Bug 8476 JAR Packager: Make main class field editable
null
resolved fixed
9d526a8
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-28T18:26:05Z
2002-01-25T14:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/jarpackager/JarManifestWizardPage.java
private Label fManifestFileLabel; private Button fManifestFileBrowseButton; private Label fSealingHeaderLabel; private Button fSealJarRadioButton; private Label fSealJarLabel; private Button fSealedPackagesDetailsButton; private Button fSealPackagesRadioButton; private Label fSealPackagesLabel; priva...
8,476
Bug 8476 JAR Packager: Make main class field editable
null
resolved fixed
9d526a8
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-28T18:26:05Z
2002-01-25T14:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/jarpackager/JarManifestWizardPage.java
*/ public JarManifestWizardPage(JarPackage jarPackage) { super(PAGE_NAME); setTitle(JarPackagerMessages.getString("JarManifestWizardPage.title")); setDescription(JarPackagerMessages.getString("JarManifestWizardPage.description")); fJarPackage= jarPackage; } /* * Method declared on IDialogPage. */ pu...
8,476
Bug 8476 JAR Packager: Make main class field editable
null
resolved fixed
9d526a8
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-28T18:26:05Z
2002-01-25T14:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/jarpackager/JarManifestWizardPage.java
update(); WorkbenchHelp.setHelp(composite, new DialogPageContextComputer(this, IJavaHelpContextIds.JARMANIFEST_WIZARD_PAGE)); } /** * Create the export options specification widgets. * * @param parent org.eclipse.swt.widgets.Composite */ protected void createManifestGroup(Composite parent) { ...
8,476
Bug 8476 JAR Packager: Make main class field editable
null
resolved fixed
9d526a8
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-28T18:26:05Z
2002-01-25T14:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/jarpackager/JarManifestWizardPage.java
fReuseManifestCheckbox.setText(JarPackagerMessages.getString("JarManifestWizardPage.reuseManifest.text")); fReuseManifestCheckbox.addListener(SWT.MouseUp, fUntypedListener); createNewManifestFileGroup(saveOptions); fUseManifestRadioButton= new Button(fManifestGroup, SWT.RADIO | SWT.LEFT); fUseManifestRad...
8,476
Bug 8476 JAR Packager: Make main class field editable
null
resolved fixed
9d526a8
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-28T18:26:05Z
2002-01-25T14:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/jarpackager/JarManifestWizardPage.java
GridData data= new GridData(GridData.HORIZONTAL_ALIGN_FILL | GridData.GRAB_HORIZONTAL); data.widthHint= convertWidthInCharsToPixels(40); fNewManifestFileText.setLayoutData(data); fNewManifestFileBrowseButton= new Button(manifestFileGroup, SWT.PUSH); fNewManifestFileBrowseButton.setText(JarPackagerMessages.ge...
8,476
Bug 8476 JAR Packager: Make main class field editable
null
resolved fixed
9d526a8
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-28T18:26:05Z
2002-01-25T14:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/jarpackager/JarManifestWizardPage.java
fManifestFileText.setLayoutData(data); fManifestFileBrowseButton= new Button(manifestFileGroup, SWT.PUSH); fManifestFileBrowseButton.setText(JarPackagerMessages.getString("JarManifestWizardPage.manifestFileBrowse.text")); fManifestFileBrowseButton.setLayoutData(new GridData(GridData.HORIZONTAL_ALIGN_FILL)); ...
8,476
Bug 8476 JAR Packager: Make main class field editable
null
resolved fixed
9d526a8
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-28T18:26:05Z
2002-01-25T14:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/jarpackager/JarManifestWizardPage.java
* * @param parent the parent control */ protected void createSealJarGroup(Composite sealGroup) { fSealJarRadioButton= new Button(sealGroup, SWT.RADIO); fSealJarRadioButton.setText(JarPackagerMessages.getString("JarManifestWizardPage.sealJar.text")); fSealJarRadioButton.addListener(SWT.Selection, fUntypedLis...
8,476
Bug 8476 JAR Packager: Make main class field editable
null
resolved fixed
9d526a8
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-28T18:26:05Z
2002-01-25T14:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/jarpackager/JarManifestWizardPage.java
fSealPackagesLabel.setLayoutData(new GridData(GridData.HORIZONTAL_ALIGN_FILL | GridData.GRAB_HORIZONTAL)); fSealPackagesLabel.setText(""); fSealedPackagesDetailsButton= new Button(sealGroup, SWT.PUSH); fSealedPackagesDetailsButton.setLayoutData(new GridData(GridData.HORIZONTAL_ALIGN_FILL)); fSealedPackagesDeta...
8,476
Bug 8476 JAR Packager: Make main class field editable
null
resolved fixed
9d526a8
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-28T18:26:05Z
2002-01-25T14:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/jarpackager/JarManifestWizardPage.java
fMainClassBrowseButton.addSelectionListener(new SelectionAdapter() { public void widgetSelected(SelectionEvent e) { handleMainClassBrowseButtonPressed(); } }); } private void update() { updateModel(); updateEnableState(); updatePageCompletion(); } /** * Open an appropriate dialog so tha...
8,476
Bug 8476 JAR Packager: Make main class field editable
null
resolved fixed
9d526a8
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-28T18:26:05Z
2002-01-25T14:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/jarpackager/JarManifestWizardPage.java
} protected void handleManifestFileBrowseButtonPressed() { ElementTreeSelectionDialog dialog= createWorkspaceFileSelectionDialog(JarPackagerMessages.getString("JarManifestWizardPage.manifestSelectionDialog.title"), JarPackagerMessages.getString("JarManifestWizardPage.manifestSelectionDialog.message")); if (fJarPa...
8,476
Bug 8476 JAR Packager: Make main class field editable
null
resolved fixed
9d526a8
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-28T18:26:05Z
2002-01-25T14:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/jarpackager/JarManifestWizardPage.java
fMainClassText.setText(fJarPackage.getMainClassName()); } else if (!fJarPackage.isMainClassValid(getContainer())) { fJarPackage.setMainClass(null); fMainClassText.setText(fJarPackage.getMainClassName()); } } protected void handleSealPackagesDetailsButtonPressed() { SelectionDialog dialog= createPackag...
8,476
Bug 8476 JAR Packager: Make main class field editable
null
resolved fixed
9d526a8
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-28T18:26:05Z
2002-01-25T14:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/jarpackager/JarManifestWizardPage.java
boolean save= generate && fSaveManifestCheckbox.getSelection(); fSaveManifestCheckbox.setEnabled(generate); fReuseManifestCheckbox.setEnabled(fJarPackage.isDescriptionSaved() && save); fNewManifestFileText.setEnabled(save); fNewManifestFileLabel.setEnabled(save); fNewManifestFileBrowseButton.setEnabled(save);...
8,476
Bug 8476 JAR Packager: Make main class field editable
null
resolved fixed
9d526a8
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-28T18:26:05Z
2002-01-25T14:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/jarpackager/JarManifestWizardPage.java
else if (i == 1) fSealJarLabel.setText(JarPackagerMessages.getString("JarManifestWizardPage.jarSealedExceptOne")); else fSealJarLabel.setText(JarPackagerMessages.getFormattedString("JarManifestWizardPage.jarSealedExceptSome", new Integer(i))); } else { fSealJarLabel.setText(""); int i= fJar...
8,476
Bug 8476 JAR Packager: Make main class field editable
null
resolved fixed
9d526a8
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-28T18:26:05Z
2002-01-25T14:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/jarpackager/JarManifestWizardPage.java
} IResource resource= findResource(location); if (resource != null && resource.getType() != IResource.FILE) { setErrorMessage(JarPackagerMessages.getString("JarManifestWizardPage.error.manifestMustNotBeExistingContainer")); return false; } resource= findResource(location.removeLastSegments...
8,476
Bug 8476 JAR Packager: Make main class field editable
null
resolved fixed
9d526a8
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-28T18:26:05Z
2002-01-25T14:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/jarpackager/JarManifestWizardPage.java
} if (!fJarPackage.isMainClassValid(getContainer())) { setErrorMessage(JarPackagerMessages.getString("JarManifestWizardPage.error.invalidMainClass")); return false; } if (incompleteButNotAnError) { setErrorMessage(null); return false; } setErrorMessage(null); return true; } /* * Impleme...
8,476
Bug 8476 JAR Packager: Make main class field editable
null
resolved fixed
9d526a8
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-28T18:26:05Z
2002-01-25T14:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/jarpackager/JarManifestWizardPage.java
* in the next instance of this page. Subclasses wishing to persist * settings for their controls should extend the hook method * <code>internalSaveWidgetValues</code>. */ public final void saveWidgetValues() { IDialogSettings settings= getDialogSettings(); if (settings != null) { settings.put(STORE_G...
8,476
Bug 8476 JAR Packager: Make main class field editable
null
resolved fixed
9d526a8
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-28T18:26:05Z
2002-01-25T14:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/jarpackager/JarManifestWizardPage.java
if (fJarPackage.isManifestGenerated()) fGenerateManifestRadioButton.setSelection(true); else fUseManifestRadioButton.setSelection(true); fSaveManifestCheckbox.setSelection(fJarPackage.isManifestSaved()); fReuseManifestCheckbox.setSelection(fJarPackage.isManifestReused()); fManifestFileText.setText(fJarPac...
8,476
Bug 8476 JAR Packager: Make main class field editable
null
resolved fixed
9d526a8
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-28T18:26:05Z
2002-01-25T14:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/jarpackager/JarManifestWizardPage.java
pathStr= ""; fJarPackage.setManifestLocation(new Path(pathStr)); fJarPackage.setSealJar(settings.getBoolean(STORE_SEAL_JAR)); } } /** * Stores the widget values in the JAR package. */ protected void updateModel() { if (getControl() == null) return; fJarPackage.setGenerateManifest(fGener...
8,476
Bug 8476 JAR Packager: Make main class field editable
null
resolved fixed
9d526a8
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-28T18:26:05Z
2002-01-25T14:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/jarpackager/JarManifestWizardPage.java
*/ protected void updatePageCompletion() { boolean pageComplete= isPageComplete(); setPageComplete(pageComplete); if (pageComplete) { setErrorMessage(null); } } /** * Creates a file resource handle for the file with the given workspace path. * This method does not create the file resource; this is t...
8,476
Bug 8476 JAR Packager: Make main class field editable
null
resolved fixed
9d526a8
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-28T18:26:05Z
2002-01-25T14:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/jarpackager/JarManifestWizardPage.java
*/ protected Label createLabel(Composite parent, String text, boolean bold) { Label label= new Label(parent, SWT.NONE); if (bold) label.setFont(JFaceResources.getBannerFont()); label.setText(text); GridData data= new GridData(); data.verticalAlignment= GridData.FILL; data.horizontalAlignment= GridData.F...
8,476
Bug 8476 JAR Packager: Make main class field editable
null
resolved fixed
9d526a8
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-28T18:26:05Z
2002-01-25T14:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/jarpackager/JarManifestWizardPage.java
int height= SWTUtil.getButtonHeigthHint(fManifestFileBrowseButton); int width2= SWTUtil.getButtonWidthHint(fNewManifestFileBrowseButton); int height2= SWTUtil.getButtonHeigthHint(fNewManifestFileBrowseButton); width= Math.max(width, width2); height= Math.max(height, height2); width2= SWTUtil.getButtonWidthHin...
8,476
Bug 8476 JAR Packager: Make main class field editable
null
resolved fixed
9d526a8
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-28T18:26:05Z
2002-01-25T14:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/jarpackager/JarManifestWizardPage.java
Label spacer= new Label(parent, SWT.NONE); GridData data= new GridData(); data.horizontalAlignment= GridData.FILL; data.verticalAlignment= GridData.BEGINNING; spacer.setLayoutData(data); } /** * Returns the resource for the specified path. * * @param path the path for which the resource should be return...
8,476
Bug 8476 JAR Packager: Make main class field editable
null
resolved fixed
9d526a8
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-28T18:26:05Z
2002-01-25T14:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/jarpackager/JarManifestWizardPage.java
* * @param packageFragments the package fragments * @return a new selection dialog */ protected SelectionDialog createPackageDialog(Set packageFragments) { List packages= new ArrayList(packageFragments.size()); for (Iterator iter= packageFragments.iterator(); iter.hasNext();) { IPackageFragment fragment=...
8,476
Bug 8476 JAR Packager: Make main class field editable
null
resolved fixed
9d526a8
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-28T18:26:05Z
2002-01-25T14:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/jarpackager/JarManifestWizardPage.java
dialog.addFilter(new LibraryFilter()); dialog.addFilter(new SealPackagesFilter(packages)); dialog.setValidator(new ISelectionValidator() { public IStatus validate(Object[] selection) { StatusInfo res= new StatusInfo(); for (int i= 0; i < selection.length; i++) { if (!(selection[i] instanceof IPackag...
8,476
Bug 8476 JAR Packager: Make main class field editable
null
resolved fixed
9d526a8
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-28T18:26:05Z
2002-01-25T14:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/jarpackager/JarManifestWizardPage.java
*/ protected ElementTreeSelectionDialog createWorkspaceFileSelectionDialog(String title, String message) { int labelFlags= JavaElementLabelProvider.SHOW_BASICS | JavaElementLabelProvider.SHOW_OVERLAY_ICONS | JavaElementLabelProvider.SHOW_SMALL_ICONS; ITreeContentProvider contentProvider= new JavaEleme...
8,604
Bug 8604 J Search opens type selection dialog if code resolve has > 1 result
null
resolved fixed
7c11c22
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-28T18:26:40Z
2002-01-28T17:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/JavaSearchPage.java
/* * (c) Copyright IBM Corp. 2000, 2001. * All Rights Reserved. */ package org.eclipse.jdt.internal.ui.search; import java.io.BufferedReader; import java.io.IOException; import java.io.StringReader; import java.lang.reflect.InvocationTargetException; import java.util.ArrayList; import java.util.List; import org.ecli...
8,604
Bug 8604 J Search opens type selection dialog if code resolve has > 1 result
null
resolved fixed
7c11c22
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-28T18:26:40Z
2002-01-28T17:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/JavaSearchPage.java
import org.eclipse.jface.dialogs.IDialogSettings; import org.eclipse.jface.text.ITextSelection; import org.eclipse.jface.util.Assert; import org.eclipse.jface.viewers.ILabelProvider; import org.eclipse.jface.viewers.ISelection; import org.eclipse.jface.viewers.IStructuredSelection; import org.eclipse.ui.IEditorInput; i...
8,604
Bug 8604 J Search opens type selection dialog if code resolve has > 1 result
null
resolved fixed
7c11c22
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-28T18:26:40Z
2002-01-28T17:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/JavaSearchPage.java
import org.eclipse.jdt.ui.IWorkingCopyManager; import org.eclipse.jdt.ui.JavaElementLabelProvider; import org.eclipse.jdt.internal.corext.util.JavaModelUtil; import org.eclipse.jdt.internal.ui.IJavaHelpContextIds; import org.eclipse.jdt.internal.ui.JavaPlugin; import org.eclipse.jdt.internal.ui.dialogs.ElementListSelec...
8,604
Bug 8604 J Search opens type selection dialog if code resolve has > 1 result
null
resolved fixed
7c11c22
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-28T18:26:40Z
2002-01-28T17:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/JavaSearchPage.java
SearchMessages.getString("SearchPage.searchFor.constructor"), SearchMessages.getString("SearchPage.searchFor.field")}; private Button[] fLimitTo; private String[] fLimitToText= { SearchMessages.getString("SearchPage.limitTo.declarations"), SearchMessages.getString("SearchPage.limitTo.implementors"), Searc...
8,604
Bug 8604 J Search opens type selection dialog if code resolve has > 1 result
null
resolved fixed
7c11c22
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-28T18:26:40Z
2002-01-28T17:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/JavaSearchPage.java
this.scope= scope; this.workingSet= workingSet; } } public boolean performAction() { SearchUI.activateSearchResultView(); SearchPatternData data= getPatternData(); IWorkspace workspace= JavaPlugin.getWorkspace(); IJavaSearchScope scope= null; String scopeDescription= ""; switch (getContainer(...