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,709 | Bug 17709 Convert Line Delimiters should disable on read-only files | 20020521 1. Make a CU read-only, open it in the editor 2. Source->Convert Line Delimiters actions are enabled, should be disabled | verified fixed | 9549875 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-10T10:37:00Z | 2002-05-24T14:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/GenerateActionGroup.java | fFindStringsToExternalize= new FindStringsToExternalizeAction(site);
fOrganizeImports= new OrganizeImportsAction(site);
fOverrideMethods.update(selection);
fAddGetterSetter.update(selection);
fAddUnimplementedConstructors.update(selection);
fAddJavaDocStub.update(selection);
fExternalizeStrings.update(s... |
17,709 | Bug 17709 Convert Line Delimiters should disable on read-only files | 20020521 1. Make a CU read-only, open it in the editor 2. Source->Convert Line Delimiters actions are enabled, should be disabled | verified fixed | 9549875 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-10T10:37:00Z | 2002-05-24T14:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/GenerateActionGroup.java | if (fRegisteredSelectionListeners == null)
fRegisteredSelectionListeners= new ArrayList(12);
provider.addSelectionChangedListener(listener);
fRegisteredSelectionListeners.add(listener);
}
/**
* The state of the editor owning this action group has changed.
* This method does nothing if the group's owner ... |
17,709 | Bug 17709 Convert Line Delimiters should disable on read-only files | 20020521 1. Make a CU read-only, open it in the editor 2. Source->Convert Line Delimiters actions are enabled, should be disabled | verified fixed | 9549875 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-10T10:37:00Z | 2002-05-24T14:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/GenerateActionGroup.java | setGlobalActionHandlers(actionBar);
}
/* (non-Javadoc)
* Method declared in ActionGroup
*/
public void fillContextMenu(IMenuManager menu) {
super.fillContextMenu(menu);
if (fEditorIsOwner) {
IMenuManager subMenu= createEditorSubMenu(menu);
if (subMenu != null)
menu.appendToGroup(fGroupName, subMe... |
17,709 | Bug 17709 Convert Line Delimiters should disable on read-only files | 20020521 1. Make a CU read-only, open it in the editor 2. Source->Convert Line Delimiters actions are enabled, should be disabled | verified fixed | 9549875 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-10T10:37:00Z | 2002-05-24T14:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/GenerateActionGroup.java | added+= addAction(result, fAddUnimplementedConstructors);
added+= addAction(result, fAddJavaDocStub);
added+= addAction(result, fAddBookmark);
result.add(new Separator());
added+= addAction(result, fSurroundWithTryCatch);
added+= addAction(result, fExternalizeStrings);
if (added == 0)
result= null;
r... |
17,709 | Bug 17709 Convert Line Delimiters should disable on read-only files | 20020521 1. Make a CU read-only, open it in the editor 2. Source->Convert Line Delimiters actions are enabled, should be disabled | verified fixed | 9549875 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-10T10:37:00Z | 2002-05-24T14:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/GenerateActionGroup.java | actionBar.setGlobalActionHandler(JdtActionConstants.ADD_JAVA_DOC_COMMENT, fAddJavaDocStub);
actionBar.setGlobalActionHandler(JdtActionConstants.EXTERNALIZE_STRINGS, fExternalizeStrings);
actionBar.setGlobalActionHandler(JdtActionConstants.FIND_STRINGS_TO_EXTERNALIZE, fFindStringsToExternalize);
actionBar.setGloba... |
19,445 | Bug 19445 Text editor should not display tooltip and help infopop simultaneously | null | verified fixed | 105395c | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-10T10:39:28Z | 2002-06-06T02:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileEditor.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.swt.SWT;
import org.eclipse.swt.custom.ScrolledComposite;
import org.eclipse.swt.custom.StackLayout;
impo... |
19,445 | Bug 19445 Text editor should not display tooltip and help infopop simultaneously | null | verified fixed | 105395c | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-10T10:39:28Z | 2002-06-06T02:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileEditor.java | import org.eclipse.swt.layout.GridData;
import org.eclipse.swt.layout.GridLayout;
import org.eclipse.swt.widgets.Button;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Control;
import org.eclipse.swt.widgets.Display;
import org.eclipse.swt.widgets.Label;
import org.eclipse.swt.widgets.ScrollBa... |
19,445 | Bug 19445 Text editor should not display tooltip and help infopop simultaneously | null | verified fixed | 105395c | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-10T10:39:28Z | 2002-06-06T02:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileEditor.java | import org.eclipse.jdt.core.ToolFactory;
import org.eclipse.jdt.core.util.IClassFileDisassembler;
import org.eclipse.jdt.core.util.IClassFileReader;
import org.eclipse.jdt.internal.core.JavaModelStatus;
import org.eclipse.jdt.internal.ui.JavaPlugin;
import org.eclipse.jdt.internal.ui.util.ExceptionHandler;
/**
* Java ... |
19,445 | Bug 19445 Text editor should not display tooltip and help infopop simultaneously | null | verified fixed | 105395c | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-10T10:39:28Z | 2002-06-06T02:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileEditor.java | * Creates a source attachment form for a class file.
*/
public SourceAttachmentForm(IClassFile file) {
fFile= file;
}
/**
* Returns the package fragment root of this file.
*/
private IPackageFragmentRoot getPackageFragmentRoot(IClassFile file) {
IJavaElement element= file.getParen... |
19,445 | Bug 19445 Text editor should not display tooltip and help infopop simultaneously | null | verified fixed | 105395c | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-10T10:39:28Z | 2002-06-06T02:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileEditor.java | fScrolledComposite= new ScrolledComposite(parent, SWT.H_SCROLL | SWT.V_SCROLL);
fScrolledComposite.setAlwaysShowScrollBars(false);
fScrolledComposite.setExpandHorizontal(true);
fScrolledComposite.setExpandVertical(true);
fScrolledComposite.addDisposeListener(new DisposeListener() {
public void widg... |
19,445 | Bug 19445 Text editor should not display tooltip and help infopop simultaneously | null | verified fixed | 105395c | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-10T10:39:28Z | 2002-06-06T02:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileEditor.java | horizontalBar.setPageIncrement(clientArea.width - horizontalBar.getIncrement());
}
});
Composite composite= createComposite(fScrolledComposite);
composite.setLayout(new GridLayout());
Label titleLabel= createTitleLabel(composite, JavaEditorMessages.getString("SourceAttachmentForm.title"));
... |
19,445 | Bug 19445 Text editor should not display tooltip and help infopop simultaneously | null | verified fixed | 105395c | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-10T10:39:28Z | 2002-06-06T02:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileEditor.java | createLabel(composite, JavaEditorMessages.getFormattedString("SourceAttachmentForm.message.containerEntry", containerName));
} else {
Button button;
IPath path= root.getSourceAttachmentPath();
if (path == null) {
createLabel(composite, JavaEditorMessages.getFormat... |
19,445 | Bug 19445 Text editor should not display tooltip and help infopop simultaneously | null | verified fixed | 105395c | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-10T10:39:28Z | 2002-06-06T02:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileEditor.java | String title= JavaEditorMessages.getString("SourceAttachmentForm.error.title");
String message= JavaEditorMessages.getString("SourceAttachmentForm.error.message");
ExceptionHandler.handle(e, fScrolledComposite.getShell(), title, message);
}
}
public void widgetDefau... |
19,445 | Bug 19445 Text editor should not display tooltip and help infopop simultaneously | null | verified fixed | 105395c | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-10T10:39:28Z | 2002-06-06T02:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileEditor.java | }
/*
* @see IPropertyChangeListener#propertyChange(PropertyChangeEvent)
*/
public void propertyChange(PropertyChangeEvent event) {
for (Iterator iterator = fBannerLabels.iterator(); iterator.hasNext();) {
Label label = (Label) iterator.next();
label.setFont(JFaceResources.getBannerFo... |
19,445 | Bug 19445 Text editor should not display tooltip and help infopop simultaneously | null | verified fixed | 105395c | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-10T10:39:28Z | 2002-06-06T02:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileEditor.java | return composite;
}
private Composite createCompositeSeparator(Composite parent) {
Composite composite = new Composite(parent, SWT.NONE);
composite.setBackground(fSeparatorColor);
return composite;
}
private StyledText createCodeView(Composite parent) {
int styles= SWT.MULTI | SWT.FUL... |
19,445 | Bug 19445 Text editor should not display tooltip and help infopop simultaneously | null | verified fixed | 105395c | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-10T10:39:28Z | 2002-06-06T02:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileEditor.java | data= PreferenceConverter.getFontData(store, PREFERENCE_FONT);
else
data= PreferenceConverter.getDefaultFontData(store, PREFERENCE_FONT);
if (data != null) {
Font font= new Font(styledText.getDisplay(), data);
styledText.setFont(font);
if (fFont != null)
fFont.dispose();
... |
19,445 | Bug 19445 Text editor should not display tooltip and help infopop simultaneously | null | verified fixed | 105395c | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-10T10:39:28Z | 2002-06-06T02:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileEditor.java | fHeaderLabels.add(label);
return label;
}
private Label createHeadingLabel(Composite parent, String text) {
Label label = new Label(parent, SWT.NONE);
if (text != null)
label.setText(text);
label.setBackground(fBackgroundColor);
label.setForeground(fForegroundColor);
label.setFont(... |
19,445 | Bug 19445 Text editor should not display tooltip and help infopop simultaneously | null | verified fixed | 105395c | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-10T10:39:28Z | 2002-06-06T02:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileEditor.java | IClassFileDisassembler disassembler= ToolFactory.createDefaultClassFileDisassembler();
content= disassembler.disassemble(classFileReader, "\n");
}
styledText.setText(content == null ? "" : content);
}
};
private StackLayout fStackLayout;
private Composite fParent;
private Composite fViewer... |
19,445 | Bug 19445 Text editor should not display tooltip and help infopop simultaneously | null | verified fixed | 105395c | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-10T10:39:28Z | 2002-06-06T02:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileEditor.java | super.createActions();
setAction(ITextEditorActionConstants.SAVE, null);
setAction(ITextEditorActionConstants.REVERT_TO_SAVED, null);
/*
* 1GF82PL: ITPJUI:ALL - Need to be able to add bookmark to classfile
*
* // replace default action with class file specific ones
*
* setAction(ITextEditorA... |
19,445 | Bug 19445 Text editor should not display tooltip and help infopop simultaneously | null | verified fixed | 105395c | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-10T10:39:28Z | 2002-06-06T02:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileEditor.java | return null;
}
/*
* @see JavaEditor#getCorrespondingElement(IJavaElement)
*/
protected IJavaElement getCorrespondingElement(IJavaElement element) {
if (getEditorInput() instanceof IClassFileEditorInput) {
IClassFileEditorInput input= (IClassFileEditorInput) getEditorInput();
IJavaElement parent= elemen... |
19,445 | Bug 19445 Text editor should not display tooltip and help infopop simultaneously | null | verified fixed | 105395c | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-10T10:39:28Z | 2002-06-06T02:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileEditor.java | }
/*
* 1GEPKT5: ITPJUI:Linux - Source in editor for external classes is editable
* Removed methods isSaveOnClosedNeeded and isDirty.
* Added method isEditable.
*/
/*
* @see org.eclipse.ui.texteditor.AbstractTextEditor#isEditable()
*/
public boolean isEditable() {
return false;
}
/**
* Translate... |
19,445 | Bug 19445 Text editor should not display tooltip and help infopop simultaneously | null | verified fixed | 105395c | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-10T10:39:28Z | 2002-06-06T02:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileEditor.java | return input;
}
/*
* @see AbstractTextEditor#doSetInput(IEditorInput)
*/
protected void doSetInput(IEditorInput input) throws CoreException {
input= transformEditorInput(input);
if (!(input instanceof IClassFileEditorInput))
throw new CoreException(new JavaModelStatus(IJavaModelStatusConstants.INVALID_R... |
19,445 | Bug 19445 Text editor should not display tooltip and help infopop simultaneously | null | verified fixed | 105395c | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-10T10:39:28Z | 2002-06-06T02:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileEditor.java | * @see IWorkbenchPart#createPartControl(Composite)
*/
public void createPartControl(Composite parent) {
fParent= new Composite(parent, SWT.NONE);
fStackLayout= new StackLayout();
fParent.setLayout(fStackLayout);
fViewerComposite= new Composite(fParent, SWT.NONE);
fViewerComposite.setLayout(new FillLayout()... |
19,445 | Bug 19445 Text editor should not display tooltip and help infopop simultaneously | null | verified fixed | 105395c | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-10T10:39:28Z | 2002-06-06T02:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileEditor.java | if (input == null)
return null;
IClassFileEditorInput classFileEditorInput= (IClassFileEditorInput) input;
IClassFile file= classFileEditorInput.getClassFile();
try {
file.getSourceRange();
} catch (JavaModelException e) {
return e;
}
return null;
}
/**
* Checks if the class file input h... |
19,445 | Bug 19445 Text editor should not display tooltip and help infopop simultaneously | null | verified fixed | 105395c | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-10T10:39:28Z | 2002-06-06T02:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileEditor.java | } else {
if (fSourceAttachmentForm != null) {
fSourceAttachmentForm.dispose();
fSourceAttachmentForm= null;
fStackLayout.topControl= fViewerComposite;
fParent.layout();
}
}
}
/*
* @see ClassFileDocumentProvider.InputChangeListener#inputChanged(IClassFileEditorInput)
*/
public void... |
19,525 | Bug 19525 Outline selection should not synchronize on editor activation | Build F2. Selection in outline for Java editors is always synchronized to reveal the current cursor position after an editor is activated. This is true even when Java > Editor pref setting for "synchronize outline selection on cursor move" is not selected. Try opening two Java source files. Position the cursor inside t... | verified fixed | 7e11f35 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-10T10:47:28Z | 2002-06-06T19:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/JavaReconciler.java | package org.eclipse.jdt.internal.ui.text;
/*
* (c) Copyright IBM Corp. 2000, 2001.
* All Rights Reserved.
*/
import org.eclipse.jface.text.ITextViewer;
import org.eclipse.jface.text.reconciler.DirtyRegion;
import org.eclipse.jface.text.reconciler.IReconcilingStrategy;
import org.eclipse.jface.text.reconciler.MonoRec... |
19,525 | Bug 19525 Outline selection should not synchronize on editor activation | Build F2. Selection in outline for Java editors is always synchronized to reveal the current cursor position after an editor is activated. This is true even when Java > Editor pref setting for "synchronize outline selection on cursor move" is not selected. Try opening two Java source files. Position the cursor inside t... | verified fixed | 7e11f35 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-10T10:47:28Z | 2002-06-06T19:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/JavaReconciler.java | /**
* Internal part listener for activating the reconciler.
*/
class PartListener implements IPartListener {
/*
* @see IPartListener#partActivated(IWorkbenchPart)
*/
public void partActivated(IWorkbenchPart part) {
if (part == fTextEditor)
JavaReconciler.this.forceReconciling();
}
/*
* @... |
19,525 | Bug 19525 Outline selection should not synchronize on editor activation | Build F2. Selection in outline for Java editors is always synchronized to reveal the current cursor position after an editor is activated. This is true even when Java > Editor pref setting for "synchronize outline selection on cursor move" is not selected. Try opening two Java source files. Position the cursor inside t... | verified fixed | 7e11f35 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-10T10:47:28Z | 2002-06-06T19:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/JavaReconciler.java | */
public void partBroughtToTop(IWorkbenchPart part) {
}
/*
* @see IPartListener#partClosed(IWorkbenchPart)
*/
public void partClosed(IWorkbenchPart part) {
}
/*
* @see IPartListener#partDeactivated(IWorkbenchPart)
*/
public void partDeactivated(IWorkbenchPart part) {
}
/*
* @see IPartL... |
19,525 | Bug 19525 Outline selection should not synchronize on editor activation | Build F2. Selection in outline for Java editors is always synchronized to reveal the current cursor position after an editor is activated. This is true even when Java > Editor pref setting for "synchronize outline selection on cursor move" is not selected. Try opening two Java source files. Position the cursor inside t... | verified fixed | 7e11f35 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-10T10:47:28Z | 2002-06-06T19:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/JavaReconciler.java | public JavaReconciler(ITextEditor editor, IReconcilingStrategy strategy, boolean isIncremental) {
super(strategy, isIncremental);
fTextEditor= editor;
}
/*
* @see IReconciler#install(ITextViewer)
*/
public void install(ITextViewer textViewer) {
super.install(textViewer);
fPartListener= new PartListe... |
19,525 | Bug 19525 Outline selection should not synchronize on editor activation | Build F2. Selection in outline for Java editors is always synchronized to reveal the current cursor position after an editor is activated. This is true even when Java > Editor pref setting for "synchronize outline selection on cursor move" is not selected. Try opening two Java source files. Position the cursor inside t... | verified fixed | 7e11f35 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-10T10:47:28Z | 2002-06-06T19:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/JavaReconcilingStrategy.java | package org.eclipse.jdt.internal.ui.text.java;
/*
* (c) Copyright IBM Corp. 2000, 2001.
* All Rights Reserved.
*/
import org.eclipse.swt.widgets.Shell;
import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.jface.text.IDocument;
import org.eclipse.jface.text.IRegion;
import org.eclipse.jface.text.recon... |
19,525 | Bug 19525 Outline selection should not synchronize on editor activation | Build F2. Selection in outline for Java editors is always synchronized to reveal the current cursor position after an editor is activated. This is true even when Java > Editor pref setting for "synchronize outline selection on cursor move" is not selected. Try opening two Java source files. Position the cursor inside t... | verified fixed | 7e11f35 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-10T10:47:28Z | 2002-06-06T19:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/JavaReconcilingStrategy.java | private ITextEditor fEditor;
private IWorkingCopyManager fManager;
private IDocumentProvider fDocumentProvider;
private ICompilationUnit fUnit;
private IProgressMonitor fProgressMonitor;
public JavaReconcilingStrategy(ITextEditor editor) {
fEditor= editor;
fManager= JavaPlugin.getDefault().getWorkingCopy... |
19,525 | Bug 19525 Outline selection should not synchronize on editor activation | Build F2. Selection in outline for Java editors is always synchronized to reveal the current cursor position after an editor is activated. This is true even when Java > Editor pref setting for "synchronize outline selection on cursor move" is not selected. Try opening two Java source files. Position the cursor inside t... | verified fixed | 7e11f35 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-10T10:47:28Z | 2002-06-06T19:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/JavaReconcilingStrategy.java | IProblemRequestorExtension extension= getProblemRequestorExtension();
if (extension != null)
extension.setProgressMonitor(fProgressMonitor);
synchronized (unit) {
unit.reconcile(true, fProgressMonitor);
}
if (extension != null)
extension.setProgressMonitor(null);
... |
19,525 | Bug 19525 Outline selection should not synchronize on editor activation | Build F2. Selection in outline for Java editors is always synchronized to reveal the current cursor position after an editor is activated. This is true even when Java > Editor pref setting for "synchronize outline selection on cursor move" is not selected. Try opening two Java source files. Position the cursor inside t... | verified fixed | 7e11f35 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-10T10:47:28Z | 2002-06-06T19:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/JavaReconcilingStrategy.java | public void reconcile(IRegion partition) {
reconcile();
}
/*
* @see IReconcilingStrategy#reconcile(DirtyRegion, IRegion)
*/
public void reconcile(DirtyRegion dirtyRegion, IRegion subRegion) {
reconcile();
}
/*
* @see IReconcilingStrategy#setDocument(IDocument)
*/
public void setDocument(IDocument ... |
19,567 | Bug 19567 ProblemsLabelDecorator throws ResourceException when project not open | In the F2 build, org.eclipse.jdt.ui.ProblemsLabelDecorator throws a ResourceException if the IResource passed to decorateImage() is a Project that is closed. The exception is a result of calling findMarkers() on line 178 with the closed project. The fix is to change the first line of getErrorTicksFromMarkers() on line ... | verified fixed | 3446760 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-10T11:08:11Z | 2002-06-07T03:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/ProblemsLabelDecorator.java | /*
* (c) Copyright IBM Corp. 2000, 2001.
* All Rights Reserved.
*/
package org.eclipse.jdt.ui;
import java.util.Iterator;
import org.eclipse.core.resources.IFile;
import org.eclipse.core.resources.IMarker;
import org.eclipse.core.resources.IResource; |
19,567 | Bug 19567 ProblemsLabelDecorator throws ResourceException when project not open | In the F2 build, org.eclipse.jdt.ui.ProblemsLabelDecorator throws a ResourceException if the IResource passed to decorateImage() is a Project that is closed. The exception is a result of calling findMarkers() on line 178 with the closed project. The fix is to change the first line of getErrorTicksFromMarkers() on line ... | verified fixed | 3446760 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-10T11:08:11Z | 2002-06-07T03:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/ProblemsLabelDecorator.java | import org.eclipse.core.runtime.CoreException;
import org.eclipse.swt.graphics.Image;
import org.eclipse.swt.graphics.Point;
import org.eclipse.swt.graphics.Rectangle;
import org.eclipse.jface.resource.ImageDescriptor;
import org.eclipse.jface.text.Position;
import org.eclipse.jface.text.source.Annotation;
import org.e... |
19,567 | Bug 19567 ProblemsLabelDecorator throws ResourceException when project not open | In the F2 build, org.eclipse.jdt.ui.ProblemsLabelDecorator throws a ResourceException if the IResource passed to decorateImage() is a Project that is closed. The exception is a result of calling findMarkers() on line 178 with the closed project. The fix is to change the first line of getErrorTicksFromMarkers() on line ... | verified fixed | 3446760 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-10T11:08:11Z | 2002-06-07T03:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/ProblemsLabelDecorator.java | /**
* LabelProviderChangedEvent sent out by the ProblemsLabelDecorator.
*/
public static class ProblemsLabelChangedEvent extends LabelProviderChangedEvent {
private boolean fMarkerChange;
public ProblemsLabelChangedEvent(IBaseLabelProvider source, IResource[] changedResource, boolean isMarkerChange) {
super... |
19,567 | Bug 19567 ProblemsLabelDecorator throws ResourceException when project not open | In the F2 build, org.eclipse.jdt.ui.ProblemsLabelDecorator throws a ResourceException if the IResource passed to decorateImage() is a Project that is closed. The exception is a result of calling findMarkers() on line 178 with the closed project. The fix is to change the first line of getErrorTicksFromMarkers() on line ... | verified fixed | 3446760 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-10T11:08:11Z | 2002-06-07T03:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/ProblemsLabelDecorator.java | */
public ProblemsLabelDecorator() {
this(new ImageDescriptorRegistry());
fRegistryNeedsDispose= true;
}
/**
* Internal constructor. Creates decorator with a shared image registry.
* @param registry The registry to use or <code>null</code> to use the Java plugin's
* image registry.
*/
public Problems... |
19,567 | Bug 19567 ProblemsLabelDecorator throws ResourceException when project not open | In the F2 build, org.eclipse.jdt.ui.ProblemsLabelDecorator throws a ResourceException if the IResource passed to decorateImage() is a Project that is closed. The exception is a result of calling findMarkers() on line 178 with the closed project. The fix is to change the first line of getErrorTicksFromMarkers() on line ... | verified fixed | 3446760 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-10T11:08:11Z | 2002-06-07T03:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/ProblemsLabelDecorator.java | ImageDescriptor baseImage= new ImageImageDescriptor(image);
Rectangle bounds= image.getBounds();
return fRegistry.get(new JavaElementImageDescriptor(baseImage, adornmentFlags, new Point(bounds.width, bounds.height)));
}
return image;
}
private int computeAdornmentFlags(Object obj) {
try {
if (obj insta... |
19,567 | Bug 19567 ProblemsLabelDecorator throws ResourceException when project not open | In the F2 build, org.eclipse.jdt.ui.ProblemsLabelDecorator throws a ResourceException if the IResource passed to decorateImage() is a Project that is closed. The exception is a result of calling findMarkers() on line 178 with the closed project. The fix is to change the first line of getErrorTicksFromMarkers() on line ... | verified fixed | 3446760 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-10T11:08:11Z | 2002-06-07T03:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/ProblemsLabelDecorator.java | if (cu.isWorkingCopy()) {
return getErrorTicksFromWorkingCopy((ICompilationUnit) cu.getOriginalElement(), ref);
}
return getErrorTicksFromMarkers(cu.getResource(), IResource.DEPTH_ONE, ref);
}
break;
default:
}
} else if (obj instanceof IResource) {
return getE... |
19,567 | Bug 19567 ProblemsLabelDecorator throws ResourceException when project not open | In the F2 build, org.eclipse.jdt.ui.ProblemsLabelDecorator throws a ResourceException if the IResource passed to decorateImage() is a Project that is closed. The exception is a result of calling findMarkers() on line 178 with the closed project. The fix is to change the first line of getErrorTicksFromMarkers() on line ... | verified fixed | 3446760 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-10T11:08:11Z | 2002-06-07T03:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/ProblemsLabelDecorator.java | info= ERRORTICK_WARNING;
} else if (priority == IMarker.SEVERITY_ERROR) {
info= ERRORTICK_ERROR;
}
}
}
}
return info;
}
private boolean isMarkerInRange(IMarker marker, ISourceReference sourceElement) throws CoreException {
if (marker.isSubtypeOf(IMarker.TEXT)) {
ISourceRange range= ... |
19,567 | Bug 19567 ProblemsLabelDecorator throws ResourceException when project not open | In the F2 build, org.eclipse.jdt.ui.ProblemsLabelDecorator throws a ResourceException if the IResource passed to decorateImage() is a Project that is closed. The exception is a result of calling findMarkers() on line 178 with the closed project. The fix is to change the first line of getErrorTicksFromMarkers() on line ... | verified fixed | 3446760 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-10T11:08:11Z | 2002-06-07T03:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/ProblemsLabelDecorator.java | while ((info != ERRORTICK_ERROR) && iter.hasNext()) {
Annotation curr= (Annotation) iter.next();
IMarker marker= isAnnotationInRange(model, curr, sourceElement);
if (marker != null) {
int priority= marker.getAttribute(IMarker.SEVERITY, -1);
if (priority == IMarker.SEVERITY_WARNING) {
info= E... |
19,567 | Bug 19567 ProblemsLabelDecorator throws ResourceException when project not open | In the F2 build, org.eclipse.jdt.ui.ProblemsLabelDecorator throws a ResourceException if the IResource passed to decorateImage() is a Project that is closed. The exception is a result of calling findMarkers() on line 178 with the closed project. The fix is to change the first line of getErrorTicksFromMarkers() on line ... | verified fixed | 3446760 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-10T11:08:11Z | 2002-06-07T03:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/ProblemsLabelDecorator.java | /* (non-Javadoc)
* @see IBaseLabelProvider#dispose()
*/
public void dispose() {
if (fProblemChangedListener != null) {
JavaPlugin.getDefault().getProblemMarkerManager().removeListener(fProblemChangedListener);
fProblemChangedListener= null;
}
if (fRegistryNeedsDispose) {
fRegistry.dispose();
}
}
... |
19,567 | Bug 19567 ProblemsLabelDecorator throws ResourceException when project not open | In the F2 build, org.eclipse.jdt.ui.ProblemsLabelDecorator throws a ResourceException if the IResource passed to decorateImage() is a Project that is closed. The exception is a result of calling findMarkers() on line 178 with the closed project. The fix is to change the first line of getErrorTicksFromMarkers() on line ... | verified fixed | 3446760 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-10T11:08:11Z | 2002-06-07T03:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/ProblemsLabelDecorator.java | fireProblemsChanged(changedResources, isMarkerChange);
}
};
JavaPlugin.getDefault().getProblemMarkerManager().addListener(fProblemChangedListener);
}
}
/* (non-Javadoc)
* @see IBaseLabelProvider#removeListener(ILabelProviderListener)
*/
public void removeListener(ILabelProviderListener listener) {
... |
19,635 | Bug 19635 JUnit useless launch config name when there is no selection | 1) give the packages view focus 2) remove the selection 3) bring up the launch config dialog 4) create a new JUnit launch configuration ->it is given the name (1) should fix | verified fixed | 796d25e | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-10T11:14:31Z | 2002-06-07T17:13:20Z | org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/launcher/JUnitMainTab.java | package org.eclipse.jdt.internal.junit.launcher;
/*
* (c) Copyright IBM Corp. 2000, 2001.
* All Rights Reserved.
*/
import java.lang.reflect.InvocationTargetException;
import java.net.MalformedURLException;
import org.eclipse.core.resources.IWorkspaceRoot;
import org.eclipse.core.resources.ResourcesPlugin;
import ... |
19,635 | Bug 19635 JUnit useless launch config name when there is no selection | 1) give the packages view focus 2) remove the selection 3) bring up the launch config dialog 4) create a new JUnit launch configuration ->it is given the name (1) should fix | verified fixed | 796d25e | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-10T11:14:31Z | 2002-06-07T17:13:20Z | org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/launcher/JUnitMainTab.java | import org.eclipse.jdt.core.JavaModelException;
import org.eclipse.jdt.internal.junit.ui.JUnitMessages;
import org.eclipse.jdt.internal.junit.ui.JUnitPlugin;
import org.eclipse.jdt.internal.junit.util.TestSearchEngine;
import org.eclipse.jdt.internal.ui.util.BusyIndicatorRunnableContext;
import org.eclipse.jdt.launchin... |
19,635 | Bug 19635 JUnit useless launch config name when there is no selection | 1) give the packages view focus 2) remove the selection 3) bring up the launch config dialog 4) create a new JUnit launch configuration ->it is given the name (1) should fix | verified fixed | 796d25e | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-10T11:14:31Z | 2002-06-07T17:13:20Z | org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/launcher/JUnitMainTab.java | private Label fProjLabel;
private Text fProjText;
private Button fProjButton;
private Button fKeepRunning;
private Label fTestLabel;
private Text fTestText;
private Button fSearchButton;
private final Image fTestIcon= createImage("obj16/test.gif");
/**
* @see ILaunchConfigurationTab#createControl(Ta... |
19,635 | Bug 19635 JUnit useless launch config name when there is no selection | 1) give the packages view focus 2) remove the selection 3) bring up the launch config dialog 4) create a new JUnit launch configuration ->it is given the name (1) should fix | verified fixed | 796d25e | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-10T11:14:31Z | 2002-06-07T17:13:20Z | org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/launcher/JUnitMainTab.java | new Label(comp, SWT.NONE);
fProjLabel = new Label(comp, SWT.NONE);
fProjLabel.setText(JUnitMessages.getString("JUnitMainTab.label.project"));
gd= new GridData();
gd.horizontalSpan = 2;
fProjLabel.setLayoutData(gd);
fProjText= new Text(comp, SWT.SINGLE | SWT.BORDER);
gd = new GridData(GridData.FILL_... |
19,635 | Bug 19635 JUnit useless launch config name when there is no selection | 1) give the packages view focus 2) remove the selection 3) bring up the launch config dialog 4) create a new JUnit launch configuration ->it is given the name (1) should fix | verified fixed | 796d25e | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-10T11:14:31Z | 2002-06-07T17:13:20Z | org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/launcher/JUnitMainTab.java | gd.horizontalSpan = 2;
fTestLabel.setLayoutData(gd);
fTestText = new Text(comp, SWT.SINGLE | SWT.BORDER);
gd = new GridData(GridData.FILL_HORIZONTAL);
fTestText.setLayoutData(gd);
fTestText.addModifyListener(new ModifyListener() {
public void modifyText(ModifyEvent evt) {
updateLaunchConfigurationDialo... |
19,635 | Bug 19635 JUnit useless launch config name when there is no selection | 1) give the packages view focus 2) remove the selection 3) bring up the launch config dialog 4) create a new JUnit launch configuration ->it is given the name (1) should fix | verified fixed | 796d25e | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-10T11:14:31Z | 2002-06-07T17:13:20Z | org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/launcher/JUnitMainTab.java | ImageDescriptor id= ImageDescriptor.createFromURL(JUnitPlugin.makeIconFileURL(path));
return id.createImage();
} catch (MalformedURLException e) {
}
return null;
}
/**
* @see ILaunchConfigurationTab#initializeFrom(ILaunchConfiguration)
*/
public void initializeFrom(ILaunchConfiguration config) {
... |
19,635 | Bug 19635 JUnit useless launch config name when there is no selection | 1) give the packages view focus 2) remove the selection 3) bring up the launch config dialog 4) create a new JUnit launch configuration ->it is given the name (1) should fix | verified fixed | 796d25e | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-10T11:14:31Z | 2002-06-07T17:13:20Z | org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/launcher/JUnitMainTab.java | fProjText.setText(projectName);
}
protected void updateTestTypeFromConfig(ILaunchConfiguration config) {
String testTypeName= "";
try {
testTypeName = config.getAttribute(IJavaLaunchConfigurationConstants.ATTR_MAIN_TYPE_NAME, "");
} catch (CoreException ce) {
}
fTestText.setText(testTypeName);
... |
19,635 | Bug 19635 JUnit useless launch config name when there is no selection | 1) give the packages view focus 2) remove the selection 3) bring up the launch config dialog 4) create a new JUnit launch configuration ->it is given the name (1) should fix | verified fixed | 796d25e | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-10T11:14:31Z | 2002-06-07T17:13:20Z | org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/launcher/JUnitMainTab.java | return fTestIcon;
}
/**
* Show a dialog that lists all main types
*/
protected void handleSearchButtonSelected() {
Shell shell = getShell();
IWorkbenchWindow workbenchWindow = JUnitPlugin.getActiveWorkbenchWindow();
IJavaProject javaProject = getJavaProject();
SelectionDialog dialog = new TestSelec... |
19,635 | Bug 19635 JUnit useless launch config name when there is no selection | 1) give the packages view focus 2) remove the selection 3) bring up the launch config dialog 4) create a new JUnit launch configuration ->it is given the name (1) should fix | verified fixed | 796d25e | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-10T11:14:31Z | 2002-06-07T17:13:20Z | org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/launcher/JUnitMainTab.java | /**
* Show a dialog that lets the user select a project. This in turn provides
* context for the main type, allowing the user to key a main type name, or
* constraining the search for main types to the specified project.
*/
protected void handleProjectButtonSelected() {
IJavaProject project = chooseJavaProj... |
19,635 | Bug 19635 JUnit useless launch config name when there is no selection | 1) give the packages view focus 2) remove the selection 3) bring up the launch config dialog 4) create a new JUnit launch configuration ->it is given the name (1) should fix | verified fixed | 796d25e | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-10T11:14:31Z | 2002-06-07T17:13:20Z | org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/launcher/JUnitMainTab.java | ElementListSelectionDialog dialog= new ElementListSelectionDialog(getShell(), labelProvider);
dialog.setTitle(JUnitMessages.getString("JUnitMainTab.projectdialog.title"));
dialog.setMessage(JUnitMessages.getString("JUnitMainTab.projectdialog.message"));
dialog.setElements(projects);
IJavaProject javaProjec... |
19,635 | Bug 19635 JUnit useless launch config name when there is no selection | 1) give the packages view focus 2) remove the selection 3) bring up the launch config dialog 4) create a new JUnit launch configuration ->it is given the name (1) should fix | verified fixed | 796d25e | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-10T11:14:31Z | 2002-06-07T17:13:20Z | org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/launcher/JUnitMainTab.java | private IWorkspaceRoot getWorkspaceRoot() {
return ResourcesPlugin.getWorkspace().getRoot();
}
/**
* Convenience method to get access to the java model.
*/
private IJavaModel getJavaModel() {
return JavaCore.create(getWorkspaceRoot());
}
/**
* @see ILaunchConfigurationTab#isValid(ILaunchConfiguration)
... |
19,635 | Bug 19635 JUnit useless launch config name when there is no selection | 1) give the packages view focus 2) remove the selection 3) bring up the launch config dialog 4) create a new JUnit launch configuration ->it is given the name (1) should fix | verified fixed | 796d25e | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-10T11:14:31Z | 2002-06-07T17:13:20Z | org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/launcher/JUnitMainTab.java | return true;
}
/**
* @see ILaunchConfigurationTab#setDefaults(ILaunchConfigurationWorkingCopy)
*/
public void setDefaults(ILaunchConfigurationWorkingCopy config) {
IJavaElement javaElement = getContext();
if (javaElement != null) {
initializeJavaProject(javaElement, config);
} else {
... |
19,635 | Bug 19635 JUnit useless launch config name when there is no selection | 1) give the packages view focus 2) remove the selection 3) bring up the launch config dialog 4) create a new JUnit launch configuration ->it is given the name (1) should fix | verified fixed | 796d25e | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-10T11:14:31Z | 2002-06-07T17:13:20Z | org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/launcher/JUnitMainTab.java | (javaElement instanceof ISourceReference) ||
(javaElement instanceof IClassFile)) {
IType[] types = TestSearchEngine.findTests(new BusyIndicatorRunnableContext(), new Object[] {javaElement});
if ((types == null) || (types.length < 1)) {
return;
}
name = types[0].getFullyQualifiedName();... |
19,633 | Bug 19633 JUnit launch configurations are not honoring class path | If I make a junit test that needs different things on the classpath than what a project needs for building, and try to make a launch configuration that reflects that, it looks like the junit runner ignores the LC and just goes with the project build classpath. The concrete example I can give is an EJB, which is built a... | verified fixed | 08fd389 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-10T11:19:30Z | 2002-06-07T17:13:20Z | org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/launcher/JUnitLaunchConfiguration.java | package org.eclipse.jdt.internal.junit.launcher;
/*
* (c) Copyright IBM Corp. 2000, 2001.
* All Rights Reserved.
*/
import java.io.IOException;
import java.net.MalformedURLException;
import java.net.URL;
import java.util.Vector;
import org.eclipse.core.runtime.CoreException;
import org.eclipse.core.runtime.Platform... |
19,633 | Bug 19633 JUnit launch configurations are not honoring class path | If I make a junit test that needs different things on the classpath than what a project needs for building, and try to make a launch configuration that reflects that, it looks like the junit runner ignores the LC and just goes with the project build classpath. The concrete example I can give is an EJB, which is built a... | verified fixed | 08fd389 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-10T11:19:30Z | 2002-06-07T17:13:20Z | org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/launcher/JUnitLaunchConfiguration.java | public static final String ID_JUNIT_APPLICATION= "org.eclipse.jdt.junit.launchconfig";
/**
* Add a VMRunner with a class path that includes org.eclipse.jdt.junit plugin.
* In addition it adds the port for the RemoteTestRunner as an argument
*/
protected VMRunnerConfiguration createVMRunner(ILaunchConfiguration... |
19,633 | Bug 19633 JUnit launch configurations are not honoring class path | If I make a junit test that needs different things on the classpath than what a project needs for building, and try to make a launch configuration that reflects that, it looks like the junit runner ignores the LC and just goes with the project build classpath. The concrete example I can give is an EJB, which is built a... | verified fixed | 08fd389 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-10T11:19:30Z | 2002-06-07T17:13:20Z | org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/launcher/JUnitLaunchConfiguration.java | if (keepAlive(configuration) && runMode.equals(ILaunchManager.DEBUG_MODE))
argv.add(0, "-keepalive");
for (int i= 0; i < testTypes.length; i++)
argv.add(testTypes[i].getFullyQualifiedName());
String[] args= new String[argv.size()];
argv.copyInto(args);
vmConfig.setProgramArguments(args);
return ... |
18,510 | Bug 18510 ClassFileEditor leaks | In the 0530 build the leaks with the .java editor appear to have been fixed. The scenario I was using before: Create a .java file, close it. In memory profiler do a global GC and mark objects Open the same .java file, close it Does not leave tons of objects around anymore. However, if you import a binary plugin (I did ... | resolved fixed | ba67e47 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-10T15:40:01Z | 2002-05-31T21:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileEditor.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.swt.SWT;
import org.eclipse.swt.custom.ScrolledComposite;
import org.eclipse.swt.custom.StackLayout;
impo... |
18,510 | Bug 18510 ClassFileEditor leaks | In the 0530 build the leaks with the .java editor appear to have been fixed. The scenario I was using before: Create a .java file, close it. In memory profiler do a global GC and mark objects Open the same .java file, close it Does not leave tons of objects around anymore. However, if you import a binary plugin (I did ... | resolved fixed | ba67e47 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-10T15:40:01Z | 2002-05-31T21:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileEditor.java | import org.eclipse.swt.events.SelectionListener;
import org.eclipse.swt.graphics.Color;
import org.eclipse.swt.graphics.Font;
import org.eclipse.swt.graphics.FontData;
import org.eclipse.swt.graphics.Rectangle;
import org.eclipse.swt.layout.FillLayout;
import org.eclipse.swt.layout.GridData;
import org.eclipse.swt.layo... |
18,510 | Bug 18510 ClassFileEditor leaks | In the 0530 build the leaks with the .java editor appear to have been fixed. The scenario I was using before: Create a .java file, close it. In memory profiler do a global GC and mark objects Open the same .java file, close it Does not leave tons of objects around anymore. However, if you import a binary plugin (I did ... | resolved fixed | ba67e47 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-10T15:40:01Z | 2002-05-31T21:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileEditor.java | import org.eclipse.ui.texteditor.IDocumentProvider;
import org.eclipse.ui.texteditor.ITextEditorActionConstants;
import org.eclipse.help.IHelp;
import org.eclipse.jdt.core.IClassFile;
import org.eclipse.jdt.core.IClasspathContainer;
import org.eclipse.jdt.core.IClasspathEntry;
import org.eclipse.jdt.core.IJavaElement;
... |
18,510 | Bug 18510 ClassFileEditor leaks | In the 0530 build the leaks with the .java editor appear to have been fixed. The scenario I was using before: Create a .java file, close it. In memory profiler do a global GC and mark objects Open the same .java file, close it Does not leave tons of objects around anymore. However, if you import a binary plugin (I did ... | resolved fixed | ba67e47 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-10T15:40:01Z | 2002-05-31T21:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileEditor.java | private final IClassFile fFile;
private ScrolledComposite fScrolledComposite;
private Color fBackgroundColor;
private Color fForegroundColor;
private Color fSeparatorColor;
private List fBannerLabels= new ArrayList();
private List fHeaderLabels= new ArrayList();
private Font fFont;
/**
*... |
18,510 | Bug 18510 ClassFileEditor leaks | In the 0530 build the leaks with the .java editor appear to have been fixed. The scenario I was using before: Create a .java file, close it. In memory profiler do a global GC and mark objects Open the same .java file, close it Does not leave tons of objects around anymore. However, if you import a binary plugin (I did ... | resolved fixed | ba67e47 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-10T15:40:01Z | 2002-05-31T21:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileEditor.java | return (IPackageFragmentRoot) element;
}
/**
* Creates the control of the source attachment form.
*/
public Control createControl(Composite parent) {
Display display= parent.getDisplay();
fBackgroundColor= display.getSystemColor(SWT.COLOR_LIST_BACKGROUND);
fForegroundColor= display... |
18,510 | Bug 18510 ClassFileEditor leaks | In the 0530 build the leaks with the .java editor appear to have been fixed. The scenario I was using before: Create a .java file, close it. In memory profiler do a global GC and mark objects Open the same .java file, close it Does not leave tons of objects around anymore. However, if you import a binary plugin (I did ... | resolved fixed | ba67e47 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-10T15:40:01Z | 2002-05-31T21:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileEditor.java | }
}
});
fScrolledComposite.addControlListener(new ControlListener() {
public void controlMoved(ControlEvent e) {}
public void controlResized(ControlEvent e) {
Rectangle clientArea = fScrolledComposite.getClientArea();
ScrollBar verticalBar= fScrolledComposite.getVerticalBa... |
18,510 | Bug 18510 ClassFileEditor leaks | In the 0530 build the leaks with the .java editor appear to have been fixed. The scenario I was using before: Create a .java file, close it. In memory profiler do a global GC and mark objects Open the same .java file, close it Does not leave tons of objects around anymore. However, if you import a binary plugin (I did ... | resolved fixed | ba67e47 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-10T15:40:01Z | 2002-05-31T21:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileEditor.java | data.heightHint= 2;
separator.setLayoutData(data);
try {
final IPackageFragmentRoot root= getPackageFragmentRoot(fFile);
if (root != null) {
IClasspathEntry entry= root.getRawClasspathEntry();
if (!root.isArchive()) {
createLabel(composite, JavaEditorMessages.getFo... |
18,510 | Bug 18510 ClassFileEditor leaks | In the 0530 build the leaks with the .java editor appear to have been fixed. The scenario I was using before: Create a .java file, close it. In memory profiler do a global GC and mark objects Open the same .java file, close it Does not leave tons of objects around anymore. However, if you import a binary plugin (I did ... | resolved fixed | ba67e47 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-10T15:40:01Z | 2002-05-31T21:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileEditor.java | createLabel(composite, JavaEditorMessages.getFormattedString("SourceAttachmentForm.message.noSourceInAttachment", fFile.getElementName()));
createLabel(composite, JavaEditorMessages.getString("SourceAttachmentForm.message.pressButtonToChange"));
createLabel(composite, null);
button= createB... |
18,510 | Bug 18510 ClassFileEditor leaks | In the 0530 build the leaks with the .java editor appear to have been fixed. The scenario I was using before: Create a .java file, close it. In memory profiler do a global GC and mark objects Open the same .java file, close it Does not leave tons of objects around anymore. However, if you import a binary plugin (I did ... | resolved fixed | ba67e47 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-10T15:40:01Z | 2002-05-31T21:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileEditor.java | }
separator= createCompositeSeparator(composite);
data= new GridData(GridData.FILL_HORIZONTAL);
data.heightHint= 2;
separator.setLayoutData(data);
StyledText styledText= createCodeView(composite);
data= new GridData(GridData.FILL_BOTH);
styledText.setLayoutData(data);
updateCodeView... |
18,510 | Bug 18510 ClassFileEditor leaks | In the 0530 build the leaks with the .java editor appear to have been fixed. The scenario I was using before: Create a .java file, close it. In memory profiler do a global GC and mark objects Open the same .java file, close it Does not leave tons of objects around anymore. However, if you import a binary plugin (I did ... | resolved fixed | ba67e47 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-10T15:40:01Z | 2002-05-31T21:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileEditor.java | }
Control control= fScrolledComposite.getContent();
fScrolledComposite.setMinSize(control.computeSize(SWT.DEFAULT, SWT.DEFAULT));
fScrolledComposite.setContent(control);
fScrolledComposite.layout(true);
fScrolledComposite.redraw();
}
private Composite createComposite(Composit... |
18,510 | Bug 18510 ClassFileEditor leaks | In the 0530 build the leaks with the .java editor appear to have been fixed. The scenario I was using before: Create a .java file, close it. In memory profiler do a global GC and mark objects Open the same .java file, close it Does not leave tons of objects around anymore. However, if you import a binary plugin (I did ... | resolved fixed | ba67e47 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-10T15:40:01Z | 2002-05-31T21:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileEditor.java | int styles= SWT.MULTI | SWT.FULL_SELECTION;
StyledText styledText= new StyledText(parent, styles);
styledText.setBackground(fBackgroundColor);
styledText.setForeground(fForegroundColor);
styledText.setEditable(false);
setFont(styledText);
return styledText;
}
private void setFont(Style... |
18,510 | Bug 18510 ClassFileEditor leaks | In the 0530 build the leaks with the .java editor appear to have been fixed. The scenario I was using before: Create a .java file, close it. In memory profiler do a global GC and mark objects Open the same .java file, close it Does not leave tons of objects around anymore. However, if you import a binary plugin (I did ... | resolved fixed | ba67e47 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-10T15:40:01Z | 2002-05-31T21:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileEditor.java | Label label = new Label(parent, SWT.NONE);
if (text != null)
label.setText(text);
label.setBackground(fBackgroundColor);
label.setForeground(fForegroundColor);
return label;
}
private Label createTitleLabel(Composite parent, String text) {
Label label = new Label(parent, SWT.NONE);
... |
18,510 | Bug 18510 ClassFileEditor leaks | In the 0530 build the leaks with the .java editor appear to have been fixed. The scenario I was using before: Create a .java file, close it. In memory profiler do a global GC and mark objects Open the same .java file, close it Does not leave tons of objects around anymore. However, if you import a binary plugin (I did ... | resolved fixed | ba67e47 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-10T15:40:01Z | 2002-05-31T21:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileEditor.java | private Button createButton(Composite parent, String text) {
Button button = new Button(parent, SWT.FLAT);
button.setBackground(fBackgroundColor);
button.setForeground(fForegroundColor);
if (text != null)
button.setText(text);
return button;
}
private void updateCodeView(StyledText... |
18,510 | Bug 18510 ClassFileEditor leaks | In the 0530 build the leaks with the .java editor appear to have been fixed. The scenario I was using before: Create a .java file, close it. In memory profiler do a global GC and mark objects Open the same .java file, close it Does not leave tons of objects around anymore. However, if you import a binary plugin (I did ... | resolved fixed | ba67e47 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-10T15:40:01Z | 2002-05-31T21:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileEditor.java | * Default constructor.
*/
public ClassFileEditor() {
super();
setDocumentProvider(JavaPlugin.getDefault().getClassFileDocumentProvider());
setEditorContextMenuId("#ClassFileEditorContext");
setRulerContextMenuId("#ClassFileRulerContext");
setOutlinerContextMenuId("#ClassFileOutlinerContext");
}
/... |
18,510 | Bug 18510 ClassFileEditor leaks | In the 0530 build the leaks with the .java editor appear to have been fixed. The scenario I was using before: Create a .java file, close it. In memory profiler do a global GC and mark objects Open the same .java file, close it Does not leave tons of objects around anymore. However, if you import a binary plugin (I did ... | resolved fixed | ba67e47 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-10T15:40:01Z | 2002-05-31T21:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileEditor.java | setAction(ITextEditorActionConstants.BOOKMARK, null);
setAction(ITextEditorActionConstants.ADD_TASK, null);
}
/*
* @see JavaEditor#getElementAt(int)
*/
protected IJavaElement getElementAt(int offset) {
if (getEditorInput() instanceof IClassFileEditorInput) {
try {
IClassFileEditorInput input= (ICl... |
18,510 | Bug 18510 ClassFileEditor leaks | In the 0530 build the leaks with the .java editor appear to have been fixed. The scenario I was using before: Create a .java file, close it. In memory profiler do a global GC and mark objects Open the same .java file, close it Does not leave tons of objects around anymore. However, if you import a binary plugin (I did ... | resolved fixed | ba67e47 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-10T15:40:01Z | 2002-05-31T21:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileEditor.java | /*
* @see IEditorPart#saveState(IMemento)
*/
public void saveState(IMemento memento) {
}
/*
* @see JavaEditor#setOutlinePageInput(JavaOutlinePage, IEditorInput)
*/
protected void setOutlinePageInput(JavaOutlinePage page, IEditorInput input) {
if (page != null && input instanceof IClassFileEditorInput) {... |
18,510 | Bug 18510 ClassFileEditor leaks | In the 0530 build the leaks with the .java editor appear to have been fixed. The scenario I was using before: Create a .java file, close it. In memory profiler do a global GC and mark objects Open the same .java file, close it Does not leave tons of objects around anymore. However, if you import a binary plugin (I did ... | resolved fixed | ba67e47 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-10T15:40:01Z | 2002-05-31T21:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileEditor.java | * Translates the given editor input into an <code>ExternalClassFileEditorInput</code>
* if it is a file editor input representing an external class file.
*
* @param input the editor input to be transformed if necessary
* @return the transformed editor input
*/
protected IEditorInput transformEditorInput(IEd... |
18,510 | Bug 18510 ClassFileEditor leaks | In the 0530 build the leaks with the .java editor appear to have been fixed. The scenario I was using before: Create a .java file, close it. In memory profiler do a global GC and mark objects Open the same .java file, close it Does not leave tons of objects around anymore. However, if you import a binary plugin (I did ... | resolved fixed | ba67e47 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-10T15:40:01Z | 2002-05-31T21:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileEditor.java | throw new CoreException(new JavaModelStatus(IJavaModelStatusConstants.INVALID_RESOURCE, JavaEditorMessages.getString("ClassFileEditor.error.classfile_not_on_classpath")));
} else {
throw e;
}
}
IDocumentProvider documentProvider= getDocumentProvider();
if (documentProvider instanceof ClassFileDocumentP... |
18,510 | Bug 18510 ClassFileEditor leaks | In the 0530 build the leaks with the .java editor appear to have been fixed. The scenario I was using before: Create a .java file, close it. In memory profiler do a global GC and mark objects Open the same .java file, close it Does not leave tons of objects around anymore. However, if you import a binary plugin (I did ... | resolved fixed | ba67e47 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-10T15:40:01Z | 2002-05-31T21:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileEditor.java | String title= JavaEditorMessages.getString("ClassFileEditor.error.title");
String message= JavaEditorMessages.getString("ClassFileEditor.error.message");
ExceptionHandler.handle(e, fParent.getShell(), title, message);
}
}
/**
* Returns the package fragment root corresponding to the class file.
*/
priva... |
18,510 | Bug 18510 ClassFileEditor leaks | In the 0530 build the leaks with the .java editor appear to have been fixed. The scenario I was using before: Create a .java file, close it. In memory profiler do a global GC and mark objects Open the same .java file, close it Does not leave tons of objects around anymore. However, if you import a binary plugin (I did ... | resolved fixed | ba67e47 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-10T15:40:01Z | 2002-05-31T21:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileEditor.java | private void verifyInput(IEditorInput input) throws CoreException {
if (fParent == null || input == null)
return;
IClassFileEditorInput classFileEditorInput= (IClassFileEditorInput) input;
IClassFile file= classFileEditorInput.getClassFile();
if (file.getSourceRange() == null) {
if (fSourceAttac... |
18,510 | Bug 18510 ClassFileEditor leaks | In the 0530 build the leaks with the .java editor appear to have been fixed. The scenario I was using before: Create a .java file, close it. In memory profiler do a global GC and mark objects Open the same .java file, close it Does not leave tons of objects around anymore. However, if you import a binary plugin (I did ... | resolved fixed | ba67e47 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-10T15:40:01Z | 2002-05-31T21:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileEditor.java | if (input != null && input.equals(getEditorInput())) {
ISourceViewer viewer= getSourceViewer();
if (viewer != null) {
StyledText textWidget= viewer.getTextWidget();
if (textWidget != null && !textWidget.isDisposed()) {
textWidget.getDisplay().asyncExec(new Runnable() {
public void run() {
... |
16,554 | Bug 16554 "Reconcile Java views" preference is meaningless | "Window->Preferences->Java->Reconcile Java views" I don't think anyone will know what this preference does. It should be given a more meaningful title. | verified fixed | ffcc0a4 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-10T16:17:07Z | 2002-05-21T14:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaBasePreferencePage.java | /*
* (c) Copyright IBM Corp. 2000, 2001.
* All Rights Reserved.
*/
package org.eclipse.jdt.internal.ui.preferences;
import java.util.ArrayList;
import org.eclipse.core.runtime.IStatus;
import org.eclipse.swt.SWT;
import org.eclipse.swt.events.ModifyEvent;
import org.eclipse.swt.events.ModifyListener;
import org.ecli... |
16,554 | Bug 16554 "Reconcile Java views" preference is meaningless | "Window->Preferences->Java->Reconcile Java views" I don't think anyone will know what this preference does. It should be given a more meaningful title. | verified fixed | ffcc0a4 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-10T16:17:07Z | 2002-05-21T14:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaBasePreferencePage.java | import org.eclipse.jface.preference.IPreferenceStore;
import org.eclipse.jface.preference.PreferencePage;
import org.eclipse.ui.IWorkbench;
import org.eclipse.ui.IWorkbenchPreferencePage;
import org.eclipse.ui.help.WorkbenchHelp;
import org.eclipse.jdt.internal.ui.IJavaHelpContextIds;
import org.eclipse.jdt.internal.ui... |
16,554 | Bug 16554 "Reconcile Java views" preference is meaningless | "Window->Preferences->Java->Reconcile Java views" I don't think anyone will know what this preference does. It should be given a more meaningful title. | verified fixed | ffcc0a4 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-10T16:17:07Z | 2002-05-21T14:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaBasePreferencePage.java | }
public static boolean linkPackageSelectionToEditor() {
IPreferenceStore store= JavaPlugin.getDefault().getPreferenceStore();
return store.getBoolean(LINK_PACKAGES_TO_EDITOR);
}
public static boolean linkTypeHierarchySelectionToEditor() {
IPreferenceStore store= JavaPlugin.getDefault().getPreferenceStore... |
16,554 | Bug 16554 "Reconcile Java views" preference is meaningless | "Window->Preferences->Java->Reconcile Java views" I don't think anyone will know what this preference does. It should be given a more meaningful title. | verified fixed | ffcc0a4 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-10T16:17:07Z | 2002-05-21T14:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaBasePreferencePage.java | public static boolean reconcileJavaViews() {
return JavaPlugin.getDefault().getPreferenceStore().getBoolean(RECONCILE_JAVA_VIEWS);
}
private ArrayList fCheckBoxes;
private ArrayList fRadioButtons;
private ArrayList fTextControls;
private SelectionListener fSelectionListener;
private ModifyListener fModifyLi... |
16,554 | Bug 16554 "Reconcile Java views" preference is meaningless | "Window->Preferences->Java->Reconcile Java views" I don't think anyone will know what this preference does. It should be given a more meaningful title. | verified fixed | ffcc0a4 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-10T16:17:07Z | 2002-05-21T14:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaBasePreferencePage.java | };
}
public static void initDefaults(IPreferenceStore store) {
store.setDefault(LINK_PACKAGES_TO_EDITOR, true);
store.setDefault(LINK_TYPEHIERARCHY_TO_EDITOR, false);
store.setDefault(LINK_BROWSING_VIEW_TO_EDITOR, true);
store.setDefault(OPEN_TYPE_HIERARCHY, OPEN_TYPE_HIERARCHY_IN_VIEW_PART);
store.setDe... |
16,554 | Bug 16554 "Reconcile Java views" preference is meaningless | "Window->Preferences->Java->Reconcile Java views" I don't think anyone will know what this preference does. It should be given a more meaningful title. | verified fixed | ffcc0a4 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-10T16:17:07Z | 2002-05-21T14:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaBasePreferencePage.java | checkBox.setData(key);
checkBox.setLayoutData(gd);
checkBox.setSelection(getPreferenceStore().getBoolean(key));
fCheckBoxes.add(checkBox);
return checkBox;
}
private Button addRadioButton(Composite parent, String label, String key, String value) {
GridData gd= new GridData(GridData.HORIZONTAL_ALIGN... |
16,554 | Bug 16554 "Reconcile Java views" preference is meaningless | "Window->Preferences->Java->Reconcile Java views" I don't think anyone will know what this preference does. It should be given a more meaningful title. | verified fixed | ffcc0a4 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-10T16:17:07Z | 2002-05-21T14:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaBasePreferencePage.java | Text text= new Text(parent, SWT.SINGLE | SWT.BORDER);
text.setText(getPreferenceStore().getString(key));
text.setData(key);
text.setLayoutData(gd);
fTextControls.add(text);
return text;
}
protected Control createContents(Composite parent) {
initializeDialogUnits(parent);
Composite composite= ... |
16,554 | Bug 16554 "Reconcile Java views" preference is meaningless | "Window->Preferences->Java->Reconcile Java views" I don't think anyone will know what this preference does. It should be given a more meaningful title. | verified fixed | ffcc0a4 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-10T16:17:07Z | 2002-05-21T14:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaBasePreferencePage.java | layout= new GridLayout();
layout.marginHeight= 0;
doubleClickRadioGroup.setLayout(layout);
addRadioButton(doubleClickRadioGroup, JavaUIMessages.getString("JavaBasePreferencePage.doubleclick.gointo"), DOUBLE_CLICK, DOUBLE_CLICK_GOES_INTO);
addRadioButton(doubleClickRadioGroup, JavaUIMessages.getString("JavaBa... |
16,554 | Bug 16554 "Reconcile Java views" preference is meaningless | "Window->Preferences->Java->Reconcile Java views" I don't think anyone will know what this preference does. It should be given a more meaningful title. | verified fixed | ffcc0a4 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-10T16:17:07Z | 2002-05-21T14:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaBasePreferencePage.java | setValid(!status.matches(IStatus.ERROR));
StatusUtil.applyToStatusLine(this, status);
}
private void controlChanged(Widget widget) {
}
private void controlModified(Widget widget) {
}
/*
* @see PreferencePage#performDefaults()
*/
protected void performDefaults() {
IPreferenceStore store= getPrefe... |
16,554 | Bug 16554 "Reconcile Java views" preference is meaningless | "Window->Preferences->Java->Reconcile Java views" I don't think anyone will know what this preference does. It should be given a more meaningful title. | verified fixed | ffcc0a4 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-10T16:17:07Z | 2002-05-21T14:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaBasePreferencePage.java | super.performDefaults();
}
/*
* @see IPreferencePage#performOk()
*/
public boolean performOk() {
IPreferenceStore store= getPreferenceStore();
for (int i= 0; i < fCheckBoxes.size(); i++) {
Button button= (Button) fCheckBoxes.get(i);
String key= (String) button.getData();
store.setValue(key, button.g... |
16,554 | Bug 16554 "Reconcile Java views" preference is meaningless | "Window->Preferences->Java->Reconcile Java views" I don't think anyone will know what this preference does. It should be given a more meaningful title. | verified fixed | ffcc0a4 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-10T16:17:07Z | 2002-05-21T14:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/PreferenceConstants.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 |
16,554 | Bug 16554 "Reconcile Java views" preference is meaningless | "Window->Preferences->Java->Reconcile Java views" I don't think anyone will know what this preference does. It should be given a more meaningful title. | verified fixed | ffcc0a4 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-10T16:17:07Z | 2002-05-21T14:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/PreferenceConstants.java | * which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/cpl-v05.html
*
* Contributors:
* IBM Corporation - initial API and implementation
******************************************************************************/
package org.eclipse.jdt.ui;
import org.eclipse.jface.prefe... |
16,554 | Bug 16554 "Reconcile Java views" preference is meaningless | "Window->Preferences->Java->Reconcile Java views" I don't think anyone will know what this preference does. It should be given a more meaningful title. | verified fixed | ffcc0a4 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-10T16:17:07Z | 2002-05-21T14:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/PreferenceConstants.java | private PreferenceConstants() {
}
/**
* Enable / Disable showing the method return type. Boolean value.
*/
public static final String APPEARANCE_METHOD_RETURNTYPE= AppearancePreferencePage.PREF_METHOD_RETURNTYPE;
/**
* Enable / Disable showing the override indicators. Boolean value.
*/
public static fina... |
16,554 | Bug 16554 "Reconcile Java views" preference is meaningless | "Window->Preferences->Java->Reconcile Java views" I don't think anyone will know what this preference does. It should be given a more meaningful title. | verified fixed | ffcc0a4 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-10T16:17:07Z | 2002-05-21T14:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/PreferenceConstants.java | * Enable / Disable removing suffixes when creating getters. Boolean value.
*/
public static final String CODEGEN_USE_GETTERSETTER_SUFFIX= CodeGenerationPreferencePage.PREF_USE_GETTERSETTER_SUFFIX;
/**
* List of suffixes. String value; comma separated list.
*/
public static final String CODEGEN_GETTERSETTER_S... |
16,554 | Bug 16554 "Reconcile Java views" preference is meaningless | "Window->Preferences->Java->Reconcile Java views" I don't think anyone will know what this preference does. It should be given a more meaningful title. | verified fixed | ffcc0a4 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-10T16:17:07Z | 2002-05-21T14:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/PreferenceConstants.java | * Specifies to never import types that start with a lower case character. Boolean value.
*/
public static final String ORGIMPORTS_IGNORELOWERCASE= ImportOrganizePreferencePage.PREF_IGNORELOWERCASE;
/**
* Enable / Disable showing cu children in the packages view. Boolean value.
*/
public static final String SHO... |
16,554 | Bug 16554 "Reconcile Java views" preference is meaningless | "Window->Preferences->Java->Reconcile Java views" I don't think anyone will know what this preference does. It should be given a more meaningful title. | verified fixed | ffcc0a4 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-10T16:17:07Z | 2002-05-21T14:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/PreferenceConstants.java | * separated list of encoded JRE libraries. NEWPROJECT_JRELIBRARY_INDEX defines the currently used library.
* @see #encodeJRELibrary
* @see #decodeJRELibraryDescription
* @see #decodeJRELibraryClasspathEntries
*/
public static final String NEWPROJECT_JRELIBRARY_LIST= NewJavaProjectPreferencePage.CLASSPATH_JRELI... |
16,554 | Bug 16554 "Reconcile Java views" preference is meaningless | "Window->Preferences->Java->Reconcile Java views" I don't think anyone will know what this preference does. It should be given a more meaningful title. | verified fixed | ffcc0a4 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-10T16:17:07Z | 2002-05-21T14:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/PreferenceConstants.java | public static final String DOUBLE_CLICK_GOES_INTO= JavaBasePreferencePage.DOUBLE_CLICK_GOES_INTO;
/**
* String value used by DOUBLE_CLICK.
*/
public static final String DOUBLE_CLICK_EXPANDS= JavaBasePreferencePage.DOUBLE_CLICK_EXPANDS;
/**
* Enable / Disable showing reconciled elements in viewes. Boolean value... |
16,554 | Bug 16554 "Reconcile Java views" preference is meaningless | "Window->Preferences->Java->Reconcile Java views" I don't think anyone will know what this preference does. It should be given a more meaningful title. | verified fixed | ffcc0a4 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-10T16:17:07Z | 2002-05-21T14:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/PreferenceConstants.java | * @see org.eclipse.jface.preference.PreferenceConverter
*/
public final static String EDITOR_CURRENT_LINE_COLOR= CompilationUnitEditor.CURRENT_LINE_COLOR;
/**
* Enable / Disable the print margin. Boolean value.
*/
public final static String EDITOR_PRINT_MARGIN= CompilationUnitEditor.PRINT_MARGIN;
/**
* Co... |
16,554 | Bug 16554 "Reconcile Java views" preference is meaningless | "Window->Preferences->Java->Reconcile Java views" I don't think anyone will know what this preference does. It should be given a more meaningful title. | verified fixed | ffcc0a4 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-10T16:17:07Z | 2002-05-21T14:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/PreferenceConstants.java | */
public final static String EDITOR_TAB_WIDTH= JavaSourceViewerConfiguration.PREFERENCE_TAB_WIDTH;
/**
* Enable / Disable showing problem indicators. Boolean value.
*/
public final static String EDITOR_PROBLEM_INDICATION= CompilationUnitEditor.PROBLEM_INDICATION;
/**
* Color used for the problem indicators. ... |
16,554 | Bug 16554 "Reconcile Java views" preference is meaningless | "Window->Preferences->Java->Reconcile Java views" I don't think anyone will know what this preference does. It should be given a more meaningful title. | verified fixed | ffcc0a4 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-10T16:17:07Z | 2002-05-21T14:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/PreferenceConstants.java | * @see org.eclipse.jface.resource.StringConverter
* @see org.eclipse.jface.preference.PreferenceConverter
*/
public final static String EDITOR_LINE_NUMBER_RULER_COLOR= JavaEditor.LINE_NUMBER_COLOR;
/**
* Color used for the linked positions (templates). RGB color encoded using PreferenceConverter.
* @see org.e... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.