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
9,741
Bug 9741 Organize import is gone from the context menu
Is this intentional?
resolved fixed
edf2d4c
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-14T11:38:26Z
2002-02-13T19:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java
setAction(ITextEditorActionConstants.RULER_DOUBLE_CLICK, getAction("ManageBreakpoints")); } /** * @see JavaEditor#getElementAt(int) */ protected IJavaElement getElementAt(int offset) { IWorkingCopyManager manager= JavaPlugin.getDefault().getWorkingCopyManager(); ICompilationUnit unit= manager.getWorking...
9,741
Bug 9741 Organize import is gone from the context menu
Is this intentional?
resolved fixed
edf2d4c
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-14T11:38:26Z
2002-02-13T19:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java
} catch (JavaModelException x) { } return null; } /** * @see AbstractTextEditor#editorContextMenuAboutToShow(IMenuManager) */ public void editorContextMenuAboutToShow(IMenuManager menu) { super.editorContextMenuAboutToShow(menu); /* * http://dev.eclipse.org/bugs/show_bug.cgi?id=8735 * Remo...
9,741
Bug 9741 Organize import is gone from the context menu
Is this intentional?
resolved fixed
edf2d4c
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-14T11:38:26Z
2002-02-13T19:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java
} /** * @see JavaEditor#createOutlinePage() */ protected JavaOutlinePage createOutlinePage() { JavaOutlinePage page= super.createOutlinePage(); page.setAction("OrganizeImports", new OrganizeImportsAction(this)); DeleteAction deleteElement= new DeleteAction(page); page.setAction("DeleteEleme...
9,741
Bug 9741 Organize import is gone from the context menu
Is this intentional?
resolved fixed
edf2d4c
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-14T11:38:26Z
2002-02-13T19:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java
protected void performSaveOperation(WorkspaceModifyOperation operation, IProgressMonitor progressMonitor) { IDocumentProvider p= getDocumentProvider(); if (p instanceof CompilationUnitDocumentProvider) { CompilationUnitDocumentProvider cp= (CompilationUnitDocumentProvider) p; cp.setSavePolicy(fSavePolicy); ...
9,741
Bug 9741 Organize import is gone from the context menu
Is this intentional?
resolved fixed
edf2d4c
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-14T11:38:26Z
2002-02-13T19:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java
/* * 1GEUSSR: ITPUI:ALL - User should never loose changes made in the editors. * Changed Behavior to make sure that if called inside a regular save (because * of deletion of input element) there is a way to report back to the caller. */ performSaveAs(progressMonitor); } else { /...
9,741
Bug 9741 Organize import is gone from the context menu
Is this intentional?
resolved fixed
edf2d4c
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-14T11:38:26Z
2002-02-13T19:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java
} } /** * Jumps to the error next according to the given direction. */ public void gotoError(boolean forward) { ISelectionProvider provider= getSelectionProvider(); if (fStatusLineClearer != null) { provider.removeSelectionChangedListener(fStatusLineClearer); fStatusLineClearer= null; } ...
9,741
Bug 9741 Organize import is gone from the context menu
Is this intentional?
resolved fixed
edf2d4c
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-14T11:38:26Z
2002-02-13T19:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java
getStatusLineManager().setErrorMessage(nextError.getAttribute(IMarker.MESSAGE, "")); fStatusLineClearer= new ISelectionChangedListener() { public void selectionChanged(SelectionChangedEvent event) { getSelectionProvider().removeSelectionChangedListener(fStatusLineClearer); fStatusLineClearer= null; ...
9,741
Bug 9741 Organize import is gone from the context menu
Is this intentional?
resolved fixed
edf2d4c
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-14T11:38:26Z
2002-02-13T19:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java
IMarker marker= ma.getMarker(); if (MarkerUtilities.isMarkerType(marker, IMarker.PROBLEM)) { Position p= model.getPosition(a); if (!p.includes(offset)) { int currentDistance= 0; if (forward) { currentDistance= p.getOffset() - offset; if (currentDistance < 0) ...
9,741
Bug 9741 Organize import is gone from the context menu
Is this intentional?
resolved fixed
edf2d4c
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-14T11:38:26Z
2002-02-13T19:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java
/** * @see AbstractTextEditor#isSaveAsAllowed() */ public boolean isSaveAsAllowed() { return true; } /* * 1GF7WG9: ITPJUI:ALL - EXCEPTION: "Save As..." always fails */ protected IPackageFragment getPackage(IWorkspaceRoot root, IPath path) { if (path.segmentCount() == 1) { IProject project...
9,741
Bug 9741 Organize import is gone from the context menu
Is this intentional?
resolved fixed
edf2d4c
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-14T11:38:26Z
2002-02-13T19:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java
} catch (JavaModelException x) { } } } return null; } else if (path.segmentCount() > 1) { IFolder folder= root.getFolder(path); IJavaElement element= JavaCore.create(folder); if (element instanceof IPackageFragment) return (IPackageFragment) element; } return null;...
9,741
Bug 9741 Organize import is gone from the context menu
Is this intentional?
resolved fixed
edf2d4c
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-14T11:38:26Z
2002-02-13T19:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java
IFile original= null; if (input instanceof IFileEditorInput) original= ((IFileEditorInput) input).getFile(); if (original != null) dialog.setOriginalFile(original); if (dialog.open() == Dialog.CANCEL) { if (progressMonitor != null) progressMonitor.setCanceled(true); return; } IPath...
9,741
Bug 9741 Organize import is gone from the context menu
Is this intentional?
resolved fixed
edf2d4c
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-14T11:38:26Z
2002-02-13T19:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java
IWorkspaceRoot root= ResourcesPlugin.getWorkspace().getRoot(); /* * 1GF7WG9: ITPJUI:ALL - EXCEPTION: "Save As..." always fails */ final IPackageFragment fragment= getPackage(root, folderPath); IFile file= root.getFile(filePath); /* * Fix for http://dev.eclipse.org/bugs/show_bug.cgi?id=8873 ...
9,741
Bug 9741 Organize import is gone from the context menu
Is this intentional?
resolved fixed
edf2d4c
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-14T11:38:26Z
2002-02-13T19:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java
ICompilationUnit unit= manager.getWorkingCopy(getEditorInput()); /* * 1GJXY0L: ITPJUI:WINNT - NPE during save As in Java editor * Introduced null check, just go on in the null case */ if (unit != null) { /* * 1GF5YOX: ITPJUI:ALL - Save of delete file claims it's s...
9,741
Bug 9741 Organize import is gone from the context menu
Is this intentional?
resolved fixed
edf2d4c
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-14T11:38:26Z
2002-02-13T19:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java
boolean success= false; try { if (fragment == null) getDocumentProvider().aboutToChange(newInput); new ProgressMonitorDialog(shell).run(false, true, op); setInput(newInput); success= true; } catch (InterruptedException x) { } catch (InvocationTargetException x) { /* * 1GF5Y...
9,741
Bug 9741 Organize import is gone from the context menu
Is this intentional?
resolved fixed
edf2d4c
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-14T11:38:26Z
2002-02-13T19:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java
if (progressMonitor != null) progressMonitor.setCanceled(!success); } } /** * @see AbstractTextEditor#doSetInput(IEditorInput) */ protected void doSetInput(IEditorInput input) throws CoreException { super.doSetInput(input); fJavaEditorErrorTickUpdater.setAnnotationModel(getDocumentProvider().getAnnot...
9,741
Bug 9741 Organize import is gone from the context menu
Is this intentional?
resolved fixed
edf2d4c
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-14T11:38:26Z
2002-02-13T19:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java
IPreferenceStore store= getPreferenceStore(); return store.getBoolean(MATCHING_BRACKETS); } private Color getColor(String key) { RGB rgb= PreferenceConverter.getColor(getPreferenceStore(), key); JavaTextTools textTools= JavaPlugin.getDefault().getJavaTextTools(); return textTools.getColorManager().getColor(...
9,741
Bug 9741 Organize import is gone from the context menu
Is this intentional?
resolved fixed
edf2d4c
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-14T11:38:26Z
2002-02-13T19:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java
startBracketHighlighting(); } /** * @see AbstractTextEditor#handlePreferenceStoreChanged(PropertyChangeEvent) */ protected void handlePreferenceStoreChanged(PropertyChangeEvent event) { try { InternalSourceViewer isv= (InternalSourceViewer) getSourceViewer(); if (isv != null) { String ...
9,741
Bug 9741 Organize import is gone from the context menu
Is this intentional?
resolved fixed
edf2d4c
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-14T11:38:26Z
2002-02-13T19:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java
if (fBracketHighlighter != null) fBracketHighlighter.setHighlightColor(getColor(MATCHING_BRACKETS_COLOR)); return; } IContentAssistant c= isv.getContentAssistant(); if (c instanceof ContentAssistant) ContentAssistPreference.changeConfiguration((ContentAssistant) c, getPreferenceStore()...
9,570
Bug 9570 [Java Browsing] Types View not updated on deletion
1) Select a method in a type, i.e. all viewers are populated, editor is visible 2) Deactivate linking between active editor and navigator in workbench preferences 3) Deactivate auto build 3) Prespective>Show View>Navigator 4) Pin Navigator 5) Select the file of the previously selected method 6) Context Menu>Delete -> M...
resolved fixed
1446fda
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-14T12:06:33Z
2002-02-13T11:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/JavaBrowsingPart.java
/* * (c) Copyright IBM Corp. 2000, 2001. * All Rights Reserved. */ package org.eclipse.jdt.internal.ui.browsing; import java.util.Collection; import java.util.Collections; import java.util.Comparator; import java.util.HashSet; import java.util.Iterator; import java.util.List; import java.util.Set; import org.eclipse...
9,570
Bug 9570 [Java Browsing] Types View not updated on deletion
1) Select a method in a type, i.e. all viewers are populated, editor is visible 2) Deactivate linking between active editor and navigator in workbench preferences 3) Deactivate auto build 3) Prespective>Show View>Navigator 4) Pin Navigator 5) Select the file of the previously selected method 6) Context Menu>Delete -> M...
resolved fixed
1446fda
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-14T12:06:33Z
2002-02-13T11:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/JavaBrowsingPart.java
import org.eclipse.swt.widgets.Menu; import org.eclipse.swt.widgets.Shell; import org.eclipse.jface.action.Action; import org.eclipse.jface.action.IMenuListener; import org.eclipse.jface.action.IMenuManager; import org.eclipse.jface.action.IToolBarManager; import org.eclipse.jface.action.MenuManager; import org.eclipse...
9,570
Bug 9570 [Java Browsing] Types View not updated on deletion
1) Select a method in a type, i.e. all viewers are populated, editor is visible 2) Deactivate linking between active editor and navigator in workbench preferences 3) Deactivate auto build 3) Prespective>Show View>Navigator 4) Pin Navigator 5) Select the file of the previously selected method 6) Context Menu>Delete -> M...
resolved fixed
1446fda
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-14T12:06:33Z
2002-02-13T11:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/JavaBrowsingPart.java
import org.eclipse.ui.IWorkbenchPartSite; import org.eclipse.ui.PartInitException; import org.eclipse.ui.actions.RefreshAction; import org.eclipse.ui.dialogs.PropertyDialogAction; import org.eclipse.ui.help.ViewContextComputer; import org.eclipse.ui.help.WorkbenchHelp; import org.eclipse.ui.part.ViewPart; import org.ec...
9,570
Bug 9570 [Java Browsing] Types View not updated on deletion
1) Select a method in a type, i.e. all viewers are populated, editor is visible 2) Deactivate linking between active editor and navigator in workbench preferences 3) Deactivate auto build 3) Prespective>Show View>Navigator 4) Pin Navigator 5) Select the file of the previously selected method 6) Context Menu>Delete -> M...
resolved fixed
1446fda
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-14T12:06:33Z
2002-02-13T11:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/JavaBrowsingPart.java
import org.eclipse.jdt.internal.ui.reorg.ReorgGroup; import org.eclipse.jdt.internal.ui.search.JavaSearchGroup; import org.eclipse.jdt.internal.ui.viewsupport.BaseJavaElementContentProvider; import org.eclipse.jdt.internal.ui.viewsupport.ErrorTickImageProvider; import org.eclipse.jdt.internal.ui.viewsupport.IProblemCha...
9,570
Bug 9570 [Java Browsing] Types View not updated on deletion
1) Select a method in a type, i.e. all viewers are populated, editor is visible 2) Deactivate linking between active editor and navigator in workbench preferences 3) Deactivate auto build 3) Prespective>Show View>Navigator 4) Pin Navigator 5) Select the file of the previously selected method 6) Context Menu>Delete -> M...
resolved fixed
1446fda
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-14T12:06:33Z
2002-02-13T11:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/JavaBrowsingPart.java
private UpAction fUpAction; private AddBookmarkAction fAddBookmarkAction; private IWorkbenchPart fInputSource; private Image fOriginalTitleImage; /* * Ensure selection changed events being processed only if * initiated by user interaction with this part. */ private boolean fProcessSelectionEvents= true; ...
9,570
Bug 9570 [Java Browsing] Types View not updated on deletion
1) Select a method in a type, i.e. all viewers are populated, editor is visible 2) Deactivate linking between active editor and navigator in workbench preferences 3) Deactivate auto build 3) Prespective>Show View>Navigator 4) Pin Navigator 5) Select the file of the previously selected method 6) Context Menu>Delete -> M...
resolved fixed
1446fda
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-14T12:06:33Z
2002-02-13T11:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/JavaBrowsingPart.java
fMemento= memento; } /* * Implements method from IViewPart. */ public void saveState(IMemento memento) { if (fViewer == null) { if (fMemento != null) memento.putMemento(fMemento); return; } } /** * Creates the search list inner viewer. */ public void createPartControl(Composite p...
9,570
Bug 9570 [Java Browsing] Types View not updated on deletion
1) Select a method in a type, i.e. all viewers are populated, editor is visible 2) Deactivate linking between active editor and navigator in workbench preferences 3) Deactivate auto build 3) Prespective>Show View>Navigator 4) Pin Navigator 5) Select the file of the previously selected method 6) Context Menu>Delete -> M...
resolved fixed
1446fda
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-14T12:06:33Z
2002-02-13T11:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/JavaBrowsingPart.java
fViewer.setUseHashlookup(true); JavaPlugin.getDefault().getProblemMarkerManager().addListener((IProblemChangedListener)fViewer); fTitleProvider= createTitleProvider(); MenuManager menuMgr= new MenuManager("#PopupMenu"); menuMgr.setRemoveAllWhenShown(true); menuMgr.addMenuListener(this); fContextMenu= me...
9,570
Bug 9570 [Java Browsing] Types View not updated on deletion
1) Select a method in a type, i.e. all viewers are populated, editor is visible 2) Deactivate linking between active editor and navigator in workbench preferences 3) Deactivate auto build 3) Prespective>Show View>Navigator 4) Pin Navigator 5) Select the file of the previously selected method 6) Context Menu>Delete -> M...
resolved fixed
1446fda
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-14T12:06:33Z
2002-02-13T11:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/JavaBrowsingPart.java
public void setFocus() { fViewer.getControl().setFocus(); } public void dispose() { if (fViewer != null) { JavaPlugin.getDefault().getProblemMarkerManager().removeListener((IProblemChangedListener)fViewer); getViewSite().getWorkbenchWindow().getSelectionService().removeSelectionListener(this); getViewS...
9,570
Bug 9570 [Java Browsing] Types View not updated on deletion
1) Select a method in a type, i.e. all viewers are populated, editor is visible 2) Deactivate linking between active editor and navigator in workbench preferences 3) Deactivate auto build 3) Prespective>Show View>Navigator 4) Pin Navigator 5) Select the file of the previously selected method 6) Context Menu>Delete -> M...
resolved fixed
1446fda
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-14T12:06:33Z
2002-02-13T11:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/JavaBrowsingPart.java
} ContextMenuGroup.add(menu, fStandardGroups, fViewer); if (fAddBookmarkAction.canOperateOnSelection()) menu.appendToGroup(IContextMenuConstants.GROUP_REORGANIZE, fAddBookmarkAction); menu.appendToGroup(IContextMenuConstants.GROUP_BUILD, fRefreshAction); fRefreshAction.selectionChanged(selection); ...
9,570
Bug 9570 [Java Browsing] Types View not updated on deletion
1) Select a method in a type, i.e. all viewers are populated, editor is visible 2) Deactivate linking between active editor and navigator in workbench preferences 3) Deactivate auto build 3) Prespective>Show View>Navigator 4) Pin Navigator 5) Select the file of the previously selected method 6) Context Menu>Delete -> M...
resolved fixed
1446fda
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-14T12:06:33Z
2002-02-13T11:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/JavaBrowsingPart.java
fDeleteAction= new DeleteAction(provider); fRefreshAction= new RefreshAction(getShell()); IActionBars actionService= getViewSite().getActionBars(); actionService.setGlobalActionHandler(IWorkbenchActionConstants.DELETE, fDeleteAction); } /** * Returns the shell to use for opening dialogs. * Used in this c...
9,570
Bug 9570 [Java Browsing] Types View not updated on deletion
1) Select a method in a type, i.e. all viewers are populated, editor is visible 2) Deactivate linking between active editor and navigator in workbench preferences 3) Deactivate auto build 3) Prespective>Show View>Navigator 4) Pin Navigator 5) Select the file of the previously selected method 6) Context Menu>Delete -> M...
resolved fixed
1446fda
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-14T12:06:33Z
2002-02-13T11:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/JavaBrowsingPart.java
* @return <true> if the given element is a valid element */ protected boolean isValidElement(Object element) { if (element == null) return false; element= getSuitableJavaElement(element); if (element == null) return false; Object input= getViewer().getInput(); if (input == null) return false; if...
9,570
Bug 9570 [Java Browsing] Types View not updated on deletion
1) Select a method in a type, i.e. all viewers are populated, editor is visible 2) Deactivate linking between active editor and navigator in workbench preferences 3) Deactivate auto build 3) Prespective>Show View>Navigator 4) Pin Navigator 5) Select the file of the previously selected method 6) Context Menu>Delete -> M...
resolved fixed
1446fda
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-14T12:06:33Z
2002-02-13T11:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/JavaBrowsingPart.java
if (!fProcessSelectionEvents || part == this || !(selection instanceof IStructuredSelection)) return; Set newInput= getInputFromSelection(selection); if (!newInput.isEmpty()) { setInput(newInput); fInputSource= part; return; } Object inputElement= getFirstElement(getViewer().getInput()); Obj...
9,570
Bug 9570 [Java Browsing] Types View not updated on deletion
1) Select a method in a type, i.e. all viewers are populated, editor is visible 2) Deactivate linking between active editor and navigator in workbench preferences 3) Deactivate auto build 3) Prespective>Show View>Navigator 4) Pin Navigator 5) Select the file of the previously selected method 6) Context Menu>Delete -> M...
resolved fixed
1446fda
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-14T12:06:33Z
2002-02-13T11:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/JavaBrowsingPart.java
* @return <true> if the given element is a valid input */ protected Set getInputFromSelection(ISelection selection) { if (!(selection instanceof IStructuredSelection)) return Collections.EMPTY_SET; Set elements= new HashSet(); Iterator iter= ((IStructuredSelection)selection).iterator(); while (iter.hasNex...
9,570
Bug 9570 [Java Browsing] Types View not updated on deletion
1) Select a method in a type, i.e. all viewers are populated, editor is visible 2) Deactivate linking between active editor and navigator in workbench preferences 3) Deactivate auto build 3) Prespective>Show View>Navigator 4) Pin Navigator 5) Select the file of the previously selected method 6) Context Menu>Delete -> M...
resolved fixed
1446fda
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-14T12:06:33Z
2002-02-13T11:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/JavaBrowsingPart.java
fProcessSelectionEvents= false; fViewer.setInput(input); fProcessSelectionEvents= true; } /** * Sets or clears the title image of this part and * store the orignal image on the first call. */ protected void setTitleImage(Image titleImage) { if (fOriginalTitleImage == null) fOriginalTitleImage= getTitl...
9,570
Bug 9570 [Java Browsing] Types View not updated on deletion
1) Select a method in a type, i.e. all viewers are populated, editor is visible 2) Deactivate linking between active editor and navigator in workbench preferences 3) Deactivate auto build 3) Prespective>Show View>Navigator 4) Pin Navigator 5) Select the file of the previously selected method 6) Context Menu>Delete -> M...
resolved fixed
1446fda
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-14T12:06:33Z
2002-02-13T11:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/JavaBrowsingPart.java
protected final ILabelProvider getTitleProvider() { return fTitleProvider; } /** * Creates the the viewer of this part. * * @param parent the parent for the viewer */ protected StructuredViewer createViewer(Composite parent) { return new ProblemTableViewer(parent, SWT.SINGLE); } protected int getLab...
9,570
Bug 9570 [Java Browsing] Types View not updated on deletion
1) Select a method in a type, i.e. all viewers are populated, editor is visible 2) Deactivate linking between active editor and navigator in workbench preferences 3) Deactivate auto build 3) Prespective>Show View>Navigator 4) Pin Navigator 5) Select the file of the previously selected method 6) Context Menu>Delete -> M...
resolved fixed
1446fda
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-14T12:06:33Z
2002-02-13T11:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/JavaBrowsingPart.java
ISelection selection= getSite().getPage().getSelection(); if (selection != null && !selection.isEmpty()) setInput(getInputFromSelection(selection)); else { Object input= getSite().getPage().getInput(); if (!(input instanceof IJavaElement) && input instanceof IAdaptable) input= ((IAdaptable)input).g...
9,570
Bug 9570 [Java Browsing] Types View not updated on deletion
1) Select a method in a type, i.e. all viewers are populated, editor is visible 2) Deactivate linking between active editor and navigator in workbench preferences 3) Deactivate auto build 3) Prespective>Show View>Navigator 4) Pin Navigator 5) Select the file of the previously selected method 6) Context Menu>Delete -> M...
resolved fixed
1446fda
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-14T12:06:33Z
2002-02-13T11:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/JavaBrowsingPart.java
final protected void setHelp() { WorkbenchHelp.setHelp(fViewer.getControl(), new ViewContextComputer(this, getHelpContextId())); } /** * Returns the context ID for the Help system * * @return the string used as ID for the Help context */ abstract protected String getHelpContextId(); /** * Adds addition...
9,570
Bug 9570 [Java Browsing] Types View not updated on deletion
1) Select a method in a type, i.e. all viewers are populated, editor is visible 2) Deactivate linking between active editor and navigator in workbench preferences 3) Deactivate auto build 3) Prespective>Show View>Navigator 4) Pin Navigator 5) Select the file of the previously selected method 6) Context Menu>Delete -> M...
resolved fixed
1446fda
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-14T12:06:33Z
2002-02-13T11:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/JavaBrowsingPart.java
void adjustInputAndSetSelection(IJavaElement je) { je= findElementToSelect(je); if (je == null) { setInput(null); setSelection(StructuredSelection.EMPTY, true); return; } else if (getViewer().testFindItem(je) == null) setInput(findInputForJavaElement(je)); setSelection(new StructuredSelect...
9,570
Bug 9570 [Java Browsing] Types View not updated on deletion
1) Select a method in a type, i.e. all viewers are populated, editor is visible 2) Deactivate linking between active editor and navigator in workbench preferences 3) Deactivate auto build 3) Prespective>Show View>Navigator 4) Pin Navigator 5) Select the file of the previously selected method 6) Context Menu>Delete -> M...
resolved fixed
1446fda
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-14T12:06:33Z
2002-02-13T11:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/JavaBrowsingPart.java
* * @param je the Java element which has the focus */ abstract protected IJavaElement findElementToSelect(IJavaElement je); Object getFirstElement(Object object) { if (object instanceof StructuredSelection) return ((StructuredSelection)object).getFirstElement(); if (object instanceof Collection) { Co...
9,570
Bug 9570 [Java Browsing] Types View not updated on deletion
1) Select a method in a type, i.e. all viewers are populated, editor is visible 2) Deactivate linking between active editor and navigator in workbench preferences 3) Deactivate auto build 3) Prespective>Show View>Navigator 4) Pin Navigator 5) Select the file of the previously selected method 6) Context Menu>Delete -> M...
resolved fixed
1446fda
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-14T12:06:33Z
2002-02-13T11:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/JavaBrowsingPart.java
} /** * Links to editor (if option enabled) */ private void linkToEditor(IStructuredSelection selection) { if (selection == null || selection.isEmpty()) return; Object obj= selection.getFirstElement(); Object element= null; if (selection.size() == 1) { if (obj instanceof IJavaElement) { IJavaEle...
9,570
Bug 9570 [Java Browsing] Types View not updated on deletion
1) Select a method in a type, i.e. all viewers are populated, editor is visible 2) Deactivate linking between active editor and navigator in workbench preferences 3) Deactivate auto build 3) Prespective>Show View>Navigator 4) Pin Navigator 5) Select the file of the previously selected method 6) Context Menu>Delete -> M...
resolved fixed
1446fda
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-14T12:06:33Z
2002-02-13T11:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/JavaBrowsingPart.java
EditorUtility.revealInEditor(editor, (IJavaElement) obj); return; } } } } private void setSelectionFromEditor(IWorkbenchPart part) { if (part == null) return; IWorkbenchPartSite site= part.getSite(); if (site == null) return; ISelectionProvider provider= site.getSelectionProvider(); if (...
9,570
Bug 9570 [Java Browsing] Types View not updated on deletion
1) Select a method in a type, i.e. all viewers are populated, editor is visible 2) Deactivate linking between active editor and navigator in workbench preferences 3) Deactivate auto build 3) Prespective>Show View>Navigator 4) Pin Navigator 5) Select the file of the previously selected method 6) Context Menu>Delete -> M...
resolved fixed
1446fda
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-14T12:06:33Z
2002-02-13T11:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/JavaBrowsingPart.java
adjustInputAndSetSelection(je); } else if (ei instanceof IClassFileEditorInput) { IClassFile cf= ((IClassFileEditorInput)ei).getClassFile(); adjustInputAndSetSelection(cf); } return; } } /** * Returns the element contained in the EditorInput */ Object getElementOfInput(IEditorInput input) { ...
9,570
Bug 9570 [Java Browsing] Types View not updated on deletion
1) Select a method in a type, i.e. all viewers are populated, editor is visible 2) Deactivate linking between active editor and navigator in workbench preferences 3) Deactivate auto build 3) Prespective>Show View>Navigator 4) Pin Navigator 5) Select the file of the previously selected method 6) Context Menu>Delete -> M...
resolved fixed
1446fda
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-14T12:06:33Z
2002-02-13T11:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/JavaBrowsingPart.java
try { element= ((IJavaElement)element).getUnderlyingResource(); } catch (JavaModelException e) { return null; } } if (!(element instanceof IResource) || ((IResource)element).isPhantom()) { return null; } return (IResource)element; } private void setSelection(ISelection selection, boolean reve...
9,570
Bug 9570 [Java Browsing] Types View not updated on deletion
1) Select a method in a type, i.e. all viewers are populated, editor is visible 2) Deactivate linking between active editor and navigator in workbench preferences 3) Deactivate auto build 3) Prespective>Show View>Navigator 4) Pin Navigator 5) Select the file of the previously selected method 6) Context Menu>Delete -> M...
resolved fixed
1446fda
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-14T12:06:33Z
2002-02-13T11:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/JavaBrowsingPart.java
} /** * Returns the original element from which the specified working copy * element was created from. This is a handle only method, the * returned element may or may not exist. * * @param workingCopy the element for which to get the original * @return the original Java element or <code>null</code> if thi...
9,570
Bug 9570 [Java Browsing] Types View not updated on deletion
1) Select a method in a type, i.e. all viewers are populated, editor is visible 2) Deactivate linking between active editor and navigator in workbench preferences 3) Deactivate auto build 3) Prespective>Show View>Navigator 4) Pin Navigator 5) Select the file of the previously selected method 6) Context Menu>Delete -> M...
resolved fixed
1446fda
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-14T12:06:33Z
2002-02-13T11:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/JavaBrowsingPart.java
return (ICompilationUnit) element; if (IJavaElement.CLASS_FILE == type) return null; return getCompilationUnit(element.getParent()); } /** * Converts the given Java element to one which is suitable for this * view. It takes into account wether the view shows working copies or not. * * @param elemen...
9,570
Bug 9570 [Java Browsing] Types View not updated on deletion
1) Select a method in a type, i.e. all viewers are populated, editor is visible 2) Deactivate linking between active editor and navigator in workbench preferences 3) Deactivate auto build 3) Prespective>Show View>Navigator 4) Pin Navigator 5) Select the file of the previously selected method 6) Context Menu>Delete -> M...
resolved fixed
1446fda
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-14T12:06:33Z
2002-02-13T11:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/JavaBrowsingPart.java
return ((IWorkingCopy)cu).getOriginal(element); else return element; } } /** * @see JavaEditor#getElementAt(int) */ protected IJavaElement getElementForInputAt(IEditorInput input, int offset) { if (input instanceof IClassFileEditorInput) { try { return ((IClassFileEditorInput)input).getClassFil...
9,537
Bug 9537 IllegalArg exception in edtior when doing cut in Outline view
IllegalArg exception in edtior when doing delete in Outline view (or any other view with J elements - see depending bug). 1. Make RepeatedTest.java read-only 2. Open RepeatedTest.java 3. Delete "toString" in Outline view 4. Delete "toString" in Outline view ==> org.eclipse.swt.SWTException: Failed to execute runnable (...
resolved fixed
bc24740
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-14T14:57:00Z
2002-02-13T11:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java
package org.eclipse.jdt.internal.ui.javaeditor; /* * (c) Copyright IBM Corp. 2000, 2001. * All Rights Reserved. */ import java.lang.reflect.InvocationTargetException;
9,537
Bug 9537 IllegalArg exception in edtior when doing cut in Outline view
IllegalArg exception in edtior when doing delete in Outline view (or any other view with J elements - see depending bug). 1. Make RepeatedTest.java read-only 2. Open RepeatedTest.java 3. Delete "toString" in Outline view 4. Delete "toString" in Outline view ==> org.eclipse.swt.SWTException: Failed to execute runnable (...
resolved fixed
bc24740
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-14T14:57:00Z
2002-02-13T11:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java
import java.util.Iterator; import org.eclipse.swt.custom.StyledText; import org.eclipse.swt.events.KeyEvent; import org.eclipse.swt.events.KeyListener; import org.eclipse.swt.events.MouseEvent; import org.eclipse.swt.events.MouseListener; import org.eclipse.swt.events.PaintEvent; import org.eclipse.swt.events.PaintList...
9,537
Bug 9537 IllegalArg exception in edtior when doing cut in Outline view
IllegalArg exception in edtior when doing delete in Outline view (or any other view with J elements - see depending bug). 1. Make RepeatedTest.java read-only 2. Open RepeatedTest.java 3. Delete "toString" in Outline view 4. Delete "toString" in Outline view ==> org.eclipse.swt.SWTException: Failed to execute runnable (...
resolved fixed
bc24740
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-14T14:57:00Z
2002-02-13T11:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java
import org.eclipse.jface.preference.IPreferenceStore; import org.eclipse.jface.preference.PreferenceConverter; import org.eclipse.jface.text.BadLocationException; import org.eclipse.jface.text.BadPositionCategoryException; import org.eclipse.jface.text.DefaultPositionUpdater; import org.eclipse.jface.text.IDocument; im...
9,537
Bug 9537 IllegalArg exception in edtior when doing cut in Outline view
IllegalArg exception in edtior when doing delete in Outline view (or any other view with J elements - see depending bug). 1. Make RepeatedTest.java read-only 2. Open RepeatedTest.java 3. Delete "toString" in Outline view 4. Delete "toString" in Outline view ==> org.eclipse.swt.SWTException: Failed to execute runnable (...
resolved fixed
bc24740
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-14T14:57:00Z
2002-02-13T11:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java
import org.eclipse.ui.IWorkbenchPage; import org.eclipse.ui.actions.WorkspaceModifyOperation; import org.eclipse.ui.dialogs.SaveAsDialog; import org.eclipse.ui.part.FileEditorInput; import org.eclipse.ui.texteditor.IDocumentProvider; import org.eclipse.ui.texteditor.ITextEditorActionConstants; import org.eclipse.ui.tex...
9,537
Bug 9537 IllegalArg exception in edtior when doing cut in Outline view
IllegalArg exception in edtior when doing delete in Outline view (or any other view with J elements - see depending bug). 1. Make RepeatedTest.java read-only 2. Open RepeatedTest.java 3. Delete "toString" in Outline view 4. Delete "toString" in Outline view ==> org.eclipse.swt.SWTException: Failed to execute runnable (...
resolved fixed
bc24740
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-14T14:57:00Z
2002-02-13T11:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java
/** * Responsible for highlighting matching pairs of brackets. */ class BracketHighlighter implements KeyListener, MouseListener, ISelectionChangedListener, ITextListener, ITextInputListener { /** * Highlights the brackets. */ class HighlightBrackets implements PaintListener { private JavaPai...
9,537
Bug 9537 IllegalArg exception in edtior when doing cut in Outline view
IllegalArg exception in edtior when doing delete in Outline view (or any other view with J elements - see depending bug). 1. Make RepeatedTest.java read-only 2. Open RepeatedTest.java 3. Delete "toString" in Outline view 4. Delete "toString" in Outline view ==> org.eclipse.swt.SWTException: Failed to execute runnable (...
resolved fixed
bc24740
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-14T14:57:00Z
2002-02-13T11:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java
} public void dispose() { if (fMatcher != null) { fMatcher.dispose(); fMatcher= null; } fColor= null; fTextWidget= null; } public void deactivate(boolean redraw) { if (fIsActive) { fIsActive= false; fTextWidget.removePaintListener(this); fManager....
9,537
Bug 9537 IllegalArg exception in edtior when doing cut in Outline view
IllegalArg exception in edtior when doing delete in Outline view (or any other view with J elements - see depending bug). 1. Make RepeatedTest.java read-only 2. Open RepeatedTest.java 3. Delete "toString" in Outline view 4. Delete "toString" in Outline view ==> org.eclipse.swt.SWTException: Failed to execute runnable (...
resolved fixed
bc24740
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-14T14:57:00Z
2002-02-13T11:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java
IRegion pair= fMatcher.match(fSourceViewer.getDocument(), selection.x); if (pair == null) { deactivate(true); return; } if (fIsActive) { if (pair.getOffset() != fBracketPosition.getOffset() || pair.getLength() != fBracketPosition.getLength() || fMatcher.getAnchor() ...
9,537
Bug 9537 IllegalArg exception in edtior when doing cut in Outline view
IllegalArg exception in edtior when doing delete in Outline view (or any other view with J elements - see depending bug). 1. Make RepeatedTest.java read-only 2. Open RepeatedTest.java 3. Delete "toString" in Outline view 4. Delete "toString" in Outline view ==> org.eclipse.swt.SWTException: Failed to execute runnable (...
resolved fixed
bc24740
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-14T14:57:00Z
2002-02-13T11:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java
fAnchor= fMatcher.getAnchor(); fTextWidget.addPaintListener(this); fManager.manage(fBracketPosition); handleDrawRequest(null); } } public void paintControl(PaintEvent event) { if (fTextWidget != null) handleDrawRequest(event.gc); } private void handleDrawRequest(GC ...
9,537
Bug 9537 IllegalArg exception in edtior when doing cut in Outline view
IllegalArg exception in edtior when doing delete in Outline view (or any other view with J elements - see depending bug). 1. Make RepeatedTest.java read-only 2. Open RepeatedTest.java 3. Delete "toString" in Outline view 4. Delete "toString" in Outline view ==> org.eclipse.swt.SWTException: Failed to execute runnable (...
resolved fixed
bc24740
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-14T14:57:00Z
2002-02-13T11:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java
Point right= fTextWidget.getLocationAtOffset(offset + length); gc.setForeground(fColor); gc.drawRectangle(left.x, left.y, right.x - left.x - 1, gc.getFontMetrics().getHeight() - 1); } else { fTextWidget.redrawRange(offset, length, true); } } }; /** * Manages the regi...
9,537
Bug 9537 IllegalArg exception in edtior when doing cut in Outline view
IllegalArg exception in edtior when doing delete in Outline view (or any other view with J elements - see depending bug). 1. Make RepeatedTest.java read-only 2. Open RepeatedTest.java 3. Delete "toString" in Outline view 4. Delete "toString" in Outline view ==> org.eclipse.swt.SWTException: Failed to execute runnable (...
resolved fixed
bc24740
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-14T14:57:00Z
2002-02-13T11:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java
public void dispose() { uninstall(fDocument); } public void uninstall(IDocument document) { if (document == fDocument && document != null) { try { fDocument.removePositionUpdater(fPositionUpdater); fDocument.removePositionCategory(fCategory); } catch (BadPositionCategoryExcept...
9,537
Bug 9537 IllegalArg exception in edtior when doing cut in Outline view
IllegalArg exception in edtior when doing delete in Outline view (or any other view with J elements - see depending bug). 1. Make RepeatedTest.java read-only 2. Open RepeatedTest.java 3. Delete "toString" in Outline view 4. Delete "toString" in Outline view ==> org.eclipse.swt.SWTException: Failed to execute runnable (...
resolved fixed
bc24740
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-14T14:57:00Z
2002-02-13T11:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java
} catch (BadPositionCategoryException x) { } } }; private BracketPositionManager fManager= new BracketPositionManager(); private HighlightBrackets fHighlightBrackets; private ISourceViewer fSourceViewer; private boolean fTextChanged= false; public BracketHighlighter(ISourceViewer sourc...
9,537
Bug 9537 IllegalArg exception in edtior when doing cut in Outline view
IllegalArg exception in edtior when doing delete in Outline view (or any other view with J elements - see depending bug). 1. Make RepeatedTest.java read-only 2. Open RepeatedTest.java 3. Delete "toString" in Outline view 4. Delete "toString" in Outline view ==> org.eclipse.swt.SWTException: Failed to execute runnable (...
resolved fixed
bc24740
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-14T14:57:00Z
2002-02-13T11:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java
fSourceViewer.addTextListener(this); StyledText text= fSourceViewer.getTextWidget(); text.addKeyListener(this); text.addMouseListener(this); } public void dispose() { if (fManager != null) { fManager.dispose(); fManager= null; } if (fHighlightBrackets != null) { fHighlig...
9,537
Bug 9537 IllegalArg exception in edtior when doing cut in Outline view
IllegalArg exception in edtior when doing delete in Outline view (or any other view with J elements - see depending bug). 1. Make RepeatedTest.java read-only 2. Open RepeatedTest.java 3. Delete "toString" in Outline view 4. Delete "toString" in Outline view ==> org.eclipse.swt.SWTException: Failed to execute runnable (...
resolved fixed
bc24740
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-14T14:57:00Z
2002-02-13T11:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java
text.removeKeyListener(fBracketHighlighter); text.removeMouseListener(fBracketHighlighter); } fSourceViewer= null; } } /** * @see KeyListener#keyPressed(KeyEvent) */ public void keyPressed(KeyEvent e) { fTextChanged= false; } /** * @see KeyListener#keyReleased(KeyEvent) ...
9,537
Bug 9537 IllegalArg exception in edtior when doing cut in Outline view
IllegalArg exception in edtior when doing delete in Outline view (or any other view with J elements - see depending bug). 1. Make RepeatedTest.java read-only 2. Open RepeatedTest.java 3. Delete "toString" in Outline view 4. Delete "toString" in Outline view ==> org.eclipse.swt.SWTException: Failed to execute runnable (...
resolved fixed
bc24740
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-14T14:57:00Z
2002-02-13T11:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java
public void mouseDown(MouseEvent e) { } /** * @see MouseListener#mouseUp(MouseEvent) */ public void mouseUp(MouseEvent e) { fHighlightBrackets.run(); } /** * @see ISelectionChangedListener#selectionChanged(SelectionChangedEvent) */ public void selectionChanged(SelectionChangedEvent even...
9,537
Bug 9537 IllegalArg exception in edtior when doing cut in Outline view
IllegalArg exception in edtior when doing delete in Outline view (or any other view with J elements - see depending bug). 1. Make RepeatedTest.java read-only 2. Open RepeatedTest.java 3. Delete "toString" in Outline view 4. Delete "toString" in Outline view ==> org.eclipse.swt.SWTException: Failed to execute runnable (...
resolved fixed
bc24740
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-14T14:57:00Z
2002-02-13T11:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java
} } /** * @see ITextInputListener#inputDocumentAboutToBeChanged(IDocument, IDocument) */ public void inputDocumentAboutToBeChanged(IDocument oldInput, IDocument newInput) { if (oldInput != null) { fHighlightBrackets.deactivate(false); fManager.uninstall(oldInput); } } /** * @see I...
9,537
Bug 9537 IllegalArg exception in edtior when doing cut in Outline view
IllegalArg exception in edtior when doing delete in Outline view (or any other view with J elements - see depending bug). 1. Make RepeatedTest.java read-only 2. Open RepeatedTest.java 3. Delete "toString" in Outline view 4. Delete "toString" in Outline view ==> org.eclipse.swt.SWTException: Failed to execute runnable (...
resolved fixed
bc24740
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-14T14:57:00Z
2002-02-13T11:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java
return fContentAssistant; } }; private final static String CODE_FORMATTER_TAB_SIZE= "org.eclipse.jdt.core.formatter.tabulation.size"; private final static String CODE_FORMATTER_TAB_CHAR= "org.eclipse.jdt.core.formatter.tabulation.char"; public final static String MATCHING_BRACKETS= "matchingBrackets"; ...
9,537
Bug 9537 IllegalArg exception in edtior when doing cut in Outline view
IllegalArg exception in edtior when doing delete in Outline view (or any other view with J elements - see depending bug). 1. Make RepeatedTest.java read-only 2. Open RepeatedTest.java 3. Delete "toString" in Outline view 4. Delete "toString" in Outline view ==> org.eclipse.swt.SWTException: Failed to execute runnable (...
resolved fixed
bc24740
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-14T14:57:00Z
2002-02-13T11:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java
setDocumentProvider(JavaPlugin.getDefault().getCompilationUnitDocumentProvider()); setEditorContextMenuId("#CompilationUnitEditorContext"); setRulerContextMenuId("#CompilationUnitRulerContext"); setOutlinerContextMenuId("#CompilationUnitOutlinerContext"); setHelpContextId(IJavaHelpContextIds.COMPILATION_UNIT...
9,537
Bug 9537 IllegalArg exception in edtior when doing cut in Outline view
IllegalArg exception in edtior when doing delete in Outline view (or any other view with J elements - see depending bug). 1. Make RepeatedTest.java read-only 2. Open RepeatedTest.java 3. Delete "toString" in Outline view 4. Delete "toString" in Outline view ==> org.eclipse.swt.SWTException: Failed to execute runnable (...
resolved fixed
bc24740
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-14T14:57:00Z
2002-02-13T11:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java
} /** * @see JavaEditor#getElementAt(int) */ protected IJavaElement getElementAt(int offset) { IWorkingCopyManager manager= JavaPlugin.getDefault().getWorkingCopyManager(); ICompilationUnit unit= manager.getWorkingCopy(getEditorInput()); if (unit != null) { synchronized (unit) { try { unit....
9,537
Bug 9537 IllegalArg exception in edtior when doing cut in Outline view
IllegalArg exception in edtior when doing delete in Outline view (or any other view with J elements - see depending bug). 1. Make RepeatedTest.java read-only 2. Open RepeatedTest.java 3. Delete "toString" in Outline view 4. Delete "toString" in Outline view ==> org.eclipse.swt.SWTException: Failed to execute runnable (...
resolved fixed
bc24740
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-14T14:57:00Z
2002-02-13T11:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java
} return null; } /** * @see AbstractTextEditor#editorContextMenuAboutToShow(IMenuManager) */ public void editorContextMenuAboutToShow(IMenuManager menu) { super.editorContextMenuAboutToShow(menu); /* * http://dev.eclipse.org/bugs/show_bug.cgi?id=8735 * Removed duplicates of Edit menu entries to ...
9,537
Bug 9537 IllegalArg exception in edtior when doing cut in Outline view
IllegalArg exception in edtior when doing delete in Outline view (or any other view with J elements - see depending bug). 1. Make RepeatedTest.java read-only 2. Open RepeatedTest.java 3. Delete "toString" in Outline view 4. Delete "toString" in Outline view ==> org.eclipse.swt.SWTException: Failed to execute runnable (...
resolved fixed
bc24740
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-14T14:57:00Z
2002-02-13T11:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java
} /** * @see JavaEditor#createOutlinePage() */ protected JavaOutlinePage createOutlinePage() { JavaOutlinePage page= super.createOutlinePage(); page.setAction("OrganizeImports", new OrganizeImportsAction(this)); DeleteAction deleteElement= new DeleteAction(page); page.setAction("DeleteEleme...
9,537
Bug 9537 IllegalArg exception in edtior when doing cut in Outline view
IllegalArg exception in edtior when doing delete in Outline view (or any other view with J elements - see depending bug). 1. Make RepeatedTest.java read-only 2. Open RepeatedTest.java 3. Delete "toString" in Outline view 4. Delete "toString" in Outline view ==> org.eclipse.swt.SWTException: Failed to execute runnable (...
resolved fixed
bc24740
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-14T14:57:00Z
2002-02-13T11:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java
protected void performSaveOperation(WorkspaceModifyOperation operation, IProgressMonitor progressMonitor) { IDocumentProvider p= getDocumentProvider(); if (p instanceof CompilationUnitDocumentProvider) { CompilationUnitDocumentProvider cp= (CompilationUnitDocumentProvider) p; cp.setSavePolicy(fSavePolicy); ...
9,537
Bug 9537 IllegalArg exception in edtior when doing cut in Outline view
IllegalArg exception in edtior when doing delete in Outline view (or any other view with J elements - see depending bug). 1. Make RepeatedTest.java read-only 2. Open RepeatedTest.java 3. Delete "toString" in Outline view 4. Delete "toString" in Outline view ==> org.eclipse.swt.SWTException: Failed to execute runnable (...
resolved fixed
bc24740
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-14T14:57:00Z
2002-02-13T11:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java
/* * 1GEUSSR: ITPUI:ALL - User should never loose changes made in the editors. * Changed Behavior to make sure that if called inside a regular save (because * of deletion of input element) there is a way to report back to the caller. */ performSaveAs(progressMonitor); } else { /...
9,537
Bug 9537 IllegalArg exception in edtior when doing cut in Outline view
IllegalArg exception in edtior when doing delete in Outline view (or any other view with J elements - see depending bug). 1. Make RepeatedTest.java read-only 2. Open RepeatedTest.java 3. Delete "toString" in Outline view 4. Delete "toString" in Outline view ==> org.eclipse.swt.SWTException: Failed to execute runnable (...
resolved fixed
bc24740
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-14T14:57:00Z
2002-02-13T11:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java
} } /** * Jumps to the error next according to the given direction. */ public void gotoError(boolean forward) { ISelectionProvider provider= getSelectionProvider(); if (fStatusLineClearer != null) { provider.removeSelectionChangedListener(fStatusLineClearer); fStatusLineClearer= null; } ...
9,537
Bug 9537 IllegalArg exception in edtior when doing cut in Outline view
IllegalArg exception in edtior when doing delete in Outline view (or any other view with J elements - see depending bug). 1. Make RepeatedTest.java read-only 2. Open RepeatedTest.java 3. Delete "toString" in Outline view 4. Delete "toString" in Outline view ==> org.eclipse.swt.SWTException: Failed to execute runnable (...
resolved fixed
bc24740
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-14T14:57:00Z
2002-02-13T11:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java
getStatusLineManager().setErrorMessage(nextError.getAttribute(IMarker.MESSAGE, "")); fStatusLineClearer= new ISelectionChangedListener() { public void selectionChanged(SelectionChangedEvent event) { getSelectionProvider().removeSelectionChangedListener(fStatusLineClearer); fStatusLineClearer= null; ...
9,537
Bug 9537 IllegalArg exception in edtior when doing cut in Outline view
IllegalArg exception in edtior when doing delete in Outline view (or any other view with J elements - see depending bug). 1. Make RepeatedTest.java read-only 2. Open RepeatedTest.java 3. Delete "toString" in Outline view 4. Delete "toString" in Outline view ==> org.eclipse.swt.SWTException: Failed to execute runnable (...
resolved fixed
bc24740
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-14T14:57:00Z
2002-02-13T11:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java
IMarker marker= ma.getMarker(); if (MarkerUtilities.isMarkerType(marker, IMarker.PROBLEM)) { Position p= model.getPosition(a); if (!p.includes(offset)) { int currentDistance= 0; if (forward) { currentDistance= p.getOffset() - offset; if (currentDistance < 0) ...
9,537
Bug 9537 IllegalArg exception in edtior when doing cut in Outline view
IllegalArg exception in edtior when doing delete in Outline view (or any other view with J elements - see depending bug). 1. Make RepeatedTest.java read-only 2. Open RepeatedTest.java 3. Delete "toString" in Outline view 4. Delete "toString" in Outline view ==> org.eclipse.swt.SWTException: Failed to execute runnable (...
resolved fixed
bc24740
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-14T14:57:00Z
2002-02-13T11:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java
/** * @see AbstractTextEditor#isSaveAsAllowed() */ public boolean isSaveAsAllowed() { return true; } /* * 1GF7WG9: ITPJUI:ALL - EXCEPTION: "Save As..." always fails */ protected IPackageFragment getPackage(IWorkspaceRoot root, IPath path) { if (path.segmentCount() == 1) { IProject project...
9,537
Bug 9537 IllegalArg exception in edtior when doing cut in Outline view
IllegalArg exception in edtior when doing delete in Outline view (or any other view with J elements - see depending bug). 1. Make RepeatedTest.java read-only 2. Open RepeatedTest.java 3. Delete "toString" in Outline view 4. Delete "toString" in Outline view ==> org.eclipse.swt.SWTException: Failed to execute runnable (...
resolved fixed
bc24740
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-14T14:57:00Z
2002-02-13T11:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java
} catch (JavaModelException x) { } } } return null; } else if (path.segmentCount() > 1) { IFolder folder= root.getFolder(path); IJavaElement element= JavaCore.create(folder); if (element instanceof IPackageFragment) return (IPackageFragment) element; } return null;...
9,537
Bug 9537 IllegalArg exception in edtior when doing cut in Outline view
IllegalArg exception in edtior when doing delete in Outline view (or any other view with J elements - see depending bug). 1. Make RepeatedTest.java read-only 2. Open RepeatedTest.java 3. Delete "toString" in Outline view 4. Delete "toString" in Outline view ==> org.eclipse.swt.SWTException: Failed to execute runnable (...
resolved fixed
bc24740
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-14T14:57:00Z
2002-02-13T11:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java
IFile original= null; if (input instanceof IFileEditorInput) original= ((IFileEditorInput) input).getFile(); if (original != null) dialog.setOriginalFile(original); if (dialog.open() == Dialog.CANCEL) { if (progressMonitor != null) progressMonitor.setCanceled(true); return; } IPath...
9,537
Bug 9537 IllegalArg exception in edtior when doing cut in Outline view
IllegalArg exception in edtior when doing delete in Outline view (or any other view with J elements - see depending bug). 1. Make RepeatedTest.java read-only 2. Open RepeatedTest.java 3. Delete "toString" in Outline view 4. Delete "toString" in Outline view ==> org.eclipse.swt.SWTException: Failed to execute runnable (...
resolved fixed
bc24740
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-14T14:57:00Z
2002-02-13T11:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java
IWorkspaceRoot root= ResourcesPlugin.getWorkspace().getRoot(); /* * 1GF7WG9: ITPJUI:ALL - EXCEPTION: "Save As..." always fails */ final IPackageFragment fragment= getPackage(root, folderPath); IFile file= root.getFile(filePath); /* * Fix for http://dev.eclipse.org/bugs/show_bug.cgi?id=8873 ...
9,537
Bug 9537 IllegalArg exception in edtior when doing cut in Outline view
IllegalArg exception in edtior when doing delete in Outline view (or any other view with J elements - see depending bug). 1. Make RepeatedTest.java read-only 2. Open RepeatedTest.java 3. Delete "toString" in Outline view 4. Delete "toString" in Outline view ==> org.eclipse.swt.SWTException: Failed to execute runnable (...
resolved fixed
bc24740
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-14T14:57:00Z
2002-02-13T11:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java
ICompilationUnit unit= manager.getWorkingCopy(getEditorInput()); /* * 1GJXY0L: ITPJUI:WINNT - NPE during save As in Java editor * Introduced null check, just go on in the null case */ if (unit != null) { /* * 1GF5YOX: ITPJUI:ALL - Save of delete file claims it's s...
9,537
Bug 9537 IllegalArg exception in edtior when doing cut in Outline view
IllegalArg exception in edtior when doing delete in Outline view (or any other view with J elements - see depending bug). 1. Make RepeatedTest.java read-only 2. Open RepeatedTest.java 3. Delete "toString" in Outline view 4. Delete "toString" in Outline view ==> org.eclipse.swt.SWTException: Failed to execute runnable (...
resolved fixed
bc24740
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-14T14:57:00Z
2002-02-13T11:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java
boolean success= false; try { if (fragment == null) getDocumentProvider().aboutToChange(newInput); new ProgressMonitorDialog(shell).run(false, true, op); setInput(newInput); success= true; } catch (InterruptedException x) { } catch (InvocationTargetException x) { /* * 1GF5Y...
9,537
Bug 9537 IllegalArg exception in edtior when doing cut in Outline view
IllegalArg exception in edtior when doing delete in Outline view (or any other view with J elements - see depending bug). 1. Make RepeatedTest.java read-only 2. Open RepeatedTest.java 3. Delete "toString" in Outline view 4. Delete "toString" in Outline view ==> org.eclipse.swt.SWTException: Failed to execute runnable (...
resolved fixed
bc24740
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-14T14:57:00Z
2002-02-13T11:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java
if (progressMonitor != null) progressMonitor.setCanceled(!success); } } /** * @see AbstractTextEditor#doSetInput(IEditorInput) */ protected void doSetInput(IEditorInput input) throws CoreException { super.doSetInput(input); fJavaEditorErrorTickUpdater.setAnnotationModel(getDocumentProvider().getAnnot...
9,537
Bug 9537 IllegalArg exception in edtior when doing cut in Outline view
IllegalArg exception in edtior when doing delete in Outline view (or any other view with J elements - see depending bug). 1. Make RepeatedTest.java read-only 2. Open RepeatedTest.java 3. Delete "toString" in Outline view 4. Delete "toString" in Outline view ==> org.eclipse.swt.SWTException: Failed to execute runnable (...
resolved fixed
bc24740
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-14T14:57:00Z
2002-02-13T11:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java
IPreferenceStore store= getPreferenceStore(); return store.getBoolean(MATCHING_BRACKETS); } private Color getColor(String key) { RGB rgb= PreferenceConverter.getColor(getPreferenceStore(), key); JavaTextTools textTools= JavaPlugin.getDefault().getJavaTextTools(); return textTools.getColorManager().getColor(...
9,537
Bug 9537 IllegalArg exception in edtior when doing cut in Outline view
IllegalArg exception in edtior when doing delete in Outline view (or any other view with J elements - see depending bug). 1. Make RepeatedTest.java read-only 2. Open RepeatedTest.java 3. Delete "toString" in Outline view 4. Delete "toString" in Outline view ==> org.eclipse.swt.SWTException: Failed to execute runnable (...
resolved fixed
bc24740
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-14T14:57:00Z
2002-02-13T11:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java
startBracketHighlighting(); } /** * @see AbstractTextEditor#handlePreferenceStoreChanged(PropertyChangeEvent) */ protected void handlePreferenceStoreChanged(PropertyChangeEvent event) { try { InternalSourceViewer isv= (InternalSourceViewer) getSourceViewer(); if (isv != null) { String ...
9,537
Bug 9537 IllegalArg exception in edtior when doing cut in Outline view
IllegalArg exception in edtior when doing delete in Outline view (or any other view with J elements - see depending bug). 1. Make RepeatedTest.java read-only 2. Open RepeatedTest.java 3. Delete "toString" in Outline view 4. Delete "toString" in Outline view ==> org.eclipse.swt.SWTException: Failed to execute runnable (...
resolved fixed
bc24740
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-14T14:57:00Z
2002-02-13T11:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java
if (fBracketHighlighter != null) fBracketHighlighter.setHighlightColor(getColor(MATCHING_BRACKETS_COLOR)); return; } IContentAssistant c= isv.getContentAssistant(); if (c instanceof ContentAssistant) ContentAssistPreference.changeConfiguration((ContentAssistant) c, getPreferenceStore()...
9,571
Bug 9571 [Java Browsing] Views not updated when folder of package is deleted
1) Select a method in a type, i.e. all viewers are populated, editor is visible 2) Deactivate linking between active editor and navigator in workbench preferences 3) Deactivate auto build 3) Prespective>Show View>Navigator 4) Pin Navigator 5) Select the folder containing the file of the previously selected method 6) Co...
resolved fixed
b8dcad8
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-14T15:59:25Z
2002-02-13T11:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/JavaElementContentProvider.java
/* * (c) Copyright IBM Corp. 2000, 2001. * All Rights Reserved. */ package org.eclipse.jdt.internal.ui.browsing; import java.util.ArrayList; import java.util.Arrays; import java.util.Collection; import java.util.Iterator;
9,571
Bug 9571 [Java Browsing] Views not updated when folder of package is deleted
1) Select a method in a type, i.e. all viewers are populated, editor is visible 2) Deactivate linking between active editor and navigator in workbench preferences 3) Deactivate auto build 3) Prespective>Show View>Navigator 4) Pin Navigator 5) Select the folder containing the file of the previously selected method 6) Co...
resolved fixed
b8dcad8
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-14T15:59:25Z
2002-02-13T11:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/JavaElementContentProvider.java
import java.util.List; import org.eclipse.swt.widgets.Control; import org.eclipse.jface.viewers.AbstractTreeViewer; import org.eclipse.jface.viewers.IBasicPropertyConstants; import org.eclipse.jface.viewers.ListViewer; import org.eclipse.jface.viewers.StructuredViewer; import org.eclipse.jface.viewers.TableViewer; impo...
9,571
Bug 9571 [Java Browsing] Views not updated when folder of package is deleted
1) Select a method in a type, i.e. all viewers are populated, editor is visible 2) Deactivate linking between active editor and navigator in workbench preferences 3) Deactivate auto build 3) Prespective>Show View>Navigator 4) Pin Navigator 5) Select the folder containing the file of the previously selected method 6) Co...
resolved fixed
b8dcad8
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-14T15:59:25Z
2002-02-13T11:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/JavaElementContentProvider.java
private StructuredViewer fViewer; private Object fInput; private JavaBrowsingPart fBrowsingPart; public JavaElementContentProvider(boolean provideMembers, JavaBrowsingPart browsingPart) { super(provideMembers, false); fBrowsingPart= browsingPart; fViewer= fBrowsingPart.getViewer(); } public Object[] getChi...
9,571
Bug 9571 [Java Browsing] Views not updated when folder of package is deleted
1) Select a method in a type, i.e. all viewers are populated, editor is visible 2) Deactivate linking between active editor and navigator in workbench preferences 3) Deactivate auto build 3) Prespective>Show View>Navigator 4) Pin Navigator 5) Select the folder containing the file of the previously selected method 6) Co...
resolved fixed
b8dcad8
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-14T15:59:25Z
2002-02-13T11:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/JavaElementContentProvider.java
if (element instanceof IPackageFragment) return getPackageContents((IPackageFragment)element); if (fProvideMembers && element instanceof IType) return withImportAndPackageDeclarations((IType)element); if (fProvideMembers && element instanceof ISourceReference && element instanceof IParent) return rem...
9,571
Bug 9571 [Java Browsing] Views not updated when folder of package is deleted
1) Select a method in a type, i.e. all viewers are populated, editor is visible 2) Deactivate linking between active editor and navigator in workbench preferences 3) Deactivate auto build 3) Prespective>Show View>Navigator 4) Pin Navigator 5) Select the folder containing the file of the previously selected method 6) Co...
resolved fixed
b8dcad8
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-14T15:59:25Z
2002-02-13T11:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/JavaElementContentProvider.java
return concatenate(result, fragment.getNonJavaResources()); } private Object[] removeImportAndPackageDeclarations(Object[] members) { ArrayList tempResult= new ArrayList(members.length); for (int i= 0; i < members.length; i++) if (!(members[i] instanceof IImportContainer) && !(members[i] instanceof IPackageDec...
9,571
Bug 9571 [Java Browsing] Views not updated when folder of package is deleted
1) Select a method in a type, i.e. all viewers are populated, editor is visible 2) Deactivate linking between active editor and navigator in workbench preferences 3) Deactivate auto build 3) Prespective>Show View>Navigator 4) Pin Navigator 5) Select the folder containing the file of the previously selected method 6) Co...
resolved fixed
b8dcad8
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-14T15:59:25Z
2002-02-13T11:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/JavaElementContentProvider.java
tempResult.addAll(Arrays.asList(type.getChildren())); return tempResult.toArray(); } private Object[] getPackageFragmentRoots(IJavaProject project) throws JavaModelException { if (!project.getProject().isOpen()) return NO_CHILDREN; IPackageFragmentRoot[] roots= project.getPackageFragmentRoots(); List l...
9,571
Bug 9571 [Java Browsing] Views not updated when folder of package is deleted
1) Select a method in a type, i.e. all viewers are populated, editor is visible 2) Deactivate linking between active editor and navigator in workbench preferences 3) Deactivate auto build 3) Prespective>Show View>Navigator 4) Pin Navigator 5) Select the folder containing the file of the previously selected method 6) Co...
resolved fixed
b8dcad8
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-14T15:59:25Z
2002-02-13T11:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/JavaElementContentProvider.java
if (oldInput == null && newInput != null) { JavaCore.addElementChangedListener(this); } else if (oldInput != null && newInput == null) { JavaCore.removeElementChangedListener(this); } fInput= newInput; } /* (non-Javadoc) * Method declared on IContentProvider. */ public void dispose() { super.di...
9,571
Bug 9571 [Java Browsing] Views not updated when folder of package is deleted
1) Select a method in a type, i.e. all viewers are populated, editor is visible 2) Deactivate linking between active editor and navigator in workbench preferences 3) Deactivate auto build 3) Prespective>Show View>Navigator 4) Pin Navigator 5) Select the folder containing the file of the previously selected method 6) Co...
resolved fixed
b8dcad8
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-14T15:59:25Z
2002-02-13T11:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/JavaElementContentProvider.java
*/ protected void processDelta(IJavaElementDelta delta) throws JavaModelException { int kind= delta.getKind(); int flags= delta.getFlags(); IJavaElement element= delta.getElement(); if (!getProvideWorkingCopy() && element instanceof IWorkingCopy && ((IWorkingCopy)element).isWorkingCopy()) { return; } ...
9,571
Bug 9571 [Java Browsing] Views not updated when folder of package is deleted
1) Select a method in a type, i.e. all viewers are populated, editor is visible 2) Deactivate linking between active editor and navigator in workbench preferences 3) Deactivate auto build 3) Prespective>Show View>Navigator 4) Pin Navigator 5) Select the folder containing the file of the previously selected method 6) Co...
resolved fixed
b8dcad8
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-14T15:59:25Z
2002-02-13T11:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/JavaElementContentProvider.java
if (isPackageFragmentEmpty(element.getParent())) { if (fViewer.testFindItem(parent) != null) postRefresh(internalGetParent(parent)); } if (element instanceof ICompilationUnit && fBrowsingPart instanceof MembersView) postRefresh(null); return; } if (kind == IJavaElementDelta.ADDED...
9,571
Bug 9571 [Java Browsing] Views not updated when folder of package is deleted
1) Select a method in a type, i.e. all viewers are populated, editor is visible 2) Deactivate linking between active editor and navigator in workbench preferences 3) Deactivate auto build 3) Prespective>Show View>Navigator 4) Pin Navigator 5) Select the folder containing the file of the previously selected method 6) Co...
resolved fixed
b8dcad8
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-14T15:59:25Z
2002-02-13T11:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/JavaElementContentProvider.java
if (fBrowsingPart.isValidElement(element)) if (element instanceof IClassFile) { postAdd(parent, ((IClassFile)element).getType()); } else if (element instanceof ICompilationUnit && !((ICompilationUnit)element).isWorkingCopy()) { if (!getProvideWorkingCopy()) postAdd(parent, ((ICompilationUnit)ele...
9,571
Bug 9571 [Java Browsing] Views not updated when folder of package is deleted
1) Select a method in a type, i.e. all viewers are populated, editor is visible 2) Deactivate linking between active editor and navigator in workbench preferences 3) Deactivate auto build 3) Prespective>Show View>Navigator 4) Pin Navigator 5) Select the folder containing the file of the previously selected method 6) Co...
resolved fixed
b8dcad8
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-14T15:59:25Z
2002-02-13T11:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/JavaElementContentProvider.java
if (element instanceof IPackageFragmentRoot && fBrowsingPart.isValidElement(element)) { postRefresh(skipProjectPackageFragmentRoot((IPackageFragmentRoot)element)); return; } } for (int i= 0; i < affectedChildren.length; i++) { processDelta(affectedChildren[i]); } } /** * Updates the package ic...
9,571
Bug 9571 [Java Browsing] Views not updated when folder of package is deleted
1) Select a method in a type, i.e. all viewers are populated, editor is visible 2) Deactivate linking between active editor and navigator in workbench preferences 3) Deactivate auto build 3) Prespective>Show View>Navigator 4) Pin Navigator 5) Select the folder containing the file of the previously selected method 6) Co...
resolved fixed
b8dcad8
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-14T15:59:25Z
2002-02-13T11:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/JavaElementContentProvider.java
} }); } private void postAdd(final Object parent, final Object element) { postAdd(parent, new Object[] {element}); } private void postAdd(final Object parent, final Object[] elements) { postRunnable(new Runnable() { public void run() { Control ctrl= fViewer.getControl(); if (ctrl != null && !ctr...
9,571
Bug 9571 [Java Browsing] Views not updated when folder of package is deleted
1) Select a method in a type, i.e. all viewers are populated, editor is visible 2) Deactivate linking between active editor and navigator in workbench preferences 3) Deactivate auto build 3) Prespective>Show View>Navigator 4) Pin Navigator 5) Select the folder containing the file of the previously selected method 6) Co...
resolved fixed
b8dcad8
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-14T15:59:25Z
2002-02-13T11:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/JavaElementContentProvider.java
}); } private void postRemove(final Object element) { postRemove(new Object[] {element}); } private void postRemove(final Object[] elements) { postRunnable(new Runnable() { public void run() { Control ctrl= fViewer.getControl(); if (ctrl != null && !ctrl.isDisposed()) { ctrl.setRedraw(false); ...
9,737
Bug 9737 Invalid thread access initializing JavaPlugin
Build 20020212 - I opened a self hosting workspace from the previous build, with only the resources perspective operation - The default installed JRE was a J9 VM - I caused a build to happen, and it looks like the PDE builder caused a whole chain of plugin activations, including JavaPlugin (strange that a core plugin c...
verified fixed
3ab7288
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-14T16:07:00Z
2002-02-13T19:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/JavaPlugin.java
/* * (c) Copyright IBM Corp. 2000, 2001. * All Rights Reserved. */ package org.eclipse.jdt.internal.ui; import java.util.ArrayList;
9,737
Bug 9737 Invalid thread access initializing JavaPlugin
Build 20020212 - I opened a self hosting workspace from the previous build, with only the resources perspective operation - The default installed JRE was a J9 VM - I caused a build to happen, and it looks like the PDE builder caused a whole chain of plugin activations, including JavaPlugin (strange that a core plugin c...
verified fixed
3ab7288
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-14T16:07:00Z
2002-02-13T19:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/JavaPlugin.java
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.IWorkspaceRunnable; import org.eclipse.core.resources.ResourcesPlugin; import org...
9,737
Bug 9737 Invalid thread access initializing JavaPlugin
Build 20020212 - I opened a self hosting workspace from the previous build, with only the resources perspective operation - The default installed JRE was a J9 VM - I caused a build to happen, and it looks like the PDE builder caused a whole chain of plugin activations, including JavaPlugin (strange that a core plugin c...
verified fixed
3ab7288
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-14T16:07:00Z
2002-02-13T19:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/JavaPlugin.java
import org.eclipse.jdt.core.IJavaElement; import org.eclipse.jdt.launching.JavaRuntime; import org.eclipse.jdt.ui.IContextMenuConstants; import org.eclipse.jdt.ui.IWorkingCopyManager; import org.eclipse.jdt.ui.JavaUI; import org.eclipse.jdt.ui.text.JavaTextTools; import org.eclipse.jdt.internal.corext.javadoc.JavaDocLo...
9,737
Bug 9737 Invalid thread access initializing JavaPlugin
Build 20020212 - I opened a self hosting workspace from the previous build, with only the resources perspective operation - The default installed JRE was a J9 VM - I caused a build to happen, and it looks like the PDE builder caused a whole chain of plugin activations, including JavaPlugin (strange that a core plugin c...
verified fixed
3ab7288
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-14T16:07:00Z
2002-02-13T19:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/JavaPlugin.java
private static JavaPlugin fgJavaPlugin; /* * Work in progress. Might be moved to Java UI. */ public static String ID_BROWSING_PERSPECTIVE= JavaUI.ID_PLUGIN + ".JavaBrowsingPerspective"; public static String ID_PROJECTS_VIEW= JavaUI.ID_PLUGIN + ".ProjectsView"; public static String ID_PACKAGES_VIEW= JavaUI.ID_P...
9,737
Bug 9737 Invalid thread access initializing JavaPlugin
Build 20020212 - I opened a self hosting workspace from the previous build, with only the resources perspective operation - The default installed JRE was a J9 VM - I caused a build to happen, and it looks like the PDE builder caused a whole chain of plugin activations, including JavaPlugin (strange that a core plugin c...
verified fixed
3ab7288
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-14T16:07:00Z
2002-02-13T19:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/JavaPlugin.java
public static IWorkbenchWindow getActiveWorkbenchWindow() { return getDefault().getWorkbench().getActiveWorkbenchWindow(); } public static Shell getActiveWorkbenchShell() { return getActiveWorkbenchWindow().getShell(); } /** * Returns an array of all editors that have an unsaved content. If the identical ...
9,737
Bug 9737 Invalid thread access initializing JavaPlugin
Build 20020212 - I opened a self hosting workspace from the previous build, with only the resources perspective operation - The default installed JRE was a J9 VM - I caused a build to happen, and it looks like the PDE builder caused a whole chain of plugin activations, including JavaPlugin (strange that a core plugin c...
verified fixed
3ab7288
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-14T16:07:00Z
2002-02-13T19:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/JavaPlugin.java
} } } return (IEditorPart[])result.toArray(new IEditorPart[result.size()]); } public static String getPluginId() { return getDefault().getDescriptor().getUniqueIdentifier(); } public static void log(IStatus status) { getDefault().getLog().log(status); } public static void logErrorMessage(String mes...
9,737
Bug 9737 Invalid thread access initializing JavaPlugin
Build 20020212 - I opened a self hosting workspace from the previous build, with only the resources perspective operation - The default installed JRE was a J9 VM - I caused a build to happen, and it looks like the PDE builder caused a whole chain of plugin activations, including JavaPlugin (strange that a core plugin c...
verified fixed
3ab7288
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-14T16:07:00Z
2002-02-13T19:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/JavaPlugin.java
public static boolean isDebug() { return getDefault().isDebugging(); } static IPath getInstallLocation() { return new Path(getDefault().getDescriptor().getInstallURL().getFile()); } public static ImageDescriptorRegistry getImageDescriptorRegistry() { return getDefault().fImageDescriptorRegistry; } pu...
9,737
Bug 9737 Invalid thread access initializing JavaPlugin
Build 20020212 - I opened a self hosting workspace from the previous build, with only the resources perspective operation - The default installed JRE was a J9 VM - I caused a build to happen, and it looks like the PDE builder caused a whole chain of plugin activations, including JavaPlugin (strange that a core plugin c...
verified fixed
3ab7288
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-02-14T16:07:00Z
2002-02-13T19:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/JavaPlugin.java
JavaRuntime.initializeJREVariables(monitor); } }; try { getWorkspace().run(runnable, null); } catch (CoreException e) { log(e); } try { JavaDocLocations.loadJavadocLocations(); } catch (CoreException e) { log(e); } } /* (non - Javadoc) * Method declared in AbstractUIPlugin */ pr...