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
18,358
Bug 18358 Clicking on methods in the hierarchy view shows the top of the file in the editor
Build 20020528 - 20020530. Clicking on a member or method in the hierarchy view with the "Show source of selected elements only" on, goes to the top of the file. This seems to be a regression as I saw this bug half a year ago. -Leon
resolved fixed
deeb923
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-31T15:05:38Z
2002-05-30T17:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
* Makes the package explorer part visible in the active perspective. If there * isn't a package explorer part registered <code>null</code> is returned. * Otherwise the opened view part is returned. */ public static PackageExplorerPart openInActivePerspective() { try { return (PackageExplorerPart)JavaPlugin....
18,358
Bug 18358 Clicking on methods in the hierarchy view shows the top of the file in the editor
Build 20020528 - 20020530. Clicking on a member or method in the hierarchy view with the "Show source of selected elements only" on, goes to the top of the file. This seems to be a regression as I saw this bug half a year ago. -Leon
resolved fixed
deeb923
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-31T15:05:38Z
2002-05-30T17:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
boolean showCUChildren= AppearancePreferencePage.showCompilationUnitChildren(); boolean reconcile= JavaBasePreferencePage.reconcileJavaViews(); fViewer.setContentProvider(new JavaElementContentProvider(showCUChildren, reconcile)); JavaPlugin.getDefault().getPreferenceStore().addPropertyChangeListener(this); ...
18,358
Bug 18358 Clicking on methods in the hierarchy view shows the top of the file in the editor
Build 20020528 - 20020530. Clicking on a member or method in the hierarchy view with the "Show source of selected elements only" on, goes to the top of the file. This seems to be a regression as I saw this bug half a year ago. -Leon
resolved fixed
deeb923
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-31T15:05:38Z
2002-05-30T17:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
makeActions(); fViewer.setInput(findInputElement()); initDragAndDrop(); initKeyListener(); fSelectionListener= new ISelectionChangedListener() { public void selectionChanged(SelectionChangedEvent event) { handleSelectionChanged(event); } }; fViewer.addSelectionChangedListener(fSelect...
18,358
Bug 18358 Clicking on methods in the hierarchy view shows the top of the file in the editor
Build 20020528 - 20020530. Clicking on a member or method in the hierarchy view with the "Show source of selected elements only" on, goes to the top of the file. This seems to be a regression as I saw this bug half a year ago. -Leon
resolved fixed
deeb923
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-31T15:05:38Z
2002-05-30T17:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
if (fMemento != null) restoreState(fMemento); fMemento= null; JavaUIHelp.setHelp(fViewer, IJavaHelpContextIds.PACKAGES_VIEW); fillActionBars(); updateTitle(); } private void fillActionBars() { IActionBars actionBars= getViewSite().getActionBars(); fActionSet.fillActionBars(actionBars); } pri...
18,358
Bug 18358 Clicking on methods in the hierarchy view shows the top of the file in the editor
Build 20020528 - 20020530. Clicking on a member or method in the hierarchy view with the "Show source of selected elements only" on, goes to the top of the file. This seems to be a regression as I saw this bug half a year ago. -Leon
resolved fixed
deeb923
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-31T15:05:38Z
2002-05-30T17:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
public Object getAdapter(Class key) { if (key.equals(ISelectionProvider.class)) return fViewer; return super.getAdapter(key); } /** * Returns the tool tip text for the given element. */ String getToolTipText(Object element) { String result; if (!(element instanceof IResource)) { result= JavaElement...
18,358
Bug 18358 Clicking on methods in the hierarchy view shows the top of the file in the editor
Build 20020528 - 20020530. Clicking on a member or method in the hierarchy view with the "Show source of selected elements only" on, goes to the top of the file. This seems to be a regression as I saw this bug half a year ago. -Leon
resolved fixed
deeb923
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-31T15:05:38Z
2002-05-30T17:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
if (fViewer == null) return super.getTitleToolTip(); return getToolTipText(fViewer.getInput()); } /** * @see IWorkbenchPart#setFocus() */ public void setFocus() { fViewer.getTree().setFocus(); } /** * Returns the shell to use for opening dialogs. * Used in this class, and in the actions. */ pri...
18,358
Bug 18358 Clicking on methods in the hierarchy view shows the top of the file in the editor
Build 20020528 - 20020530. Clicking on a member or method in the hierarchy view with the "Show source of selected elements only" on, goes to the top of the file. This seems to be a regression as I saw this bug half a year ago. -Leon
resolved fixed
deeb923
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-31T15:05:38Z
2002-05-30T17:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
} /** * Called when the context menu is about to open. Override * to add your own context dependent menu contributions. */ public void menuAboutToShow(IMenuManager menu) { JavaPlugin.createStandardGroups(menu); fActionSet.setContext(new ActionContext(getSelection())); fActionSet.fillContextMenu...
18,358
Bug 18358 Clicking on methods in the hierarchy view shows the top of the file in the editor
Build 20020528 - 20020530. Clicking on a member or method in the hierarchy view with the "Show source of selected elements only" on, goes to the top of the file. This seems to be a regression as I saw this bug half a year ago. -Leon
resolved fixed
deeb923
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-31T15:05:38Z
2002-05-30T17:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
if (! (o instanceof IJavaElement)) return false; IJavaElement element= (IJavaElement)o; Object resource= element.getAdapter(IResource.class); if (! clazz.isInstance(resource)) return false; } } return true; } private void initDragAndDrop() { int ops= DND.DROP_COPY | DND.DROP_MOVE...
18,358
Bug 18358 Clicking on methods in the hierarchy view shows the top of the file in the editor
Build 20020528 - 20020530. Clicking on a member or method in the hierarchy view with the "Show source of selected elements only" on, goes to the top of the file. This seems to be a regression as I saw this bug half a year ago. -Leon
resolved fixed
deeb923
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-31T15:05:38Z
2002-05-30T17:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
new SelectionTransferDragAdapter(fViewer), new ResourceTransferDragAdapter(fViewer), new FileTransferDragAdapter(fViewer) }; DragSource source= new DragSource(control, ops); source.addDragListener(new DelegatingDragAdapter(dragListeners) { public void dragStart(DragSourceEvent event) { IStructured...
18,358
Bug 18358 Clicking on methods in the hierarchy view shows the top of the file in the editor
Build 20020528 - 20020530. Clicking on a member or method in the hierarchy view with the "Show source of selected elements only" on, goes to the top of the file. This seems to be a regression as I saw this bug half a year ago. -Leon
resolved fixed
deeb923
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-31T15:05:38Z
2002-05-30T17:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
public void selectReveal(ISelection selection) { ISelection javaSelection= convertSelection(selection); fViewer.setSelection(javaSelection, true); if (javaSelection != selection && !javaSelection.equals(fViewer.getSelection())) fViewer.setSelection(selection); } private ISelection convertSelection(ISelect...
18,358
Bug 18358 Clicking on methods in the hierarchy view shows the top of the file in the editor
Build 20020528 - 20020530. Clicking on a member or method in the hierarchy view with the "Show source of selected elements only" on, goes to the top of the file. This seems to be a regression as I saw this bug half a year ago. -Leon
resolved fixed
deeb923
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-31T15:05:38Z
2002-05-30T17:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
} return false; } public void selectAndReveal(Object element) { selectReveal(new StructuredSelection(element)); } /** * Returns whether the preference to link selection to active editor is enabled. */ boolean isLinkingEnabled() { return JavaBasePreferencePage.linkPackageSelectionToEditor(); } /** ...
18,358
Bug 18358 Clicking on methods in the hierarchy view shows the top of the file in the editor
Build 20020528 - 20020530. Clicking on a member or method in the hierarchy view with the "Show source of selected elements only" on, goes to the top of the file. This seems to be a regression as I saw this bug half a year ago. -Leon
resolved fixed
deeb923
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-31T15:05:38Z
2002-05-30T17:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
private IResource getResourceFor(Object element) { if (element instanceof IJavaElement) { if (element instanceof IWorkingCopy) { IWorkingCopy wc= (IWorkingCopy)element; IJavaElement original= wc.getOriginalElement(); if (original != null) element= original; } try { element= ((IJavaElemen...
18,358
Bug 18358 Clicking on methods in the hierarchy view shows the top of the file in the editor
Build 20020528 - 20020530. Clicking on a member or method in the hierarchy view with the "Show source of selected elements only" on, goes to the top of the file. This seems to be a regression as I saw this bug half a year ago. -Leon
resolved fixed
deeb923
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-31T15:05:38Z
2002-05-30T17:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
fActionSet.saveState(memento); } protected void saveScrollState(IMemento memento, Tree tree) { ScrollBar bar= tree.getVerticalBar(); int position= bar != null ? bar.getSelection() : 0; memento.putString(TAG_VERTICAL_POSITION, String.valueOf(position)); bar= tree.getHorizontalBar(); position= bar != null ...
18,358
Bug 18358 Clicking on methods in the hierarchy view shows the top of the file in the editor
Build 20020528 - 20020530. Clicking on a member or method in the hierarchy view with the "Show source of selected elements only" on, goes to the top of the file. This seems to be a regression as I saw this bug half a year ago. -Leon
resolved fixed
deeb923
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-31T15:05:38Z
2002-05-30T17:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
IMemento elementMem= expandedMem.createChild(TAG_ELEMENT); Object o= expandedElements[i]; if (o instanceof IJavaElement) elementMem.putString(TAG_PATH, ((IJavaElement) expandedElements[i]).getHandleIdentifier()); } } } void restoreState(IMemento memento) { restoreExpansionState(memento); re...
18,358
Bug 18358 Clicking on methods in the hierarchy view shows the top of the file in the editor
Build 20020528 - 20020530. Clicking on a member or method in the hierarchy view with the "Show source of selected elements only" on, goes to the top of the file. This seems to be a regression as I saw this bug half a year ago. -Leon
resolved fixed
deeb923
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-31T15:05:38Z
2002-05-30T17:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
String posStr= memento.getString(TAG_HORIZONTAL_POSITION); int position; position= new Integer(posStr).intValue(); bar.setSelection(position); } catch (NumberFormatException e) { } } } protected void restoreSelectionState(IMemento memento) { IMemento childMem; childMem= memento.getChild(T...
18,358
Bug 18358 Clicking on methods in the hierarchy view shows the top of the file in the editor
Build 20020528 - 20020530. Clicking on a member or method in the hierarchy view with the "Show source of selected elements only" on, goes to the top of the file. This seems to be a regression as I saw this bug half a year ago. -Leon
resolved fixed
deeb923
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-31T15:05:38Z
2002-05-30T17:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
if (element != null) elements.add(element); } fViewer.setExpandedElements(elements.toArray()); } } /** * Create the KeyListener for doing the refresh on the viewer. */ private void initKeyListener() { fViewer.getControl().addKeyListener(new KeyAdapter() { public void keyReleased(KeyEvent even...
18,358
Bug 18358 Clicking on methods in the hierarchy view shows the top of the file in the editor
Build 20020528 - 20020530. Clicking on a member or method in the hierarchy view with the "Show source of selected elements only" on, goes to the top of the file. This seems to be a regression as I saw this bug half a year ago. -Leon
resolved fixed
deeb923
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-31T15:05:38Z
2002-05-30T17:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
if (element == null) element= input; if (element != null) { IStructuredSelection oldSelection= (IStructuredSelection)getSelection(); if (oldSelection.size() == 1) { Object o= oldSelection.getFirstElement(); if (o instanceof IJavaElement) { ICompilationUnit cu= (ICompilationUnit)((IJ...
18,358
Bug 18358 Clicking on methods in the hierarchy view shows the top of the file in the editor
Build 20020528 - 20020530. Clicking on a member or method in the hierarchy view with the "Show source of selected elements only" on, goes to the top of the file. This seems to be a regression as I saw this bug half a year ago. -Leon
resolved fixed
deeb923
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-31T15:05:38Z
2002-05-30T17:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
} } } /** * A compilation unit or class was expanded, expand * the main type. */ void expandMainType(Object element) { try { IType type= null; if (element instanceof ICompilationUnit) { ICompilationUnit cu= (ICompilationUnit)element; IType[] types= cu.getTypes(); if (types.length > 0)...
18,358
Bug 18358 Clicking on methods in the hierarchy view shows the top of the file in the editor
Build 20020528 - 20020530. Clicking on a member or method in the hierarchy view with the "Show source of selected elements only" on, goes to the top of the file. This seems to be a regression as I saw this bug half a year ago. -Leon
resolved fixed
deeb923
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-31T15:05:38Z
2002-05-30T17:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
} }); } } } catch(JavaModelException e) { } } /** * Returns the element contained in the EditorInput */ Object getElementOfInput(IEditorInput input) { if (input instanceof IClassFileEditorInput) return ((IClassFileEditorInput)input).getClassFile(); else if (input instanceof IFileEdi...
18,358
Bug 18358 Clicking on methods in the hierarchy view shows the top of the file in the editor
Build 20020528 - 20020530. Clicking on a member or method in the hierarchy view with the "Show source of selected elements only" on, goes to the top of the file. This seems to be a regression as I saw this bug half a year ago. -Leon
resolved fixed
deeb923
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-31T15:05:38Z
2002-05-30T17:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
if (fViewer == null) return false; return fViewer.isExpandable(element); } void setWorkingSetName(String workingSetName) { fWorkingSetName= workingSetName; } /** * Updates the title text and title tool tip. * Called whenever the input of the viewer changes. */ void updateTitle() { Object input=...
18,358
Bug 18358 Clicking on methods in the hierarchy view shows the top of the file in the editor
Build 20020528 - 20020530. Clicking on a member or method in the hierarchy view with the "Show source of selected elements only" on, goes to the top of the file. This seems to be a regression as I saw this bug half a year ago. -Leon
resolved fixed
deeb923
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-31T15:05:38Z
2002-05-30T17:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
* @param decorator a label decorator or <code>null</code> for no decorations. * @deprecated To be removed */ public void setLabelDecorator(ILabelDecorator decorator) { } /* * @see IPropertyChangeListener#propertyChange(PropertyChangeEvent) */ public void propertyChange(PropertyChangeEvent event) { if (f...
16,822
Bug 16822 Search results should be removed when cu is moved
Build 20020521 1. Create project P with 2 source folders 'src1 and 'src2' 2. Create cu X.java under 'P/src1'. public class X { } 3. Search for declaration of X 4. Move X.java to 'P/src2' Observe: The search result in still in the search view. Attempting to double-click on the search result opens a 'Search Error' dialog...
verified fixed
64f827d
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-31T15:11:11Z
2002-05-22T15:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/JavaElementTypeComparator.java
/* * (c) Copyright IBM Corp. 2000, 2001. * All Rights Reserved. */ package org.eclipse.jdt.internal.ui.browsing; import java.util.Comparator; import org.eclipse.jdt.core.IJavaElement; class JavaElementTypeComparator implements Comparator { /** * Compares two Java element types. A type is considered to be * grea...
16,822
Bug 16822 Search results should be removed when cu is moved
Build 20020521 1. Create project P with 2 source folders 'src1 and 'src2' 2. Create cu X.java under 'P/src1'. public class X { } 3. Search for declaration of X 4. Move X.java to 'P/src2' Observe: The search result in still in the search view. Attempting to double-click on the search result opens a 'Search Error' dialog...
verified fixed
64f827d
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-31T15:11:11Z
2002-05-22T15:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/JavaElementTypeComparator.java
* * @see Comparator#compare(Object, Object) */ public int compare(Object o1, Object o2) { if (!(o1 instanceof IJavaElement) || !(o2 instanceof IJavaElement)) throw new ClassCastException(); return getIdForJavaElement((IJavaElement)o1) - getIdForJavaElement((IJavaElement)o2); } /** * Compares two Java e...
16,822
Bug 16822 Search results should be removed when cu is moved
Build 20020521 1. Create project P with 2 source folders 'src1 and 'src2' 2. Create cu X.java under 'P/src1'. public class X { } 3. Search for declaration of X 4. Move X.java to 'P/src2' Observe: The search result in still in the search view. Attempting to double-click on the search result opens a 'Search Error' dialog...
verified fixed
64f827d
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-31T15:11:11Z
2002-05-22T15:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/JavaElementTypeComparator.java
case IJavaElement.JAVA_PROJECT: return 120; case IJavaElement.PACKAGE_FRAGMENT_ROOT: return 110; case IJavaElement.PACKAGE_FRAGMENT: return 100; case IJavaElement.COMPILATION_UNIT: return 90; case IJavaElement.CLASS_FILE: return 80; case IJavaElement.TYPE: return 70; case IJava...
16,822
Bug 16822 Search results should be removed when cu is moved
Build 20020521 1. Create project P with 2 source folders 'src1 and 'src2' 2. Create cu X.java under 'P/src1'. public class X { } 3. Search for declaration of X 4. Move X.java to 'P/src2' Observe: The search result in still in the search view. Attempting to double-click on the search result opens a 'Search Error' dialog...
verified fixed
64f827d
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-31T15:11:11Z
2002-05-22T15:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/SearchUtil.java
/* * (c) Copyright IBM Corp. 2000, 2002. * All Rights Reserved. */ package org.eclipse.jdt.internal.ui.search; import java.util.ArrayList;
16,822
Bug 16822 Search results should be removed when cu is moved
Build 20020521 1. Create project P with 2 source folders 'src1 and 'src2' 2. Create cu X.java under 'P/src1'. public class X { } 3. Search for declaration of X 4. Move X.java to 'P/src2' Observe: The search result in still in the search view. Attempting to double-click on the search result opens a 'Search Error' dialog...
verified fixed
64f827d
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-31T15:11:11Z
2002-05-22T15:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/SearchUtil.java
import java.util.Arrays; import java.util.HashSet; import java.util.Iterator; import java.util.List; import java.util.Set; import org.eclipse.core.resources.IMarker; import org.eclipse.core.runtime.CoreException; import org.eclipse.jface.dialogs.IDialogSettings; import org.eclipse.ui.IEditorPart; import org.eclipse.ui....
16,822
Bug 16822 Search results should be removed when cu is moved
Build 20020521 1. Create project P with 2 source folders 'src1 and 'src2' 2. Create cu X.java under 'P/src1'. public class X { } 3. Search for declaration of X 4. Move X.java to 'P/src2' Observe: The search result in still in the search view. Attempting to double-click on the search result opens a 'Search Error' dialog...
verified fixed
64f827d
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-31T15:11:11Z
2002-05-22T15:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/SearchUtil.java
public static int LRU_WORKINGSET_LIST_SIZE= 3; private static LRUWorkingSetsList fgLRUWorkingSets; private static final String DIALOG_SETTINGS_KEY= "JavaElementSearchActions"; private static final String STORE_LRU_WORKING_SET_NAMES= "lastUsedWorkingSetNames"; private static IDialogSettings fgSettingsStore; pub...
16,822
Bug 16822 Search results should be removed when cu is moved
Build 20020521 1. Create project P with 2 source folders 'src1 and 'src2' 2. Create cu X.java under 'P/src1'. public class X { } 3. Search for declaration of X 4. Move X.java to 'P/src2' Observe: The search result in still in the search view. Attempting to double-click on the search result opens a 'Search Error' dialog...
verified fixed
64f827d
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-31T15:11:11Z
2002-05-22T15:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/SearchUtil.java
if (cu == null) return null; IWorkingCopy[] workingCopies= JavaUI.getSharedWorkingCopies(); int i= 0; while (i < workingCopies.length) { if (workingCopies[i].getOriginalElement().equals(cu)) { je= findInWorkingCopy(workingCopies[i], je, true); break; } i++; } if (je != null ...
16,822
Bug 16822 Search results should be removed when cu is moved
Build 20020521 1. Create project P with 2 source folders 'src1 and 'src2' 2. Create cu X.java under 'P/src1'. public class X { } 3. Search for declaration of X 4. Move X.java to 'P/src2' Observe: The search result in still in the search view. Attempting to double-click on the search result opens a 'Search Error' dialog...
verified fixed
64f827d
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-31T15:11:11Z
2002-05-22T15:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/SearchUtil.java
try { marker.setAttribute(IJavaSearchUIConstants.ATT_JE_HANDLE_ID, handle); } catch (CoreException ex) { } finally { return je; } } } } return null; } private static boolean handleContainsWrongCU(String handle, String resourceName) { int start= handle.in...
16,822
Bug 16822 Search results should be removed when cu is moved
Build 20020521 1. Create project P with 2 source folders 'src1 and 'src2' 2. Create cu X.java under 'P/src1'. public class X { } 3. Search for declaration of X 4. Move X.java to 'P/src2' Observe: The search result in still in the search view. Attempting to double-click on the search result opens a 'Search Error' dialog...
verified fixed
64f827d
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-31T15:11:11Z
2002-05-22T15:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/SearchUtil.java
* @param javaElement the javaElement for which the working copyshould be found * @param reconcile indicates whether the working copy must be reconcile prior to searching it * @return the working copy of the given element or <code>null</code> if none */ private static IJavaElement findInWorkingCopy(IWorkingCopy ...
16,822
Bug 16822 Search results should be removed when cu is moved
Build 20020521 1. Create project P with 2 source folders 'src1 and 'src2' 2. Create cu X.java under 'P/src1'. public class X { } 3. Search for declaration of X 4. Move X.java to 'P/src2' Observe: The search result in still in the search view. Attempting to double-click on the search result opens a 'Search Error' dialog...
verified fixed
64f827d
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-31T15:11:11Z
2002-05-22T15:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/SearchUtil.java
return ((IMember)element).getCompilationUnit(); return findCompilationUnit(element.getParent()); } /* * Copied from JavaModelUtil and patched to allow members which do not exist. * The only case where this is a problem is for methods which have same name and * paramters as a constructor. The constructor will ...
16,822
Bug 16822 Search results should be removed when cu is moved
Build 20020521 1. Create project P with 2 source folders 'src1 and 'src2' 2. Create cu X.java under 'P/src1'. public class X { } 3. Search for declaration of X 4. Move X.java to 'P/src2' Observe: The search result in still in the search view. Attempting to double-click on the search result opens a 'Search Error' dialog...
verified fixed
64f827d
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-31T15:11:11Z
2002-05-22T15:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/SearchUtil.java
result= findMethod(meth.getElementName(), meth.getParameterTypes(), isConstructor, declaringType); break; case IJavaElement.INITIALIZER: result= declaringType.getInitializer(1); break; } if (result != null && result.exists()) { return result; } } } return null; } /* *...
16,822
Bug 16822 Search results should be removed when cu is moved
Build 20020521 1. Create project P with 2 source folders 'src1 and 'src2' 2. Create cu X.java under 'P/src1'. public class X { } 3. Search for declaration of X 4. Move X.java to 'P/src2' Observe: The search result in still in the search view. Attempting to double-click on the search result opens a 'Search Error' dialog...
verified fixed
64f827d
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-31T15:11:11Z
2002-05-22T15:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/SearchUtil.java
return find(cu.getImports(), element.getElementName()); case IJavaElement.COMPILATION_UNIT: return cu; } return null; } /* * XXX: Unchanged copy from JavaModelUtil */ private static IJavaElement find(IJavaElement[] elements, String name) { if (elements == null || name == null) return nul...
16,822
Bug 16822 Search results should be removed when cu is moved
Build 20020521 1. Create project P with 2 source folders 'src1 and 'src2' 2. Create cu X.java under 'P/src1'. public class X { } 3. Search for declaration of X 4. Move X.java to 'P/src2' Observe: The search result in still in the search view. Attempting to double-click on the search result opens a 'Search Error' dialog...
verified fixed
64f827d
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-31T15:11:11Z
2002-05-22T15:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/SearchUtil.java
if (firstFound) result= SearchMessages.getFormattedString("SearchUtil.workingSetConcatenation", new String[] {result, workingSetName}); else { result= workingSetName; firstFound= true; } } } return result; } /** * Updates the LRU list of working sets. * * @param workingSets the...
16,822
Bug 16822 Search results should be removed when cu is moved
Build 20020521 1. Create project P with 2 source folders 'src1 and 'src2' 2. Create cu X.java under 'P/src1'. public class X { } 3. Search for declaration of X 4. Move X.java to 'P/src2' Observe: The search result in still in the search view. Attempting to double-click on the search result opens a 'Search Error' dialog...
verified fixed
64f827d
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-31T15:11:11Z
2002-05-22T15:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/SearchUtil.java
for (int j= 0; j < workingSets.length; j++) names[j]= workingSets[j].getName(); fgSettingsStore.put(STORE_LRU_WORKING_SET_NAMES + i, names); i++; } } public static LRUWorkingSetsList getLRUWorkingSets() { if (fgLRUWorkingSets == null) { restoreState(); } return fgLRUWorkingSets; } static void r...
16,822
Bug 16822 Search results should be removed when cu is moved
Build 20020521 1. Create project P with 2 source folders 'src1 and 'src2' 2. Create cu X.java under 'P/src1'. public class X { } 3. Search for declaration of X 4. Move X.java to 'P/src2' Observe: The search result in still in the search view. Attempting to double-click on the search result opens a 'Search Error' dialog...
verified fixed
64f827d
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-31T15:11:11Z
2002-05-22T15:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/SearchUtil.java
if (!workingSets.isEmpty()) fgLRUWorkingSets.add((IWorkingSet[])workingSets.toArray(new IWorkingSet[workingSets.size()])); } } if (!foundLRU) restoreFromOldFormat(); } private static void restoreFromOldFormat() { fgLRUWorkingSets= new LRUWorkingSetsList(LRU_WORKINGSET_LIST_SIZE); fgSettingsStor...
16,897
Bug 16897 No busy indicator while populating type hierarchy
Build: Freeze 1 In a self-hosting workspace, select the type IAdaptable in an editor and hit F4 to populate the type hiearchy. Since this interface has many sub-types, this takes several seconds to populate. There should be a busy indicator while this is happening.
resolved fixed
db607f0
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-31T17:15:59Z
2002-05-22T15:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyLifeCycle.java
/* * (c) Copyright IBM Corp. 2000, 2001. * All Rights Reserved. */ package org.eclipse.jdt.internal.ui.typehierarchy; import java.lang.reflect.InvocationTargetException; import java.util.ArrayList; import java.util.List; import org.eclipse.core.runtime.IProgressMonitor;
16,897
Bug 16897 No busy indicator while populating type hierarchy
Build: Freeze 1 In a self-hosting workspace, select the type IAdaptable in an editor and hit F4 to populate the type hiearchy. Since this interface has many sub-types, this takes several seconds to populate. There should be a busy indicator while this is happening.
resolved fixed
db607f0
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-31T17:15:59Z
2002-05-22T15:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyLifeCycle.java
import org.eclipse.core.runtime.IStatus; import org.eclipse.jface.operation.IRunnableWithProgress; import org.eclipse.jdt.core.ElementChangedEvent; import org.eclipse.jdt.core.IClassFile; import org.eclipse.jdt.core.ICompilationUnit; import org.eclipse.jdt.core.IElementChangedListener; import org.eclipse.jdt.core.IJava...
16,897
Bug 16897 No busy indicator while populating type hierarchy
Build: Freeze 1 In a self-hosting workspace, select the type IAdaptable in an editor and hit F4 to populate the type hiearchy. Since this interface has many sub-types, this takes several seconds to populate. There should be a busy indicator while this is happening.
resolved fixed
db607f0
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-31T17:15:59Z
2002-05-22T15:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyLifeCycle.java
private boolean fReconciled; private List fChangeListeners; public TypeHierarchyLifeCycle() { this(false); } public TypeHierarchyLifeCycle(boolean isSuperTypesOnly) { fHierarchy= null; fInputElement= null; fIsSuperTypesOnly= isSuperTypesOnly; fChangeListeners= new ArrayList(2); fReconciled= false...
16,897
Bug 16897 No busy indicator while populating type hierarchy
Build: Freeze 1 In a self-hosting workspace, select the type IAdaptable in an editor and hit F4 to populate the type hiearchy. Since this interface has many sub-types, this takes several seconds to populate. There should be a busy indicator while this is happening.
resolved fixed
db607f0
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-31T17:15:59Z
2002-05-22T15:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyLifeCycle.java
fHierarchy= null; fInputElement= null; } } public void removeChangedListener(ITypeHierarchyLifeCycleListener listener) { fChangeListeners.remove(listener); } public void addChangedListener(ITypeHierarchyLifeCycleListener listener) { if (!fChangeListeners.contains(listener)) { fChangeListeners.add(li...
16,897
Bug 16897 No busy indicator while populating type hierarchy
Build: Freeze 1 In a self-hosting workspace, select the type IAdaptable in an editor and hit F4 to populate the type hiearchy. Since this interface has many sub-types, this takes several seconds to populate. There should be a busy indicator while this is happening.
resolved fixed
db607f0
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-31T17:15:59Z
2002-05-22T15:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyLifeCycle.java
IRunnableWithProgress op= new IRunnableWithProgress() { public void run(IProgressMonitor pm) throws InvocationTargetException { try { doHierarchyRefresh(element, pm); } catch (JavaModelException e) { throw new InvocationTargetException(e); } } }; try { new BusyIndicatorR...
16,897
Bug 16897 No busy indicator while populating type hierarchy
Build: Freeze 1 In a self-hosting workspace, select the type IAdaptable in an editor and hit F4 to populate the type hiearchy. Since this interface has many sub-types, this takes several seconds to populate. There should be a busy indicator while this is happening.
resolved fixed
db607f0
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-31T17:15:59Z
2002-05-22T15:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyLifeCycle.java
if (fHierarchy != null) { fHierarchy.removeTypeHierarchyChangedListener(this); JavaCore.removeElementChangedListener(this); } if (hierachyCreationNeeded) { fInputElement= element; if (element.getElementType() == IJavaElement.TYPE) { IType type= (IType) element; if (fIsSuperTypesOnly) { fHie...
16,897
Bug 16897 No busy indicator while populating type hierarchy
Build: Freeze 1 In a self-hosting workspace, select the type IAdaptable in an editor and hit F4 to populate the type hiearchy. Since this interface has many sub-types, this takes several seconds to populate. There should be a busy indicator while this is happening.
resolved fixed
db607f0
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-31T17:15:59Z
2002-05-22T15:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyLifeCycle.java
region.add(pack); } } } else { region.add(element); } IJavaProject jproject= element.getJavaProject(); fHierarchy= jproject.newTypeHierarchy(region, pm); } } else { fHierarchy.refresh(pm); } fHierarchy.addTypeHierarchyChangedListener(this); JavaCore.addElementChangedLis...
16,897
Bug 16897 No busy indicator while populating type hierarchy
Build: Freeze 1 In a self-hosting workspace, select the type IAdaptable in an editor and hit F4 to populate the type hiearchy. Since this interface has many sub-types, this takes several seconds to populate. There should be a busy indicator while this is happening.
resolved fixed
db607f0
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-31T17:15:59Z
2002-05-22T15:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyLifeCycle.java
IJavaElement elem= event.getDelta().getElement(); if (!isReconciled() && elem instanceof IWorkingCopy && ((IWorkingCopy)elem).isWorkingCopy()) { return; } if (fHierarchyRefreshNeeded) { fireChange(null); } else { ArrayList changedTypes= new ArrayList(); processDelta(event.getDelta(), changedTypes); ...
16,897
Bug 16897 No busy indicator while populating type hierarchy
Build: Freeze 1 In a self-hosting workspace, select the type IAdaptable in an editor and hit F4 to populate the type hiearchy. Since this interface has many sub-types, this takes several seconds to populate. There should be a busy indicator while this is happening.
resolved fixed
db607f0
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-31T17:15:59Z
2002-05-22T15:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyLifeCycle.java
break; case IJavaElement.COMPILATION_UNIT: if (isWorkingCopyRemove((ICompilationUnit)element, delta.getKind()) || delta.getKind() == IJavaElementDelta.CHANGED && isPossibleStructuralChange(delta.getFlags())) { try { if (element.exists()) { IType[] types= ((ICompilationUnit) element).getAllTypes...
16,897
Bug 16897 No busy indicator while populating type hierarchy
Build: Freeze 1 In a self-hosting workspace, select the type IAdaptable in an editor and hit F4 to populate the type hiearchy. Since this interface has many sub-types, this takes several seconds to populate. There should be a busy indicator while this is happening.
resolved fixed
db607f0
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-31T17:15:59Z
2002-05-22T15:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyLifeCycle.java
} private boolean isPossibleStructuralChange(int flags) { return (flags & (IJavaElementDelta.F_CONTENT | IJavaElementDelta.F_FINE_GRAINED)) == IJavaElementDelta.F_CONTENT; } private boolean isWorkingCopyRemove(ICompilationUnit cu, int deltaKind) { return isReconciled() && deltaKind == IJavaElementDelta.REMOVED...
16,897
Bug 16897 No busy indicator while populating type hierarchy
Build: Freeze 1 In a self-hosting workspace, select the type IAdaptable in an editor and hit F4 to populate the type hiearchy. Since this interface has many sub-types, this takes several seconds to populate. There should be a busy indicator while this is happening.
resolved fixed
db607f0
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-31T17:15:59Z
2002-05-22T15:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java
/* * (c) Copyright IBM Corp. 2000, 2001. * All Rights Reserved. */ package org.eclipse.jdt.internal.ui.typehierarchy; import java.util.ArrayList; import java.util.List; import org.eclipse.core.resources.IFile; import org.eclipse.core.resources.IResource; import org.eclipse.core.runtime.CoreException; import org.ecli...
16,897
Bug 16897 No busy indicator while populating type hierarchy
Build: Freeze 1 In a self-hosting workspace, select the type IAdaptable in an editor and hit F4 to populate the type hiearchy. Since this interface has many sub-types, this takes several seconds to populate. There should be a busy indicator while this is happening.
resolved fixed
db607f0
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-31T17:15:59Z
2002-05-22T15:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java
import org.eclipse.swt.dnd.DragSource; import org.eclipse.swt.dnd.DropTarget; import org.eclipse.swt.dnd.Transfer; import org.eclipse.swt.events.KeyAdapter; import org.eclipse.swt.events.KeyEvent; import org.eclipse.swt.events.KeyListener; import org.eclipse.swt.widgets.Composite; import org.eclipse.swt.widgets.Control...
16,897
Bug 16897 No busy indicator while populating type hierarchy
Build: Freeze 1 In a self-hosting workspace, select the type IAdaptable in an editor and hit F4 to populate the type hiearchy. Since this interface has many sub-types, this takes several seconds to populate. There should be a busy indicator while this is happening.
resolved fixed
db607f0
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-31T17:15:59Z
2002-05-22T15:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java
import org.eclipse.jface.viewers.Viewer; import org.eclipse.ui.IActionBars; import org.eclipse.ui.IEditorPart; import org.eclipse.ui.IMemento; import org.eclipse.ui.IPartListener; import org.eclipse.ui.IViewSite; import org.eclipse.ui.IWorkbenchActionConstants; import org.eclipse.ui.IWorkbenchPart; import org.eclipse.u...
16,897
Bug 16897 No busy indicator while populating type hierarchy
Build: Freeze 1 In a self-hosting workspace, select the type IAdaptable in an editor and hit F4 to populate the type hiearchy. Since this interface has many sub-types, this takes several seconds to populate. There should be a busy indicator while this is happening.
resolved fixed
db607f0
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-31T17:15:59Z
2002-05-22T15:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java
import org.eclipse.jdt.ui.actions.RefactorActionGroup; import org.eclipse.jdt.ui.actions.ShowActionGroup; import org.eclipse.jdt.internal.ui.IJavaHelpContextIds; import org.eclipse.jdt.internal.ui.JavaPlugin; import org.eclipse.jdt.internal.ui.actions.AddMethodStubAction; import org.eclipse.jdt.internal.ui.actions.Comp...
16,897
Bug 16897 No busy indicator while populating type hierarchy
Build: Freeze 1 In a self-hosting workspace, select the type IAdaptable in an editor and hit F4 to populate the type hiearchy. Since this interface has many sub-types, this takes several seconds to populate. There should be a busy indicator while this is happening.
resolved fixed
db607f0
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-31T17:15:59Z
2002-05-22T15:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java
public static final int VIEW_ORIENTATION_SINGLE= 2; private static final String DIALOGSTORE_HIERARCHYVIEW= "TypeHierarchyViewPart.hierarchyview"; private static final String DIALOGSTORE_VIEWORIENTATION= "TypeHierarchyViewPart.orientation"; private static final String TAG_INPUT= "input"; private static final ...
16,897
Bug 16897 No busy indicator while populating type hierarchy
Build: Freeze 1 In a self-hosting workspace, select the type IAdaptable in an editor and hit F4 to populate the type hiearchy. Since this interface has many sub-types, this takes several seconds to populate. There should be a busy indicator while this is happening.
resolved fixed
db607f0
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-31T17:15:59Z
2002-05-22T15:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java
private SelectionProviderMediator fSelectionProviderMediator; private ISelectionChangedListener fSelectionChangedListener; private boolean fIsEnableMemberFilter; private SashForm fTypeMethodsSplitter; private PageBook fViewerbook; private PageBook fPagebook; private Label fNoHierarchyShownLabel; private La...
16,897
Bug 16897 No busy indicator while populating type hierarchy
Build: Freeze 1 In a self-hosting workspace, select the type IAdaptable in an editor and hit F4 to populate the type hiearchy. Since this interface has many sub-types, this takes several seconds to populate. There should be a busy indicator while this is happening.
resolved fixed
db607f0
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-31T17:15:59Z
2002-05-22T15:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java
private FocusOnSelectionAction fFocusOnSelectionAction; private IPartListener fPartListener; private CompositeActionGroup fActionGroups; private CCPActionGroup fCCPActionGroup; public TypeHierarchyViewPart() { fSelectedType= null; fInputElement= null; fHierarchyLifeCycle= new TypeHierarchyLifeCycle()...
16,897
Bug 16897 No busy indicator while populating type hierarchy
Build: Freeze 1 In a self-hosting workspace, select the type IAdaptable in an editor and hit F4 to populate the type hiearchy. Since this interface has many sub-types, this takes several seconds to populate. There should be a busy indicator while this is happening.
resolved fixed
db607f0
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-31T17:15:59Z
2002-05-22T15:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java
fDialogSettings= JavaPlugin.getDefault().getDialogSettings(); fHistoryDropDownAction= new HistoryDropDownAction(this); fHistoryDropDownAction.setEnabled(false); fToggleOrientationActions= new ToggleOrientationAction[] { new ToggleOrientationAction(this, VIEW_ORIENTATION_VERTICAL), new ToggleOrientatio...
16,897
Bug 16897 No busy indicator while populating type hierarchy
Build: Freeze 1 In a self-hosting workspace, select the type IAdaptable in an editor and hit F4 to populate the type hiearchy. Since this interface has many sub-types, this takes several seconds to populate. There should be a busy indicator while this is happening.
resolved fixed
db607f0
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-31T17:15:59Z
2002-05-22T15:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java
}; fSelectionChangedListener= new ISelectionChangedListener() { public void selectionChanged(SelectionChangedEvent event) { doSelectionChanged(event); } }; } /** * Adds the entry if new. Inserted at the beginning of the history entries list. */ private void addHistoryEntry(IJavaElement ...
16,897
Bug 16897 No busy indicator while populating type hierarchy
Build: Freeze 1 In a self-hosting workspace, select the type IAdaptable in an editor and hit F4 to populate the type hiearchy. Since this interface has many sub-types, this takes several seconds to populate. There should be a busy indicator while this is happening.
resolved fixed
db607f0
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-31T17:15:59Z
2002-05-22T15:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java
/** * Goes to the selected entry, without updating the order of history entries. */ public void gotoHistoryEntry(IJavaElement entry) { if (fInputHistory.contains(entry)) { updateInput(entry); } } /** * Gets all history entries. */ public IJavaElement[] getHistoryEntries() { if (fInputHistory.si...
16,897
Bug 16897 No busy indicator while populating type hierarchy
Build: Freeze 1 In a self-hosting workspace, select the type IAdaptable in an editor and hit F4 to populate the type hiearchy. Since this interface has many sub-types, this takes several seconds to populate. There should be a busy indicator while this is happening.
resolved fixed
db607f0
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-31T17:15:59Z
2002-05-22T15:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java
/** * Selects an member in the methods list or in the current hierarchy. */ public void selectMember(IMember member) { ICompilationUnit cu= member.getCompilationUnit(); if (cu != null && cu.isWorkingCopy()) { member= (IMember) cu.getOriginal(member); if (member == null) { return; } } if (memb...
16,897
Bug 16897 No busy indicator while populating type hierarchy
Build: Freeze 1 In a self-hosting workspace, select the type IAdaptable in an editor and hit F4 to populate the type hiearchy. Since this interface has many sub-types, this takes several seconds to populate. There should be a busy indicator while this is happening.
resolved fixed
db607f0
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-31T17:15:59Z
2002-05-22T15:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java
Control viewerControl= getCurrentViewer().getControl(); if (viewerControl != null && !viewerControl.isDisposed()) { viewerControl.setFocus(); } getCurrentViewer().setSelection(new StructuredSelection(member), true); } } /** * @deprecated */ public IType getInput() { if (fInputElement instance...
16,897
Bug 16897 No busy indicator while populating type hierarchy
Build: Freeze 1 In a self-hosting workspace, select the type IAdaptable in an editor and hit F4 to populate the type hiearchy. Since this interface has many sub-types, this takes several seconds to populate. There should be a busy indicator while this is happening.
resolved fixed
db607f0
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-31T17:15:59Z
2002-05-22T15:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java
return fInputElement; } /** * Sets the input to a new element. */ public void setInputElement(IJavaElement element) { if (element != null) { if (element instanceof IMember) { if (element.getElementType() != IJavaElement.TYPE) { element= ((IMember) element).getDeclaringType(); } I...
16,897
Bug 16897 No busy indicator while populating type hierarchy
Build: Freeze 1 In a self-hosting workspace, select the type IAdaptable in an editor and hit F4 to populate the type hiearchy. Since this interface has many sub-types, this takes several seconds to populate. There should be a busy indicator while this is happening.
resolved fixed
db607f0
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-31T17:15:59Z
2002-05-22T15:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java
} updateInput(element); } /** * Changes the input to a new type */ private void updateInput(IJavaElement inputElement) { IJavaElement prevInput= fInputElement; fInputElement= inputElement; if (fInputElement == null) { clearInput(); } else { try { fHierarchyLifeCycle.ensureRefresh...
16,897
Bug 16897 No busy indicator while populating type hierarchy
Build: Freeze 1 In a self-hosting workspace, select the type IAdaptable in an editor and hit F4 to populate the type hiearchy. Since this interface has many sub-types, this takes several seconds to populate. There should be a busy indicator while this is happening.
resolved fixed
db607f0
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-31T17:15:59Z
2002-05-22T15:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java
if (!fInputElement.equals(prevInput)) { updateHierarchyViewer(); } IType root= getSelectableType(fInputElement); internalSelectType(root, true); updateMethodViewer(root); updateToolbarButtons(); updateTitle(); enableMemberFilter(false); } } private void clearInput() { fInputElement= nul...
16,897
Bug 16897 No busy indicator while populating type hierarchy
Build: Freeze 1 In a self-hosting workspace, select the type IAdaptable in an editor and hit F4 to populate the type hiearchy. Since this interface has many sub-types, this takes several seconds to populate. There should be a busy indicator while this is happening.
resolved fixed
db607f0
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-31T17:15:59Z
2002-05-22T15:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java
fHierarchyLifeCycle.removeChangedListener(fTypeHierarchyLifeCycleListener); fPaneLabelProvider.dispose(); getSite().getPage().removePartListener(fPartListener); if (fActionGroups != null) fActionGroups.dispose(); super.dispose(); } private Control createTypeViewerControl(Composite parent) { fViewerbo...
16,897
Bug 16897 No busy indicator while populating type hierarchy
Build: Freeze 1 In a self-hosting workspace, select the type IAdaptable in an editor and hit F4 to populate the type hiearchy. Since this interface has many sub-types, this takes several seconds to populate. There should be a busy indicator while this is happening.
resolved fixed
db607f0
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-31T17:15:59Z
2002-05-22T15:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java
if (currViewerIndex < 0 || currViewerIndex > 2) { currViewerIndex= VIEW_ID_TYPE; } } catch (NumberFormatException e) { currViewerIndex= VIEW_ID_TYPE; } fEmptyTypesViewer= new Label(fViewerbook, SWT.LEFT); for (int i= 0; i < fAllViewers.length; i++) { fAllViewers[i].setInput(fAllViewers[i]); ...
16,897
Bug 16897 No busy indicator while populating type hierarchy
Build: Freeze 1 In a self-hosting workspace, select the type IAdaptable in an editor and hit F4 to populate the type hiearchy. Since this interface has many sub-types, this takes several seconds to populate. There should be a busy indicator while this is happening.
resolved fixed
db607f0
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-31T17:15:59Z
2002-05-22T15:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java
return; } } viewPartKeyShortcuts(event); } }; } private void initializeTypesViewer(final TypeHierarchyViewer typesViewer, KeyListener keyListener, String cotextHelpId) { typesViewer.getControl().setVisible(false); typesViewer.getControl().addKeyListener(keyListener); typesViewer.ini...
16,897
Bug 16897 No busy indicator while populating type hierarchy
Build: Freeze 1 In a self-hosting workspace, select the type IAdaptable in an editor and hit F4 to populate the type hiearchy. Since this interface has many sub-types, this takes several seconds to populate. There should be a busy indicator while this is happening.
resolved fixed
db607f0
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-31T17:15:59Z
2002-05-22T15:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java
return control; } private void initDragAndDrop() { Transfer[] transfers= new Transfer[] { LocalSelectionTransfer.getInstance() }; int ops= DND.DROP_MOVE | DND.DROP_COPY | DND.DROP_LINK; for (int i= 0; i < fAllViewers.length; i++) { addDragAdapters(fAllViewers[i], ops, transfers); addDropAdapters(fAllVie...
16,897
Bug 16897 No busy indicator while populating type hierarchy
Build: Freeze 1 In a self-hosting workspace, select the type IAdaptable in an editor and hit F4 to populate the type hiearchy. Since this interface has many sub-types, this takes several seconds to populate. There should be a busy indicator while this is happening.
resolved fixed
db607f0
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-31T17:15:59Z
2002-05-22T15:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java
source.addDragListener(new DelegatingDragAdapter(dragListeners)); } private void viewPartKeyShortcuts(KeyEvent event) { if (event.stateMask == SWT.CTRL) { if (event.character == '1') { setView(VIEW_ID_TYPE); } else if (event.character == '2') { setView(VIEW_ID_SUPER); } else if (event.characte...
16,897
Bug 16897 No busy indicator while populating type hierarchy
Build: Freeze 1 In a self-hosting workspace, select the type IAdaptable in an editor and hit F4 to populate the type hiearchy. Since this interface has many sub-types, this takes several seconds to populate. There should be a busy indicator while this is happening.
resolved fixed
db607f0
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-31T17:15:59Z
2002-05-22T15:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java
Control typeViewerControl= createTypeViewerControl(fTypeViewerViewForm); fTypeViewerViewForm.setContent(typeViewerControl); fMethodViewerViewForm= new ViewForm(fTypeMethodsSplitter, SWT.NONE); fTypeMethodsSplitter.setWeights(new int[] {35, 65}); Control methodViewerPart= createMethodViewerControl(fMetho...
16,897
Bug 16897 No busy indicator while populating type hierarchy
Build: Freeze 1 In a self-hosting workspace, select the type IAdaptable in an editor and hit F4 to populate the type hiearchy. Since this interface has many sub-types, this takes several seconds to populate. There should be a busy indicator while this is happening.
resolved fixed
db607f0
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-31T17:15:59Z
2002-05-22T15:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java
} catch (NumberFormatException e) { orientation= VIEW_ORIENTATION_VERTICAL; } fCurrentOrientation= -1; setOrientation(orientation); IActionBars actionBars= getViewSite().getActionBars(); IMenuManager viewMenu= actionBars.getMenuManager(); for (int i= 0; i < fToggleOrientationActions.length; i...
16,897
Bug 16897 No busy indicator while populating type hierarchy
Build: Freeze 1 In a self-hosting workspace, select the type IAdaptable in an editor and hit F4 to populate the type hiearchy. Since this interface has many sub-types, this takes several seconds to populate. There should be a busy indicator while this is happening.
resolved fixed
db607f0
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-31T17:15:59Z
2002-05-22T15:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java
trackedViewers[nHierarchyViewers]= fMethodsViewer; fSelectionProviderMediator= new SelectionProviderMediator(trackedViewers); IStatusLineManager slManager= getViewSite().getActionBars().getStatusLineManager(); fSelectionProviderMediator.addSelectionChangedListener(new StatusBarUpdater(slManager)); getSite()....
16,897
Bug 16897 No busy indicator while populating type hierarchy
Build: Freeze 1 In a self-hosting workspace, select the type IAdaptable in an editor and hit F4 to populate the type hiearchy. Since this interface has many sub-types, this takes several seconds to populate. There should be a busy indicator while this is happening.
resolved fixed
db607f0
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-31T17:15:59Z
2002-05-22T15:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java
} /** * called from ToggleOrientationAction. * @param orientation VIEW_ORIENTATION_SINGLE, VIEW_ORIENTATION_HORIZONTAL or VIEW_ORIENTATION_VERTICAL */ public void setOrientation(int orientation) { if (fCurrentOrientation != orientation) { boolean methodViewerNeedsUpdate= false; if (fMethodViewerVie...
16,897
Bug 16897 No busy indicator while populating type hierarchy
Build: Freeze 1 In a self-hosting workspace, select the type IAdaptable in an editor and hit F4 to populate the type hiearchy. Since this interface has many sub-types, this takes several seconds to populate. There should be a busy indicator while this is happening.
resolved fixed
db607f0
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-31T17:15:59Z
2002-05-22T15:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java
if (methodViewerNeedsUpdate) { updateMethodViewer(fSelectedType); } fDialogSettings.put(DIALOGSTORE_VIEWORIENTATION, orientation); } } private void updateMainToolbar(int orientation) { IActionBars actionBars= getViewSite().getActionBars(); IToolBarManager tbmanager= actionBars.getToolBarManager()...
16,897
Bug 16897 No busy indicator while populating type hierarchy
Build: Freeze 1 In a self-hosting workspace, select the type IAdaptable in an editor and hit F4 to populate the type hiearchy. Since this interface has many sub-types, this takes several seconds to populate. There should be a busy indicator while this is happening.
resolved fixed
db607f0
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-31T17:15:59Z
2002-05-22T15:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java
} private void clearMainToolBar(IToolBarManager tbmanager) { tbmanager.removeAll(); tbmanager.update(false); } /** * Creates the context menu for the hierarchy viewers */ private void fillTypesViewerContextMenu(TypeHierarchyViewer viewer, IMenuManager menu) { JavaPlugin.createStandardGroups(menu); ...
16,897
Bug 16897 No busy indicator while populating type hierarchy
Build: Freeze 1 In a self-hosting workspace, select the type IAdaptable in an editor and hit F4 to populate the type hiearchy. Since this interface has many sub-types, this takes several seconds to populate. There should be a busy indicator while this is happening.
resolved fixed
db607f0
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-31T17:15:59Z
2002-05-22T15:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java
* Creates the context menu for the method viewer */ private void fillMethodsViewerContextMenu(IMenuManager menu) { JavaPlugin.createStandardGroups(menu); fMethodsViewer.contributeToContextMenu(menu); if (fSelectedType != null && fAddStubAction.init(fSelectedType, fMethodsViewer.getSelection())) { menu....
16,897
Bug 16897 No busy indicator while populating type hierarchy
Build: Freeze 1 In a self-hosting workspace, select the type IAdaptable in an editor and hit F4 to populate the type hiearchy. Since this interface has many sub-types, this takes several seconds to populate. There should be a busy indicator while this is happening.
resolved fixed
db607f0
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-31T17:15:59Z
2002-05-22T15:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java
resource= ((IJavaElement)element).getUnderlyingResource(); } catch(JavaModelException e) { } if (!(resource instanceof IFile)) return; MenuManager submenu= new MenuManager(TypeHierarchyMessages.getString("TypeHierarchyViewPart.menu.open")); submenu.add(new OpenWithMenu(getSite().getPage(), (IFile...
16,897
Bug 16897 No busy indicator while populating type hierarchy
Build: Freeze 1 In a self-hosting workspace, select the type IAdaptable in an editor and hit F4 to populate the type hiearchy. Since this interface has many sub-types, this takes several seconds to populate. There should be a busy indicator while this is happening.
resolved fixed
db607f0
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-31T17:15:59Z
2002-05-22T15:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java
} } private IType getSelectableType(IJavaElement elem) { ISelection sel= null; if (elem.getElementType() != IJavaElement.TYPE) { return (IType) getCurrentViewer().getTreeRootType(); } else { return (IType) elem; } } private void internalSelectType(IMember elem, boolean reveal) { TypeHierarchyV...
16,897
Bug 16897 No busy indicator while populating type hierarchy
Build: Freeze 1 In a self-hosting workspace, select the type IAdaptable in an editor and hit F4 to populate the type hiearchy. Since this interface has many sub-types, this takes several seconds to populate. There should be a busy indicator while this is happening.
resolved fixed
db607f0
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-31T17:15:59Z
2002-05-22T15:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java
private void updateHierarchyViewer() { if (fInputElement == null) { fPagebook.showPage(fNoHierarchyShownLabel); } else { if (getCurrentViewer().containsElements() != null) { Runnable runnable= new Runnable() { public void run() { getCurrentViewer().updateContent(); } }; BusyIndica...
16,897
Bug 16897 No busy indicator while populating type hierarchy
Build: Freeze 1 In a self-hosting workspace, select the type IAdaptable in an editor and hit F4 to populate the type hiearchy. Since this interface has many sub-types, this takes several seconds to populate. There should be a busy indicator while this is happening.
resolved fixed
db607f0
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-31T17:15:59Z
2002-05-22T15:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java
fMethodsViewer.setInput(input); } } private void doSelectionChanged(SelectionChangedEvent e) { if (e.getSelectionProvider() == fMethodsViewer) { methodSelectionChanged(e.getSelection()); } else { typeSelectionChanged(e.getSelection()); } } private void methodSelectionChanged(ISelection sel) { ...
16,897
Bug 16897 No busy indicator while populating type hierarchy
Build: Freeze 1 In a self-hosting workspace, select the type IAdaptable in an editor and hit F4 to populate the type hiearchy. Since this interface has many sub-types, this takes several seconds to populate. There should be a busy indicator while this is happening.
resolved fixed
db607f0
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-31T17:15:59Z
2002-05-22T15:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java
revealElementInEditor(selected.get(0), fMethodsViewer); } } } private void typeSelectionChanged(ISelection sel) { if (sel instanceof IStructuredSelection) { List selected= ((IStructuredSelection)sel).toList(); int nSelected= selected.size(); if (nSelected != 0) { List types= new ArrayList(nSelec...
16,897
Bug 16897 No busy indicator while populating type hierarchy
Build: Freeze 1 In a self-hosting workspace, select the type IAdaptable in an editor and hit F4 to populate the type hiearchy. Since this interface has many sub-types, this takes several seconds to populate. There should be a busy indicator while this is happening.
resolved fixed
db607f0
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-31T17:15:59Z
2002-05-22T15:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java
} } private void revealElementInEditor(Object elem, Viewer originViewer) { if (getSite().getPage().getActivePart() != this) { return; } if (fSelectionProviderMediator.getViewerInFocus() != originViewer) { return; } IEditorPart editorPart= EditorUtility.isOpenInEditor(elem); if (editorP...
16,897
Bug 16897 No busy indicator while populating type hierarchy
Build: Freeze 1 In a self-hosting workspace, select the type IAdaptable in an editor and hit F4 to populate the type hiearchy. Since this interface has many sub-types, this takes several seconds to populate. There should be a busy indicator while this is happening.
resolved fixed
db607f0
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-31T17:15:59Z
2002-05-22T15:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java
} return null; } private boolean isChildVisible(Composite pb, Control child) { Control[] children= pb.getChildren(); for (int i= 0; i < children.length; i++) { if (children[i] == child && children[i].isVisible()) return true; } return false; } private void updateTitle() { String viewerTitle...
16,897
Bug 16897 No busy indicator while populating type hierarchy
Build: Freeze 1 In a self-hosting workspace, select the type IAdaptable in an editor and hit F4 to populate the type hiearchy. Since this interface has many sub-types, this takes several seconds to populate. There should be a busy indicator while this is happening.
resolved fixed
db607f0
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-31T17:15:59Z
2002-05-22T15:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java
private void updateToolbarButtons() { boolean isType= fInputElement instanceof IType; for (int i= 0; i < fViewActions.length; i++) { ToggleViewAction action= fViewActions[i]; if (action.getViewerIndex() == VIEW_ID_TYPE) { action.setEnabled(fInputElement != null); } else { action.setEnabled(isType);...
16,897
Bug 16897 No busy indicator while populating type hierarchy
Build: Freeze 1 In a self-hosting workspace, select the type IAdaptable in an editor and hit F4 to populate the type hiearchy. Since this interface has many sub-types, this takes several seconds to populate. There should be a busy indicator while this is happening.
resolved fixed
db607f0
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-31T17:15:59Z
2002-05-22T15:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java
} } updateTitle(); fDialogSettings.put(DIALOGSTORE_HIERARCHYVIEW, viewerIndex); getCurrentViewer().getTree().setFocus(); } for (int i= 0; i < fViewActions.length; i++) { ToggleViewAction action= fViewActions[i]; action.setChecked(fCurrentViewerIndex == action.getViewerIndex()); } } /**...
16,897
Bug 16897 No busy indicator while populating type hierarchy
Build: Freeze 1 In a self-hosting workspace, select the type IAdaptable in an editor and hit F4 to populate the type hiearchy. Since this interface has many sub-types, this takes several seconds to populate. There should be a busy indicator while this is happening.
resolved fixed
db607f0
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-31T17:15:59Z
2002-05-22T15:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java
IType methodViewerInput= (IType) fMethodsViewer.getInput(); setMemberFilter(null); updateHierarchyViewer(); updateTitle(); if (methodViewerInput != null && getCurrentViewer().isElementShown(methodViewerInput)) { internalSelectType(methodViewerInput, true); } else if (fSelectedType != ...
16,897
Bug 16897 No busy indicator while populating type hierarchy
Build: Freeze 1 In a self-hosting workspace, select the type IAdaptable in an editor and hit F4 to populate the type hiearchy. Since this interface has many sub-types, this takes several seconds to populate. There should be a busy indicator while this is happening.
resolved fixed
db607f0
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-31T17:15:59Z
2002-05-22T15:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java
doTypeHierarchyChangedOnViewers(changedTypes); } } }); } } private void doTypeHierarchyChangedOnViewers(IType[] changedTypes) { if (fHierarchyLifeCycle.getHierarchy() == null || !fHierarchyLifeCycle.getHierarchy().exists()) { clearInput(); } else { if (changedTypes == null) { try { ...
16,897
Bug 16897 No busy indicator while populating type hierarchy
Build: Freeze 1 In a self-hosting workspace, select the type IAdaptable in an editor and hit F4 to populate the type hiearchy. Since this interface has many sub-types, this takes several seconds to populate. There should be a busy indicator while this is happening.
resolved fixed
db607f0
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-31T17:15:59Z
2002-05-22T15:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java
getCurrentViewer().update(changedTypes, new String[] { IBasicPropertyConstants.P_TEXT, IBasicPropertyConstants.P_IMAGE } ); } } fMethodsViewer.refresh(); } } /** * Determines the input element to be used initially . */ private IJavaElement determineInputElement() { Object input= getSite().get...
16,897
Bug 16897 No busy indicator while populating type hierarchy
Build: Freeze 1 In a self-hosting workspace, select the type IAdaptable in an editor and hit F4 to populate the type hiearchy. Since this interface has many sub-types, this takes several seconds to populate. There should be a busy indicator while this is happening.
resolved fixed
db607f0
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-31T17:15:59Z
2002-05-22T15:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java
public void init(IViewSite site, IMemento memento) throws PartInitException { super.init(site, memento); fMemento= memento; } /* * @see ViewPart#saveState(IMemento) */ public void saveState(IMemento memento) { if (fPagebook == null) { if (fMemento != null) { memento.putMemento(fMemento); ...
16,897
Bug 16897 No busy indicator while populating type hierarchy
Build: Freeze 1 In a self-hosting workspace, select the type IAdaptable in an editor and hit F4 to populate the type hiearchy. Since this interface has many sub-types, this takes several seconds to populate. There should be a busy indicator while this is happening.
resolved fixed
db607f0
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-31T17:15:59Z
2002-05-22T15:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java
int ratio= (weigths[0] * 1000) / (weigths[0] + weigths[1]); memento.putInteger(TAG_RATIO, ratio); ScrollBar bar= getCurrentViewer().getTree().getVerticalBar(); int position= bar != null ? bar.getSelection() : 0; memento.putInteger(TAG_VERTICAL_SCROLL, position); IJavaElement selection= (IJavaElement)((IStr...
16,897
Bug 16897 No busy indicator while populating type hierarchy
Build: Freeze 1 In a self-hosting workspace, select the type IAdaptable in an editor and hit F4 to populate the type hiearchy. Since this interface has many sub-types, this takes several seconds to populate. There should be a busy indicator while this is happening.
resolved fixed
db607f0
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-31T17:15:59Z
2002-05-22T15:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java
} Integer orientation= memento.getInteger(TAG_ORIENTATION); if (orientation != null) { setOrientation(orientation.intValue()); } Integer ratio= memento.getInteger(TAG_RATIO); if (ratio != null) { fTypeMethodsSplitter.setWeights(new int[] { ratio.intValue(), 1000 - ratio.intValue() }); } ScrollBar ba...
16,897
Bug 16897 No busy indicator while populating type hierarchy
Build: Freeze 1 In a self-hosting workspace, select the type IAdaptable in an editor and hit F4 to populate the type hiearchy. Since this interface has many sub-types, this takes several seconds to populate. There should be a busy indicator while this is happening.
resolved fixed
db607f0
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-31T17:15:59Z
2002-05-22T15:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java
return; } IJavaElement elem= (IJavaElement)editor.getEditorInput().getAdapter(IJavaElement.class); try { TypeHierarchyViewer currentViewer= getCurrentViewer(); if (elem instanceof IClassFile) { IType type= ((IClassFile)elem).getType(); if (currentViewer.isElementShown(type)) { internalSelect...
18,486
Bug 18486 Need documentation for startup extension point.
null
resolved fixed
2c72018
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-31T17:19:01Z
2002-05-31T18:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/JavaBrowsingContentProvider.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; import java.util.List; import org.eclipse.core.resources.IResource; import org.eclipse.swt.widg...
18,486
Bug 18486 Need documentation for startup extension point.
null
resolved fixed
2c72018
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-31T17:19:01Z
2002-05-31T18:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/JavaBrowsingContentProvider.java
import org.eclipse.swt.widgets.Display; 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; import org.eclipse.jface.vi...
18,486
Bug 18486 Need documentation for startup extension point.
null
resolved fixed
2c72018
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-31T17:19:01Z
2002-05-31T18:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/JavaBrowsingContentProvider.java
private StructuredViewer fViewer; private Object fInput; private JavaBrowsingPart fBrowsingPart; public JavaBrowsingContentProvider(boolean provideMembers, JavaBrowsingPart browsingPart) { super(provideMembers, reconcileJavaViews()); fBrowsingPart= browsingPart; fViewer= fBrowsingPart.getViewer(); JavaCore...
18,486
Bug 18486 Need documentation for startup extension point.
null
resolved fixed
2c72018
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-31T17:19:01Z
2002-05-31T18:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/JavaBrowsingContentProvider.java
Object[] children= getChildren(iter.next()); if (children != NO_CHILDREN) result= concatenate(result, children); } return result; } if (element instanceof IPackageFragment) return getPackageContents((IPackageFragment)element); if (fProvideMembers && element instanceof IType) return ...
18,486
Bug 18486 Need documentation for startup extension point.
null
resolved fixed
2c72018
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-31T17:19:01Z
2002-05-31T18:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/JavaBrowsingContentProvider.java
} else { IClassFile[] classFiles= fragment.getClassFiles(); List topLevelClassFile= new ArrayList(); for (int i= 0; i < classFiles.length; i++) { IType type= classFiles[i].getType(); if (type != null && type.getDeclaringType() == null && !type.isAnonymous() && !type.isLocal()) topLevelClassFile....
18,486
Bug 18486 Need documentation for startup extension point.
null
resolved fixed
2c72018
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-31T17:19:01Z
2002-05-31T18:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/JavaBrowsingContentProvider.java
IWorkingCopy wc= EditorUtility.getWorkingCopy((ICompilationUnit)parent); if (wc != null) { parent= (IParent)wc; IMember wcType= EditorUtility.getWorkingCopy(type); if (wcType != null) type= (IType)wcType; } } } if (type.getDeclaringType() != null) return type.getChildren(); I...
18,486
Bug 18486 Need documentation for startup extension point.
null
resolved fixed
2c72018
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-31T17:19:01Z
2002-05-31T18:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/JavaBrowsingContentProvider.java
if (!root.isExternal()) { Object[] children= root.getChildren(); for (int k= 0; k < children.length; k++) list.add(children[k]); } else if (hasChildren(root)) { list.add(root); } } return concatenate(list.toArray(), project.getNonJavaResources()); } /* (non-Javadoc) * Method declar...
18,486
Bug 18486 Need documentation for startup extension point.
null
resolved fixed
2c72018
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-31T17:19:01Z
2002-05-31T18:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/JavaBrowsingContentProvider.java
*/ public void dispose() { super.dispose(); JavaCore.removeElementChangedListener(this); } /* (non-Javadoc) * Method declared on IElementChangedListener. */ public void elementChanged(final ElementChangedEvent event) { try { processDelta(event.getDelta()); } catch(JavaModelException e) { JavaPlu...
18,486
Bug 18486 Need documentation for startup extension point.
null
resolved fixed
2c72018
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-31T17:19:01Z
2002-05-31T18:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/JavaBrowsingContentProvider.java
if (((flags & IJavaElementDelta.F_CLOSED) != 0) || ((flags & IJavaElementDelta.F_OPENED) != 0)) { postRefresh(element); return; } if (kind == IJavaElementDelta.REMOVED) { Object parent= internalGetParent(element); if (fBrowsingPart.isValidElement(element)) { if (element instanceof IClassFile) { ...
18,486
Bug 18486 Need documentation for startup extension point.
null
resolved fixed
2c72018
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-31T17:19:01Z
2002-05-31T18:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/JavaBrowsingContentProvider.java
postAdjustInputAndSetSelection(null); } return; } if (kind == IJavaElementDelta.ADDED && delta.getMovedFromElement() != null && element instanceof ICompilationUnit) return; if (kind == IJavaElementDelta.ADDED) { if (fBrowsingPart.isValidElement(element)) { Object parent= internalGetPar...
18,486
Bug 18486 Need documentation for startup extension point.
null
resolved fixed
2c72018
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-31T17:19:01Z
2002-05-31T18:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/JavaBrowsingContentProvider.java
if (cu1 != null && cu2 != null && cu1.equals(cu2)) postAdjustInputAndSetSelection(element); } return; } if (kind == IJavaElementDelta.CHANGED) { if (fBrowsingPart.isValidElement(element)) { postRefresh(element); } } if (isClassPathChange(delta)) postRefresh(null); if ((flags & IJ...