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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
7,540 | Bug 7540 JDT Type hierarchy "Lock view ..." doen't work always | If the "Lock view and show members in hierarchy" is selected before any method is selected in method pane, the class pane isn t updated, if a method is selected afterwards. Selecting a method and select "Lock view..." works as expected | resolved fixed | f58d6b6 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-15T15:27:26Z | 2002-01-14T17:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java | public void typeHierarchyChanged(TypeHierarchyLifeCycle typeHierarchy, IType[] changedTypes) {
doTypeHierarchyChanged(typeHierarchy, changedTypes);
}
};
fHierarchyLifeCycle.addChangedListener(fTypeHierarchyLifeCycleListener);
fHierarchyProblemListener= null;
fIsEnableMemberFilter= false;
fInpu... |
7,540 | Bug 7540 JDT Type hierarchy "Lock view ..." doen't work always | If the "Lock view and show members in hierarchy" is selected before any method is selected in method pane, the class pane isn t updated, if a method is selected afterwards. Selecting a method and select "Lock view..." works as expected | resolved fixed | f58d6b6 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-15T15:27:26Z | 2002-01-14T17:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java | fEnableMemberFilterAction= new EnableMemberFilterAction(this, false);
fFocusOnTypeAction= new FocusOnTypeAction(this);
fPaneLabelProvider= new JavaElementLabelProvider(JavaElementLabelProvider.SHOW_BASICS);
fPaneLabelProvider.setErrorTickManager(new MarkerErrorTickProvider());
fAddStubAction= new AddMe... |
7,540 | Bug 7540 JDT Type hierarchy "Lock view ..." doen't work always | If the "Lock view and show members in hierarchy" is selected before any method is selected in method pane, the class pane isn t updated, if a method is selected afterwards. Selecting a method and select "Lock view..." works as expected | resolved fixed | f58d6b6 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-15T15:27:26Z | 2002-01-14T17:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java | * Adds the entry if new. Inserted at the beginning of the history entries list.
*/
private void addHistoryEntry(IJavaElement entry) {
if (fInputHistory.contains(entry)) {
fInputHistory.remove(entry);
}
fInputHistory.add(0, entry);
fHistoryDropDownAction.setEnabled(true);
}
private void updateHistory... |
7,540 | Bug 7540 JDT Type hierarchy "Lock view ..." doen't work always | If the "Lock view and show members in hierarchy" is selected before any method is selected in method pane, the class pane isn t updated, if a method is selected afterwards. Selecting a method and select "Lock view..." works as expected | resolved fixed | f58d6b6 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-15T15:27:26Z | 2002-01-14T17:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java | * Gets all history entries.
*/
public IJavaElement[] getHistoryEntries() {
if (fInputHistory.size() > 0) {
updateHistoryEntries();
}
return (IJavaElement[]) fInputHistory.toArray(new IJavaElement[fInputHistory.size()]);
}
/**
* Sets the history entries
*/
public void setHistoryEntries(IJavaElement[... |
7,540 | Bug 7540 JDT Type hierarchy "Lock view ..." doen't work always | If the "Lock view and show members in hierarchy" is selected before any method is selected in method pane, the class pane isn t updated, if a method is selected afterwards. Selecting a method and select "Lock view..." works as expected | resolved fixed | f58d6b6 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-15T15:27:26Z | 2002-01-14T17:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java | }
Control methodControl= fMethodsViewer.getControl();
if (methodControl != null && !methodControl.isDisposed()) {
fMethodsViewer.getControl().setFocus();
}
fMethodsViewer.setSelection(new StructuredSelection(member), true);
}
/**
* @deprecated
*/
public IType getInput() {
if (fInputElement instanc... |
7,540 | Bug 7540 JDT Type hierarchy "Lock view ..." doen't work always | If the "Lock view and show members in hierarchy" is selected before any method is selected in method pane, the class pane isn t updated, if a method is selected afterwards. Selecting a method and select "Lock view..." works as expected | resolved fixed | f58d6b6 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-15T15:27:26Z | 2002-01-14T17:40:00Z | 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) {
ICompilationUnit cu= ((IMember) element).getCompilationUnit();
if (cu != null && cu.isWorkingCopy()) {
element= c... |
7,540 | Bug 7540 JDT Type hierarchy "Lock view ..." doen't work always | If the "Lock view and show members in hierarchy" is selected before any method is selected in method pane, the class pane isn t updated, if a method is selected afterwards. Selecting a method and select "Lock view..." works as expected | resolved fixed | f58d6b6 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-15T15:27:26Z | 2002-01-14T17:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java | * Changes the input to a new type
*/
private void updateInput(IJavaElement inputElement) {
IJavaElement prevInput= fInputElement;
fInputElement= inputElement;
if (fInputElement == null) {
clearInput();
} else {
try {
fHierarchyLifeCycle.ensureRefreshedTypeHierarchy(fInputElement);
} catch... |
7,540 | Bug 7540 JDT Type hierarchy "Lock view ..." doen't work always | If the "Lock view and show members in hierarchy" is selected before any method is selected in method pane, the class pane isn t updated, if a method is selected afterwards. Selecting a method and select "Lock view..." works as expected | resolved fixed | f58d6b6 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-15T15:27:26Z | 2002-01-14T17:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java | updateToolbarButtons();
updateTitle();
enableMemberFilter(false);
}
}
private void clearInput() {
fInputElement= null;
fHierarchyLifeCycle.freeHierarchy();
updateHierarchyViewer();
updateToolbarButtons();
}
/*
* @see IWorbenchPart#setFocus
*/
public void setFocus() {
fPagebook.setFocus(... |
7,540 | Bug 7540 JDT Type hierarchy "Lock view ..." doen't work always | If the "Lock view and show members in hierarchy" is selected before any method is selected in method pane, the class pane isn t updated, if a method is selected afterwards. Selecting a method and select "Lock view..." works as expected | resolved fixed | f58d6b6 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-15T15:27:26Z | 2002-01-14T17:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java | if (fMethodsViewer != null) {
JavaPlugin.getDefault().getProblemMarkerManager().removeListener(fMethodsViewer);
}
super.dispose();
}
private Control createTypeViewerControl(Composite parent) {
fViewerbook= new PageBook(parent, SWT.NULL);
KeyListener keyListener= createKeyListener();
HierarchyL... |
7,540 | Bug 7540 JDT Type hierarchy "Lock view ..." doen't work always | If the "Lock view and show members in hierarchy" is selected before any method is selected in method pane, the class pane isn t updated, if a method is selected afterwards. Selecting a method and select "Lock view..." works as expected | resolved fixed | f58d6b6 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-15T15:27:26Z | 2002-01-14T17:40:00Z | 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]);
... |
7,540 | Bug 7540 JDT Type hierarchy "Lock view ..." doen't work always | If the "Lock view and show members in hierarchy" is selected before any method is selected in method pane, the class pane isn t updated, if a method is selected afterwards. Selecting a method and select "Lock view..." works as expected | resolved fixed | f58d6b6 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-15T15:27:26Z | 2002-01-14T17:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java | }
}
viewPartKeyShortcuts(event);
}
};
}
private void initializeTypesViewer(final TypeHierarchyViewer typesViewer, KeyListener keyListener, String cotextHelpId) {
typesViewer.getControl().setVisible(false);
typesViewer.getControl().addKeyListener(keyListener);
typesViewer.initContextMenu(ne... |
7,540 | Bug 7540 JDT Type hierarchy "Lock view ..." doen't work always | If the "Lock view and show members in hierarchy" is selected before any method is selected in method pane, the class pane isn t updated, if a method is selected afterwards. Selecting a method and select "Lock view..." works as expected | resolved fixed | f58d6b6 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-15T15:27:26Z | 2002-01-14T17:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java | JavaPlugin.getDefault().getProblemMarkerManager().addListener(fMethodsViewer);
return control;
}
private void initDragAndDrop() {
Transfer[] transfers= new Transfer[] { LocalSelectionTransfer.getInstance() };
int ops= DND.DROP_COPY;
DragSource source= new DragSource(fMethodsViewer.getControl(), ops);
sour... |
7,540 | Bug 7540 JDT Type hierarchy "Lock view ..." doen't work always | If the "Lock view and show members in hierarchy" is selected before any method is selected in method pane, the class pane isn t updated, if a method is selected afterwards. Selecting a method and select "Lock view..." works as expected | resolved fixed | f58d6b6 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-15T15:27:26Z | 2002-01-14T17:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java | /**
* Returns the inner component in a workbench part.
* @see IWorkbenchPart#createPartControl
*/
public void createPartControl(Composite container) {
fPagebook= new PageBook(container, SWT.NONE);
fTypeMethodsSplitter= new SashForm(fPagebook, SWT.VERTICAL);
fTypeMethodsSplitter.setVisible(... |
7,540 | Bug 7540 JDT Type hierarchy "Lock view ..." doen't work always | If the "Lock view and show members in hierarchy" is selected before any method is selected in method pane, the class pane isn t updated, if a method is selected afterwards. Selecting a method and select "Lock view..." works as expected | resolved fixed | f58d6b6 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-15T15:27:26Z | 2002-01-14T17:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java | fNoHierarchyShownLabel= new Label(fPagebook, SWT.TOP + SWT.LEFT + SWT.WRAP);
fNoHierarchyShownLabel.setText(TypeHierarchyMessages.getString("TypeHierarchyViewPart.empty"));
MenuManager menu= new MenuManager();
menu.add(fFocusOnTypeAction);
fNoHierarchyShownLabel.setMenu(menu.createContextMenu(fNoHierarchyS... |
7,540 | Bug 7540 JDT Type hierarchy "Lock view ..." doen't work always | If the "Lock view and show members in hierarchy" is selected before any method is selected in method pane, the class pane isn t updated, if a method is selected afterwards. Selecting a method and select "Lock view..." works as expected | resolved fixed | f58d6b6 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-15T15:27:26Z | 2002-01-14T17:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java | viewMenu.add(new Separator(IWorkbenchActionConstants.MB_ADDITIONS));
ToolBarManager lowertbmanager= new ToolBarManager(methodViewerToolBar);
lowertbmanager.add(fEnableMemberFilterAction);
lowertbmanager.add(new Separator());
fMethodsViewer.contributeToToolBar(lowertbmanager);
lowertbmanager.update(tru... |
7,540 | Bug 7540 JDT Type hierarchy "Lock view ..." doen't work always | If the "Lock view and show members in hierarchy" is selected before any method is selected in method pane, the class pane isn t updated, if a method is selected afterwards. Selecting a method and select "Lock view..." works as expected | resolved fixed | f58d6b6 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-15T15:27:26Z | 2002-01-14T17:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java | }
WorkbenchHelp.setHelp(fPagebook, new ViewContextComputer(this, IJavaHelpContextIds.TYPE_HIERARCHY_VIEW));
}
/**
* called from ToggleOrientationAction.
* @param orientation VIEW_ORIENTATION_SINGLE, VIEW_ORIENTATION_HORIZONTAL or VIEW_ORIENTATION_VERTICAL
*/
public void setOrientation(int orientation)... |
7,540 | Bug 7540 JDT Type hierarchy "Lock view ..." doen't work always | If the "Lock view and show members in hierarchy" is selected before any method is selected in method pane, the class pane isn t updated, if a method is selected afterwards. Selecting a method and select "Lock view..." works as expected | resolved fixed | f58d6b6 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-15T15:27:26Z | 2002-01-14T17:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java | for (int i= 0; i < fToggleOrientationActions.length; i++) {
fToggleOrientationActions[i].setChecked(orientation == fToggleOrientationActions[i].getOrientation());
}
fCurrentOrientation= orientation;
if (methodViewerNeedsUpdate) {
updateMethodViewer(fSelectedType);
}
fDialogSettings.put(DIALOGSTOR... |
7,540 | Bug 7540 JDT Type hierarchy "Lock view ..." doen't work always | If the "Lock view and show members in hierarchy" is selected before any method is selected in method pane, the class pane isn t updated, if a method is selected afterwards. Selecting a method and select "Lock view..." works as expected | resolved fixed | f58d6b6 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-15T15:27:26Z | 2002-01-14T17:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java | for (int i= 0; i < fViewActions.length; i++) {
tbmanager.add(fViewActions[i]);
}
tbmanager.update(false);
}
private void clearMainToolBar(IToolBarManager tbmanager) {
tbmanager.removeAll();
tbmanager.update(false);
}
/**
* Creates the context menu for the hierarchy viewers
*/
private void fi... |
7,540 | Bug 7540 JDT Type hierarchy "Lock view ..." doen't work always | If the "Lock view and show members in hierarchy" is selected before any method is selected in method pane, the class pane isn t updated, if a method is selected afterwards. Selecting a method and select "Lock view..." works as expected | resolved fixed | f58d6b6 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-15T15:27:26Z | 2002-01-14T17:40:00Z | 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())) {... |
7,540 | Bug 7540 JDT Type hierarchy "Lock view ..." doen't work always | If the "Lock view and show members in hierarchy" is selected before any method is selected in method pane, the class pane isn t updated, if a method is selected afterwards. Selecting a method and select "Lock view..." works as expected | resolved fixed | f58d6b6 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-15T15:27:26Z | 2002-01-14T17:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java | if (!(element instanceof IJavaElement))
return;
IResource resource= null;
try {
resource= ((IJavaElement)element).getUnderlyingResource();
} catch(JavaModelException e) {
}
if (!(resource instanceof IFile))
return;
MenuManager submenu= new MenuManager(TypeHierarchyMessages.getString("TypeH... |
7,540 | Bug 7540 JDT Type hierarchy "Lock view ..." doen't work always | If the "Lock view and show members in hierarchy" is selected before any method is selected in method pane, the class pane isn t updated, if a method is selected afterwards. Selecting a method and select "Lock view..." works as expected | resolved fixed | f58d6b6 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-15T15:27:26Z | 2002-01-14T17:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java | /**
* Sets the member filter. <code>null</code> disables member filtering.
*/
private void setMemberFilter(IMember[] memberFilter) {
Assert.isNotNull(fAllViewers);
for (int i= 0; i < fAllViewers.length; i++) {
fAllViewers[i].setMemberFilter(memberFilter);
}
fIsEnableMemberFilter= (memberFilter != null)... |
7,540 | Bug 7540 JDT Type hierarchy "Lock view ..." doen't work always | If the "Lock view and show members in hierarchy" is selected before any method is selected in method pane, the class pane isn t updated, if a method is selected afterwards. Selecting a method and select "Lock view..." works as expected | resolved fixed | f58d6b6 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-15T15:27:26Z | 2002-01-14T17:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java | fMethodsViewer.addSelectionChangedListener(fSelectionChangedListener);
}
/**
* When the input changed or the hierarchy pane becomes visible,
* <code>updateHierarchyViewer<code> brings up the correct view and refreshes
* the current tree
*/
private void updateHierarchyViewer() {
if (fInputElement == null... |
7,540 | Bug 7540 JDT Type hierarchy "Lock view ..." doen't work always | If the "Lock view and show members in hierarchy" is selected before any method is selected in method pane, the class pane isn t updated, if a method is selected afterwards. Selecting a method and select "Lock view..." works as expected | resolved fixed | f58d6b6 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-15T15:27:26Z | 2002-01-14T17:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java | if (input != fMethodsViewer.getInput() && !fIsEnableMemberFilter && fCurrentOrientation != VIEW_ORIENTATION_SINGLE) {
if (input != null) {
fMethodViewerPaneLabel.setText(fPaneLabelProvider.getText(input));
fMethodViewerPaneLabel.setImage(fPaneLabelProvider.getImage(input));
} else {
fMethodViewerPaneL... |
7,540 | Bug 7540 JDT Type hierarchy "Lock view ..." doen't work always | If the "Lock view and show members in hierarchy" is selected before any method is selected in method pane, the class pane isn t updated, if a method is selected afterwards. Selecting a method and select "Lock view..." works as expected | resolved fixed | f58d6b6 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-15T15:27:26Z | 2002-01-14T17:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java | selected.toArray(memberFilter);
}
setMemberFilter(memberFilter);
updateHierarchyViewer();
updateTitle();
internalSelectType(fSelectedType, true);
}
if (nSelected == 1) {
revealElementInEditor(selected.get(0), fMethodsViewer);
}
}
}
private void typeSelectionChanged(ISelection sel... |
7,540 | Bug 7540 JDT Type hierarchy "Lock view ..." doen't work always | If the "Lock view and show members in hierarchy" is selected before any method is selected in method pane, the class pane isn t updated, if a method is selected afterwards. Selecting a method and select "Lock view..." works as expected | resolved fixed | f58d6b6 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-15T15:27:26Z | 2002-01-14T17:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java | }
if (nSelected == 1) {
revealElementInEditor(selected.get(0), getCurrentViewer());
}
} else {
fSelectedType= null;
updateMethodViewer(null);
}
}
}
private void revealElementInEditor(Object elem, Viewer originViewer) {
if (getSite().getPage().getActivePart() != this) {
return... |
7,540 | Bug 7540 JDT Type hierarchy "Lock view ..." doen't work always | If the "Lock view and show members in hierarchy" is selected before any method is selected in method pane, the class pane isn t updated, if a method is selected afterwards. Selecting a method and select "Lock view..." works as expected | resolved fixed | f58d6b6 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-15T15:27:26Z | 2002-01-14T17:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java | JavaPlugin.log(e);
}
}
}
private Display getDisplay() {
if (fPagebook != null && !fPagebook.isDisposed()) {
return fPagebook.getDisplay();
}
return null;
}
private boolean isChildVisible(Composite pb, Control child) {
Control[] children= pb.getChildren();
for (int i= 0; i < children.length; ... |
7,540 | Bug 7540 JDT Type hierarchy "Lock view ..." doen't work always | If the "Lock view and show members in hierarchy" is selected before any method is selected in method pane, the class pane isn t updated, if a method is selected afterwards. Selecting a method and select "Lock view..." works as expected | resolved fixed | f58d6b6 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-15T15:27:26Z | 2002-01-14T17:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java | } else {
title= viewerTitle;
tooltip= viewerTitle;
}
setTitle(title);
setTitleToolTip(tooltip);
}
private void updateToolbarButtons() {
boolean isType= fInputElement instanceof IType;
for (int i= 0; i < fViewActions.length; i++) {
ToggleViewAction action= fViewActions[i];
if (action.getViewerI... |
7,540 | Bug 7540 JDT Type hierarchy "Lock view ..." doen't work always | If the "Lock view and show members in hierarchy" is selected before any method is selected in method pane, the class pane isn t updated, if a method is selected afterwards. Selecting a method and select "Lock view..." works as expected | resolved fixed | f58d6b6 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-15T15:27:26Z | 2002-01-14T17:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java | if (fInputElement != null) {
ISelection currSelection= getCurrentViewer().getSelection();
if (currSelection == null || currSelection.isEmpty()) {
internalSelectType(getSelectableType(fInputElement), false);
}
if (!fIsEnableMemberFilter) {
typeSelectionChanged(currSelection);
}
}
up... |
7,540 | Bug 7540 JDT Type hierarchy "Lock view ..." doen't work always | If the "Lock view and show members in hierarchy" is selected before any method is selected in method pane, the class pane isn t updated, if a method is selected afterwards. Selecting a method and select "Lock view..." works as expected | resolved fixed | f58d6b6 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-15T15:27:26Z | 2002-01-14T17:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java | return fCurrentViewerIndex;
}
private TypeHierarchyViewer getCurrentViewer() {
return fAllViewers[fCurrentViewerIndex];
}
/**
* called from EnableMemberFilterAction.
* Must be called after creation of the viewpart.
*/
public void enableMemberFilter(boolean on) {
if (on != fIsEnableMemberFilter) {
f... |
7,540 | Bug 7540 JDT Type hierarchy "Lock view ..." doen't work always | If the "Lock view and show members in hierarchy" is selected before any method is selected in method pane, the class pane isn t updated, if a method is selected afterwards. Selecting a method and select "Lock view..." works as expected | resolved fixed | f58d6b6 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-15T15:27:26Z | 2002-01-14T17:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java | }
fEnableMemberFilterAction.setChecked(on);
}
/**
* Called from ITypeHierarchyLifeCycleListener.
* Can be called from any thread
*/
private void doTypeHierarchyChanged(final TypeHierarchyLifeCycle typeHierarchy, final IType[] changedTypes) {
Display display= getDisplay();
if (display != null) {
disp... |
7,540 | Bug 7540 JDT Type hierarchy "Lock view ..." doen't work always | If the "Lock view and show members in hierarchy" is selected before any method is selected in method pane, the class pane isn t updated, if a method is selected afterwards. Selecting a method and select "Lock view..." works as expected | resolved fixed | f58d6b6 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-15T15:27:26Z | 2002-01-14T17:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java | return;
}
updateHierarchyViewer();
} else {
if (getCurrentViewer().isMethodFiltering()) {
if (changedTypes.length == 1) {
getCurrentViewer().refresh(changedTypes[0]);
} else {
updateHierarchyViewer();
}
} else {
getCurrentViewer().update(changedTypes, new String[]... |
7,540 | Bug 7540 JDT Type hierarchy "Lock view ..." doen't work always | If the "Lock view and show members in hierarchy" is selected before any method is selected in method pane, the class pane isn t updated, if a method is selected afterwards. Selecting a method and select "Lock view..." works as expected | resolved fixed | f58d6b6 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-15T15:27:26Z | 2002-01-14T17:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java | /*
* @see IViewPart#init
*/
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) {
... |
7,540 | Bug 7540 JDT Type hierarchy "Lock view ..." doen't work always | If the "Lock view and show members in hierarchy" is selected before any method is selected in method pane, the class pane isn t updated, if a method is selected afterwards. Selecting a method and select "Lock view..." works as expected | resolved fixed | f58d6b6 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-15T15:27:26Z | 2002-01-14T17:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java | memento.putInteger(TAG_VERTICAL_SCROLL, position);
IJavaElement selection= (IJavaElement)((IStructuredSelection) getCurrentViewer().getSelection()).getFirstElement();
if (selection != null) {
memento.putString(TAG_SELECTION, selection.getHandleIdentifier());
}
fMethodsViewer.saveState(memento);
}
/**... |
7,540 | Bug 7540 JDT Type hierarchy "Lock view ..." doen't work always | If the "Lock view and show members in hierarchy" is selected before any method is selected in method pane, the class pane isn t updated, if a method is selected afterwards. Selecting a method and select "Lock view..." works as expected | resolved fixed | f58d6b6 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-15T15:27:26Z | 2002-01-14T17:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java | Integer ratio= memento.getInteger(TAG_RATIO);
if (ratio != null) {
fTypeMethodsSplitter.setWeights(new int[] { ratio.intValue(), 1000 - ratio.intValue() });
}
ScrollBar bar= getCurrentViewer().getTree().getVerticalBar();
if (bar != null) {
Integer vScroll= memento.getInteger(TAG_VERTICAL_SCROLL);
if (v... |
7,540 | Bug 7540 JDT Type hierarchy "Lock view ..." doen't work always | If the "Lock view and show members in hierarchy" is selected before any method is selected in method pane, the class pane isn t updated, if a method is selected afterwards. Selecting a method and select "Lock view..." works as expected | resolved fixed | f58d6b6 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-15T15:27:26Z | 2002-01-14T17:40:00Z | 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... |
7,591 | Bug 7591 Flicker when toggeling show inherited filter | When toggeling the show inherited filter in the type hierarchy you can watch the scrollbar grow. We should bracket this refresh with setRedraw(false/true) so that there is only a single refresh. | verified fixed | d21e057 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-15T15:29:53Z | 2002-01-15T10:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/MethodsViewer.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.swt.SWT;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Menu;
import org.eclipse.swt.widgets.ScrollBar;... |
7,591 | Bug 7591 Flicker when toggeling show inherited filter | When toggeling the show inherited filter in the type hierarchy you can watch the scrollbar grow. We should bracket this refresh with setRedraw(false/true) so that there is only a single refresh. | verified fixed | d21e057 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-15T15:29:53Z | 2002-01-15T10:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/MethodsViewer.java | import org.eclipse.jdt.core.IJavaElement;
import org.eclipse.jdt.core.IMethod;
import org.eclipse.jdt.core.JavaModelException;
import org.eclipse.jdt.ui.IContextMenuConstants;
import org.eclipse.jdt.ui.JavaElementLabelProvider;
import org.eclipse.jdt.internal.corext.util.JavaModelUtil;
import org.eclipse.jdt.internal.u... |
7,591 | Bug 7591 Flicker when toggeling show inherited filter | When toggeling the show inherited filter in the type hierarchy you can watch the scrollbar grow. We should bracket this refresh with setRedraw(false/true) so that there is only a single refresh. | verified fixed | d21e057 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-15T15:29:53Z | 2002-01-15T10:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/MethodsViewer.java | public MethodsViewerSorter() {
}
public int compare(Viewer viewer, Object e1, Object e2) {
int cat1 = category(e1);
int cat2 = category(e2);
if (cat1 != cat2)
return cat1 - cat2;
String name1= JavaElementLabels.getElementLabel((IJavaElement) e1, JavaElementLabels.ALL_DEFAULT);
String name... |
7,591 | Bug 7591 Flicker when toggeling show inherited filter | When toggeling the show inherited filter in the type hierarchy you can watch the scrollbar grow. We should bracket this refresh with setRedraw(false/true) so that there is only a single refresh. | verified fixed | d21e057 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-15T15:29:53Z | 2002-01-15T10:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/MethodsViewer.java | private ShowInheritedMembersAction fShowInheritedMembersAction;
private ContextMenuGroup[] fStandardGroups;
public MethodsViewer(Composite parent, IWorkbenchPart part) {
super(new Table(parent, SWT.MULTI));
JavaElementLabelProvider lprovider= new JavaElementLabelProvider(JavaElementLabelProvider.SHOW_DEFA... |
7,591 | Bug 7591 Flicker when toggeling show inherited filter | When toggeling the show inherited filter in the type hierarchy you can watch the scrollbar grow. We should bracket this refresh with setRedraw(false/true) so that there is only a single refresh. | verified fixed | d21e057 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-15T15:29:53Z | 2002-01-15T10:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/MethodsViewer.java | hideFields.setToolTipUnchecked(TypeHierarchyMessages.getString("MethodsViewer.hide_fields.tooltip.unchecked"));
JavaPluginImages.setLocalImageDescriptors(hideFields, "fields_co.gif");
title= TypeHierarchyMessages.getString("MethodsViewer.hide_static.label");
helpContext= IJavaHelpContextIds.FILTER_STATIC... |
7,591 | Bug 7591 Flicker when toggeling show inherited filter | When toggeling the show inherited filter in the type hierarchy you can watch the scrollbar grow. We should bracket this refresh with setRedraw(false/true) so that there is only a single refresh. | verified fixed | d21e057 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-15T15:29:53Z | 2002-01-15T10:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/MethodsViewer.java | new JavaSearchGroup(), new GenerateGroup()
};
setSorter(new MethodsViewerSorter());
}
/**
* Show inherited methods
*/
public void showInheritedMethods(boolean on) {
MethodsContentProvider cprovider= (MethodsContentProvider) getContentProvider();
try {
cprovider.showInheritedMethods(on);
fShowI... |
7,591 | Bug 7591 Flicker when toggeling show inherited filter | When toggeling the show inherited filter in the type hierarchy you can watch the scrollbar grow. We should bracket this refresh with setRedraw(false/true) so that there is only a single refresh. | verified fixed | d21e057 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-15T15:29:53Z | 2002-01-15T10:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/MethodsViewer.java | */
protected void inputChanged(Object input, Object oldInput) {
super.inputChanged(input, oldInput);
}
/**
* Returns <code>true</code> if inherited methods are shown.
*/
public boolean isShowInheritedMethods() {
return ((MethodsContentProvider) getContentProvider()).isShowInheritedMethods();
}
/**
* ... |
7,591 | Bug 7591 Flicker when toggeling show inherited filter | When toggeling the show inherited filter in the type hierarchy you can watch the scrollbar grow. We should bracket this refresh with setRedraw(false/true) so that there is only a single refresh. | verified fixed | d21e057 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-15T15:29:53Z | 2002-01-15T10:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/MethodsViewer.java | public boolean hasMemberFilter(int filterProperty) {
return fFilter.hasFilter(filterProperty);
}
/**
* Saves the state of the filter actions
*/
public void saveState(IMemento memento) {
memento.putString(TAG_HIDEFIELDS, String.valueOf(hasMemberFilter(MethodsViewerFilter.FILTER_FIELDS)));
memento.putStrin... |
7,591 | Bug 7591 Flicker when toggeling show inherited filter | When toggeling the show inherited filter in the type hierarchy you can watch the scrollbar grow. We should bracket this refresh with setRedraw(false/true) so that there is only a single refresh. | verified fixed | d21e057 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-15T15:29:53Z | 2002-01-15T10:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/MethodsViewer.java | ScrollBar bar= getTable().getVerticalBar();
if (bar != null) {
Integer vScroll= memento.getInteger(TAG_VERTICAL_SCROLL);
if (vScroll != null) {
bar.setSelection(vScroll.intValue());
}
}
}
/**
* Attaches a contextmenu listener to the table
*/
public void initContextMenu(IMenuListener menuListen... |
7,591 | Bug 7591 Flicker when toggeling show inherited filter | When toggeling the show inherited filter in the type hierarchy you can watch the scrollbar grow. We should bracket this refresh with setRedraw(false/true) so that there is only a single refresh. | verified fixed | d21e057 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-15T15:29:53Z | 2002-01-15T10:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/MethodsViewer.java | ContextMenuGroup.add(menu, fStandardGroups, this);
}
/**
* Fills up the tool bar with items for the method viewer
* Should be called by the creator of the tool bar
*/
public void contributeToToolBar(ToolBarManager tbm) {
tbm.add(fShowInheritedMembersAction);
tbm.add(new Separator());
tbm.add(fFilterActio... |
7,591 | Bug 7591 Flicker when toggeling show inherited filter | When toggeling the show inherited filter in the type hierarchy you can watch the scrollbar grow. We should bracket this refresh with setRedraw(false/true) so that there is only a single refresh. | verified fixed | d21e057 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-15T15:29:53Z | 2002-01-15T10:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/MethodsViewer.java | IMethod similar= findSimilarMethod(method, currElements);
if (similar != null) {
newSelectionElements.add(similar);
}
}
}
}
newSelection= new StructuredSelection(newSelectionElements);
} catch (JavaModelException e) {
JavaPlugin.log(e);
}
}
setSelection(newSelectio... |
7,023 | Bug 7023 Refactoring too many builds when auto build is on | Refactoring saves compilation units for the precondition checking and this can trigger an autobuild. This autobuild should be supressed since you need to build again after the refactoring. | resolved fixed | 01e6991 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-16T12:52:05Z | 2001-12-18T10:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/reorg/RefactoringSupportFactory.java | /*
* (c) Copyright IBM Corp. 2000, 2001.
* All Rights Reserved.
*/
package org.eclipse.jdt.internal.ui.reorg;
import org.eclipse.core.resources.IResource;
import org.eclipse.core.runtime.NullProgressMonitor; |
7,023 | Bug 7023 Refactoring too many builds when auto build is on | Refactoring saves compilation units for the precondition checking and this can trigger an autobuild. This autobuild should be supressed since you need to build again after the refactoring. | resolved fixed | 01e6991 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-16T12:52:05Z | 2001-12-18T10:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/reorg/RefactoringSupportFactory.java | import org.eclipse.jface.resource.ImageDescriptor;
import org.eclipse.jface.util.Assert;
import org.eclipse.jdt.core.ICompilationUnit;
import org.eclipse.jdt.core.IField;
import org.eclipse.jdt.core.IJavaElement;
import org.eclipse.jdt.core.IJavaProject;
import org.eclipse.jdt.core.IMethod;
import org.eclipse.jdt.core.... |
7,023 | Bug 7023 Refactoring too many builds when auto build is on | Refactoring saves compilation units for the precondition checking and this can trigger an autobuild. This autobuild should be supressed since you need to build again after the refactoring. | resolved fixed | 01e6991 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-16T12:52:05Z | 2001-12-18T10:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/reorg/RefactoringSupportFactory.java | public boolean canRename(Object element) throws JavaModelException{
fRefactoring= createRefactoring(element);
boolean canRename= canAddToMenu(fRefactoring);
if (!canRename)
fRefactoring= null;
return canRename;
}
public void rename(Object element) throws JavaModelException{
Assert.isNotNu... |
7,023 | Bug 7023 Refactoring too many builds when auto build is on | Refactoring saves compilation units for the precondition checking and this can trigger an autobuild. This autobuild should be supressed since you need to build again after the refactoring. | resolved fixed | 01e6991 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-16T12:52:05Z | 2001-12-18T10:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/reorg/RefactoringSupportFactory.java | RenameRefactoringWizard w= new RenameRefactoringWizard(ref, title, message, wizardPageHelp, errorPageHelp);
w.setInputPageImageDescriptor(image);
return w;
}
private static RenameSupport createJavaProjectRename(){
return new RenameSupport(){
IRenameRefactoring createRefactoring(Object element) {
return... |
7,023 | Bug 7023 Refactoring too many builds when auto build is on | Refactoring saves compilation units for the precondition checking and this can trigger an autobuild. This autobuild should be supressed since you need to build again after the refactoring. | resolved fixed | 01e6991 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-16T12:52:05Z | 2001-12-18T10:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/reorg/RefactoringSupportFactory.java | };
}
private static RenameSupport createResourceRename(){
return new RenameSupport(){
IRenameRefactoring createRefactoring(Object element) {
return new RenameResourceRefactoring((IResource)element);
}
public boolean canAddToMenu(IRenameRefactoring refactoring) throws JavaModelException{
return ((... |
7,023 | Bug 7023 Refactoring too many builds when auto build is on | Refactoring saves compilation units for the precondition checking and this can trigger an autobuild. This autobuild should be supressed since you need to build again after the refactoring. | resolved fixed | 01e6991 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-16T12:52:05Z | 2001-12-18T10:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/reorg/RefactoringSupportFactory.java | return createRenameWizard(refactoring, title, message, wizardPageHelp, errorPageHelp, imageDesc);
}
};
}
private static RenameSupport createCompilationUnitRename(){
return new RenameSupport(){
IRenameRefactoring createRefactoring(Object element) {
ICompilationUnit cu= (ICompilationUnit)element;
if... |
7,023 | Bug 7023 Refactoring too many builds when auto build is on | Refactoring saves compilation units for the precondition checking and this can trigger an autobuild. This autobuild should be supressed since you need to build again after the refactoring. | resolved fixed | 01e6991 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-16T12:52:05Z | 2001-12-18T10:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/reorg/RefactoringSupportFactory.java | return new RenameTypeRefactoring((IType)element);
}
public boolean canAddToMenu(IRenameRefactoring refactoring) throws JavaModelException{
return ((RenameTypeRefactoring)refactoring).checkPreactivation().isOK();
}
RefactoringWizard createWizard(IRenameRefactoring refactoring) {
String title= Refacto... |
7,023 | Bug 7023 Refactoring too many builds when auto build is on | Refactoring saves compilation units for the precondition checking and this can trigger an autobuild. This autobuild should be supressed since you need to build again after the refactoring. | resolved fixed | 01e6991 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-16T12:52:05Z | 2001-12-18T10:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/reorg/RefactoringSupportFactory.java | return createRenameWizard(refactoring, title, message, wizardPageHelp, errorPageHelp, imageDesc);
}
};
}
private static RenameSupport createFieldRename(){
return new RenameSupport(){
IRenameRefactoring createRefactoring(Object element) {
return new RenameFieldRefactoring((IField)element);
}
pub... |
7,023 | Bug 7023 Refactoring too many builds when auto build is on | Refactoring saves compilation units for the precondition checking and this can trigger an autobuild. This autobuild should be supressed since you need to build again after the refactoring. | resolved fixed | 01e6991 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-16T12:52:05Z | 2001-12-18T10:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/reorg/RefactoringSupportFactory.java | switch (((IJavaElement)element).getElementType()){
case IJavaElement.PACKAGE_FRAGMENT:
return createPackageRename();
case IJavaElement.COMPILATION_UNIT:
return createCompilationUnitRename();
case IJavaElement.PACKAGE_FRAGMENT_ROOT:
return createSourceFolderRename();
case I... |
7,127 | Bug 7127 'refactor' menu missing from the type hierarchy perspective | the 'refactor' menu is missing from the type hierarchy perspective | resolved fixed | 0c1b5e6 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-16T15:20:36Z | 2001-12-20T12:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/JavaHierarchyPerspectiveFactory.java | /*
* (c) Copyright IBM Corp. 2000, 2001.
* All Rights Reserved.
*/
package org.eclipse.jdt.internal.ui;
import org.eclipse.debug.ui.IDebugUIConstants;
import org.eclipse.ui.IFolderLayout;
import org.eclipse.ui.IPageLayout;
import org.eclipse.ui.IPerspectiveFactory;
import org.eclipse.search.ui.SearchUI;
import org.e... |
7,127 | Bug 7127 'refactor' menu missing from the type hierarchy perspective | the 'refactor' menu is missing from the type hierarchy perspective | resolved fixed | 0c1b5e6 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-16T15:20:36Z | 2001-12-20T12:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/JavaHierarchyPerspectiveFactory.java | /**
* Constructs a new Java hierarchy layout engine.
*/
public JavaHierarchyPerspectiveFactory() {
super();
}
public void createInitialLayout(IPageLayout layout) {
String editorArea = layout.getEditorArea();
IFolderLayout folder= layout.createFolder("left", IPageLayout.LEFT, (float)0.25, editorArea);
... |
7,127 | Bug 7127 'refactor' menu missing from the type hierarchy perspective | the 'refactor' menu is missing from the type hierarchy perspective | resolved fixed | 0c1b5e6 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-16T15:20:36Z | 2001-12-20T12:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/JavaPerspectiveFactory.java | /*
* (c) Copyright IBM Corp. 2000, 2001.
* All Rights Reserved.
*/
package org.eclipse.jdt.internal.ui;
import org.eclipse.ui.IFolderLayout;
import org.eclipse.ui.IPageLayout;
import org.eclipse.ui.IPerspectiveFactory;
import org.eclipse.search.ui.SearchUI;
import org.eclipse.debug.ui.IDebugUIConstants;
import org.e... |
7,127 | Bug 7127 'refactor' menu missing from the type hierarchy perspective | the 'refactor' menu is missing from the type hierarchy perspective | resolved fixed | 0c1b5e6 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-16T15:20:36Z | 2001-12-20T12:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/JavaPerspectiveFactory.java | /**
* Constructs a new Default layout engine.
*/
public JavaPerspectiveFactory() {
super();
}
public void createInitialLayout(IPageLayout layout) {
String editorArea = layout.getEditorArea();
IFolderLayout folder= layout.createFolder("left", IPageLayout.LEFT, (float)0.25, editorArea);
folder.addView... |
7,127 | Bug 7127 'refactor' menu missing from the type hierarchy perspective | the 'refactor' menu is missing from the type hierarchy perspective | resolved fixed | 0c1b5e6 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-16T15:20:36Z | 2001-12-20T12:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/JavaPerspectiveFactory.java | layout.addView(IPageLayout.ID_OUTLINE, IPageLayout.RIGHT, (float)0.75, editorArea);
layout.addActionSet(IDebugUIConstants.LAUNCH_ACTION_SET);
layout.addActionSet(JavaUI.ID_ACTION_SET);
layout.addActionSet(IUIConstants.ID_REFACTORING_ACTION_SET);
layout.addShowViewShortcut(JavaUI.ID_PACKAGES);
layout.... |
7,127 | Bug 7127 'refactor' menu missing from the type hierarchy perspective | the 'refactor' menu is missing from the type hierarchy perspective | resolved fixed | 0c1b5e6 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-16T15:20:36Z | 2001-12-20T12:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dnd/ResourceTransferDragAdapter.java | /*
* (c) Copyright 2001 MyCorporation.
* All Rights Reserved.
*/
package org.eclipse.jdt.internal.ui.dnd;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import org.eclipse.swt.dnd.DND;
import org.eclipse.swt.dnd.DragSourceAdapter;
import org.eclipse.swt.dnd.DragSourceEvent;
import org.... |
7,127 | Bug 7127 'refactor' menu missing from the type hierarchy perspective | the 'refactor' menu is missing from the type hierarchy perspective | resolved fixed | 0c1b5e6 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-16T15:20:36Z | 2001-12-20T12:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dnd/ResourceTransferDragAdapter.java | import org.eclipse.core.runtime.MultiStatus;
import org.eclipse.ui.part.ResourceTransfer;
import org.eclipse.jdt.internal.ui.JavaPlugin;
import org.eclipse.jdt.internal.ui.JavaStatusConstants;
import org.eclipse.jdt.internal.ui.util.SWTUtil;
/**
* A drag adapter that transfers the current selection as </code>
* IReso... |
7,127 | Bug 7127 'refactor' menu missing from the type hierarchy perspective | the 'refactor' menu is missing from the type hierarchy perspective | resolved fixed | 0c1b5e6 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-16T15:20:36Z | 2001-12-20T12:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dnd/ResourceTransferDragAdapter.java | event.doit= convertSelection().size() > 0;
}
public void dragSetData(DragSourceEvent event) {
List resources= convertSelection();
event.data= (IResource[]) resources.toArray(new IResource[resources.size()]);
}
public void dragFinished(DragSourceEvent event) {
if (!event.doit)
return;
if (event.detail... |
7,127 | Bug 7127 'refactor' menu missing from the type hierarchy perspective | the 'refactor' menu is missing from the type hierarchy perspective | resolved fixed | 0c1b5e6 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-16T15:20:36Z | 2001-12-20T12:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dnd/ResourceTransferDragAdapter.java | }
return result;
}
private void handleFinishedDropMove(DragSourceEvent event) {
MultiStatus status= new MultiStatus(
JavaPlugin.getPluginId(),
JavaStatusConstants.INTERNAL_ERROR,
"DND: cannot delete resources",
null);
List resources= convertSelection();
for (Iterator iter= resources.iterator(... |
7,127 | Bug 7127 'refactor' menu missing from the type hierarchy perspective | the 'refactor' menu is missing from the type hierarchy perspective | resolved fixed | 0c1b5e6 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-16T15:20:36Z | 2001-12-20T12:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/ContainerCheckedTreeViewer.java | /*
* (c) Copyright 2001 MyCorporation.
* All Rights Reserved.
*/
package org.eclipse.jdt.internal.ui.viewsupport;
import java.util.ArrayList;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Item;
import org.eclipse.swt.widgets.Tree;
import org.eclipse.swt.widgets.TreeItem;
import org.eclipse... |
7,127 | Bug 7127 'refactor' menu missing from the type hierarchy perspective | the 'refactor' menu is missing from the type hierarchy perspective | resolved fixed | 0c1b5e6 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-16T15:20:36Z | 2001-12-20T12:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/ContainerCheckedTreeViewer.java | /**
* Constructor for ContainerCheckedTreeViewer.
* @see CheckboxTreeViewer#CheckboxTreeViewer(Composite)
*/
public ContainerCheckedTreeViewer(Composite parent) {
super(parent);
initViewer();
} |
7,127 | Bug 7127 'refactor' menu missing from the type hierarchy perspective | the 'refactor' menu is missing from the type hierarchy perspective | resolved fixed | 0c1b5e6 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-16T15:20:36Z | 2001-12-20T12:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/ContainerCheckedTreeViewer.java | /**
* Constructor for ContainerCheckedTreeViewer.
* @see CheckboxTreeViewer#CheckboxTreeViewer(Composite,int)
*/
public ContainerCheckedTreeViewer(Composite parent, int style) {
super(parent, style);
initViewer();
}
/**
* Constructor for ContainerCheckedTreeViewer.
* @see CheckboxTreeViewer#CheckboxTre... |
7,127 | Bug 7127 'refactor' menu missing from the type hierarchy perspective | the 'refactor' menu is missing from the type hierarchy perspective | resolved fixed | 0c1b5e6 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-16T15:20:36Z | 2001-12-20T12:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/ContainerCheckedTreeViewer.java | if (item instanceof TreeItem) {
initializeItem((TreeItem) item);
}
}
});
}
protected void doCheckStateChanged(Object element) {
Widget item= findItem(element);
if (item instanceof TreeItem) {
TreeItem treeItem= (TreeItem) item;
treeItem.setGrayed(false);
updateChildrenItems(treeItem);
... |
7,127 | Bug 7127 'refactor' menu missing from the type hierarchy perspective | the 'refactor' menu is missing from the type hierarchy perspective | resolved fixed | 0c1b5e6 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-16T15:20:36Z | 2001-12-20T12:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/ContainerCheckedTreeViewer.java | boolean state= parent.getChecked();
for (int i= 0; i < children.length; i++) {
TreeItem curr= (TreeItem) children[i];
if (curr.getData() != null && ((curr.getChecked() != state) || curr.getGrayed())) {
curr.setChecked(state);
curr.setGrayed(false);
updateChildrenItems(curr);
}
}
}
/**
* U... |
7,127 | Bug 7127 'refactor' menu missing from the type hierarchy perspective | the 'refactor' menu is missing from the type hierarchy perspective | resolved fixed | 0c1b5e6 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-16T15:20:36Z | 2001-12-20T12:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/ContainerCheckedTreeViewer.java | * @see ICheckable#setChecked(Object, boolean)
*/
public boolean setChecked(Object element, boolean state) {
if (super.setChecked(element, state)) {
doCheckStateChanged(element);
return true;
}
return false;
}
/*
* @see CheckboxTreeViewer#setCheckedElements(Object[])
*/
public void setCheckedElemen... |
7,127 | Bug 7127 'refactor' menu missing from the type hierarchy perspective | the 'refactor' menu is missing from the type hierarchy perspective | resolved fixed | 0c1b5e6 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-16T15:20:36Z | 2001-12-20T12:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/ContainerCheckedTreeViewer.java | */
public Object[] getCheckedElements() {
Object[] checked= super.getCheckedElements();
ArrayList result= new ArrayList();
for (int i= 0; i < checked.length; i++) {
Object curr= checked[i];
result.add(curr);
Widget item= findItem(curr);
if (item != null) {
Item[] children= getChildren(item);
... |
7,127 | Bug 7127 'refactor' menu missing from the type hierarchy perspective | the 'refactor' menu is missing from the type hierarchy perspective | resolved fixed | 0c1b5e6 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-16T15:20:36Z | 2001-12-20T12:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/JavaUI.java | /*
* (c) Copyright IBM Corp. 2000, 2001.
* All Rights Reserved.
*/
package org.eclipse.jdt.ui;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Iterator;
import java.util.List;
import java.util.Set;
import org.eclipse.swt.widgets.Shell;
import org.eclipse.core.resources.IProject;
import org.ecli... |
7,127 | Bug 7127 'refactor' menu missing from the type hierarchy perspective | the 'refactor' menu is missing from the type hierarchy perspective | resolved fixed | 0c1b5e6 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-16T15:20:36Z | 2001-12-20T12:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/JavaUI.java | import org.eclipse.jdt.core.IPackageFragmentRoot;
import org.eclipse.jdt.core.ISourceReference;
import org.eclipse.jdt.core.JavaCore;
import org.eclipse.jdt.core.JavaModelException;
import org.eclipse.jdt.core.search.IJavaSearchScope;
import org.eclipse.jdt.core.search.SearchEngine;
import org.eclipse.jdt.internal.core... |
7,127 | Bug 7127 'refactor' menu missing from the type hierarchy perspective | the 'refactor' menu is missing from the type hierarchy perspective | resolved fixed | 0c1b5e6 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-16T15:20:36Z | 2001-12-20T12:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/JavaUI.java | private static ISharedImages fgSharedImages= null;
private JavaUI() {
}
/**
* The id of the Java plugin (value <code>"org.eclipse.jdt.ui"</code>).
*/
public static final String ID_PLUGIN= "org.eclipse.jdt.ui";
/**
* The id of the Java perspective
* (value <code>"org.eclipse.jdt.ui.JavaPerspectiv... |
7,127 | Bug 7127 'refactor' menu missing from the type hierarchy perspective | the 'refactor' menu is missing from the type hierarchy perspective | resolved fixed | 0c1b5e6 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-16T15:20:36Z | 2001-12-20T12:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/JavaUI.java | * (value <code>"org.eclipse.jdt.ui.JavaActionSet"</code>).
*/
public static final String ID_ACTION_SET= "org.eclipse.jdt.ui.JavaActionSet";
/**
* The editor part id of the editor that presents Java compilation units
* (value <code>"org.eclipse.jdt.ui.CompilationUnitEditor"</code>).
*/
public static fin... |
7,127 | Bug 7127 'refactor' menu missing from the type hierarchy perspective | the 'refactor' menu is missing from the type hierarchy perspective | resolved fixed | 0c1b5e6 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-16T15:20:36Z | 2001-12-20T12:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/JavaUI.java | *
* @see IPackagesViewPart
* @see org.eclipse.ui.IWorkbenchPage#findView
* @see org.eclipse.ui.IWorkbenchPage#showView
*/
public static final String ID_PACKAGES= "org.eclipse.jdt.ui.PackageExplorer";
/**
* The view part id of the type hierarchy part.
* (value <code>"org.eclipse.jdt.ui.TypeHierarch... |
7,127 | Bug 7127 'refactor' menu missing from the type hierarchy perspective | the 'refactor' menu is missing from the type hierarchy perspective | resolved fixed | 0c1b5e6 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-16T15:20:36Z | 2001-12-20T12:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/JavaUI.java | * @deprecated
*/
public final static String ATTR_CMDLINE= JavaPlugin.getPluginId()+".launcher.cmdLine";
/**
* Returns the shared images for the Java UI.
*
* @return the shared images manager
*/
public static ISharedImages getSharedImages() {
if (fgSharedImages == null)
fgSharedImages= new SharedImage... |
7,127 | Bug 7127 'refactor' menu missing from the type hierarchy perspective | the 'refactor' menu is missing from the type hierarchy perspective | resolved fixed | 0c1b5e6 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-16T15:20:36Z | 2001-12-20T12:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/JavaUI.java | * @return a new selection dialog
* @exception JavaModelException if the selection dialog could not be opened
*/
public static SelectionDialog createPackageDialog(Shell parent, IJavaProject project, int style, String filter) throws JavaModelException {
Assert.isTrue((style | IJavaElementSearchConstants.CONSIDER_B... |
7,127 | Bug 7127 'refactor' menu missing from the type hierarchy perspective | the 'refactor' menu is missing from the type hierarchy perspective | resolved fixed | 0c1b5e6 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-16T15:20:36Z | 2001-12-20T12:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/JavaUI.java | Iterator iter= consideredRoots.iterator();
while(iter.hasNext()) {
IPackageFragmentRoot root= (IPackageFragmentRoot)iter.next();
packages.addAll(Arrays.asList(root.getChildren()));
}
ElementListSelectionDialog dialog= new ElementListSelectionDialog(parent, new JavaElementLabelProvider(flags));
dialog.s... |
7,127 | Bug 7127 'refactor' menu missing from the type hierarchy perspective | the 'refactor' menu is missing from the type hierarchy perspective | resolved fixed | 0c1b5e6 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-16T15:20:36Z | 2001-12-20T12:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/JavaUI.java | */
public static SelectionDialog createPackageDialog(Shell parent, IPackageFragmentRoot root, String filter) throws JavaModelException {
ElementListSelectionDialog dialog= new ElementListSelectionDialog(parent, new JavaElementLabelProvider(JavaElementLabelProvider.SHOW_DEFAULT));
dialog.setIgnoreCase(false);
dia... |
7,127 | Bug 7127 'refactor' menu missing from the type hierarchy perspective | the 'refactor' menu is missing from the type hierarchy perspective | resolved fixed | 0c1b5e6 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-16T15:20:36Z | 2001-12-20T12:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/JavaUI.java | * @return a new selection dialog
* @exception JavaModelException if the selection dialog could not be opened
*/
public static SelectionDialog createTypeDialog(Shell parent, IRunnableContext context, IJavaSearchScope scope, int style, boolean multipleSelection, String filter) throws JavaModelException {
Assert.is... |
7,127 | Bug 7127 'refactor' menu missing from the type hierarchy perspective | the 'refactor' menu is missing from the type hierarchy perspective | resolved fixed | 0c1b5e6 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-16T15:20:36Z | 2001-12-20T12:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/JavaUI.java | * </p>
* <p>
* [Issue: SelectionDialogs must be parented. shell must not be null.]
* </p>
*
* @param parent the parent shell of the dialog to be created
* @param context the runnable context used to show progress when the dialog
* is being populated
* @param scope the scope that limits which types ar... |
7,127 | Bug 7127 'refactor' menu missing from the type hierarchy perspective | the 'refactor' menu is missing from the type hierarchy perspective | resolved fixed | 0c1b5e6 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-16T15:20:36Z | 2001-12-20T12:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/JavaUI.java | return createMainTypeDialog(parent, context, scope, style, multipleSelection, "A");
}
/**
* Creates a selection dialog that lists all types in the given project.
* The caller is responsible for opening the dialog with <code>Window.open</code>,
* and subsequently extracting the selected packages (of type
* <... |
7,127 | Bug 7127 'refactor' menu missing from the type hierarchy perspective | the 'refactor' menu is missing from the type hierarchy perspective | resolved fixed | 0c1b5e6 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-16T15:20:36Z | 2001-12-20T12:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/JavaUI.java | * [Issue: Explain semantics of opening an editor on a class file.]
* </p>
* <p>
* [Issue: Explain under which conditions it returns null, throws JavaModelException,
* or throws JavaModelException.
* ]
* </p>
*
* @param element the input element; either a compilation unit
* (<code>ICompilationUnit<... |
7,127 | Bug 7127 'refactor' menu missing from the type hierarchy perspective | the 'refactor' menu is missing from the type hierarchy perspective | resolved fixed | 0c1b5e6 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-16T15:20:36Z | 2001-12-20T12:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/JavaUI.java | * @param part the editor displaying the compilation unit or class file
* @param element the source reference element defining the source range to be revealed
*
* @deprecated use <code>revealInEditor(IEditorPart, IJavaElement)</code> instead
*/
public static void revealInEditor(IEditorPart part, ISourceRefere... |
3,963 | Bug 3963 Clean up the [Issues] in javadoc (1GF9P7T) | Search for Issues in our plug-ins and clean up. This was found for JDT: org.eclipse.jdt.ui.wizards.NewJavaProjectWizardPage * [Issue: It is slightly unfortunate to make appeal to a preference in an API * method but not expose that preference as API. * ] public void setDefaultClassPath(IClasspathEntry[] entries, boolean... | resolved fixed | c5b5154 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-16T16:42:37Z | 2001-10-11T03:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/JavaUI.java | /*
* (c) Copyright IBM Corp. 2000, 2001.
* All Rights Reserved.
*/
package org.eclipse.jdt.ui;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Iterator;
import java.util.List;
import java.util.Set;
import org.eclipse.swt.widgets.Shell;
import org.eclipse.core.resources.IProject;
import org.ecli... |
3,963 | Bug 3963 Clean up the [Issues] in javadoc (1GF9P7T) | Search for Issues in our plug-ins and clean up. This was found for JDT: org.eclipse.jdt.ui.wizards.NewJavaProjectWizardPage * [Issue: It is slightly unfortunate to make appeal to a preference in an API * method but not expose that preference as API. * ] public void setDefaultClassPath(IClasspathEntry[] entries, boolean... | resolved fixed | c5b5154 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-16T16:42:37Z | 2001-10-11T03:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/JavaUI.java | import org.eclipse.jdt.core.IPackageFragmentRoot;
import org.eclipse.jdt.core.ISourceReference;
import org.eclipse.jdt.core.JavaCore;
import org.eclipse.jdt.core.JavaModelException;
import org.eclipse.jdt.core.search.IJavaSearchScope;
import org.eclipse.jdt.core.search.SearchEngine;
import org.eclipse.jdt.internal.core... |
3,963 | Bug 3963 Clean up the [Issues] in javadoc (1GF9P7T) | Search for Issues in our plug-ins and clean up. This was found for JDT: org.eclipse.jdt.ui.wizards.NewJavaProjectWizardPage * [Issue: It is slightly unfortunate to make appeal to a preference in an API * method but not expose that preference as API. * ] public void setDefaultClassPath(IClasspathEntry[] entries, boolean... | resolved fixed | c5b5154 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-16T16:42:37Z | 2001-10-11T03:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/JavaUI.java | private static ISharedImages fgSharedImages= null;
private JavaUI() {
}
/**
* The id of the Java plugin (value <code>"org.eclipse.jdt.ui"</code>).
*/
public static final String ID_PLUGIN= "org.eclipse.jdt.ui";
/**
* The id of the Java perspective
* (value <code>"org.eclipse.jdt.ui.JavaPerspectiv... |
3,963 | Bug 3963 Clean up the [Issues] in javadoc (1GF9P7T) | Search for Issues in our plug-ins and clean up. This was found for JDT: org.eclipse.jdt.ui.wizards.NewJavaProjectWizardPage * [Issue: It is slightly unfortunate to make appeal to a preference in an API * method but not expose that preference as API. * ] public void setDefaultClassPath(IClasspathEntry[] entries, boolean... | resolved fixed | c5b5154 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-16T16:42:37Z | 2001-10-11T03:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/JavaUI.java | * The id of the Java Element Creation action set.
*/
public static final String ID_ELEMENT_CREATION_ACTION_SET= "org.eclipse.jdt.ui.JavaElementCreationActionSet";
/**
* The editor part id of the editor that presents Java compilation units
* (value <code>"org.eclipse.jdt.ui.CompilationUnitEditor"</code>).
*... |
3,963 | Bug 3963 Clean up the [Issues] in javadoc (1GF9P7T) | Search for Issues in our plug-ins and clean up. This was found for JDT: org.eclipse.jdt.ui.wizards.NewJavaProjectWizardPage * [Issue: It is slightly unfortunate to make appeal to a preference in an API * method but not expose that preference as API. * ] public void setDefaultClassPath(IClasspathEntry[] entries, boolean... | resolved fixed | c5b5154 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-16T16:42:37Z | 2001-10-11T03:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/JavaUI.java | *
* @see IPackagesViewPart
* @see org.eclipse.ui.IWorkbenchPage#findView
* @see org.eclipse.ui.IWorkbenchPage#showView
*/
public static final String ID_PACKAGES= "org.eclipse.jdt.ui.PackageExplorer";
/**
* The view part id of the type hierarchy part.
* (value <code>"org.eclipse.jdt.ui.TypeHierarch... |
3,963 | Bug 3963 Clean up the [Issues] in javadoc (1GF9P7T) | Search for Issues in our plug-ins and clean up. This was found for JDT: org.eclipse.jdt.ui.wizards.NewJavaProjectWizardPage * [Issue: It is slightly unfortunate to make appeal to a preference in an API * method but not expose that preference as API. * ] public void setDefaultClassPath(IClasspathEntry[] entries, boolean... | resolved fixed | c5b5154 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-16T16:42:37Z | 2001-10-11T03:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/JavaUI.java | * @deprecated
*/
public final static String ATTR_CMDLINE= JavaPlugin.getPluginId()+".launcher.cmdLine";
/**
* Returns the shared images for the Java UI.
*
* @return the shared images manager
*/
public static ISharedImages getSharedImages() {
if (fgSharedImages == null)
fgSharedImages= new SharedImage... |
3,963 | Bug 3963 Clean up the [Issues] in javadoc (1GF9P7T) | Search for Issues in our plug-ins and clean up. This was found for JDT: org.eclipse.jdt.ui.wizards.NewJavaProjectWizardPage * [Issue: It is slightly unfortunate to make appeal to a preference in an API * method but not expose that preference as API. * ] public void setDefaultClassPath(IClasspathEntry[] entries, boolean... | resolved fixed | c5b5154 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-16T16:42:37Z | 2001-10-11T03:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/JavaUI.java | * @return a new selection dialog
* @exception JavaModelException if the selection dialog could not be opened
*/
public static SelectionDialog createPackageDialog(Shell parent, IJavaProject project, int style, String filter) throws JavaModelException {
Assert.isTrue((style | IJavaElementSearchConstants.CONSIDER_B... |
3,963 | Bug 3963 Clean up the [Issues] in javadoc (1GF9P7T) | Search for Issues in our plug-ins and clean up. This was found for JDT: org.eclipse.jdt.ui.wizards.NewJavaProjectWizardPage * [Issue: It is slightly unfortunate to make appeal to a preference in an API * method but not expose that preference as API. * ] public void setDefaultClassPath(IClasspathEntry[] entries, boolean... | resolved fixed | c5b5154 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-16T16:42:37Z | 2001-10-11T03:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/JavaUI.java | Iterator iter= consideredRoots.iterator();
while(iter.hasNext()) {
IPackageFragmentRoot root= (IPackageFragmentRoot)iter.next();
packages.addAll(Arrays.asList(root.getChildren()));
}
ElementListSelectionDialog dialog= new ElementListSelectionDialog(parent, new JavaElementLabelProvider(flags));
dialog.s... |
3,963 | Bug 3963 Clean up the [Issues] in javadoc (1GF9P7T) | Search for Issues in our plug-ins and clean up. This was found for JDT: org.eclipse.jdt.ui.wizards.NewJavaProjectWizardPage * [Issue: It is slightly unfortunate to make appeal to a preference in an API * method but not expose that preference as API. * ] public void setDefaultClassPath(IClasspathEntry[] entries, boolean... | resolved fixed | c5b5154 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-16T16:42:37Z | 2001-10-11T03:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/JavaUI.java | */
public static SelectionDialog createPackageDialog(Shell parent, IPackageFragmentRoot root, String filter) throws JavaModelException {
ElementListSelectionDialog dialog= new ElementListSelectionDialog(parent, new JavaElementLabelProvider(JavaElementLabelProvider.SHOW_DEFAULT));
dialog.setIgnoreCase(false);
dia... |
3,963 | Bug 3963 Clean up the [Issues] in javadoc (1GF9P7T) | Search for Issues in our plug-ins and clean up. This was found for JDT: org.eclipse.jdt.ui.wizards.NewJavaProjectWizardPage * [Issue: It is slightly unfortunate to make appeal to a preference in an API * method but not expose that preference as API. * ] public void setDefaultClassPath(IClasspathEntry[] entries, boolean... | resolved fixed | c5b5154 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-16T16:42:37Z | 2001-10-11T03:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/JavaUI.java | * @return a new selection dialog
* @exception JavaModelException if the selection dialog could not be opened
*/
public static SelectionDialog createTypeDialog(Shell parent, IRunnableContext context, IJavaSearchScope scope, int style, boolean multipleSelection, String filter) throws JavaModelException {
Assert.is... |
3,963 | Bug 3963 Clean up the [Issues] in javadoc (1GF9P7T) | Search for Issues in our plug-ins and clean up. This was found for JDT: org.eclipse.jdt.ui.wizards.NewJavaProjectWizardPage * [Issue: It is slightly unfortunate to make appeal to a preference in an API * method but not expose that preference as API. * ] public void setDefaultClassPath(IClasspathEntry[] entries, boolean... | resolved fixed | c5b5154 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-16T16:42:37Z | 2001-10-11T03:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/JavaUI.java | * </p>
* <p>
* [Issue: SelectionDialogs must be parented. shell must not be null.]
* </p>
*
* @param parent the parent shell of the dialog to be created
* @param context the runnable context used to show progress when the dialog
* is being populated
* @param scope the scope that limits which types ar... |
3,963 | Bug 3963 Clean up the [Issues] in javadoc (1GF9P7T) | Search for Issues in our plug-ins and clean up. This was found for JDT: org.eclipse.jdt.ui.wizards.NewJavaProjectWizardPage * [Issue: It is slightly unfortunate to make appeal to a preference in an API * method but not expose that preference as API. * ] public void setDefaultClassPath(IClasspathEntry[] entries, boolean... | resolved fixed | c5b5154 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-16T16:42:37Z | 2001-10-11T03:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/JavaUI.java | return createMainTypeDialog(parent, context, scope, style, multipleSelection, "A");
}
/**
* Creates a selection dialog that lists all types in the given project.
* The caller is responsible for opening the dialog with <code>Window.open</code>,
* and subsequently extracting the selected packages (of type
* <... |
3,963 | Bug 3963 Clean up the [Issues] in javadoc (1GF9P7T) | Search for Issues in our plug-ins and clean up. This was found for JDT: org.eclipse.jdt.ui.wizards.NewJavaProjectWizardPage * [Issue: It is slightly unfortunate to make appeal to a preference in an API * method but not expose that preference as API. * ] public void setDefaultClassPath(IClasspathEntry[] entries, boolean... | resolved fixed | c5b5154 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-16T16:42:37Z | 2001-10-11T03:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/JavaUI.java | * [Issue: Explain semantics of opening an editor on a class file.]
* </p>
* <p>
* [Issue: Explain under which conditions it returns null, throws JavaModelException,
* or throws JavaModelException.
* ]
* </p>
*
* @param element the input element; either a compilation unit
* (<code>ICompilationUnit<... |
3,963 | Bug 3963 Clean up the [Issues] in javadoc (1GF9P7T) | Search for Issues in our plug-ins and clean up. This was found for JDT: org.eclipse.jdt.ui.wizards.NewJavaProjectWizardPage * [Issue: It is slightly unfortunate to make appeal to a preference in an API * method but not expose that preference as API. * ] public void setDefaultClassPath(IClasspathEntry[] entries, boolean... | resolved fixed | c5b5154 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-16T16:42:37Z | 2001-10-11T03:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/JavaUI.java | * @param part the editor displaying the compilation unit or class file
* @param element the source reference element defining the source range to be revealed
*
* @deprecated use <code>revealInEditor(IEditorPart, IJavaElement)</code> instead
*/
public static void revealInEditor(IEditorPart part, ISourceRefere... |
7,469 | Bug 7469 Preferences -> Java -> Templates | The template body editor window at the bottom part of a Templates preferences page should contain both vertical and horizontal scroll bars. | resolved fixed | b728519 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-16T17:13:56Z | 2002-01-11T09:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/TemplatePreferencePage.java | package org.eclipse.jdt.internal.ui.preferences;
import java.io.File;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import org.eclipse.swt.SWT;
import org.eclipse.swt.graphics.Font;
import org.eclipse.swt.layout.GridData;
import org.eclipse.swt.layout.GridLayout;
import org.eclipse.swt.w... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.