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
15,330
Bug 15330 NPE with quickfix
build 0425 JButton desktop=new JButton("Hintergrund"); desktop.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) { JDesktopPane pane=SwingUtilities<ERROR>(JDesktopPane.class,this); } }); <ERROR> it should be SwingUtilities.getAnchestorOfClass Of course the above code snippet produceed ...
resolved fixed
0b6a99d
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-07T16:53:48Z
2002-05-06T15:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/NewMethodCompletionProposal.java
/* * @see ICompletionProposal#getImage() */ public Image getImage() { return JavaPluginImages.get(JavaPluginImages.IMG_MISC_PUBLIC); } /* (non-Javadoc) * @see ICompletionProposal#apply(IDocument) */ public void apply(IDocument document) { try { IEditorPart part= null; if (!isLocalChange()) { p...
3,913
Bug 3913 icons for interface members (1GF5V6P)
AK (6/11/01 4:44:53 PM) icons for interface members should be as follows: - for fields: always public static and final - for methods: always public and abstract NOTES: EG (6/11/2001 5:27:23 AM) no action for June.
resolved fixed
cf8b488
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-08T08:26:39Z
2001-10-11T03:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/JavaElementImageProvider.java
/* * (c) Copyright IBM Corp. 2000, 2001. * All Rights Reserved. */ package org.eclipse.jdt.internal.ui.viewsupport; import org.eclipse.core.resources.IProject; import org.eclipse.core.runtime.CoreException; import org.eclipse.core.runtime.IAdaptable; import org.eclipse.core.runtime.IPath; import org.eclipse.swt.grap...
3,913
Bug 3913 icons for interface members (1GF5V6P)
AK (6/11/01 4:44:53 PM) icons for interface members should be as follows: - for fields: always public static and final - for methods: always public and abstract NOTES: EG (6/11/2001 5:27:23 AM) no action for June.
resolved fixed
cf8b488
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-08T08:26:39Z
2001-10-11T03:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/JavaElementImageProvider.java
import org.eclipse.jdt.core.Flags; import org.eclipse.jdt.core.IJavaElement; import org.eclipse.jdt.core.IJavaProject; import org.eclipse.jdt.core.IMember; import org.eclipse.jdt.core.IPackageFragment; import org.eclipse.jdt.core.IPackageFragmentRoot; import org.eclipse.jdt.core.ISourceReference; import org.eclipse.jdt...
3,913
Bug 3913 icons for interface members (1GF5V6P)
AK (6/11/01 4:44:53 PM) icons for interface members should be as follows: - for fields: always public static and final - for methods: always public and abstract NOTES: EG (6/11/2001 5:27:23 AM) no action for June.
resolved fixed
cf8b488
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-08T08:26:39Z
2001-10-11T03:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/JavaElementImageProvider.java
* Use the 'light' style for rendering types. */ public final static int LIGHT_TYPE_ICONS= 0x4; private static final Point SMALL_SIZE= new Point(16, 16); private static final Point BIG_SIZE= new Point(22, 16); private static ImageDescriptor DESC_OBJ_PROJECT_CLOSED; private static ImageDescriptor DESC_OBJ_PROJE...
3,913
Bug 3913 icons for interface members (1GF5V6P)
AK (6/11/01 4:44:53 PM) icons for interface members should be as follows: - for fields: always public static and final - for methods: always public and abstract NOTES: EG (6/11/2001 5:27:23 AM) no action for June.
resolved fixed
cf8b488
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-08T08:26:39Z
2001-10-11T03:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/JavaElementImageProvider.java
descriptor= getJavaImageDescriptor((IJavaElement) element, flags); } else if (element instanceof IAdaptable) { descriptor= getWorkbenchImageDescriptor((IAdaptable) element, flags); } if (descriptor != null) { return fRegistry.get(descriptor); } return null; } private boolean showOverlayIcons(int fla...
3,913
Bug 3913 icons for interface members (1GF5V6P)
AK (6/11/01 4:44:53 PM) icons for interface members should be as follows: - for fields: always public static and final - for methods: always public and abstract NOTES: EG (6/11/2001 5:27:23 AM) no action for June.
resolved fixed
cf8b488
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-08T08:26:39Z
2001-10-11T03:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/JavaElementImageProvider.java
/** * Returns an image descriptor for a IAdaptable. The descriptor includes overlays, if specified (only error ticks apply). * Returns <code>null</code> if no image could be found. */ public ImageDescriptor getWorkbenchImageDescriptor(IAdaptable adaptable, int flags) { IWorkbenchAdapter wbAdapter= (IWorkbench...
3,913
Bug 3913 icons for interface members (1GF5V6P)
AK (6/11/01 4:44:53 PM) icons for interface members should be as follows: - for fields: always public static and final - for methods: always public and abstract NOTES: EG (6/11/2001 5:27:23 AM) no action for June.
resolved fixed
cf8b488
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-08T08:26:39Z
2001-10-11T03:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/JavaElementImageProvider.java
if (member.getDeclaringType().isInterface()) return JavaPluginImages.DESC_MISC_PUBLIC; int flags= member.getFlags(); if (Flags.isPublic(flags)) return JavaPluginImages.DESC_MISC_PUBLIC; if (Flags.isProtected(flags)) return JavaPluginImages.DESC_MISC_PROTECTED; if (Flags.isPri...
3,913
Bug 3913 icons for interface members (1GF5V6P)
AK (6/11/01 4:44:53 PM) icons for interface members should be as follows: - for fields: always public static and final - for methods: always public and abstract NOTES: EG (6/11/2001 5:27:23 AM) no action for June.
resolved fixed
cf8b488
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-08T08:26:39Z
2001-10-11T03:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/JavaElementImageProvider.java
} int flags= type.getFlags(); boolean hasVisibility= Flags.isPublic(flags) || Flags.isPrivate(flags) || Flags.isProtected(flags); if (type.isClass()) return hasVisibility ? JavaPluginImages.DESC_OBJS_CLASS : JavaPluginImages.DESC_OBJS_PCLASS; return hasVisibility ? JavaPl...
3,913
Bug 3913 icons for interface members (1GF5V6P)
AK (6/11/01 4:44:53 PM) icons for interface members should be as follows: - for fields: always public static and final - for methods: always public and abstract NOTES: EG (6/11/2001 5:27:23 AM) no action for June.
resolved fixed
cf8b488
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-08T08:26:39Z
2001-10-11T03:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/JavaElementImageProvider.java
case IJavaElement.PACKAGE_FRAGMENT: IPackageFragment fragment= (IPackageFragment)element; try { if (!fragment.hasChildren() && (fragment.getNonJavaResources().length >0)) return DESC_OBJ_FOLDER; } catch(JavaModelException e) { return DESC_OBJ_FOLDER; } return ...
3,913
Bug 3913 icons for interface members (1GF5V6P)
AK (6/11/01 4:44:53 PM) icons for interface members should be as follows: - for fields: always public static and final - for methods: always public and abstract NOTES: EG (6/11/2001 5:27:23 AM) no action for June.
resolved fixed
cf8b488
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-08T08:26:39Z
2001-10-11T03:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/JavaElementImageProvider.java
IProject project= jp.getProject(); IWorkbenchAdapter adapter= (IWorkbenchAdapter)project.getAdapter(IWorkbenchAdapter.class); if (adapter != null) { ImageDescriptor result= adapter.getImageDescriptor(project); if (result != null) return result; } return DESC_OBJ_PROJECT; ...
3,913
Bug 3913 icons for interface members (1GF5V6P)
AK (6/11/01 4:44:53 PM) icons for interface members should be as follows: - for fields: always public static and final - for methods: always public and abstract NOTES: EG (6/11/2001 5:27:23 AM) no action for June.
resolved fixed
cf8b488
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-08T08:26:39Z
2001-10-11T03:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/JavaElementImageProvider.java
ISourceReference sourceReference= (ISourceReference)element; int modifiers= getModifiers(sourceReference); if (Flags.isAbstract(modifiers) && confirmAbstract((IMember) sourceReference)) flags |= JavaElementImageDescriptor.ABSTRACT; if (Flags.isFinal(modifiers)) flags |= JavaElementImageDescriptor.FI...
3,913
Bug 3913 icons for interface members (1GF5V6P)
AK (6/11/01 4:44:53 PM) icons for interface members should be as follows: - for fields: always public static and final - for methods: always public and abstract NOTES: EG (6/11/2001 5:27:23 AM) no action for June.
resolved fixed
cf8b488
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-08T08:26:39Z
2001-10-11T03:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/JavaElementImageProvider.java
if (t != null) { try { return !t.isInterface(); } catch (JavaModelException x) { } } return true; } private boolean confirmSynchronized(IMember member) { return !(member instanceof IType); } private int getModifiers(ISourceReference sourceReference) { if (sourceReference instanceof ...
8,595
Bug 8595 'Open super implementation' should be disabled
In the Outline view, there seems to be a new menu item 'Open super implementation', and a corresponding decoration on methods to indicate thet they have a super implementation. The UI already knows if the method has a super implementation, so it should disable the menu item when there is no super implementation to open...
resolved fixed
7a45fc9
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-08T12:56:52Z
2002-01-28T15:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/OpenSuperImplementationAction.java
/******************************************************************************* * Copyright (c) 2000, 2002 International Business Machines Corp. and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Common Public License v0.5 * which accompanie...
8,595
Bug 8595 'Open super implementation' should be disabled
In the Outline view, there seems to be a new menu item 'Open super implementation', and a corresponding decoration on methods to indicate thet they have a super implementation. The UI already knows if the method has a super implementation, so it should disable the menu item when there is no super implementation to open...
resolved fixed
7a45fc9
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-08T12:56:52Z
2002-01-28T15:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/OpenSuperImplementationAction.java
import org.eclipse.core.runtime.CoreException; import org.eclipse.ui.IObjectActionDelegate; import org.eclipse.ui.IWorkbenchPart; import org.eclipse.ui.IWorkbenchSite; import org.eclipse.jdt.core.Flags; import org.eclipse.jdt.core.ICompilationUnit; import org.eclipse.jdt.core.IMethod; import org.eclipse.jdt.core.IType;...
8,595
Bug 8595 'Open super implementation' should be disabled
In the Outline view, there seems to be a new menu item 'Open super implementation', and a corresponding decoration on methods to indicate thet they have a super implementation. The UI already knows if the method has a super implementation, so it should disable the menu item when there is no super implementation to open...
resolved fixed
7a45fc9
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-08T12:56:52Z
2002-01-28T15:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/OpenSuperImplementationAction.java
private JavaEditor fEditor; /* (non-Javadoc) * Class implements IObjectActionDelegate */ public static class ObjectDelegate implements IObjectActionDelegate { private OpenSuperImplementationAction fAction; public void setActivePart(IAction action, IWorkbenchPart targetPart) { fAction= new OpenSuperImplemen...
8,595
Bug 8595 'Open super implementation' should be disabled
In the Outline view, there seems to be a new menu item 'Open super implementation', and a corresponding decoration on methods to indicate thet they have a super implementation. The UI already knows if the method has a super implementation, so it should disable the menu item when there is no super implementation to open...
resolved fixed
7a45fc9
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-08T12:56:52Z
2002-01-28T15:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/OpenSuperImplementationAction.java
public OpenSuperImplementationAction(IWorkbenchSite site) { super(site); setText(ActionMessages.getString("OpenSuperImplementationAction.label")); setDescription(ActionMessages.getString("OpenSuperImplementationAction.description")); setToolTipText(ActionMessages.getString("OpenSuperImplementationAction.toolt...
8,595
Bug 8595 'Open super implementation' should be disabled
In the Outline view, there seems to be a new menu item 'Open super implementation', and a corresponding decoration on methods to indicate thet they have a super implementation. The UI already knows if the method has a super implementation, so it should disable the menu item when there is no super implementation to open...
resolved fixed
7a45fc9
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-08T12:56:52Z
2002-01-28T15:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/OpenSuperImplementationAction.java
} /* (non-Javadoc) * Method declared on SelectionDispatchAction. */ protected void selectionChanged(IStructuredSelection selection) { setEnabled(getMethod(selection) != null); } /* (non-Javadoc) * Method declared on SelectionDispatchAction. */ protected void run(ITextSelection selection) { run(getMet...
8,595
Bug 8595 'Open super implementation' should be disabled
In the Outline view, there seems to be a new menu item 'Open super implementation', and a corresponding decoration on methods to indicate thet they have a super implementation. The UI already knows if the method has a super implementation, so it should disable the menu item when there is no super implementation to open...
resolved fixed
7a45fc9
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-08T12:56:52Z
2002-01-28T15:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/OpenSuperImplementationAction.java
if (!declaringType.exists()) { return; } } ITypeHierarchy hierarchy= declaringType.newSupertypeHierarchy(null); IMethod impl= JavaModelUtil.findMethodImplementationInHierarchy(hierarchy, declaringType, method.getElementName(), method.getParameterTypes(), method.isConstructor()); if (impl == null) {...
8,595
Bug 8595 'Open super implementation' should be disabled
In the Outline view, there seems to be a new menu item 'Open super implementation', and a corresponding decoration on methods to indicate thet they have a super implementation. The UI already knows if the method has a super implementation, so it should disable the menu item when there is no super implementation to open...
resolved fixed
7a45fc9
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-08T12:56:52Z
2002-01-28T15:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/OpenSuperImplementationAction.java
private IMethod checkMethod(Object element) { try { if (element instanceof IMethod) { IMethod method= (IMethod) element; if (method.exists()) { int flags= method.getFlags(); if (!Flags.isStatic(flags) && !Flags.isPrivate(flags)) { return method; } } } } catch (JavaModelExcepti...
6,459
Bug 6459 usability: working set filter dialog avoidance
would it be possible to avoid showing the working set dialog on applying a working set? i mean, it could (in the menu) show me a list of set i have. just like search does (which is a very useful feature)
resolved fixed
2cd22a4
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-08T13:04:24Z
2001-11-30T14:20:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/WorkingSetComparator.java
/* * (c) Copyright IBM Corp. 2000, 2002. * All Rights Reserved. */ package org.eclipse.jdt.internal.ui.search; import java.text.Collator; import java.util.Comparator; import org.eclipse.ui.IWorkingSet; class WorkingSetComparator implements Comparator { private Collator fCollator= Collator.getInstance(); /* * @...
9,103
Bug 9103 Search reports no references to SWT.Help
1) Open class SWT 2) Select field Help 3) References>Workspace Nothing found
resolved fixed
d3ad2a2
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-08T14:09:55Z
2002-02-05T14:40:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/FindReferencesAction.java
/* * (c) Copyright IBM Corp. 2000, 2001. * All Rights Reserved. */ package org.eclipse.jdt.internal.ui.search; import org.eclipse.jdt.core.IField; import org.eclipse.jdt.core.IImportDeclaration; import org.eclipse.jdt.core.IMethod; import org.eclipse.jdt.core.IPackageDeclaration; import org.eclipse.jdt.core.IPackage...
9,103
Bug 9103 Search reports no references to SWT.Help
1) Open class SWT 2) Select field Help 3) References>Workspace Nothing found
resolved fixed
d3ad2a2
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-08T14:09:55Z
2002-02-05T14:40:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/JavaElementAction.java
/* * (c) Copyright IBM Corp. 2000, 2002. * All Rights Reserved. */ package org.eclipse.jdt.internal.ui.search; import org.eclipse.core.resources.IMarker; import org.eclipse.swt.widgets.Shell; import org.eclipse.jface.action.Action; import org.eclipse.jface.viewers.ILabelProvider; import org.eclipse.jface.viewers.ISe...
9,103
Bug 9103 Search reports no references to SWT.Help
1) Open class SWT 2) Select field Help 3) References>Workspace Nothing found
resolved fixed
d3ad2a2
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-08T14:09:55Z
2002-02-05T14:40:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/JavaElementAction.java
protected static final IJavaElement RETURN_WITHOUT_BEEP= JavaCore.create(JavaPlugin.getDefault().getWorkspace().getRoot()); private Class[] fValidTypes; public JavaElementAction(String label, Class[] validTypes) { super(label); fValidTypes= validTypes;
9,103
Bug 9103 Search reports no references to SWT.Help
1) Open class SWT 2) Select field Help 3) References>Workspace Nothing found
resolved fixed
d3ad2a2
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-08T14:09:55Z
2002-02-05T14:40:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/JavaElementAction.java
} public boolean canOperateOn(IStructuredSelection sel) { boolean hasSelection= !sel.isEmpty(); if (!hasSelection || fValidTypes == null) return hasSelection; if (fValidTypes.length == 0) return false; IJavaElement element= getJavaElement(sel, true); if (element != null) { for (int i= 0; i < fValidT...
9,103
Bug 9103 Search reports no references to SWT.Help
1) Open class SWT 2) Select field Help 3) References>Workspace Nothing found
resolved fixed
d3ad2a2
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-08T14:09:55Z
2002-02-05T14:40:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/JavaElementAction.java
run(element); } protected abstract void run(IJavaElement element); private IJavaElement getJavaElement(IJavaElement o, boolean silent) { if (o == null) return null; switch (o.getElementType()) { case IJavaElement.COMPILATION_UNIT: return findType((ICompilationUnit)o, silent); case IJavaElement.CLASS...
9,103
Bug 9103 Search reports no references to SWT.Help
1) Open class SWT 2) Select field Help 3) References>Workspace Nothing found
resolved fixed
d3ad2a2
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-08T14:09:55Z
2002-02-05T14:40:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/JavaElementAction.java
return getJavaElement(entry.getSelectedMarker(), silent); return null; } protected IJavaElement getJavaElement(IStructuredSelection selection, boolean silent) { if (selection.size() == 1) return getJavaElement(selection.getFirstElement(), silent); return null; } public IStructuredSelection getSelection...
9,103
Bug 9103 Search reports no references to SWT.Help
1) Open class SWT 2) Select field Help 3) References>Workspace Nothing found
resolved fixed
d3ad2a2
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-08T14:09:55Z
2002-02-05T14:40:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/JavaElementAction.java
if (dialog.open() == dialog.OK) return (IJavaElement)dialog.getFirstResult(); return null; } /** * Answers if a dialog should prompt the user for a unique Java element */ protected boolean shouldUserBePrompted() { return true; } protected void beep() { Shell shell= JavaPlugin.getActiveWorkbenchShel...
9,103
Bug 9103 Search reports no references to SWT.Help
1) Open class SWT 2) Select field Help 3) References>Workspace Nothing found
resolved fixed
d3ad2a2
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-08T14:09:55Z
2002-02-05T14:40:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/JavaElementAction.java
if (silent) return RETURN_WITHOUT_BEEP; if (types.length == 0) return null; String title= SearchMessages.getString("JavaElementAction.typeSelectionDialog.title"); String message = SearchMessages.getString("JavaElementAction.typeSelectionDialog.message"); Shell parent= JavaPlugin.getActiveWorkbenchShell(...
15,503
Bug 15503 JavaModelException in log
everytime you move a cu this is dumped in .log this JavaElementImageProvider guy should call exists() before he asks for flags !STACK Java Model Exception: Java Model Status [Test.java does not exist.] at org.eclipse.jdt.internal.core.JavaElement.newNotPresentException (JavaElement.java:478) at org.eclipse.jdt.internal...
resolved fixed
91890f2
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-08T15:34:47Z
2002-05-08T09:26:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/JavaElementImageProvider.java
/* * (c) Copyright IBM Corp. 2000, 2001. * All Rights Reserved.
15,503
Bug 15503 JavaModelException in log
everytime you move a cu this is dumped in .log this JavaElementImageProvider guy should call exists() before he asks for flags !STACK Java Model Exception: Java Model Status [Test.java does not exist.] at org.eclipse.jdt.internal.core.JavaElement.newNotPresentException (JavaElement.java:478) at org.eclipse.jdt.internal...
resolved fixed
91890f2
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-08T15:34:47Z
2002-05-08T09:26:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/JavaElementImageProvider.java
*/ package org.eclipse.jdt.internal.ui.viewsupport; import org.eclipse.core.resources.IProject; import org.eclipse.core.runtime.CoreException; import org.eclipse.core.runtime.IAdaptable; import org.eclipse.core.runtime.IPath; import org.eclipse.swt.graphics.Image; import org.eclipse.swt.graphics.Point; import org.eclip...
15,503
Bug 15503 JavaModelException in log
everytime you move a cu this is dumped in .log this JavaElementImageProvider guy should call exists() before he asks for flags !STACK Java Model Exception: Java Model Status [Test.java does not exist.] at org.eclipse.jdt.internal.core.JavaElement.newNotPresentException (JavaElement.java:478) at org.eclipse.jdt.internal...
resolved fixed
91890f2
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-08T15:34:47Z
2002-05-08T09:26:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/JavaElementImageProvider.java
/** * Flags for the JavaImageLabelProvider: * Generate images with overlays. */ public final static int OVERLAY_ICONS= 0x1; /** * Generate small sized images. */ public final static int SMALL_ICONS= 0x2; /** * Use the 'light' style for rendering types. */ public final static int LIGHT_TYPE_ICONS= ...
15,503
Bug 15503 JavaModelException in log
everytime you move a cu this is dumped in .log this JavaElementImageProvider guy should call exists() before he asks for flags !STACK Java Model Exception: Java Model Status [Test.java does not exist.] at org.eclipse.jdt.internal.core.JavaElement.newNotPresentException (JavaElement.java:478) at org.eclipse.jdt.internal...
resolved fixed
91890f2
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-08T15:34:47Z
2002-05-08T09:26:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/JavaElementImageProvider.java
fRegistry= JavaPlugin.getImageDescriptorRegistry(); } /** * Returns the icon for a given element. The icon depends on the element type * and element properties. If configured, overlay icons are constructed for * <code>ISourceReference</code>s. * @param flags Flags as defined by the JavaImageLabelProvider ...
15,503
Bug 15503 JavaModelException in log
everytime you move a cu this is dumped in .log this JavaElementImageProvider guy should call exists() before he asks for flags !STACK Java Model Exception: Java Model Status [Test.java does not exist.] at org.eclipse.jdt.internal.core.JavaElement.newNotPresentException (JavaElement.java:478) at org.eclipse.jdt.internal...
resolved fixed
91890f2
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-08T15:34:47Z
2002-05-08T09:26:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/JavaElementImageProvider.java
private boolean useLightIcons(int flags) { return (flags & LIGHT_TYPE_ICONS) != 0; } /** * Returns an image descriptor for a java element. The descriptor includes overlays, if specified. */ public ImageDescriptor getJavaImageDescriptor(IJavaElement element, int flags) { int adornmentFlags= computeJavaAdor...
15,503
Bug 15503 JavaModelException in log
everytime you move a cu this is dumped in .log this JavaElementImageProvider guy should call exists() before he asks for flags !STACK Java Model Exception: Java Model Status [Test.java does not exist.] at org.eclipse.jdt.internal.core.JavaElement.newNotPresentException (JavaElement.java:478) at org.eclipse.jdt.internal...
resolved fixed
91890f2
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-08T15:34:47Z
2002-05-08T09:26:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/JavaElementImageProvider.java
/** * Returns an image descriptor for a java element. This is the base image, no overlays. */ public ImageDescriptor getBaseImageDescriptor(IJavaElement element, int renderFlags) { try { switch (element.getElementType()) { case IJavaElement.INITIALIZER: case IJavaElement.METHOD: case IJava...
15,503
Bug 15503 JavaModelException in log
everytime you move a cu this is dumped in .log this JavaElementImageProvider guy should call exists() before he asks for flags !STACK Java Model Exception: Java Model Status [Test.java does not exist.] at org.eclipse.jdt.internal.core.JavaElement.newNotPresentException (JavaElement.java:478) at org.eclipse.jdt.internal...
resolved fixed
91890f2
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-08T15:34:47Z
2002-05-08T09:26:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/JavaElementImageProvider.java
case IJavaElement.IMPORT_CONTAINER: return JavaPluginImages.DESC_OBJS_IMPCONT; case IJavaElement.TYPE: { IType type= (IType) element; if (useLightIcons(renderFlags)) { if (type.isClass()) return JavaPluginImages.DESC_OBJS_CLASSALT; else return JavaPluginImages.DE...
15,503
Bug 15503 JavaModelException in log
everytime you move a cu this is dumped in .log this JavaElementImageProvider guy should call exists() before he asks for flags !STACK Java Model Exception: Java Model Status [Test.java does not exist.] at org.eclipse.jdt.internal.core.JavaElement.newNotPresentException (JavaElement.java:478) at org.eclipse.jdt.internal...
resolved fixed
91890f2
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-08T15:34:47Z
2002-05-08T09:26:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/JavaElementImageProvider.java
} } else { if (attach == null) { return JavaPluginImages.DESC_OBJS_JAR; } else { return JavaPluginImages.DESC_OBJS_JAR_WSRC; } } } else { return JavaPluginImages.DESC_OBJS_PACKFRAG_ROOT; } } case IJavaElement.PACKAGE_FRAGMENT: IPackage...
15,503
Bug 15503 JavaModelException in log
everytime you move a cu this is dumped in .log this JavaElementImageProvider guy should call exists() before he asks for flags !STACK Java Model Exception: Java Model Status [Test.java does not exist.] at org.eclipse.jdt.internal.core.JavaElement.newNotPresentException (JavaElement.java:478) at org.eclipse.jdt.internal...
resolved fixed
91890f2
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-08T15:34:47Z
2002-05-08T09:26:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/JavaElementImageProvider.java
IClassFile cfile= (IClassFile)element; if (cfile.isClass()) return JavaPluginImages.IMG_OBJS_CFILECLASS; return JavaPluginImages.IMG_OBJS_CFILEINT; } catch(JavaModelException e) { // fall through; }*/ return JavaPluginImages.DESC_OBJS_CFILE; case IJavaElement.JAVA_PROJE...
15,503
Bug 15503 JavaModelException in log
everytime you move a cu this is dumped in .log this JavaElementImageProvider guy should call exists() before he asks for flags !STACK Java Model Exception: Java Model Status [Test.java does not exist.] at org.eclipse.jdt.internal.core.JavaElement.newNotPresentException (JavaElement.java:478) at org.eclipse.jdt.internal...
resolved fixed
91890f2
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-08T15:34:47Z
2002-05-08T09:26:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/JavaElementImageProvider.java
} catch (CoreException e) { JavaPlugin.log(e); return JavaPluginImages.DESC_OBJS_GHOST; } } private int computeJavaAdornmentFlags(IJavaElement element, int renderFlags) { int flags= 0; if (showOverlayIcons(renderFlags) && element instanceof IMember) { try { IMember member= (IMember) element; ...
15,503
Bug 15503 JavaModelException in log
everytime you move a cu this is dumped in .log this JavaElementImageProvider guy should call exists() before he asks for flags !STACK Java Model Exception: Java Model Status [Test.java does not exist.] at org.eclipse.jdt.internal.core.JavaElement.newNotPresentException (JavaElement.java:478) at org.eclipse.jdt.internal...
resolved fixed
91890f2
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-08T15:34:47Z
2002-05-08T09:26:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/JavaElementImageProvider.java
} } return flags; } private boolean confirmAbstract(IMember element) throws JavaModelException { if (element.getElementType() == IJavaElement.TYPE) { return ((IType) element).isClass(); } return element.getDeclaringType().isClass(); } private boolean isInterfaceField(IMember element) throws Jav...
15,407
Bug 15407 quick fix: removes too many temps (multi declaration case)
20020502+ package p; class Test{ int i(){ int i= 0, jjj= 1; return i; } } jjj is not used to qf offers to remove it. i say 'fine' but it leaves me in a state with compiler errors: class Test{ int i(){ return i; } }
resolved fixed
7a71f43
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-08T16:17:07Z
2002-05-07T14:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/JavaCorrectionProcessor.java
/******************************************************************************* * Copyright (c) 2000, 2002 International Business Machines Corp. and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Common Public License v0.5 * which accompanie...
15,407
Bug 15407 quick fix: removes too many temps (multi declaration case)
20020502+ package p; class Test{ int i(){ int i= 0, jjj= 1; return i; } } jjj is not used to qf offers to remove it. i say 'fine' but it leaves me in a state with compiler errors: class Test{ int i(){ return i; } }
resolved fixed
7a71f43
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-08T16:17:07Z
2002-05-07T14:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/JavaCorrectionProcessor.java
import org.eclipse.jface.text.contentassist.IContentAssistProcessor; import org.eclipse.jface.text.contentassist.IContextInformation; import org.eclipse.jface.text.contentassist.IContextInformationValidator; import org.eclipse.jface.text.source.Annotation; import org.eclipse.jface.text.source.IAnnotationModel; import o...
15,407
Bug 15407 quick fix: removes too many temps (multi declaration case)
20020502+ package p; class Test{ int i(){ int i= 0, jjj= 1; return i; } } jjj is not used to qf offers to remove it. i say 'fine' but it leaves me in a state with compiler errors: class Test{ int i(){ return i; } }
resolved fixed
7a71f43
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-08T16:17:07Z
2002-05-07T14:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/JavaCorrectionProcessor.java
case IProblem.ExceptionTypeNotFound: case IProblem.InterfaceNotFound: case IProblem.TypeMismatch: case IProblem.UnhandledException: case IProblem.LocalVariableIsNeverUsed: case IProblem.VoidMethodReturnsValue: case IProblem.MissingReturnType: case IProblem.NonExternalizedStringLiteral: retu...
15,407
Bug 15407 quick fix: removes too many temps (multi declaration case)
20020502+ package p; class Test{ int i(){ int i= 0, jjj= 1; return i; } } jjj is not used to qf offers to remove it. i say 'fine' but it leaves me in a state with compiler errors: class Test{ int i(){ return i; } }
resolved fixed
7a71f43
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-08T16:17:07Z
2002-05-07T14:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/JavaCorrectionProcessor.java
* Constructor for JavaCorrectionProcessor. */ public JavaCorrectionProcessor(IEditorPart editor) { fEditor= editor; } /* * @see IContentAssistProcessor#computeCompletionProposals(ITextViewer, int) */ public ICompletionProposal[] computeCompletionProposals(ITextViewer viewer, int documentOffset) { IWork...
15,407
Bug 15407 quick fix: removes too many temps (multi declaration case)
20020502+ package p; class Test{ int i(){ int i= 0, jjj= 1; return i; } } jjj is not used to qf offers to remove it. i say 'fine' but it leaves me in a state with compiler errors: class Test{ int i(){ return i; } }
resolved fixed
7a71f43
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-08T16:17:07Z
2002-05-07T14:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/JavaCorrectionProcessor.java
} } } } } if (proposals.isEmpty()) { proposals.add(new NoCorrectionProposal(null)); } ICompletionProposal[] res= (ICompletionProposal[]) proposals.toArray(new ICompletionProposal[proposals.size()]); Arrays.sort(res, new CorrectionsComparator()); return res; } private void collectCorrec...
15,407
Bug 15407 quick fix: removes too many temps (multi declaration case)
20020502+ package p; class Test{ int i(){ int i= 0, jjj= 1; return i; } } jjj is not used to qf offers to remove it. i say 'fine' but it leaves me in a state with compiler errors: class Test{ int i(){ return i; } }
resolved fixed
7a71f43
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-08T16:17:07Z
2002-05-07T14:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/JavaCorrectionProcessor.java
case IProblem.ParameterMismatch: UnresolvedElementsSubProcessor.getMethodProposals(problemPos, true, proposals); break; case IProblem.MethodButWithConstructorName: LocalCorrectionsSubProcessor.addMethodWithConstrNameProposals(problemPos, proposals); break; case IProblem.UndefinedField: ...
15,407
Bug 15407 quick fix: removes too many temps (multi declaration case)
20020502+ package p; class Test{ int i(){ int i= 0, jjj= 1; return i; } } jjj is not used to qf offers to remove it. i say 'fine' but it leaves me in a state with compiler errors: class Test{ int i(){ return i; } }
resolved fixed
7a71f43
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-08T16:17:07Z
2002-05-07T14:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/JavaCorrectionProcessor.java
break; case IProblem.TypeMismatch: LocalCorrectionsSubProcessor.addCastProposals(problemPos, proposals); break; case IProblem.UnhandledException: LocalCorrectionsSubProcessor.addUncaughtExceptionProposals(problemPos, proposals); break; case IProblem.LocalVariableIsNeverUsed: LocalC...
15,407
Bug 15407 quick fix: removes too many temps (multi declaration case)
20020502+ package p; class Test{ int i(){ int i= 0, jjj= 1; return i; } } jjj is not used to qf offers to remove it. i say 'fine' but it leaves me in a state with compiler errors: class Test{ int i(){ return i; } }
resolved fixed
7a71f43
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-08T16:17:07Z
2002-05-07T14:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/JavaCorrectionProcessor.java
return null; } /* * @see IContentAssistProcessor#getCompletionProposalAutoActivationCharacters() */ public char[] getCompletionProposalAutoActivationCharacters() { return null; } /* * @see IContentAssistProcessor#getContextInformationAutoActivationCharacters() */ public char[] getContextInformationAutoA...
15,407
Bug 15407 quick fix: removes too many temps (multi declaration case)
20020502+ package p; class Test{ int i(){ int i= 0, jjj= 1; return i; } } jjj is not used to qf offers to remove it. i say 'fine' but it leaves me in a state with compiler errors: class Test{ int i(){ return i; } }
resolved fixed
7a71f43
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-08T16:17:07Z
2002-05-07T14:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/LocalCorrectionsSubProcessor.java
package org.eclipse.jdt.internal.ui.text.correction; import java.util.ArrayList; import org.eclipse.core.runtime.CoreException; import org.eclipse.jface.text.IDocument; import org.eclipse.jdt.core.IBuffer; import org.eclipse.jdt.core.ICompilationUnit; import org.eclipse.jdt.core.JavaModelException; import org.eclipse.j...
15,407
Bug 15407 quick fix: removes too many temps (multi declaration case)
20020502+ package p; class Test{ int i(){ int i= 0, jjj= 1; return i; } } jjj is not used to qf offers to remove it. i say 'fine' but it leaves me in a state with compiler errors: class Test{ int i(){ return i; } }
resolved fixed
7a71f43
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-08T16:17:07Z
2002-05-07T14:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/LocalCorrectionsSubProcessor.java
import org.eclipse.jdt.core.dom.MethodDeclaration; import org.eclipse.jdt.core.dom.ReturnStatement; import org.eclipse.jdt.core.dom.SimpleName; import org.eclipse.jdt.core.dom.Statement; import org.eclipse.jdt.core.dom.VariableDeclarationFragment; import org.eclipse.jdt.internal.corext.codemanipulation.CodeGenerationSe...
15,407
Bug 15407 quick fix: removes too many temps (multi declaration case)
20020502+ package p; class Test{ int i(){ int i= 0, jjj= 1; return i; } } jjj is not used to qf offers to remove it. i say 'fine' but it leaves me in a state with compiler errors: class Test{ int i(){ return i; } }
resolved fixed
7a71f43
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-08T16:17:07Z
2002-05-07T14:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/LocalCorrectionsSubProcessor.java
if (parentNodeType == ASTNode.ASSIGNMENT) { Assignment assign= (Assignment) selectedNode.getParent(); if (selectedNode.equals(assign.getLeftHandSide())) { pos= assign.getRightHandSide().getStartPosition(); } } else if (parentNodeType == ASTNode.VARIABLE_DECLARATION_FRAGMENT) { VariableDecl...
15,407
Bug 15407 quick fix: removes too many temps (multi declaration case)
20020502+ package p; class Test{ int i(){ int i= 0, jjj= 1; return i; } } jjj is not used to qf offers to remove it. i say 'fine' but it leaves me in a state with compiler errors: class Test{ int i(){ return i; } }
resolved fixed
7a71f43
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-08T16:17:07Z
2002-05-07T14:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/LocalCorrectionsSubProcessor.java
public static void addUncaughtExceptionProposals(ProblemPosition problemPos, ArrayList proposals) throws CoreException { ICompilationUnit cu= problemPos.getCompilationUnit(); CompilationUnit astRoot= AST.parseCompilationUnit(cu, true); ASTNode selectedNode= ASTResolving.findSelectedNode(astRoot, problemPos.getOff...
15,407
Bug 15407 quick fix: removes too many temps (multi declaration case)
20020502+ package p; class Test{ int i(){ int i= 0, jjj= 1; return i; } } jjj is not used to qf offers to remove it. i say 'fine' but it leaves me in a state with compiler errors: class Test{ int i(){ return i; } }
resolved fixed
7a71f43
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-08T16:17:07Z
2002-05-07T14:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/LocalCorrectionsSubProcessor.java
StringBuffer insertString= new StringBuffer(); if (methodDecl.thrownExceptions().isEmpty()) { insertString.append(" throws "); } else { insertString.append(", "); } insertString.append(Signature.getSimpleName(uncaughtName)); String label= CorrectionMessages.getString("LocalCorrectionsSubPro...
15,407
Bug 15407 quick fix: removes too many temps (multi declaration case)
20020502+ package p; class Test{ int i(){ int i= 0, jjj= 1; return i; } } jjj is not used to qf offers to remove it. i say 'fine' but it leaves me in a state with compiler errors: class Test{ int i(){ return i; } }
resolved fixed
7a71f43
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-08T16:17:07Z
2002-05-07T14:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/LocalCorrectionsSubProcessor.java
} } public static void addUnusedVariableProposals(ProblemPosition problemPos, ArrayList proposals) throws CoreException { ICompilationUnit cu= problemPos.getCompilationUnit(); CompilationUnit astRoot= AST.parseCompilationUnit(cu, false); ASTNode selectedNode= ASTResolving.findSelectedNode(astRoot, problemPos...
15,407
Bug 15407 quick fix: removes too many temps (multi declaration case)
20020502+ package p; class Test{ int i(){ int i= 0, jjj= 1; return i; } } jjj is not used to qf offers to remove it. i say 'fine' but it leaves me in a state with compiler errors: class Test{ int i(){ return i; } }
resolved fixed
7a71f43
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-08T16:17:07Z
2002-05-07T14:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/LocalCorrectionsSubProcessor.java
if (selectedNode.getParent() instanceof ReturnStatement) { ReturnStatement returnStatement= (ReturnStatement) selectedNode.getParent(); Expression expr= returnStatement.getExpression(); if (expr != null) { ITypeBinding binding= expr.resolveTypeBinding(); if (binding != null) { if ("null".equ...
15,407
Bug 15407 quick fix: removes too many temps (multi declaration case)
20020502+ package p; class Test{ int i(){ int i= 0, jjj= 1; return i; } } jjj is not used to qf offers to remove it. i say 'fine' but it leaves me in a state with compiler errors: class Test{ int i(){ return i; } }
resolved fixed
7a71f43
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-08T16:17:07Z
2002-05-07T14:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/LocalCorrectionsSubProcessor.java
res[0]= null; decl.accept(new GenericVisitor() { public boolean visit(ReturnStatement node) { if (res[0] == null) { Expression expr= node.getExpression(); if (expr != null) { ITypeBinding binding= expr.resolveTypeBinding(); if (binding != null) { res[0]= bindin...
15,407
Bug 15407 quick fix: removes too many temps (multi declaration case)
20020502+ package p; class Test{ int i(){ int i= 0, jjj= 1; return i; } } jjj is not used to qf offers to remove it. i say 'fine' but it leaves me in a state with compiler errors: class Test{ int i(){ return i; } }
resolved fixed
7a71f43
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-08T16:17:07Z
2002-05-07T14:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/LocalCorrectionsSubProcessor.java
CodeGenerationSettings settings= JavaPreferencesSettings.getCodeGenerationSettings(); ImportEdit edit= new ImportEdit(problemPos.getCompilationUnit(), settings); edit.addImport(type.getName()); proposal.getCompilationUnitChange().addTextEdit("import", edit); proposals.add(proposal); } } } pub...
13,661
Bug 13661 Labels and widgets too far apart in preference pages
Build: 20020411 Steps: 1. Click on Window->Preferences 2. Open Java->Editor or Java->Compiler The widgets used to select options (Combo boxes or color selection boxes) are right-aligned, and the labels are left aligned, leaving a large space between. This problem is magnified if the user opens a page that is wider than...
resolved fixed
07f36eb
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-08T16:31:10Z
2002-04-12T16:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CompilerPreferencePage.java
/* * (c) Copyright IBM Corp. 2000, 2001. * All Rights Reserved. */ package org.eclipse.jdt.internal.ui.preferences; import java.lang.reflect.InvocationTargetException; import java.util.ArrayList; import java.util.Arrays; import java.util.Hashtable; import org.eclipse.core.resources.IncrementalProjectBuilder; import ...
13,661
Bug 13661 Labels and widgets too far apart in preference pages
Build: 20020411 Steps: 1. Click on Window->Preferences 2. Open Java->Editor or Java->Compiler The widgets used to select options (Combo boxes or color selection boxes) are right-aligned, and the labels are left aligned, leaving a large space between. This problem is magnified if the user opens a page that is wider than...
resolved fixed
07f36eb
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-08T16:31:10Z
2002-04-12T16:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CompilerPreferencePage.java
import org.eclipse.swt.widgets.Combo; import org.eclipse.swt.widgets.Composite; import org.eclipse.swt.widgets.Control; import org.eclipse.swt.widgets.Label; import org.eclipse.swt.widgets.Shell; import org.eclipse.swt.widgets.TabFolder; import org.eclipse.swt.widgets.TabItem; import org.eclipse.swt.widgets.Widget; imp...
13,661
Bug 13661 Labels and widgets too far apart in preference pages
Build: 20020411 Steps: 1. Click on Window->Preferences 2. Open Java->Editor or Java->Compiler The widgets used to select options (Combo boxes or color selection boxes) are right-aligned, and the labels are left aligned, leaving a large space between. This problem is magnified if the user opens a page that is wider than...
resolved fixed
07f36eb
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-08T16:31:10Z
2002-04-12T16:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CompilerPreferencePage.java
private static final String PREF_LOCAL_VARIABLE_ATTR= JavaCore.COMPILER_LOCAL_VARIABLE_ATTR; private static final String PREF_LINE_NUMBER_ATTR= JavaCore.COMPILER_LINE_NUMBER_ATTR; private static final String PREF_SOURCE_FILE_ATTR= JavaCore.COMPILER_SOURCE_FILE_ATTR; private static final String PREF_CODEGEN_UNUSED_L...
13,661
Bug 13661 Labels and widgets too far apart in preference pages
Build: 20020411 Steps: 1. Click on Window->Preferences 2. Open Java->Editor or Java->Compiler The widgets used to select options (Combo boxes or color selection boxes) are right-aligned, and the labels are left aligned, leaving a large space between. This problem is magnified if the user opens a page that is wider than...
resolved fixed
07f36eb
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-08T16:31:10Z
2002-04-12T16:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CompilerPreferencePage.java
private static final String PRESERVE= JavaCore.PRESERVE; private static final String OPTIMIZE_OUT= JavaCore.OPTIMIZE_OUT; private static final String VERSION_1_1= JavaCore.VERSION_1_1; private static final String VERSION_1_2= JavaCore.VERSION_1_2; private static final String VERSION_1_3= JavaCore.VERSION_1_3; pr...
13,661
Bug 13661 Labels and widgets too far apart in preference pages
Build: 20020411 Steps: 1. Click on Window->Preferences 2. Open Java->Editor or Java->Compiler The widgets used to select options (Combo boxes or color selection boxes) are right-aligned, and the labels are left aligned, leaving a large space between. This problem is magnified if the user opens a page that is wider than...
resolved fixed
07f36eb
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-08T16:31:10Z
2002-04-12T16:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CompilerPreferencePage.java
private String fKey; private String[] fValues; public ControlData(String key, String[] values) { fKey= key; fValues= values; } public String getKey() { return fKey; } public String getValue(boolean selection) { int index= selection ? 0 : 1; return fValues[index]; }
13,661
Bug 13661 Labels and widgets too far apart in preference pages
Build: 20020411 Steps: 1. Click on Window->Preferences 2. Open Java->Editor or Java->Compiler The widgets used to select options (Combo boxes or color selection boxes) are right-aligned, and the labels are left aligned, leaving a large space between. This problem is magnified if the user opens a page that is wider than...
resolved fixed
07f36eb
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-08T16:31:10Z
2002-04-12T16:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CompilerPreferencePage.java
public String getValue(int index) { return fValues[index]; } public int getSelection(String value) { for (int i= 0; i < fValues.length; i++) { if (value.equals(fValues[i])) { return i; } } throw new IllegalArgumentException(); } } private Hashtable fWorkingValues; private ArrayL...
13,661
Bug 13661 Labels and widgets too far apart in preference pages
Build: 20020411 Steps: 1. Click on Window->Preferences 2. Open Java->Editor or Java->Compiler The widgets used to select options (Combo boxes or color selection boxes) are right-aligned, and the labels are left aligned, leaving a large space between. This problem is magnified if the user opens a page that is wider than...
resolved fixed
07f36eb
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-08T16:31:10Z
2002-04-12T16:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CompilerPreferencePage.java
fComplianceControls= new ArrayList(); fSelectionListener= new SelectionListener() { public void widgetDefaultSelected(SelectionEvent e) {} public void widgetSelected(SelectionEvent e) { controlChanged(e.widget); } }; } /** * @see IWorkbenchPreferencePage#init() */ public void init(IWork...
13,661
Bug 13661 Labels and widgets too far apart in preference pages
Build: 20020411 Steps: 1. Click on Window->Preferences 2. Open Java->Editor or Java->Compiler The widgets used to select options (Combo boxes or color selection boxes) are right-aligned, and the labels are left aligned, leaving a large space between. This problem is magnified if the user opens a page that is wider than...
resolved fixed
07f36eb
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-08T16:31:10Z
2002-04-12T16:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CompilerPreferencePage.java
folder.setLayout(new TabFolderLayout()); folder.setLayoutData(new GridData(GridData.FILL_BOTH)); Composite warningsComposite= createWarningsTabContent(folder); Composite codeGenComposite= createCodeGenTabContent(folder); Composite complianceComposite= createComplianceTabContent(folder); TabItem item= new ...
13,661
Bug 13661 Labels and widgets too far apart in preference pages
Build: 20020411 Steps: 1. Click on Window->Preferences 2. Open Java->Editor or Java->Compiler The widgets used to select options (Combo boxes or color selection boxes) are right-aligned, and the labels are left aligned, leaving a large space between. This problem is magnified if the user opens a page that is wider than...
resolved fixed
07f36eb
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-08T16:31:10Z
2002-04-12T16:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CompilerPreferencePage.java
JavaUIMessages.getString("CompilerPreferencePage.ignore") }; GridLayout layout= new GridLayout(); layout.numColumns= 2; Composite warningsComposite= new Composite(folder, SWT.NULL); warningsComposite.setLayout(layout); Label description= new Label(warningsComposite, SWT.WRAP); description.setText(Jav...
13,661
Bug 13661 Labels and widgets too far apart in preference pages
Build: 20020411 Steps: 1. Click on Window->Preferences 2. Open Java->Editor or Java->Compiler The widgets used to select options (Combo boxes or color selection boxes) are right-aligned, and the labels are left aligned, leaving a large space between. This problem is magnified if the user opens a page that is wider than...
resolved fixed
07f36eb
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-08T16:31:10Z
2002-04-12T16:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CompilerPreferencePage.java
label= JavaUIMessages.getString("CompilerPreferencePage.pb_unused_parameter.label"); addComboBox(warningsComposite, label, PREF_PB_UNUSED_PARAMETER, errorWarningIgnore, errorWarningIgnoreLabels, 0); label= JavaUIMessages.getString("CompilerPreferencePage.pb_synth_access_emul.label"); addComboBox(warningsComp...
13,661
Bug 13661 Labels and widgets too far apart in preference pages
Build: 20020411 Steps: 1. Click on Window->Preferences 2. Open Java->Editor or Java->Compiler The widgets used to select options (Combo boxes or color selection boxes) are right-aligned, and the labels are left aligned, leaving a large space between. This problem is magnified if the user opens a page that is wider than...
resolved fixed
07f36eb
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-08T16:31:10Z
2002-04-12T16:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CompilerPreferencePage.java
private Composite createComplianceTabContent(Composite folder) { GridLayout layout= new GridLayout(); layout.numColumns= 2; Composite complianceComposite= new Composite(folder, SWT.NULL); complianceComposite.setLayout(layout); String[] values34= new String[] { VERSION_1_3, VERSION_1_4 }; String[] values34La...
13,661
Bug 13661 Labels and widgets too far apart in preference pages
Build: 20020411 Steps: 1. Click on Window->Preferences 2. Open Java->Editor or Java->Compiler The widgets used to select options (Combo boxes or color selection boxes) are right-aligned, and the labels are left aligned, leaving a large space between. This problem is magnified if the user opens a page that is wider than...
resolved fixed
07f36eb
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-08T16:31:10Z
2002-04-12T16:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CompilerPreferencePage.java
addComboBox(complianceComposite, label, PREF_SOURCE_COMPATIBILITY, values34, values34Labels, indent); String[] errorWarningIgnore= new String[] { ERROR, WARNING, IGNORE }; String[] errorWarningIgnoreLabels= new String[] { JavaUIMessages.getString("CompilerPreferencePage.error"), JavaUIMessages.getString...
13,661
Bug 13661 Labels and widgets too far apart in preference pages
Build: 20020411 Steps: 1. Click on Window->Preferences 2. Open Java->Editor or Java->Compiler The widgets used to select options (Combo boxes or color selection boxes) are right-aligned, and the labels are left aligned, leaving a large space between. This problem is magnified if the user opens a page that is wider than...
resolved fixed
07f36eb
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-08T16:31:10Z
2002-04-12T16:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CompilerPreferencePage.java
String currValue= (String)fWorkingValues.get(key); checkBox.setSelection(data.getSelection(currValue) == 0); fCheckBoxes.add(checkBox); } private void addComboBox(Composite parent, String label, String key, String[] values, String[] valueLabels, int indent) { ControlData data= new ControlData(key, values)...
13,661
Bug 13661 Labels and widgets too far apart in preference pages
Build: 20020411 Steps: 1. Click on Window->Preferences 2. Open Java->Editor or Java->Compiler The widgets used to select options (Combo boxes or color selection boxes) are right-aligned, and the labels are left aligned, leaving a large space between. This problem is magnified if the user opens a page that is wider than...
resolved fixed
07f36eb
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-08T16:31:10Z
2002-04-12T16:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CompilerPreferencePage.java
String newValue= null; if (widget instanceof Button) { newValue= data.getValue(((Button)widget).getSelection()); } else if (widget instanceof Combo) { newValue= data.getValue(((Combo)widget).getSelectionIndex()); } else { return; } fWorkingValues.put(data.getKey(), newValue); validateSettings...
13,661
Bug 13661 Labels and widgets too far apart in preference pages
Build: 20020411 Steps: 1. Click on Window->Preferences 2. Open Java->Editor or Java->Compiler The widgets used to select options (Combo boxes or color selection boxes) are right-aligned, and the labels are left aligned, leaving a large space between. This problem is magnified if the user opens a page that is wider than...
resolved fixed
07f36eb
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-08T16:31:10Z
2002-04-12T16:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CompilerPreferencePage.java
} else if (!PREF_SOURCE_COMPATIBILITY.equals(changedKey) && !PREF_CODEGEN_TARGET_PLATFORM.equals(changedKey) && !PREF_PB_ASSERT_AS_IDENTIFIER.equals(changedKey)) { return; } } else { updateComplianceEnableState(); } updateStatus(getValidation()); } private IStatus getValidation() { Statu...
13,661
Bug 13661 Labels and widgets too far apart in preference pages
Build: 20020411 Steps: 1. Click on Window->Preferences 2. Open Java->Editor or Java->Compiler The widgets used to select options (Combo boxes or color selection boxes) are right-aligned, and the labels are left aligned, leaving a large space between. This problem is magnified if the user opens a page that is wider than...
resolved fixed
07f36eb
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-08T16:31:10Z
2002-04-12T16:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CompilerPreferencePage.java
status.setError(JavaUIMessages.getString("CompilerPreferencePage.src14tgt14.error")); return status; } } return status; } /* * Update the compliance controls' enable state */ private void updateComplianceEnableState() { boolean enabled= checkValue(INTR_DEFAULT_COMPLIANCE, USER); for (int i=...
13,661
Bug 13661 Labels and widgets too far apart in preference pages
Build: 20020411 Steps: 1. Click on Window->Preferences 2. Open Java->Editor or Java->Compiler The widgets used to select options (Combo boxes or color selection boxes) are right-aligned, and the labels are left aligned, leaving a large space between. This problem is magnified if the user opens a page that is wider than...
resolved fixed
07f36eb
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-08T16:31:10Z
2002-04-12T16:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CompilerPreferencePage.java
updateControls(); } /* * Evaluate if the current compliance setting correspond to a default setting */ private String getCurrentCompliance() { Object complianceLevel= fWorkingValues.get(PREF_COMPLIANCE); if ((VERSION_1_3.equals(complianceLevel) && checkValue(PREF_PB_ASSERT_AS_IDENTIFIER, IGNORE) &&...
13,661
Bug 13661 Labels and widgets too far apart in preference pages
Build: 20020411 Steps: 1. Click on Window->Preferences 2. Open Java->Editor or Java->Compiler The widgets used to select options (Combo boxes or color selection boxes) are right-aligned, and the labels are left aligned, leaving a large space between. This problem is magnified if the user opens a page that is wider than...
resolved fixed
07f36eb
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-08T16:31:10Z
2002-04-12T16:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CompilerPreferencePage.java
for (int i= 0; i < allKeys.length; i++) { String key= allKeys[i]; String val= (String) fWorkingValues.get(key); String oldVal= (String) actualOptions.get(key); hasChanges= hasChanges | !val.equals(oldVal); actualOptions.put(key, val); } if (hasChanges) { String title= JavaUIMessages.get...
13,661
Bug 13661 Labels and widgets too far apart in preference pages
Build: 20020411 Steps: 1. Click on Window->Preferences 2. Open Java->Editor or Java->Compiler The widgets used to select options (Combo boxes or color selection boxes) are right-aligned, and the labels are left aligned, leaving a large space between. This problem is magnified if the user opens a page that is wider than...
resolved fixed
07f36eb
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-08T16:31:10Z
2002-04-12T16:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CompilerPreferencePage.java
return dialog.open() == 0; } private void doFullBuild() { ProgressMonitorDialog dialog= new ProgressMonitorDialog(getShell()); try { dialog.run(true, true, new IRunnableWithProgress() { public void run(IProgressMonitor monitor) throws InvocationTargetException { try { JavaPlugin.getWorkspace()...
13,661
Bug 13661 Labels and widgets too far apart in preference pages
Build: 20020411 Steps: 1. Click on Window->Preferences 2. Open Java->Editor or Java->Compiler The widgets used to select options (Combo boxes or color selection boxes) are right-aligned, and the labels are left aligned, leaving a large space between. This problem is magnified if the user opens a page that is wider than...
resolved fixed
07f36eb
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-08T16:31:10Z
2002-04-12T16:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CompilerPreferencePage.java
updateControls(); validateSettings(null, null); super.performDefaults(); } private void updateControls() { for (int i= fCheckBoxes.size() - 1; i >= 0; i--) { Button curr= (Button) fCheckBoxes.get(i); ControlData data= (ControlData) curr.getData(); String currValue= (String) fWorkingValues.ge...
7,330
Bug 7330 Make more actions available on text selection
I could not find the action "Add Javadoc Comment" until I switched to the Outline view. I expected the action to be 1. in the context menu and if not 2. in the Edit (or some other global) menu I think currently we distribute the actions on a personal taste basis. This should be changed. It is not clear to users why som...
resolved fixed
08af42f
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-10T09:32:54Z
2002-01-08T08:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/AddGetterSetterAction.java
/******************************************************************************* * Copyright (c) 2000, 2002 International Business Machines Corp. and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Common Public License v0.5 * which accompanie...
7,330
Bug 7330 Make more actions available on text selection
I could not find the action "Add Javadoc Comment" until I switched to the Outline view. I expected the action to be 1. in the context menu and if not 2. in the Edit (or some other global) menu I think currently we distribute the actions on a personal taste basis. This should be changed. It is not clear to users why som...
resolved fixed
08af42f
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-10T09:32:54Z
2002-01-08T08:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/AddGetterSetterAction.java
import org.eclipse.jdt.core.IMember; import org.eclipse.jdt.core.IMethod; import org.eclipse.jdt.core.JavaModelException; import org.eclipse.jdt.internal.corext.codemanipulation.AddGetterSetterOperation; import org.eclipse.jdt.internal.corext.codemanipulation.CodeGenerationSettings; import org.eclipse.jdt.internal.core...
7,330
Bug 7330 Make more actions available on text selection
I could not find the action "Add Javadoc Comment" until I switched to the Outline view. I expected the action to be 1. in the context menu and if not 2. in the Edit (or some other global) menu I think currently we distribute the actions on a personal taste basis. This should be changed. It is not clear to users why som...
resolved fixed
08af42f
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-10T09:32:54Z
2002-01-08T08:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/AddGetterSetterAction.java
private CompilationUnitEditor fEditor; /** * Creates a new <code>AddGetterSetterAction</code>. * * @param site the site providing context information for this action */ public AddGetterSetterAction(IWorkbenchSite site) { super(site); setText(ActionMessages.getString("AddGetterSetterAction.label")); se...
7,330
Bug 7330 Make more actions available on text selection
I could not find the action "Add Javadoc Comment" until I switched to the Outline view. I expected the action to be 1. in the context menu and if not 2. in the Edit (or some other global) menu I think currently we distribute the actions on a personal taste basis. This should be changed. It is not clear to users why som...
resolved fixed
08af42f
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-10T09:32:54Z
2002-01-08T08:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/AddGetterSetterAction.java
this(editor.getEditorSite()); fEditor= editor; } /* (non-Javadoc) * Method declared on SelectionDispatchAction */ protected void selectionChanged(IStructuredSelection selection) { try { IMember[] members= getSelectedFields(selection); setEnabled(members != null && members.length > 0 && JavaModelU...
7,330
Bug 7330 Make more actions available on text selection
I could not find the action "Add Javadoc Comment" until I switched to the Outline view. I expected the action to be 1. in the context menu and if not 2. in the Edit (or some other global) menu I think currently we distribute the actions on a personal taste basis. This should be changed. It is not clear to users why som...
resolved fixed
08af42f
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-10T09:32:54Z
2002-01-08T08:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/AddGetterSetterAction.java
IEditorPart editor= EditorUtility.openInEditor(cu); ICompilationUnit workingCopyCU; IField[] workingCopyFields; if (cu.isWorkingCopy()) { workingCopyCU= cu; workingCopyFields= fields; } else { workingCopyCU= EditorUtility.getWorkingCopy(cu); if (workingCopyCU == null) { showError(Ac...
7,330
Bug 7330 Make more actions available on text selection
I could not find the action "Add Javadoc Comment" until I switched to the Outline view. I expected the action to be 1. in the context menu and if not 2. in the Edit (or some other global) menu I think currently we distribute the actions on a personal taste basis. This should be changed. It is not clear to users why som...
resolved fixed
08af42f
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-10T09:32:54Z
2002-01-08T08:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/AddGetterSetterAction.java
} /* (non-Javadoc) * Method declared on SelectionDispatchAction */ protected void selectionChanged(ITextSelection selection) { setEnabled(fEditor != null && !fEditor.isEditorInputReadOnly()); } /* (non-Javadoc) * Method declared on SelectionDispatchAction */ protected void run(ITextSelection se...
7,330
Bug 7330 Make more actions available on text selection
I could not find the action "Add Javadoc Comment" until I switched to the Outline view. I expected the action to be 1. in the context menu and if not 2. in the Edit (or some other global) menu I think currently we distribute the actions on a personal taste basis. This should be changed. It is not clear to users why som...
resolved fixed
08af42f
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-10T09:32:54Z
2002-01-08T08:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/AddGetterSetterAction.java
IRequestQuery skipSetterForFinalQuery= skipSetterForFinalQuery(); IRequestQuery skipReplaceQuery= skipReplaceQuery(); String[] prefixes= CodeGenerationPreferencePage.getGetterStetterPrefixes(); String[] suffixes= CodeGenerationPreferencePage.getGetterStetterSuffixes(); CodeGenerationSettings settings= JavaP...
7,330
Bug 7330 Make more actions available on text selection
I could not find the action "Add Javadoc Comment" until I switched to the Outline view. I expected the action to be 1. in the context menu and if not 2. in the Edit (or some other global) menu I think currently we distribute the actions on a personal taste basis. This should be changed. It is not clear to users why som...
resolved fixed
08af42f
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-10T09:32:54Z
2002-01-08T08:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/AddGetterSetterAction.java
} }; } private IRequestQuery skipReplaceQuery() { return new IRequestQuery() { public int doQuery(IMember method) { int[] returnCodes= {IRequestQuery.YES, IRequestQuery.NO, IRequestQuery.YES_ALL, IRequestQuery.CANCEL}; String skipLabel= ActionMessages.getString("AddGetterSetterAction.SkipExistingDial...
7,330
Bug 7330 Make more actions available on text selection
I could not find the action "Add Javadoc Comment" until I switched to the Outline view. I expected the action to be 1. in the context menu and if not 2. in the Edit (or some other global) menu I think currently we distribute the actions on a personal taste basis. This should be changed. It is not clear to users why som...
resolved fixed
08af42f
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-10T09:32:54Z
2002-01-08T08:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/AddGetterSetterAction.java
MessageDialog dialog= new MessageDialog(shell, title, null, message, MessageDialog.QUESTION, buttonLabels, 0); result[0]= dialog.open(); } }); int returnVal= result[0]; return returnVal < 0 ? IRequestQuery.CANCEL : returnCodes[returnVal]; } private void showError(String message) { MessageDialog.op...
7,330
Bug 7330 Make more actions available on text selection
I could not find the action "Add Javadoc Comment" until I switched to the Outline view. I expected the action to be 1. in the context menu and if not 2. in the Edit (or some other global) menu I think currently we distribute the actions on a personal taste basis. This should be changed. It is not clear to users why som...
resolved fixed
08af42f
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-10T09:32:54Z
2002-01-08T08:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/AddGetterSetterAction.java
return null; } } else if (!cu.equals(fld.getCompilationUnit())) { return null; } try { if (fld.getDeclaringType().isInterface()) { return null; } } catch (JavaModelException e) { JavaPlugin.log(e); return null; } res[i]= fld; ...
7,330
Bug 7330 Make more actions available on text selection
I could not find the action "Add Javadoc Comment" until I switched to the Outline view. I expected the action to be 1. in the context menu and if not 2. in the Edit (or some other global) menu I think currently we distribute the actions on a personal taste basis. This should be changed. It is not clear to users why som...
resolved fixed
08af42f
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-10T09:32:54Z
2002-01-08T08:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/GenerateActionGroup.java
/******************************************************************************* * Copyright (c) 2002 International Business Machines Corp. and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Common Public License v0.5 * which accompanies this...
7,330
Bug 7330 Make more actions available on text selection
I could not find the action "Add Javadoc Comment" until I switched to the Outline view. I expected the action to be 1. in the context menu and if not 2. in the Edit (or some other global) menu I think currently we distribute the actions on a personal taste basis. This should be changed. It is not clear to users why som...
resolved fixed
08af42f
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-10T09:32:54Z
2002-01-08T08:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/GenerateActionGroup.java
import org.eclipse.jface.viewers.ISelectionProvider; import org.eclipse.jface.viewers.IStructuredSelection; import org.eclipse.ui.IActionBars; import org.eclipse.ui.IViewPart; import org.eclipse.ui.IWorkbenchActionConstants; import org.eclipse.ui.IWorkbenchSite; import org.eclipse.ui.actions.ActionGroup; import org.ecl...
7,330
Bug 7330 Make more actions available on text selection
I could not find the action "Add Javadoc Comment" until I switched to the Outline view. I expected the action to be 1. in the context menu and if not 2. in the Edit (or some other global) menu I think currently we distribute the actions on a personal taste basis. This should be changed. It is not clear to users why som...
resolved fixed
08af42f
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-10T09:32:54Z
2002-01-08T08:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/GenerateActionGroup.java
private AddImportOnSelectionAction fAddImport; private OverrideMethodsAction fOverrideMethods; private AddGetterSetterAction fAddGetterSetter; private AddUnimplementedConstructorsAction fAddUnimplementedConstructors; private AddJavaDocStubAction fAddJavaDocStub; private AddBookmarkAction fAddBookmark; private Ext...
7,330
Bug 7330 Make more actions available on text selection
I could not find the action "Add Javadoc Comment" until I switched to the Outline view. I expected the action to be 1. in the context menu and if not 2. in the Edit (or some other global) menu I think currently we distribute the actions on a personal taste basis. This should be changed. It is not clear to users why som...
resolved fixed
08af42f
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-10T09:32:54Z
2002-01-08T08:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/GenerateActionGroup.java
fOrganizeImports= new OrganizeImportsAction(editor); fOrganizeImports.editorStateChanged(); fOverrideMethods= new OverrideMethodsAction(editor); fOverrideMethods.editorStateChanged(); fAddUnimplementedConstructors= new AddUnimplementedConstructorsAction(editor); fAddUnimplementedConstructors.editorStateCha...
7,330
Bug 7330 Make more actions available on text selection
I could not find the action "Add Javadoc Comment" until I switched to the Outline view. I expected the action to be 1. in the context menu and if not 2. in the Edit (or some other global) menu I think currently we distribute the actions on a personal taste basis. This should be changed. It is not clear to users why som...
resolved fixed
08af42f
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-10T09:32:54Z
2002-01-08T08:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/GenerateActionGroup.java
} /** * Creates a new <code>GenerateActionGroup</code>. * * @param part the view part that owns this action group */ public GenerateActionGroup(IViewPart part) { this(part.getSite()); } private GenerateActionGroup(IWorkbenchSite site) { fSite= site; ISelectionProvider provider= fSite.getSelectionPr...
7,330
Bug 7330 Make more actions available on text selection
I could not find the action "Add Javadoc Comment" until I switched to the Outline view. I expected the action to be 1. in the context menu and if not 2. in the Edit (or some other global) menu I think currently we distribute the actions on a personal taste basis. This should be changed. It is not clear to users why som...
resolved fixed
08af42f
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-10T09:32:54Z
2002-01-08T08:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/GenerateActionGroup.java
if (selection instanceof IStructuredSelection) { IStructuredSelection ss= (IStructuredSelection)selection; fAddBookmark.selectionChanged(ss); } else { fAddBookmark.setEnabled(false); } fOrganizeImports.update(selection); provider.addSelectionChangedListener(fOverrideMethods); provider.addSelection...
7,330
Bug 7330 Make more actions available on text selection
I could not find the action "Add Javadoc Comment" until I switched to the Outline view. I expected the action to be 1. in the context menu and if not 2. in the Edit (or some other global) menu I think currently we distribute the actions on a personal taste basis. This should be changed. It is not clear to users why som...
resolved fixed
08af42f
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-10T09:32:54Z
2002-01-08T08:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/GenerateActionGroup.java
fOrganizeImports.editorStateChanged(); fOverrideMethods.editorStateChanged(); fAddUnimplementedConstructors.editorStateChanged(); fAddJavaDocStub.editorStateChanged(); fSurroundWithTryCatch.editorStateChanged(); } /* (non-Javadoc) * Method declared in ActionGroup */ public void fillActionBars(IActionBars...
7,330
Bug 7330 Make more actions available on text selection
I could not find the action "Add Javadoc Comment" until I switched to the Outline view. I expected the action to be 1. in the context menu and if not 2. in the Edit (or some other global) menu I think currently we distribute the actions on a personal taste basis. This should be changed. It is not clear to users why som...
resolved fixed
08af42f
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-10T09:32:54Z
2002-01-08T08:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/GenerateActionGroup.java
added+= appendToGroup(target, fOverrideMethods); added+= appendToGroup(target, fAddGetterSetter); added+= appendToGroup(target, fAddUnimplementedConstructors); added+= appendToGroup(target, fAddJavaDocStub); added+= appendToGroup(target, fAddBookmark); added+= appendToGroup(target, fExternalizeStrings); if ...
7,330
Bug 7330 Make more actions available on text selection
I could not find the action "Add Javadoc Comment" until I switched to the Outline view. I expected the action to be 1. in the context menu and if not 2. in the Edit (or some other global) menu I think currently we distribute the actions on a personal taste basis. This should be changed. It is not clear to users why som...
resolved fixed
08af42f
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-10T09:32:54Z
2002-01-08T08:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/GenerateActionGroup.java
actionBar.setGlobalActionHandler(JdtActionConstants.GENERATE_GETTER_SETTER, fAddGetterSetter); actionBar.setGlobalActionHandler(JdtActionConstants.ADD_CONSTRUCTOR_FROM_SUPERCLASS, fAddUnimplementedConstructors); actionBar.setGlobalActionHandler(JdtActionConstants.ADD_JAVA_DOC_COMMENT, fAddJavaDocStub); actionBar....
7,330
Bug 7330 Make more actions available on text selection
I could not find the action "Add Javadoc Comment" until I switched to the Outline view. I expected the action to be 1. in the context menu and if not 2. in the Edit (or some other global) menu I think currently we distribute the actions on a personal taste basis. This should be changed. It is not clear to users why som...
resolved fixed
08af42f
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-10T09:32:54Z
2002-01-08T08:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/ImportActionGroup.java
/******************************************************************************* * Copyright (c) 2002 International Business Machines Corp. and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Common Public License v0.5 * which accompanies this...
7,330
Bug 7330 Make more actions available on text selection
I could not find the action "Add Javadoc Comment" until I switched to the Outline view. I expected the action to be 1. in the context menu and if not 2. in the Edit (or some other global) menu I think currently we distribute the actions on a personal taste basis. This should be changed. It is not clear to users why som...
resolved fixed
08af42f
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-10T09:32:54Z
2002-01-08T08:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/ImportActionGroup.java
* context menu. * * @sine 2.0 */ public class ImportActionGroup extends ActionGroup { private static final String GROUP_IMPORT= "group.import"; private ImportResourcesAction fImportAction; private ExportResourcesAction fExportAction; /** * Creates a new <code>ImportActionGroup</code>. * * @param part the...
7,330
Bug 7330 Make more actions available on text selection
I could not find the action "Add Javadoc Comment" until I switched to the Outline view. I expected the action to be 1. in the context menu and if not 2. in the Edit (or some other global) menu I think currently we distribute the actions on a personal taste basis. This should be changed. It is not clear to users why som...
resolved fixed
08af42f
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-10T09:32:54Z
2002-01-08T08:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/ImportActionGroup.java
menu.appendToGroup(GROUP_IMPORT, fExportAction); } super.fillContextMenu(menu); } private void appendToGroup(IMenuManager menu, IAction action) { if (action.isEnabled()) menu.appendToGroup(GROUP_IMPORT, action); } private IStructuredSelection getStructuredSelection() { ISelection selection= getContex...
7,330
Bug 7330 Make more actions available on text selection
I could not find the action "Add Javadoc Comment" until I switched to the Outline view. I expected the action to be 1. in the context menu and if not 2. in the Edit (or some other global) menu I think currently we distribute the actions on a personal taste basis. This should be changed. It is not clear to users why som...
resolved fixed
08af42f
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-10T09:32:54Z
2002-01-08T08:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/OpenSuperImplementationAction.java
/******************************************************************************* * Copyright (c) 2000, 2002 International Business Machines Corp. and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Common Public License v0.5 * which accompanie...
7,330
Bug 7330 Make more actions available on text selection
I could not find the action "Add Javadoc Comment" until I switched to the Outline view. I expected the action to be 1. in the context menu and if not 2. in the Edit (or some other global) menu I think currently we distribute the actions on a personal taste basis. This should be changed. It is not clear to users why som...
resolved fixed
08af42f
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-10T09:32:54Z
2002-01-08T08:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/OpenSuperImplementationAction.java
import org.eclipse.ui.IObjectActionDelegate; import org.eclipse.ui.IWorkbenchPart; import org.eclipse.ui.IWorkbenchSite; import org.eclipse.jdt.core.Flags; import org.eclipse.jdt.core.IMethod; import org.eclipse.jdt.core.IType; import org.eclipse.jdt.core.ITypeHierarchy; import org.eclipse.jdt.core.JavaModelException; ...