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
17,566
Bug 17566 Browsing Java src not on class path
When browsing Java src which is not on the classpath it is annoying to have millions of Quickfix light bulbs and error indicators. I suggest to disable this feature and have a special icon in the editor tab to indicate that the source file is not on the classpath and therefore behaves differently in certain operations ...
resolved wontfix
27cae91
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-30T14:10:35Z
2002-05-24T08:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitDocumentProvider.java
if (temporaryProblemsChanged) fireModelChanged(new CompilationUnitAnnotationModelEvent(this, getResource(), false)); } private void removeMarkerOverlays(boolean isCanceled) { if (isCanceled) { fCurrentlyShadowed.addAll(fPreviouslyShadowed); } else { Iterator e= fPreviouslyShadowed.itera...
17,566
Bug 17566 Browsing Java src not on class path
When browsing Java src which is not on the classpath it is annoying to have millions of Quickfix light bulbs and error indicators. I suggest to disable this feature and have a special icon in the editor tab to indicate that the source file is not on the classpath and therefore behaves differently in certain operations ...
resolved wontfix
27cae91
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-30T14:10:35Z
2002-05-24T08:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitDocumentProvider.java
List list= (List) value; for (Iterator e = list.iterator(); e.hasNext();) setOverlay(e.next(), problemAnnotation); } else { setOverlay(value, problemAnnotation); } } /** * Tells this annotation model to collect temporary problems from now on. */ private void startCollectingP...
17,566
Bug 17566 Browsing Java src not on class path
When browsing Java src which is not on the classpath it is annoying to have millions of Quickfix light bulbs and error indicators. I suggest to disable this feature and have a special icon in the editor tab to indicate that the source file is not on the classpath and therefore behaves differently in certain operations ...
resolved wontfix
27cae91
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-30T14:10:35Z
2002-05-24T08:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitDocumentProvider.java
*/ protected void fireModelChanged() { fireModelChanged(new CompilationUnitAnnotationModelEvent(this, getResource(), true)); } /* * @see IProblemRequestor#isActive() */ public boolean isActive() { return fIsActive && (fCollectedProblems != null); } /* * @see IProblemRequest...
17,566
Bug 17566 Browsing Java src not on class path
When browsing Java src which is not on the classpath it is annoying to have millions of Quickfix light bulbs and error indicators. I suggest to disable this feature and have a special icon in the editor tab to indicate that the source file is not on the classpath and therefore behaves differently in certain operations ...
resolved wontfix
27cae91
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-30T14:10:35Z
2002-05-24T08:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitDocumentProvider.java
} private Object getAnnotations(Position position) { return fReverseMap.get(position); } /* * @see AnnotationModel#addAnnotation(Annotation, Position, boolean) */ protected void addAnnotation(Annotation annotation, Position position, boolean fireModelChanged) { super.addAnnotation...
17,566
Bug 17566 Browsing Java src not on class path
When browsing Java src which is not on the classpath it is annoying to have millions of Quickfix light bulbs and error indicators. I suggest to disable this feature and have a special icon in the editor tab to indicate that the source file is not on the classpath and therefore behaves differently in certain operations ...
resolved wontfix
27cae91
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-30T14:10:35Z
2002-05-24T08:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitDocumentProvider.java
super.removeAllAnnotations(fireModelChanged); fReverseMap.clear(); } /* * @see AnnotationModel#removeAnnotation(Annotation, boolean) */ protected void removeAnnotation(Annotation annotation, boolean fireModelChanged) { Position position= getPosition(annotation); Object cached= fReverseM...
17,566
Bug 17566 Browsing Java src not on class path
When browsing Java src which is not on the classpath it is annoying to have millions of Quickfix light bulbs and error indicators. I suggest to disable this feature and have a special icon in the editor tab to indicate that the source file is not on the classpath and therefore behaves differently in certain operations ...
resolved wontfix
27cae91
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-30T14:10:35Z
2002-05-24T08:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitDocumentProvider.java
private IDocument internalGetDocument(IFileEditorInput input) throws CoreException { IDocument document= getDocument(input); if (document != null) return document; return CompilationUnitDocumentProvider.this.createDocument(input); } public IBuffer createBuffer(IOpenable owner) { if (owner...
17,566
Bug 17566 Browsing Java src not on class path
When browsing Java src which is not on the classpath it is annoying to have millions of Quickfix light bulbs and error indicators. I suggest to disable this feature and have a special icon in the editor tab to indicate that the source file is not on the classpath and therefore behaves differently in certain operations ...
resolved wontfix
27cae91
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-30T14:10:35Z
2002-05-24T08:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitDocumentProvider.java
initializeDocument(document); } DocumentAdapter adapter= new DocumentAdapter(unit, document, new DefaultLineTracker(), CompilationUnitDocumentProvider.this, providerKey); adapter.setStatus(status); return adapter; } } catch (CoreException x) { handleCoreExcept...
17,566
Bug 17566 Browsing Java src not on class path
When browsing Java src which is not on the classpath it is annoying to have millions of Quickfix light bulbs and error indicators. I suggest to disable this feature and have a special icon in the editor tab to indicate that the source file is not on the classpath and therefore behaves differently in certain operations ...
resolved wontfix
27cae91
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-30T14:10:35Z
2002-05-24T08:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitDocumentProvider.java
((IAnnotationModelListener) listeners[i]).modelChanged(model); } } /** * @see IAnnotationModelListenerExtension#modelChanged(AnnotationModelEvent) */ public void modelChanged(AnnotationModelEvent event) { Object[] listeners= fListenerList.getListeners(); for (int i= 0; i < listeners.length;...
17,566
Bug 17566 Browsing Java src not on class path
When browsing Java src which is not on the classpath it is annoying to have millions of Quickfix light bulbs and error indicators. I suggest to disable this feature and have a special icon in the editor tab to indicate that the source file is not on the classpath and therefore behaves differently in certain operations ...
resolved wontfix
27cae91
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-30T14:10:35Z
2002-05-24T08:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitDocumentProvider.java
/* * @see IDocumentExtension#startSequentialRewrite() */ synchronized public void startSequentialRewrite() { super.startSequentialRewrite(); } /* * @see IDocumentExtension#stopSequentialRewrite() */ synchronized public void stopSequentialRewrite() { super.stopSequentialRewrite();...
17,566
Bug 17566 Browsing Java src not on class path
When browsing Java src which is not on the classpath it is annoying to have millions of Quickfix light bulbs and error indicators. I suggest to disable this feature and have a special icon in the editor tab to indicate that the source file is not on the classpath and therefore behaves differently in certain operations ...
resolved wontfix
27cae91
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-30T14:10:35Z
2002-05-24T08:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitDocumentProvider.java
/* * @see IDocument#getChar(int) */ synchronized public char getChar(int offset) throws BadLocationException { return super.getChar(offset); } /* * @see IDocument#replace(int, int, String) */ synchronized public void replace(int offset, int length, String text) throws BadLocationExce...
17,566
Bug 17566 Browsing Java src not on class path
When browsing Java src which is not on the classpath it is annoying to have millions of Quickfix light bulbs and error indicators. I suggest to disable this feature and have a special icon in the editor tab to indicate that the source file is not on the classpath and therefore behaves differently in certain operations ...
resolved wontfix
27cae91
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-30T14:10:35Z
2002-05-24T08:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitDocumentProvider.java
private boolean fIsAboutToSave= false; private ISavePolicy fSavePolicy; private IPropertyChangeListener fPropertyListener; private GlobalAnnotationModelListener fGlobalAnnotationModelListener; /** * Constructor */ public CompilationUnitDocumentProvider() { fPropertyListener= new IPropertyChangeLis...
17,566
Bug 17566 Browsing Java src not on class path
When browsing Java src which is not on the classpath it is annoying to have millions of Quickfix light bulbs and error indicators. I suggest to disable this feature and have a special icon in the editor tab to indicate that the source file is not on the classpath and therefore behaves differently in certain operations ...
resolved wontfix
27cae91
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-30T14:10:35Z
2002-05-24T08:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitDocumentProvider.java
fSavePolicy= savePolicy; } /** * Creates a compilation unit from the given file. * * @param file the file from which to create the compilation unit */ protected ICompilationUnit createCompilationUnit(IFile file) { Object element= JavaCore.create(file); if (element instanceof ICompilationUnit) retur...
17,566
Bug 17566 Browsing Java src not on class path
When browsing Java src which is not on the classpath it is annoying to have millions of Quickfix light bulbs and error indicators. I suggest to disable this feature and have a special icon in the editor tab to indicate that the source file is not on the classpath and therefore behaves differently in certain operations ...
resolved wontfix
27cae91
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-30T14:10:35Z
2002-05-24T08:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitDocumentProvider.java
if ( !(element instanceof IFileEditorInput)) return super.createElementInfo(element); IFileEditorInput input= (IFileEditorInput) element; ICompilationUnit original= createCompilationUnit(input.getFile()); if (original != null) { try { IProgressMonitor monitor= new NullProgressMonitor(); ...
17,566
Bug 17566 Browsing Java src not on class path
When browsing Java src which is not on the classpath it is annoying to have millions of Quickfix light bulbs and error indicators. I suggest to disable this feature and have a special icon in the editor tab to indicate that the source file is not on the classpath and therefore behaves differently in certain operations ...
resolved wontfix
27cae91
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-30T14:10:35Z
2002-05-24T08:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitDocumentProvider.java
f.install(); CompilationUnitInfo info= new CompilationUnitInfo(a.getDocument(), m, f, c); info.setModificationStamp(computeModificationStamp(input.getFile())); info.fStatus= a.getStatus(); if (r instanceof IProblemRequestorExtension) { IProblemRequestorExtension extension= (IProblemReques...
17,566
Bug 17566 Browsing Java src not on class path
When browsing Java src which is not on the classpath it is annoying to have millions of Quickfix light bulbs and error indicators. I suggest to disable this feature and have a special icon in the editor tab to indicate that the source file is not on the classpath and therefore behaves differently in certain operations ...
resolved wontfix
27cae91
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-30T14:10:35Z
2002-05-24T08:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitDocumentProvider.java
cuInfo.fModel.removeAnnotationModelListener(fGlobalAnnotationModelListener); } super.disposeElementInfo(element, info); } /* * @see AbstractDocumentProvider#doSaveDocument(IProgressMonitor, Object, IDocument, boolean) */ protected void doSaveDocument(IProgressMonitor monitor, Object element, IDocument d...
17,566
Bug 17566 Browsing Java src not on class path
When browsing Java src which is not on the classpath it is annoying to have millions of Quickfix light bulbs and error indicators. I suggest to disable this feature and have a special icon in the editor tab to indicate that the source file is not on the classpath and therefore behaves differently in certain operations ...
resolved wontfix
27cae91
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-30T14:10:35Z
2002-05-24T08:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitDocumentProvider.java
} if (resource != null && !overwrite) checkSynchronizationState(info.fModificationStamp, resource); if (fSavePolicy != null) fSavePolicy.preSave(info.fCopy); try { fIsAboutToSave= true; info.fCopy.commit(overwrite, monitor); } finally { fIsAboutToSave= false; } ...
17,566
Bug 17566 Browsing Java src not on class path
When browsing Java src which is not on the classpath it is annoying to have millions of Quickfix light bulbs and error indicators. I suggest to disable this feature and have a special icon in the editor tab to indicate that the source file is not on the classpath and therefore behaves differently in certain operations ...
resolved wontfix
27cae91
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-30T14:10:35Z
2002-05-24T08:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitDocumentProvider.java
} } } } else { super.doSaveDocument(monitor, element, document, overwrite); } } /** * Replaces createAnnotionModel of the super class. */ protected IAnnotationModel createCompilationUnitAnnotationModel(Object element) throws CoreException { if ( !(element instanceof IFileEditorInput...
17,566
Bug 17566 Browsing Java src not on class path
When browsing Java src which is not on the classpath it is annoying to have millions of Quickfix light bulbs and error indicators. I suggest to disable this feature and have a special icon in the editor tab to indicate that the source file is not on the classpath and therefore behaves differently in certain operations ...
resolved wontfix
27cae91
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-30T14:10:35Z
2002-05-24T08:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitDocumentProvider.java
/* * @see AbstractDocumentProvider#createDocument(Object) */ protected IDocument createDocument(Object element) throws CoreException { if (element instanceof IEditorInput) { Document document= new PartiallySynchronizedDocument(); if (setDocumentContent(document, (IEditorInput) element, getEncoding(eleme...
17,566
Bug 17566 Browsing Java src not on class path
When browsing Java src which is not on the classpath it is annoying to have millions of Quickfix light bulbs and error indicators. I suggest to disable this feature and have a special icon in the editor tab to indicate that the source file is not on the classpath and therefore behaves differently in certain operations ...
resolved wontfix
27cae91
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-30T14:10:35Z
2002-05-24T08:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitDocumentProvider.java
try { ICompilationUnit original= (ICompilationUnit) info.fCopy.getOriginalElement(); IResource resource= original.getUnderlyingResource(); if (resource instanceof IFile) { IFileEditorInput input= new FileEditorInput((IFile) resource); document= super.createDocument(input); } else doc...
17,566
Bug 17566 Browsing Java src not on class path
When browsing Java src which is not on the classpath it is annoying to have millions of Quickfix light bulbs and error indicators. I suggest to disable this feature and have a special icon in the editor tab to indicate that the source file is not on the classpath and therefore behaves differently in certain operations ...
resolved wontfix
27cae91
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-30T14:10:35Z
2002-05-24T08:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitDocumentProvider.java
/** * Saves the content of the given document to the given element. * This is only performed when this provider initiated the save. * * @param monitor the progress monitor * @param element the element to which to save * @param document the document to save * @param overwrite <code>true</code> if the save...
17,566
Bug 17566 Browsing Java src not on class path
When browsing Java src which is not on the classpath it is annoying to have millions of Quickfix light bulbs and error indicators. I suggest to disable this feature and have a special icon in the editor tab to indicate that the source file is not on the classpath and therefore behaves differently in certain operations ...
resolved wontfix
27cae91
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-30T14:10:35Z
2002-05-24T08:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitDocumentProvider.java
public IResource getUnderlyingResource(Object element) { if (element instanceof IFileEditorInput) { IFileEditorInput input= (IFileEditorInput) element; return input.getFile(); } return null; } /* * @see IWorkingCopyManager#connect(IEditorInput) */ public void connect(IEditorInput input) throws Core...
17,566
Bug 17566 Browsing Java src not on class path
When browsing Java src which is not on the classpath it is annoying to have millions of Quickfix light bulbs and error indicators. I suggest to disable this feature and have a special icon in the editor tab to indicate that the source file is not on the classpath and therefore behaves differently in certain operations ...
resolved wontfix
27cae91
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-30T14:10:35Z
2002-05-24T08:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitDocumentProvider.java
return info.fCopy; } return null; } /** * Gets the BufferFactory. */ public IBufferFactory getBufferFactory() { return fBufferFactory; } public void shutdown() { JavaPlugin.getDefault().getPreferenceStore().removePropertyChangeListener(fPropertyListener); Iterator e= getConnectedElements...
17,566
Bug 17566 Browsing Java src not on class path
When browsing Java src which is not on the classpath it is annoying to have millions of Quickfix light bulbs and error indicators. I suggest to disable this feature and have a special icon in the editor tab to indicate that the source file is not on the classpath and therefore behaves differently in certain operations ...
resolved wontfix
27cae91
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-30T14:10:35Z
2002-05-24T08:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitDocumentProvider.java
* Switches the state of problem acceptance according to the value in the preference store. */ protected void enableHandlingTemporaryProblems() { boolean enable= isHandlingTemporaryProblems(); for (Iterator iter= getConnectedElements(); iter.hasNext();) { ElementInfo element= getElementInfo(iter.next()); if...
17,143
Bug 17143 NPE when attaching source
20020521 F1 1. I set the source attchment of a JRE lib in the preferences. 2. An editor was open on a file of this lib (no source -> attach source button) org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.NullPointerException) at org.eclipse.swt.SWT.error(SWT.java:1887) at org.eclipse.swt.widgets.Sync...
verified fixed
7162b07
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-30T14:13:50Z
2002-05-23T07:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileDocumentProvider.java
package org.eclipse.jdt.internal.ui.javaeditor; /* * (c) Copyright IBM Corp. 2000, 2001. * All Rights Reserved. */ import java.util.ArrayList; import java.util.Iterator; import java.util.List; import org.eclipse.core.resources.IResource; import org.eclipse.core.runtime.CoreException; import org.eclipse.core.runtime....
17,143
Bug 17143 NPE when attaching source
20020521 F1 1. I set the source attchment of a JRE lib in the preferences. 2. An editor was open on a file of this lib (no source -> attach source button) org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.NullPointerException) at org.eclipse.swt.SWT.error(SWT.java:1887) at org.eclipse.swt.widgets.Sync...
verified fixed
7162b07
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-30T14:13:50Z
2002-05-23T07:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileDocumentProvider.java
import org.eclipse.jface.text.IDocumentPartitioner; import org.eclipse.jface.text.source.IAnnotationModel; import org.eclipse.ui.IEditorInput; import org.eclipse.ui.IFileEditorInput; import org.eclipse.ui.editors.text.FileDocumentProvider; import org.eclipse.jdt.core.ElementChangedEvent; import org.eclipse.jdt.core.ICl...
17,143
Bug 17143 NPE when attaching source
20020521 F1 1. I set the source attchment of a JRE lib in the preferences. 2. An editor was open on a file of this lib (no source -> attach source button) org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.NullPointerException) at org.eclipse.swt.SWT.error(SWT.java:1887) at org.eclipse.swt.widgets.Sync...
verified fixed
7162b07
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-30T14:13:50Z
2002-05-23T07:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileDocumentProvider.java
protected IClassFileEditorInput fInput; protected IPackageFragmentRoot fPackageFragmentRoot; /** * Default constructor. */ public ClassFileSynchronizer(IClassFileEditorInput input) { fInput= input; IJavaElement parent= fInput.getClassFile().getParent(); while (parent != null && !(parent ...
17,143
Bug 17143 NPE when attaching source
20020521 F1 1. I set the source attchment of a JRE lib in the preferences. 2. An editor was open on a file of this lib (no source -> attach source button) org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.NullPointerException) at org.eclipse.swt.SWT.error(SWT.java:1887) at org.eclipse.swt.widgets.Sync...
verified fixed
7162b07
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-30T14:13:50Z
2002-05-23T07:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileDocumentProvider.java
JavaCore.removeElementChangedListener(this); } /* * @see IElementChangedListener#elementChanged */ public void elementChanged(ElementChangedEvent e) { check(fPackageFragmentRoot, e.getDelta()); } /** * Recursively check whether the class file has been deleted. * Returns true if delta ...
17,143
Bug 17143 NPE when attaching source
20020521 F1 1. I set the source attchment of a JRE lib in the preferences. 2. An editor was open on a file of this lib (no source -> attach source button) org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.NullPointerException) at org.eclipse.swt.SWT.error(SWT.java:1887) at org.eclipse.swt.widgets.Sync...
verified fixed
7162b07
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-30T14:13:50Z
2002-05-23T07:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileDocumentProvider.java
} if ((delta.getFlags() & IJavaElementDelta.F_SOURCEDETACHED) != 0 || (delta.getFlags() & IJavaElementDelta.F_SOURCEATTACHED) != 0) { fireInputChanged(fInput); return false; } return false; } }; /** * Correcting the visibility of <code>FileSynchronizer</code>. */ protected class _F...
17,143
Bug 17143 NPE when attaching source
20020521 F1 1. I set the source attchment of a JRE lib in the preferences. 2. An editor was open on a file of this lib (no source -> attach source button) org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.NullPointerException) at org.eclipse.swt.SWT.error(SWT.java:1887) at org.eclipse.swt.widgets.Sync...
verified fixed
7162b07
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-30T14:13:50Z
2002-05-23T07:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileDocumentProvider.java
} ClassFileInfo(IDocument document, IAnnotationModel model, ClassFileSynchronizer classFileSynchronizer) { super(document, model, null); fClassFileSynchronizer= classFileSynchronizer; } }; private List fInputListeners= new ArrayList(); /** * Creates a new document provider. */ public ClassFil...
17,143
Bug 17143 NPE when attaching source
20020521 F1 1. I set the source attchment of a JRE lib in the preferences. 2. An editor was open on a file of this lib (no source -> attach source button) org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.NullPointerException) at org.eclipse.swt.SWT.error(SWT.java:1887) at org.eclipse.swt.widgets.Sync...
verified fixed
7162b07
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-30T14:13:50Z
2002-05-23T07:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileDocumentProvider.java
/** * Creates an annotation model derrived from the given class file editor input. * @param the editor input from which to query the annotations * @return the created annotation model * @exception CoreException if the editor input could not be accessed */ protected IAnnotationModel createClassFileAnnotationM...
17,143
Bug 17143 NPE when attaching source
20020521 F1 1. I set the source attchment of a JRE lib in the preferences. 2. An editor was open on a file of this lib (no source -> attach source button) org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.NullPointerException) at org.eclipse.swt.SWT.error(SWT.java:1887) at org.eclipse.swt.widgets.Sync...
verified fixed
7162b07
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-30T14:13:50Z
2002-05-23T07:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileDocumentProvider.java
IDocumentPartitioner partitioner= tools.createDocumentPartitioner(); document.setDocumentPartitioner(partitioner); partitioner.connect(document); } return document; } /* * @see AbstractDocumentProvider#createElementInfo(Object) */ protected ElementInfo createElementInfo(Object element) throws Core...
17,143
Bug 17143 NPE when attaching source
20020521 F1 1. I set the source attchment of a JRE lib in the preferences. 2. An editor was open on a file of this lib (no source -> attach source button) org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.NullPointerException) at org.eclipse.swt.SWT.error(SWT.java:1887) at org.eclipse.swt.widgets.Sync...
verified fixed
7162b07
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-30T14:13:50Z
2002-05-23T07:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileDocumentProvider.java
if (external != null) { ClassFileInfo info= new ClassFileInfo(d, m, (_FileSynchronizer) null); info.fModificationStamp= computeModificationStamp(external.getFile()); return info; } else if (input instanceof InternalClassFileEditorInput) { ClassFileSynchronizer s= new ClassFileSynchronizer(input); ...
17,143
Bug 17143 NPE when attaching source
20020521 F1 1. I set the source attchment of a JRE lib in the preferences. 2. An editor was open on a file of this lib (no source -> attach source button) org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.NullPointerException) at org.eclipse.swt.SWT.error(SWT.java:1887) at org.eclipse.swt.widgets.Sync...
verified fixed
7162b07
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-30T14:13:50Z
2002-05-23T07:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileDocumentProvider.java
*/ protected void doSaveDocument(IProgressMonitor monitor, Object element, IDocument document) throws CoreException { } /** * Handles the deletion of the element underlying the given class file editor input. * @param input the editor input */ protected void handleDeleted(IClassFileEditorInput input) { fir...
15,380
Bug 15380 Add Bookmark action is disabled in the Editor
The Add Bookmark action is provided in the Edit menu but it is disabled on text selections. Text Editors should retarget this action so that it also operates on text selections.
verified fixed
99131c9
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-30T14:32:30Z
2002-05-06T21:20:00Z
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...
15,380
Bug 15380 Add Bookmark action is disabled in the Editor
The Add Bookmark action is provided in the Edit menu but it is disabled on text selections. Text Editors should retarget this action so that it also operates on text selections.
verified fixed
99131c9
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-30T14:32:30Z
2002-05-06T21:20:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/GenerateActionGroup.java
import org.eclipse.jface.action.Separator; import org.eclipse.jface.viewers.ISelection; import org.eclipse.jface.viewers.ISelectionChangedListener; import org.eclipse.jface.viewers.ISelectionProvider; import org.eclipse.jface.viewers.IStructuredSelection; import org.eclipse.jface.util.Assert; import org.eclipse.ui.IAct...
15,380
Bug 15380 Add Bookmark action is disabled in the Editor
The Add Bookmark action is provided in the Edit menu but it is disabled on text selections. Text Editors should retarget this action so that it also operates on text selections.
verified fixed
99131c9
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-30T14:32:30Z
2002-05-06T21:20:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/GenerateActionGroup.java
private boolean fEditorIsOwner; private IWorkbenchSite fSite; private String fGroupName= IContextMenuConstants.GROUP_SOURCE; private List fRegisteredSelectionListeners; private AddImportOnSelectionAction fAddImport; private OverrideMethodsAction fOverrideMethods; private AddGetterSetterAction fAddGetterSetter; ...
15,380
Bug 15380 Add Bookmark action is disabled in the Editor
The Add Bookmark action is provided in the Edit menu but it is disabled on text selections. Text Editors should retarget this action so that it also operates on text selections.
verified fixed
99131c9
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-30T14:32:30Z
2002-05-06T21:20:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/GenerateActionGroup.java
private ConvertLineDelimitersAction fConvertToMac; /** * Creates a new <code>GenerateActionGroup</code>. * <p> * Note: This constructor is for internal use only. Clients should not call this constructor. * </p> */ public GenerateActionGroup(CompilationUnitEditor editor, String groupName) { fSite= editor...
15,380
Bug 15380 Add Bookmark action is disabled in the Editor
The Add Bookmark action is provided in the Edit menu but it is disabled on text selections. Text Editors should retarget this action so that it also operates on text selections.
verified fixed
99131c9
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-30T14:32:30Z
2002-05-06T21:20:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/GenerateActionGroup.java
fAddGetterSetter.editorStateChanged(); editor.setAction("AddGetterSetter", fAddGetterSetter); fAddUnimplementedConstructors= new AddUnimplementedConstructorsAction(editor); fAddUnimplementedConstructors.setActionDefinitionId(IJavaEditorActionDefinitionIds.ADD_UNIMPLEMENTED_CONTRUCTORS); fAddUnimplementedCon...
15,380
Bug 15380 Add Bookmark action is disabled in the Editor
The Add Bookmark action is provided in the Edit menu but it is disabled on text selections. Text Editors should retarget this action so that it also operates on text selections.
verified fixed
99131c9
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-30T14:32:30Z
2002-05-06T21:20:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/GenerateActionGroup.java
fConvertToMac.setActionDefinitionId(IJavaEditorActionDefinitionIds.CONVERT_LINE_DELIMITERS_TO_MAC); editor.setAction("ConvertLineDelimitersToMac", fConvertToMac); } /** * Creates a new <code>GenerateActionGroup</code>. * * @param page the page that owns this action group */ public GenerateActionGroup...
15,380
Bug 15380 Add Bookmark action is disabled in the Editor
The Add Bookmark action is provided in the Edit menu but it is disabled on text selections. Text Editors should retarget this action so that it also operates on text selections.
verified fixed
99131c9
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-30T14:32:30Z
2002-05-06T21:20:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/GenerateActionGroup.java
fAddBookmark= new AddBookmarkAction(site.getShell()); fAddTaskAction= new AddTaskAction(site); fExternalizeStrings= new ExternalizeStringsAction(site); fFindStringsToExternalize= new FindStringsToExternalizeAction(site); fOrganizeImports= new OrganizeImportsAction(site); fOverrideMethods.update(selection);...
15,380
Bug 15380 Add Bookmark action is disabled in the Editor
The Add Bookmark action is provided in the Edit menu but it is disabled on text selections. Text Editors should retarget this action so that it also operates on text selections.
verified fixed
99131c9
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-30T14:32:30Z
2002-05-06T21:20:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/GenerateActionGroup.java
} private void registerSelectionListener(ISelectionProvider provider, ISelectionChangedListener listener) { if (fRegisteredSelectionListeners == null) fRegisteredSelectionListeners= new ArrayList(12); provider.addSelectionChangedListener(listener); fRegisteredSelectionListeners.add(listener); } /** * ...
15,380
Bug 15380 Add Bookmark action is disabled in the Editor
The Add Bookmark action is provided in the Edit menu but it is disabled on text selections. Text Editors should retarget this action so that it also operates on text selections.
verified fixed
99131c9
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-30T14:32:30Z
2002-05-06T21:20:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/GenerateActionGroup.java
*/ public void fillActionBars(IActionBars actionBar) { super.fillActionBars(actionBar); setGlobalActionHandlers(actionBar); } /* (non-Javadoc) * Method declared in ActionGroup */ public void fillContextMenu(IMenuManager menu) { super.fillContextMenu(menu); if (fEditorIsOwner) { IMenuManager subMenu...
15,380
Bug 15380 Add Bookmark action is disabled in the Editor
The Add Bookmark action is provided in the Edit menu but it is disabled on text selections. Text Editors should retarget this action so that it also operates on text selections.
verified fixed
99131c9
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-30T14:32:30Z
2002-05-06T21:20:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/GenerateActionGroup.java
result.add(new Separator()); added+= addAction(result, fOverrideMethods); added+= addAction(result, fAddGetterSetter); added+= addAction(result, fAddUnimplementedConstructors); added+= addAction(result, fAddJavaDocStub); added+= addAction(result, fAddBookmark); result.add(new Separator()); added+= addAc...
15,380
Bug 15380 Add Bookmark action is disabled in the Editor
The Add Bookmark action is provided in the Edit menu but it is disabled on text selections. Text Editors should retarget this action so that it also operates on text selections.
verified fixed
99131c9
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-30T14:32:30Z
2002-05-06T21:20:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/GenerateActionGroup.java
actionBar.setGlobalActionHandler(JdtActionConstants.OVERRIDE_METHODS, fOverrideMethods); actionBar.setGlobalActionHandler(JdtActionConstants.GENERATE_GETTER_SETTER, fAddGetterSetter); actionBar.setGlobalActionHandler(JdtActionConstants.ADD_CONSTRUCTOR_FROM_SUPERCLASS, fAddUnimplementedConstructors); actionBar.set...
18,116
Bug 18116 Compare view does not inherit Java editor background color
f1 build. Cannot use compare view if Java editor background (not from the system color scheme!) is black and text is white. Steps to reproduce. 1. Set Java editor background to black 2. Set color for "others" to white 3. Make sure you have local history for a java file 4. From file context menu choose Compare with -> l...
verified fixed
3a2a35d
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-30T14:45:41Z
2002-05-28T21:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/compare/JavaMergeViewer.java
/* * (c) Copyright IBM Corp. 2000, 2001. * All Rights Reserved. */ package org.eclipse.jdt.internal.ui.compare; import org.eclipse.swt.widgets.Composite; import org.eclipse.swt.events.DisposeEvent; import org.eclipse.jface.text.IDocumentPartitioner; import org.eclipse.jface.text.TextViewer; import org.eclipse.jface....
18,116
Bug 18116 Compare view does not inherit Java editor background color
f1 build. Cannot use compare view if Java editor background (not from the system color scheme!) is black and text is white. Steps to reproduce. 1. Set Java editor background to black 2. Set color for "others" to white 3. Make sure you have local history for a java file 4. From file context menu choose Compare with -> l...
verified fixed
3a2a35d
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-30T14:45:41Z
2002-05-28T21:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/compare/JavaMergeViewer.java
private IPropertyChangeListener fPreferenceChangeListener; private IPreferenceStore fPreferenceStore; public JavaMergeViewer(Composite parent, int styles, CompareConfiguration mp) { super(parent, styles, mp); fPreferenceStore= JavaPlugin.getDefault().getPreferenceStore(); if (fPreferenceStore != null) ...
18,116
Bug 18116 Compare view does not inherit Java editor background color
f1 build. Cannot use compare view if Java editor background (not from the system color scheme!) is black and text is white. Steps to reproduce. 1. Set Java editor background to black 2. Set color for "others" to white 3. Make sure you have local history for a java file 4. From file context menu choose Compare with -> l...
verified fixed
3a2a35d
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-30T14:45:41Z
2002-05-28T21:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/compare/JavaMergeViewer.java
protected void handleDispose(DisposeEvent event) { if (fPreferenceChangeListener != null) { if (fPreferenceStore != null) fPreferenceStore.removePropertyChangeListener(fPreferenceChangeListener); fPreferenceChangeListener= null; } super.handleDispose(event); } public String getTitle() { return Com...
18,285
Bug 18285 Double-clicking on import statement transfers to referenced type
Build 20020528 In the package view outline, double-clicking on a type import statement does open the editor on the target type, instead of the unit hosting the import reference.
verified fixed
ad79af3
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-30T15:18:53Z
2002-05-30T09:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaOutlinePage.java
package org.eclipse.jdt.internal.ui.javaeditor; /* * (c) Copyright IBM Corp. 2000, 2001. * All Rights Reserved. */ import java.util.Enumeration; import java.util.Hashtable; import java.util.List; import java.util.Vector; import org.eclipse.core.resources.IResource; import org.eclipse.swt.SWT; import org.eclipse.swt....
18,285
Bug 18285 Double-clicking on import statement transfers to referenced type
Build 20020528 In the package view outline, double-clicking on a type import statement does open the editor on the target type, instead of the unit hosting the import reference.
verified fixed
ad79af3
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-30T15:18:53Z
2002-05-30T09:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaOutlinePage.java
import org.eclipse.swt.dnd.DragSource; import org.eclipse.swt.dnd.Transfer; import org.eclipse.swt.events.KeyAdapter; import org.eclipse.swt.events.KeyEvent; import org.eclipse.swt.widgets.Composite; import org.eclipse.swt.widgets.Control; import org.eclipse.swt.widgets.Display; import org.eclipse.swt.widgets.Item; imp...
18,285
Bug 18285 Double-clicking on import statement transfers to referenced type
Build 20020528 In the package view outline, double-clicking on a type import statement does open the editor on the target type, instead of the unit hosting the import reference.
verified fixed
ad79af3
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-30T15:18:53Z
2002-05-30T09:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaOutlinePage.java
import org.eclipse.jface.viewers.Viewer; import org.eclipse.jface.viewers.ViewerFilter; import org.eclipse.ui.IActionBars; import org.eclipse.ui.PlatformUI; import org.eclipse.ui.actions.ActionContext; import org.eclipse.ui.actions.ActionGroup; import org.eclipse.ui.part.IPageSite; import org.eclipse.ui.part.Page; impo...
18,285
Bug 18285 Double-clicking on import statement transfers to referenced type
Build 20020528 In the package view outline, double-clicking on a type import statement does open the editor on the target type, instead of the unit hosting the import reference.
verified fixed
ad79af3
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-30T15:18:53Z
2002-05-30T09:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaOutlinePage.java
import org.eclipse.jdt.ui.ProblemsLabelDecorator.ProblemsLabelChangedEvent; import org.eclipse.jdt.ui.actions.CCPActionGroup; import org.eclipse.jdt.ui.actions.GenerateActionGroup; import org.eclipse.jdt.ui.actions.JavaSearchActionGroup; import org.eclipse.jdt.ui.actions.JdtActionConstants; import org.eclipse.jdt.ui.ac...
18,285
Bug 18285 Double-clicking on import statement transfers to referenced type
Build 20020528 In the package view outline, double-clicking on a type import statement does open the editor on the target type, instead of the unit hosting the import reference.
verified fixed
ad79af3
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-30T15:18:53Z
2002-05-30T09:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaOutlinePage.java
/** * The element change listener of the java outline viewer. * @see IElementChangedListener */ class ElementChangedListener implements IElementChangedListener { public void elementChanged(final ElementChangedEvent e) { if (getControl() == null) return; Display d= ge...
18,285
Bug 18285 Double-clicking on import statement transfers to referenced type
Build 20020528 In the package view outline, double-clicking on a type import statement does open the editor on the target type, instead of the unit hosting the import reference.
verified fixed
ad79af3
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-30T15:18:53Z
2002-05-30T09:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaOutlinePage.java
return null; IJavaElement element= delta.getElement(); if (unit.equals(element)) return delta; if (element.getElementType() > IJavaElement.CLASS_FILE) return null; IJavaElementDelta[] children= delta.getAffectedChildren(); if (children == null || children.le...
18,285
Bug 18285 Double-clicking on import statement transfers to referenced type
Build 20020528 In the package view outline, double-clicking on a type import statement does open the editor on the target type, instead of the unit hosting the import reference.
verified fixed
ad79af3
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-30T15:18:53Z
2002-05-30T09:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaOutlinePage.java
private ElementChangedListener fListener; protected boolean matches(IJavaElement element) { if (element.getElementType() == IJavaElement.METHOD) { String name= element.getElementName(); return (name != null && name.indexOf('<') >= 0); } return false; } protected IJavaEle...
18,285
Bug 18285 Double-clicking on import statement transfers to referenced type
Build 20020528 In the package view outline, double-clicking on a type import statement does open the editor on the target type, instead of the unit hosting the import reference.
verified fixed
ad79af3
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-30T15:18:53Z
2002-05-30T09:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaOutlinePage.java
v.addElement(children[i]); } IJavaElement[] result= new IJavaElement[v.size()]; v.copyInto(result); return result; } public Object[] getChildren(Object parent) { if (parent instanceof IParent) { IParent c= (IParent) parent; try { return filter(c.getChildren...
18,285
Bug 18285 Double-clicking on import statement transfers to referenced type
Build 20020528 In the package view outline, double-clicking on a type import statement does open the editor on the target type, instead of the unit hosting the import reference.
verified fixed
ad79af3
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-30T15:18:53Z
2002-05-30T09:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaOutlinePage.java
} public boolean hasChildren(Object parent) { if (parent instanceof IParent) { IParent c= (IParent) parent; try { IJavaElement[] children= filter(c.getChildren()); return (children != null && children.length > 0); } catch (JavaModelException x) { JavaPlugin.getDefaul...
18,285
Bug 18285 Double-clicking on import statement transfers to referenced type
Build 20020528 In the package view outline, double-clicking on a type import statement does open the editor on the target type, instead of the unit hosting the import reference.
verified fixed
ad79af3
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-30T15:18:53Z
2002-05-30T09:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaOutlinePage.java
boolean isCU= (newInput instanceof ICompilationUnit); if (isCU && fListener == null) { fListener= new ElementChangedListener(); JavaCore.addElementChangedListener(fListener); } else if (!isCU && fListener != null) { JavaCore.removeElementChangedListener(fListener); fListener=...
18,285
Bug 18285 Double-clicking on import statement transfers to referenced type
Build 20020528 In the package view outline, double-clicking on a type import statement does open the editor on the target type, instead of the unit hosting the import reference.
verified fixed
ad79af3
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-30T15:18:53Z
2002-05-30T09:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaOutlinePage.java
* updates the outline. */ public void reconcile(IJavaElementDelta delta) { if (getSorter() == null) { Widget w= findItem(fInput); if (w != null && !w.isDisposed()) update(w, delta); } else { refresh(); } } /* * @see TreeViewer#internalExpandToLev...
18,285
Bug 18285 Double-clicking on import statement transfers to referenced type
Build 20020528 In the package view outline, double-clicking on a type import statement does open the editor on the target type, instead of the unit hosting the import reference.
verified fixed
ad79af3
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-30T15:18:53Z
2002-05-30T09:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaOutlinePage.java
} protected void reuseTreeItem(Item item, Object element) { Item[] c= getChildren(item); if (c != null && c.length > 0) { if (getExpanded(item)) fReusedExpandedItem= item; for (int k= 0; k < c.length; k++) { if (c[k].getData() != null) d...
18,285
Bug 18285 Double-clicking on import statement transfers to referenced type
Build 20020528 In the package view outline, double-clicking on a type import statement does open the editor on the target type, instead of the unit hosting the import reference.
verified fixed
ad79af3
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-30T15:18:53Z
2002-05-30T09:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaOutlinePage.java
} catch (JavaModelException e) { JavaPlugin.log(e.getStatus()); } } return "main".equals(element.getElementName()); } return false; } protected ISourceRange getSourceRange(IJavaElement element) throws JavaModelException { if (element instanceof IMember) retu...
18,285
Bug 18285 Double-clicking on import statement transfers to referenced type
Build 20020528 In the package view outline, double-clicking on a type import statement does open the editor on the target type, instead of the unit hosting the import reference.
verified fixed
ad79af3
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-30T15:18:53Z
2002-05-30T09:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaOutlinePage.java
return false; } protected void update(Widget w, IJavaElementDelta delta) { Item item; IJavaElement parent= delta.getElement(); IJavaElementDelta[] affected= delta.getAffectedChildren(); Item[] children= getChildren(w); boolean doUpdateParent= false; Vect...
18,285
Bug 18285 Double-clicking on import statement transfers to referenced type
Build 20020528 In the package view outline, double-clicking on a type import statement does open the editor on the target type, instead of the unit hosting the import reference.
verified fixed
ad79af3
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-30T15:18:53Z
2002-05-30T09:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaOutlinePage.java
{ additions.addElement(affectedDelta); } continue; } item= children[j]; if ((status & IJavaElementDelta.REMOVED) != 0) { deletions.addElement(item); doUpdateParent= doUpdateParent || mustUpdateParent(affectedDelta, affectedElement); ...
18,285
Bug 18285 Double-clicking on import statement transfers to referenced type
Build 20020528 In the package view outline, double-clicking on a type import statement does open the editor on the target type, instead of the unit hosting the import reference.
verified fixed
ad79af3
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-30T15:18:53Z
2002-05-30T09:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaOutlinePage.java
IJavaElementDelta[] add= delta.getAddedChildren(); if (additions.size() > 0) { IJavaElementDelta[] tmp= new IJavaElementDelta[add.length + additions.size()]; System.arraycopy(add, 0, tmp, 0, add.length); for (int i= 0; i < additions.size(); i++) tmp[i + add.length]= (IJavaElementDelta) add...
18,285
Bug 18285 Double-clicking on import statement transfers to referenced type
Build 20020528 In the package view outline, double-clicking on a type import statement does open the editor on the target type, instead of the unit hosting the import reference.
verified fixed
ad79af3
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-30T15:18:53Z
2002-05-30T09:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaOutlinePage.java
IJavaElement r= (IJavaElement) item.getData(); if (r == null) { continue go2; } try { rng= getSourceRange(r); if (overlaps(rng, start, end)) { reuseTreeItem(item, e); continue g...
18,285
Bug 18285 Double-clicking on import statement transfers to referenced type
Build 20020528 In the package view outline, double-clicking on a type import statement does open the editor on the target type, instead of the unit hosting the import reference.
verified fixed
ad79af3
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-30T15:18:53Z
2002-05-30T09:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaOutlinePage.java
} catch (JavaModelException x) { } last= item; } if (last != null && deletions.contains(last)) { deletions.removeElement(last); reuseTreeItem(last, e); } else { createTreeItem(w, e, -1); } ...
18,285
Bug 18285 Double-clicking on import statement transfers to referenced type
Build 20020528 In the package view outline, double-clicking on a type import statement does open the editor on the target type, instead of the unit hosting the import reference.
verified fixed
ad79af3
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-30T15:18:53Z
2002-05-30T09:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaOutlinePage.java
if (doUpdateParent) updateItem(w, delta.getElement()); } /* * @see ContentViewer#handleLabelProviderChanged(LabelProviderChangedEvent) */ protected void handleLabelProviderChanged(LabelProviderChangedEvent event) { Object input= getInput(); if (event instanceof Proble...
18,285
Bug 18285 Double-clicking on import statement transfers to referenced type
Build 20020528 In the package view outline, double-clicking on a type import statement does open the editor on the target type, instead of the unit hosting the import reference.
verified fixed
ad79af3
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-30T15:18:53Z
2002-05-30T09:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaOutlinePage.java
} super.handleLabelProviderChanged(event); } private IResource getUnderlyingResource() { Object input= getInput(); if (input instanceof ICompilationUnit) { ICompilationUnit cu= (ICompilationUnit) input; if (cu.isWorkingCopy()) { return cu.getOriginalElement().getResource()...
18,285
Bug 18285 Double-clicking on import statement transfers to referenced type
Build 20020528 In the package view outline, double-clicking on a type import statement does open the editor on the target type, instead of the unit hosting the import reference.
verified fixed
ad79af3
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-30T15:18:53Z
2002-05-30T09:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaOutlinePage.java
setDescription(JavaEditorMessages.getString("JavaOutlinePage.Sort.description")); boolean checked= JavaPlugin.getDefault().getPreferenceStore().getBoolean("LexicalSortingAction.isChecked"); valueChanged(checked, false); } public void run() { valueChanged(isChecked(), true); } ...
18,285
Bug 18285 Double-clicking on import statement transfers to referenced type
Build 20020528 In the package view outline, double-clicking on a type import statement does open the editor on the target type, instead of the unit hosting the import reference.
verified fixed
ad79af3
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-30T15:18:53Z
2002-05-30T09:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaOutlinePage.java
private TogglePresentationAction fTogglePresentation; private ToggleTextHoverAction fToggleTextHover; private GotoErrorAction fPreviousError; private GotoErrorAction fNextError; private TextOperationAction fShowJavadoc; private TextOperationAction fUndo; private TextOperationAction fRedo; private OpenAction fO...
18,285
Bug 18285 Double-clicking on import statement transfers to referenced type
Build 20020528 In the package view outline, double-clicking on a type import statement does open the editor on the target type, instead of the unit hosting the import reference.
verified fixed
ad79af3
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-30T15:18:53Z
2002-05-30T09:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaOutlinePage.java
fTogglePresentation.setEditor(editor); fToggleTextHover.setEditor(editor); fPreviousError.setEditor(editor); fNextError.setEditor(editor); } /* (non-Javadoc) * Method declared on Page */ public void init(IPageSite pageSite) { super.init(pageSite); } /* * @see ISelectionProvider#addSelectionChange...
18,285
Bug 18285 Double-clicking on import statement transfers to referenced type
Build 20020528 In the package view outline, double-clicking on a type import statement does open the editor on the target type, instead of the unit hosting the import reference.
verified fixed
ad79af3
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-30T15:18:53Z
2002-05-30T09:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaOutlinePage.java
} /* * @see ISelectionProvider#setSelection(ISelection) */ public void setSelection(ISelection selection) { if (fOutlineViewer != null) fOutlineViewer.setSelection(selection); } /* * @see ISelectionProvider#getSelection() */ public ISelection getSelection() { if (fOutlineViewer == null) re...
18,285
Bug 18285 Double-clicking on import statement transfers to referenced type
Build 20020528 In the package view outline, double-clicking on a type import statement does open the editor on the target type, instead of the unit hosting the import reference.
verified fixed
ad79af3
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-30T15:18:53Z
2002-05-30T09:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaOutlinePage.java
} /* * @see IPage#createControl */ public void createControl(Composite parent) { Tree tree= new Tree(parent, SWT.MULTI); ILabelProvider lprovider= new AppearanceAwareLabelProvider( AppearanceAwareLabelProvider.DEFAULT_TEXTFLAGS | JavaElementLabels.F_APP_TYPE_SIGNATURE, AppearanceAwareLabelProvider...
18,285
Bug 18285 Double-clicking on import statement transfers to referenced type
Build 20020528 In the package view outline, double-clicking on a type import statement does open the editor on the target type, instead of the unit hosting the import reference.
verified fixed
ad79af3
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-30T15:18:53Z
2002-05-30T09:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaOutlinePage.java
fMenu= manager.createContextMenu(tree); tree.setMenu(fMenu); IPageSite site= getSite(); site.registerContextMenu(JavaPlugin.getDefault().getPluginId() + ".outline", manager, fOutlineViewer); site.setSelectionProvider(fOutlineViewer); fOpenAction= new OpenAction(site); site.getSelectionProvider().addS...
18,285
Bug 18285 Double-clicking on import statement transfers to referenced type
Build 20020528 In the package view outline, double-clicking on a type import statement does open the editor on the target type, instead of the unit hosting the import reference.
verified fixed
ad79af3
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-30T15:18:53Z
2002-05-30T09:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaOutlinePage.java
IStatusLineManager statusLineManager= site.getActionBars().getStatusLineManager(); if (statusLineManager != null) { StatusBarUpdater updater= new StatusBarUpdater(statusLineManager); fOutlineViewer.addSelectionChangedListener(updater); } registerToolbarActions(); fOutlineViewer.setInput(fInput); ...
18,285
Bug 18285 Double-clicking on import statement transfers to referenced type
Build 20020528 In the package view outline, double-clicking on a type import statement does open the editor on the target type, instead of the unit hosting the import reference.
verified fixed
ad79af3
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-30T15:18:53Z
2002-05-30T09:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaOutlinePage.java
if (fMenu != null && !fMenu.isDisposed()) { fMenu.dispose(); fMenu= null; } if (fActionGroups != null) fActionGroups.dispose(); fTogglePresentation.setEditor(null); fToggleTextHover.setEditor(null); fPreviousError.setEditor(null); fNextError.setEditor(null); fOutlineViewer= null; ...
18,285
Bug 18285 Double-clicking on import statement transfers to referenced type
Build 20020528 In the package view outline, double-clicking on a type import statement does open the editor on the target type, instead of the unit hosting the import reference.
verified fixed
ad79af3
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-30T15:18:53Z
2002-05-30T09:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaOutlinePage.java
public void select(ISourceReference reference) { if (fOutlineViewer != null) { ISelection s= fOutlineViewer.getSelection(); if (s instanceof IStructuredSelection) { IStructuredSelection ss= (IStructuredSelection) s; List elements= ss.toList(); if (!elements.contains(reference)) { s= (refere...
18,285
Bug 18285 Double-clicking on import statement transfers to referenced type
Build 20020528 In the package view outline, double-clicking on a type import statement does open the editor on the target type, instead of the unit hosting the import reference.
verified fixed
ad79af3
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-30T15:18:53Z
2002-05-30T09:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaOutlinePage.java
*/ protected void addAction(IMenuManager menu, String group, String actionID) { IAction action= getAction(actionID); if (action != null) { if (action instanceof IUpdate) ((IUpdate) action).update(); if (action.isEnabled()) { IMenuManager subMenu= menu.findMenuUsingPath(group); if (subMenu ...
18,285
Bug 18285 Double-clicking on import statement transfers to referenced type
Build 20020528 In the package view outline, double-clicking on a type import statement does open the editor on the target type, instead of the unit hosting the import reference.
verified fixed
ad79af3
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-30T15:18:53Z
2002-05-30T09:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaOutlinePage.java
/* * @see Page#setFocus() */ public void setFocus() { if (fOutlineViewer != null) fOutlineViewer.getControl().setFocus(); } /** * Checkes whether a given Java element is an inner type. */ private boolean isInnerType(IJavaElement element) { if (element.getElementType() == IJavaElement.TYPE) { ...
18,285
Bug 18285 Double-clicking on import statement transfers to referenced type
Build 20020528 In the package view outline, double-clicking on a type import statement does open the editor on the target type, instead of the unit hosting the import reference.
verified fixed
ad79af3
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-30T15:18:53Z
2002-05-30T09:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaOutlinePage.java
IAction action= null; if (event.character == SWT.DEL) { action= fCCPActionGroup.getDeleteAction(); } if (action != null && action.isEnabled()) action.run(); } private void initDragAndDrop() { int ops= DND.DROP_COPY | DND.DROP_MOVE | DND.DROP_LINK; Transfer[] transfers= new Transfer[] { LocalS...
18,285
Bug 18285 Double-clicking on import statement transfers to referenced type
Build 20020528 In the package view outline, double-clicking on a type import statement does open the editor on the target type, instead of the unit hosting the import reference.
verified fixed
ad79af3
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-30T15:18:53Z
2002-05-30T09:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/OpenAction.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...
18,285
Bug 18285 Double-clicking on import statement transfers to referenced type
Build 20020528 In the package view outline, double-clicking on a type import statement does open the editor on the target type, instead of the unit hosting the import reference.
verified fixed
ad79af3
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-30T15:18:53Z
2002-05-30T09:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/OpenAction.java
import org.eclipse.ui.part.EditorActionBarContributor; import org.eclipse.jdt.core.IImportDeclaration; import org.eclipse.jdt.core.IJavaElement; import org.eclipse.jdt.core.ISourceReference; import org.eclipse.jdt.core.IType; import org.eclipse.jdt.core.JavaModelException; import org.eclipse.jdt.core.Signature; import ...
18,285
Bug 18285 Double-clicking on import statement transfers to referenced type
Build 20020528 In the package view outline, double-clicking on a type import statement does open the editor on the target type, instead of the unit hosting the import reference.
verified fixed
ad79af3
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-30T15:18:53Z
2002-05-30T09:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/OpenAction.java
private JavaEditor fEditor; /** * Creates a new <code>OpenAction</code>. * * @param site the site providing context information for this action */ public OpenAction(IWorkbenchSite site) { super(site); setText(ActionMessages.getString("OpenAction.label")); setToolTipText(ActionMessages.getString("Ope...
18,285
Bug 18285 Double-clicking on import statement transfers to referenced type
Build 20020528 In the package view outline, double-clicking on a type import statement does open the editor on the target type, instead of the unit hosting the import reference.
verified fixed
ad79af3
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-30T15:18:53Z
2002-05-30T09:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/OpenAction.java
} /* (non-Javadoc) * Method declared on SelectionDispatchAction. */ protected void selectionChanged(ITextSelection selection) { } /* (non-Javadoc) * Method declared on SelectionDispatchAction. */ protected void selectionChanged(IStructuredSelection selection) { setEnabled(checkEnabled(selection)); } ...
18,285
Bug 18285 Double-clicking on import statement transfers to referenced type
Build 20020528 In the package view outline, double-clicking on a type import statement does open the editor on the target type, instead of the unit hosting the import reference.
verified fixed
ad79af3
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-30T15:18:53Z
2002-05-30T09:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/OpenAction.java
continue; return false; } return true; } /* (non-Javadoc) * Method declared on SelectionDispatchAction. */ protected void run(ITextSelection selection) { try { IJavaElement element= SelectionConverter.codeResolve(fEditor, getShell(), getDialogTitle(), ActionMessages.getString("OpenAction.selec...
18,285
Bug 18285 Double-clicking on import statement transfers to referenced type
Build 20020528 In the package view outline, double-clicking on a type import statement does open the editor on the target type, instead of the unit hosting the import reference.
verified fixed
ad79af3
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-30T15:18:53Z
2002-05-30T09:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/OpenAction.java
} } /* (non-Javadoc) * Method declared on SelectionDispatchAction. */ protected void run(IStructuredSelection selection) { if (!checkEnabled(selection)) return; run(selection.toArray()); } private void run(Object[] elements) { if (elements == null) return; for (int i= 0; i < elements.length; ...
18,285
Bug 18285 Double-clicking on import statement transfers to referenced type
Build 20020528 In the package view outline, double-clicking on a type import statement does open the editor on the target type, instead of the unit hosting the import reference.
verified fixed
ad79af3
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-30T15:18:53Z
2002-05-30T09:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/OpenAction.java
} catch (PartInitException x) { String name= null; if (element instanceof IJavaElement) { name= ((IJavaElement) element).getElementName(); } else if (element instanceof IStorage) { name= ((IStorage) element).getName(); } else if (element instanceof IResource) { name= ((IReso...
18,285
Bug 18285 Double-clicking on import statement transfers to referenced type
Build 20020528 In the package view outline, double-clicking on a type import statement does open the editor on the target type, instead of the unit hosting the import reference.
verified fixed
ad79af3
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-30T15:18:53Z
2002-05-30T09:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/OpenAction.java
IImportDeclaration declaration= (IImportDeclaration) element; if (declaration.isOnDemand()) { element= JavaModelUtil.findTypeContainer(element.getJavaProject(), Signature.getQualifier(element.getElementName())); } else { element= element.getJavaProject().findType(element.getElementName()); } i...
17,229
Bug 17229 Java prefs - build preferences should be merged back with compiler ones
Build 20020521 Unless people understand our implementation, it is counter-intuitive for them to look under the 'builder' section for concerns which are still roughly compiler related... Here are some options (from Erich): 1) make builder a subnode of compiler - easy to do - not consistent with existing tab approach 2) ...
verified fixed
6ed2f87
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-30T15:33:37Z
2002-05-23T13:20:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/JavaPlugin.java
/* * (c) Copyright IBM Corp. 2000, 2001. * All Rights Reserved. */
17,229
Bug 17229 Java prefs - build preferences should be merged back with compiler ones
Build 20020521 Unless people understand our implementation, it is counter-intuitive for them to look under the 'builder' section for concerns which are still roughly compiler related... Here are some options (from Erich): 1) make builder a subnode of compiler - easy to do - not consistent with existing tab approach 2) ...
verified fixed
6ed2f87
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-30T15:33:37Z
2002-05-23T13:20:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/JavaPlugin.java
package org.eclipse.jdt.internal.ui; import java.util.ArrayList; import java.util.HashSet; import java.util.List; import java.util.Set; import org.eclipse.core.resources.IMarker; import org.eclipse.core.resources.IResource; import org.eclipse.core.resources.IWorkspace; import org.eclipse.core.resources.ResourcesPlugin;...
17,229
Bug 17229 Java prefs - build preferences should be merged back with compiler ones
Build 20020521 Unless people understand our implementation, it is counter-intuitive for them to look under the 'builder' section for concerns which are still roughly compiler related... Here are some options (from Erich): 1) make builder a subnode of compiler - easy to do - not consistent with existing tab approach 2) ...
verified fixed
6ed2f87
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-30T15:33:37Z
2002-05-23T13:20:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/JavaPlugin.java
import org.eclipse.jdt.core.IJavaElement; import org.eclipse.jdt.ui.IContextMenuConstants; import org.eclipse.jdt.ui.IWorkingCopyManager; import org.eclipse.jdt.ui.PreferenceConstants; import org.eclipse.jdt.ui.text.JavaTextTools; import org.eclipse.jdt.internal.corext.javadoc.JavaDocLocations; import org.eclipse.jdt.i...
17,229
Bug 17229 Java prefs - build preferences should be merged back with compiler ones
Build 20020521 Unless people understand our implementation, it is counter-intuitive for them to look under the 'builder' section for concerns which are still roughly compiler related... Here are some options (from Erich): 1) make builder a subnode of compiler - easy to do - not consistent with existing tab approach 2) ...
verified fixed
6ed2f87
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-30T15:33:37Z
2002-05-23T13:20:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/JavaPlugin.java
private static JavaPlugin fgJavaPlugin; private CompilationUnitDocumentProvider fCompilationUnitDocumentProvider; private ClassFileDocumentProvider fClassFileDocumentProvider; private JavaTextTools fJavaTextTools; private ProblemMarkerManager fProblemMarkerManager; private ImageDescriptorRegistry fImageDescriptorR...
17,229
Bug 17229 Java prefs - build preferences should be merged back with compiler ones
Build 20020521 Unless people understand our implementation, it is counter-intuitive for them to look under the 'builder' section for concerns which are still roughly compiler related... Here are some options (from Erich): 1) make builder a subnode of compiler - easy to do - not consistent with existing tab approach 2) ...
verified fixed
6ed2f87
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-30T15:33:37Z
2002-05-23T13:20:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/JavaPlugin.java
/** * Returns an array of all editors that have an unsaved content. If the identical content is * presented in more than one editor, only one of those editor parts is part of the result. * * @return an array of all dirty editor parts. */ public static IEditorPart[] getDirtyEditors() { Set inputs= new Has...
17,229
Bug 17229 Java prefs - build preferences should be merged back with compiler ones
Build 20020521 Unless people understand our implementation, it is counter-intuitive for them to look under the 'builder' section for concerns which are still roughly compiler related... Here are some options (from Erich): 1) make builder a subnode of compiler - easy to do - not consistent with existing tab approach 2) ...
verified fixed
6ed2f87
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-30T15:33:37Z
2002-05-23T13:20:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/JavaPlugin.java
return getDefault().getDescriptor().getUniqueIdentifier(); } public static void log(IStatus status) { getDefault().getLog().log(status); } public static void logErrorMessage(String message) { log(new Status(IStatus.ERROR, getPluginId(), JavaStatusConstants.INTERNAL_ERROR, message, null)); } public static vo...
17,229
Bug 17229 Java prefs - build preferences should be merged back with compiler ones
Build 20020521 Unless people understand our implementation, it is counter-intuitive for them to look under the 'builder' section for concerns which are still roughly compiler related... Here are some options (from Erich): 1) make builder a subnode of compiler - easy to do - not consistent with existing tab approach 2) ...
verified fixed
6ed2f87
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-30T15:33:37Z
2002-05-23T13:20:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/JavaPlugin.java
public static ImageDescriptorRegistry getImageDescriptorRegistry() { return getDefault().internalGetImageDescriptorRegistry(); } public JavaPlugin(IPluginDescriptor descriptor) { super(descriptor); fgJavaPlugin= this; } /* (non - Javadoc) * Method declared in Plugin */ public void startup() { IAdap...
17,229
Bug 17229 Java prefs - build preferences should be merged back with compiler ones
Build 20020521 Unless people understand our implementation, it is counter-intuitive for them to look under the 'builder' section for concerns which are still roughly compiler related... Here are some options (from Erich): 1) make builder a subnode of compiler - easy to do - not consistent with existing tab approach 2) ...
verified fixed
6ed2f87
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-30T15:33:37Z
2002-05-23T13:20:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/JavaPlugin.java
/* (non - Javadoc) * Method declared in AbstractUIPlugin */ protected ImageRegistry createImageRegistry() { return JavaPluginImages.getImageRegistry(); } /* (non - Javadoc) * Method declared in Plugin */ public void shutdown() throws CoreException { if (fImageDescriptorRegistry != null) fImageDesc...
17,229
Bug 17229 Java prefs - build preferences should be merged back with compiler ones
Build 20020521 Unless people understand our implementation, it is counter-intuitive for them to look under the 'builder' section for concerns which are still roughly compiler related... Here are some options (from Erich): 1) make builder a subnode of compiler - easy to do - not consistent with existing tab approach 2) ...
verified fixed
6ed2f87
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-30T15:33:37Z
2002-05-23T13:20:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/JavaPlugin.java
fVMInstallListener= null; } } private IWorkbenchPage internalGetActivePage() { IWorkbenchWindow window= getWorkbench().getActiveWorkbenchWindow(); if (window == null) return null; return getWorkbench().getActiveWorkbenchWindow().getActivePage(); } public CompilationUnitDocumentProvider getCompila...
17,229
Bug 17229 Java prefs - build preferences should be merged back with compiler ones
Build 20020521 Unless people understand our implementation, it is counter-intuitive for them to look under the 'builder' section for concerns which are still roughly compiler related... Here are some options (from Erich): 1) make builder a subnode of compiler - easy to do - not consistent with existing tab approach 2) ...
verified fixed
6ed2f87
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-30T15:33:37Z
2002-05-23T13:20:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/JavaPlugin.java
return fProblemMarkerManager; } public JavaTextTools getJavaTextTools() { if (fJavaTextTools == null) fJavaTextTools= new JavaTextTools(getPreferenceStore()); return fJavaTextTools; } /** * Creates the Java plugin standard groups in a context menu. */ public static void createStandardGroups(IMenuM...
17,229
Bug 17229 Java prefs - build preferences should be merged back with compiler ones
Build 20020521 Unless people understand our implementation, it is counter-intuitive for them to look under the 'builder' section for concerns which are still roughly compiler related... Here are some options (from Erich): 1) make builder a subnode of compiler - easy to do - not consistent with existing tab approach 2) ...
verified fixed
6ed2f87
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-30T15:33:37Z
2002-05-23T13:20:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/JavaPlugin.java
*/ protected void initializeDefaultPreferences(IPreferenceStore store) { super.initializeDefaultPreferences(store); store.setDefault(PreferenceConstants.EDITOR_SHOW_HOVER, true); store.setDefault(PreferenceConstants.EDITOR_SHOW_SEGMENTS, false); JavaBasePreferencePage.initDefaults(store); AppearancePre...
17,229
Bug 17229 Java prefs - build preferences should be merged back with compiler ones
Build 20020521 Unless people understand our implementation, it is counter-intuitive for them to look under the 'builder' section for concerns which are still roughly compiler related... Here are some options (from Erich): 1) make builder a subnode of compiler - easy to do - not consistent with existing tab approach 2) ...
verified fixed
6ed2f87
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-30T15:33:37Z
2002-05-23T13:20:00Z
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 ...
17,229
Bug 17229 Java prefs - build preferences should be merged back with compiler ones
Build 20020521 Unless people understand our implementation, it is counter-intuitive for them to look under the 'builder' section for concerns which are still roughly compiler related... Here are some options (from Erich): 1) make builder a subnode of compiler - easy to do - not consistent with existing tab approach 2) ...
verified fixed
6ed2f87
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-30T15:33:37Z
2002-05-23T13:20:00Z
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.Text; impor...