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,412 | Bug 18412 Type hierarchy should support JavaModel as input | To support opening a Java perspective from the Welcome page it should handle the case when it is opened with a JavaModel. This is the call to open the perspective in OpenJavaPerspectiveAction window.openPage(JavaUI.ID_PERSPECTIVE, JavaCore.create (ResourcesPlugin.getWorkspace().getRoot())); This is the NPE java.lang.Nu... | verified fixed | 732ebb3 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-31T08:53:41Z | 2002-05-31T07:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java | public static final int VIEW_ID_TYPE= 2;
public static final int VIEW_ID_SUPER= 0;
public static final int VIEW_ID_SUB= 1;
public static final int VIEW_ORIENTATION_VERTICAL= 0;
public static final int VIEW_ORIENTATION_HORIZONTAL= 1;
public static final int VIEW_ORIENTATION_SINGLE= 2;
private static final Stri... |
18,412 | Bug 18412 Type hierarchy should support JavaModel as input | To support opening a Java perspective from the Welcome page it should handle the case when it is opened with a JavaModel. This is the call to open the perspective in OpenJavaPerspectiveAction window.openPage(JavaUI.ID_PERSPECTIVE, JavaCore.create (ResourcesPlugin.getWorkspace().getRoot())); This is the NPE java.lang.Nu... | verified fixed | 732ebb3 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-31T08:53:41Z | 2002-05-31T07:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java | private ArrayList fInputHistory;
private IMemento fMemento;
private TypeHierarchyLifeCycle fHierarchyLifeCycle;
private ITypeHierarchyLifeCycleListener fTypeHierarchyLifeCycleListener;
private MethodsViewer fMethodsViewer;
private int fCurrentViewerIndex;
private TypeHierarchyViewer[] fAllViewers;
p... |
18,412 | Bug 18412 Type hierarchy should support JavaModel as input | To support opening a Java perspective from the Welcome page it should handle the case when it is opened with a JavaModel. This is the call to open the perspective in OpenJavaPerspectiveAction window.openPage(JavaUI.ID_PERSPECTIVE, JavaCore.create (ResourcesPlugin.getWorkspace().getRoot())); This is the NPE java.lang.Nu... | verified fixed | 732ebb3 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-31T08:53:41Z | 2002-05-31T07:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java | private JavaUILabelProvider fPaneLabelProvider;
private IDialogSettings fDialogSettings;
private ToggleViewAction[] fViewActions;
private HistoryDropDownAction fHistoryDropDownAction;
private ToggleOrientationAction[] fToggleOrientationActions;
private int fCurrentOrientation;
private EnableMemberFilter... |
18,412 | Bug 18412 Type hierarchy should support JavaModel as input | To support opening a Java perspective from the Welcome page it should handle the case when it is opened with a JavaModel. This is the call to open the perspective in OpenJavaPerspectiveAction window.openPage(JavaUI.ID_PERSPECTIVE, JavaCore.create (ResourcesPlugin.getWorkspace().getRoot())); This is the NPE java.lang.Nu... | verified fixed | 732ebb3 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-31T08:53:41Z | 2002-05-31T07:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java | }
};
fHierarchyLifeCycle.addChangedListener(fTypeHierarchyLifeCycleListener);
fIsEnableMemberFilter= false;
fInputHistory= new ArrayList();
fAllViewers= null;
fViewActions= new ToggleViewAction[] {
new ToggleViewAction(this, VIEW_ID_TYPE),
new ToggleViewAction(this, VIEW_ID_SUPER),
new T... |
18,412 | Bug 18412 Type hierarchy should support JavaModel as input | To support opening a Java perspective from the Welcome page it should handle the case when it is opened with a JavaModel. This is the call to open the perspective in OpenJavaPerspectiveAction window.openPage(JavaUI.ID_PERSPECTIVE, JavaCore.create (ResourcesPlugin.getWorkspace().getRoot())); This is the NPE java.lang.Nu... | verified fixed | 732ebb3 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-31T08:53:41Z | 2002-05-31T07:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java | fPaneLabelProvider= new JavaUILabelProvider();
fAddStubAction= new AddMethodStubAction();
fFocusOnSelectionAction= new FocusOnSelectionAction(this);
fPartListener= new IPartListener() {
public void partActivated(IWorkbenchPart part) {
if (part instanceof IEditorPart)
editorActivated((IEditorPart... |
18,412 | Bug 18412 Type hierarchy should support JavaModel as input | To support opening a Java perspective from the Welcome page it should handle the case when it is opened with a JavaModel. This is the call to open the perspective in OpenJavaPerspectiveAction window.openPage(JavaUI.ID_PERSPECTIVE, JavaCore.create (ResourcesPlugin.getWorkspace().getRoot())); This is the NPE java.lang.Nu... | verified fixed | 732ebb3 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-31T08:53:41Z | 2002-05-31T07:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java | }
fInputHistory.add(0, entry);
fHistoryDropDownAction.setEnabled(true);
}
private void updateHistoryEntries() {
for (int i= fInputHistory.size() - 1; i >= 0; i--) {
IJavaElement type= (IJavaElement) fInputHistory.get(i);
if (!type.exists()) {
fInputHistory.remove(i);
}
}
fHistoryDropDownActio... |
18,412 | Bug 18412 Type hierarchy should support JavaModel as input | To support opening a Java perspective from the Welcome page it should handle the case when it is opened with a JavaModel. This is the call to open the perspective in OpenJavaPerspectiveAction window.openPage(JavaUI.ID_PERSPECTIVE, JavaCore.create (ResourcesPlugin.getWorkspace().getRoot())); This is the NPE java.lang.Nu... | verified fixed | 732ebb3 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-31T08:53:41Z | 2002-05-31T07:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java | }
return (IJavaElement[]) fInputHistory.toArray(new IJavaElement[fInputHistory.size()]);
}
/**
* Sets the history entries
*/
public void setHistoryEntries(IJavaElement[] elems) {
fInputHistory.clear();
for (int i= 0; i < elems.length; i++) {
fInputHistory.add(elems[i]);
}
updateHistoryEntries();
... |
18,412 | Bug 18412 Type hierarchy should support JavaModel as input | To support opening a Java perspective from the Welcome page it should handle the case when it is opened with a JavaModel. This is the call to open the perspective in OpenJavaPerspectiveAction window.openPage(JavaUI.ID_PERSPECTIVE, JavaCore.create (ResourcesPlugin.getWorkspace().getRoot())); This is the NPE java.lang.Nu... | verified fixed | 732ebb3 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-31T08:53:41Z | 2002-05-31T07:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java | if (member == null) {
return;
}
} catch (JavaModelException e) {
JavaPlugin.log(e);
return;
}
}
Control methodControl= fMethodsViewer.getControl();
if (methodControl != null && !methodControl.isDisposed()) {
methodControl.setFocus();
}
fMethodsViewer.setSelection(new Stru... |
18,412 | Bug 18412 Type hierarchy should support JavaModel as input | To support opening a Java perspective from the Welcome page it should handle the case when it is opened with a JavaModel. This is the call to open the perspective in OpenJavaPerspectiveAction window.openPage(JavaUI.ID_PERSPECTIVE, JavaCore.create (ResourcesPlugin.getWorkspace().getRoot())); This is the NPE java.lang.Nu... | verified fixed | 732ebb3 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-31T08:53:41Z | 2002-05-31T07:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java | /**
* Sets the input to a new type
* @deprecated
*/
public void setInput(IType type) {
setInputElement(type);
}
/**
* Returns the input element of the type hierarchy.
* Can be of type <code>IType</code> or <code>IPackageFragment</code>
*/
public IJavaElement getInputElement() {
return fInputEle... |
18,412 | Bug 18412 Type hierarchy should support JavaModel as input | To support opening a Java perspective from the Welcome page it should handle the case when it is opened with a JavaModel. This is the call to open the perspective in OpenJavaPerspectiveAction window.openPage(JavaUI.ID_PERSPECTIVE, JavaCore.create (ResourcesPlugin.getWorkspace().getRoot())); This is the NPE java.lang.Nu... | verified fixed | 732ebb3 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-31T08:53:41Z | 2002-05-31T07:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java | MessageDialog.openError(getSite().getShell(), TypeHierarchyMessages.getString("TypeHierarchyViewPart.error.title"), TypeHierarchyMessages.getString("TypeHierarchyViewPart.error.message"));
return;
}
}
}
}
if (element != null && !element.equals(fInputElement)) {
addHistoryEntry(element);
}
... |
18,412 | Bug 18412 Type hierarchy should support JavaModel as input | To support opening a Java perspective from the Welcome page it should handle the case when it is opened with a JavaModel. This is the call to open the perspective in OpenJavaPerspectiveAction window.openPage(JavaUI.ID_PERSPECTIVE, JavaCore.create (ResourcesPlugin.getWorkspace().getRoot())); This is the NPE java.lang.Nu... | verified fixed | 732ebb3 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-31T08:53:41Z | 2002-05-31T07:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java | fPagebook.showPage(fTypeMethodsSplitter);
if (inputElement.getElementType() != IJavaElement.TYPE) {
setView(VIEW_ID_TYPE);
}
setMemberFilter(null);
fIsEnableMemberFilter= false;
if (!fInputElement.equals(prevInput)) {
updateHierarchyViewer();
}
IType root= getSelectableType(fInputElemen... |
18,412 | Bug 18412 Type hierarchy should support JavaModel as input | To support opening a Java perspective from the Welcome page it should handle the case when it is opened with a JavaModel. This is the call to open the perspective in OpenJavaPerspectiveAction window.openPage(JavaUI.ID_PERSPECTIVE, JavaCore.create (ResourcesPlugin.getWorkspace().getRoot())); This is the NPE java.lang.Nu... | verified fixed | 732ebb3 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-31T08:53:41Z | 2002-05-31T07:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java | public void setFocus() {
fPagebook.setFocus();
}
/*
* @see IWorkbenchPart#dispose
*/
public void dispose() {
fHierarchyLifeCycle.freeHierarchy();
fHierarchyLifeCycle.removeChangedListener(fTypeHierarchyLifeCycleListener);
fPaneLabelProvider.dispose();
getSite().getPage().removePartListener(fPartListen... |
18,412 | Bug 18412 Type hierarchy should support JavaModel as input | To support opening a Java perspective from the Welcome page it should handle the case when it is opened with a JavaModel. This is the call to open the perspective in OpenJavaPerspectiveAction window.openPage(JavaUI.ID_PERSPECTIVE, JavaCore.create (ResourcesPlugin.getWorkspace().getRoot())); This is the NPE java.lang.Nu... | verified fixed | 732ebb3 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-31T08:53:41Z | 2002-05-31T07:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java | fAllViewers= new TypeHierarchyViewer[3];
fAllViewers[VIEW_ID_SUPER]= superTypesViewer;
fAllViewers[VIEW_ID_SUB]= subTypesViewer;
fAllViewers[VIEW_ID_TYPE]= vajViewer;
int currViewerIndex;
try {
currViewerIndex= fDialogSettings.getInt(DIALOGSTORE_HIERARCHYVIEW);
if (currViewerIndex < 0 || currViewerIn... |
18,412 | Bug 18412 Type hierarchy should support JavaModel as input | To support opening a Java perspective from the Welcome page it should handle the case when it is opened with a JavaModel. This is the call to open the perspective in OpenJavaPerspectiveAction window.openPage(JavaUI.ID_PERSPECTIVE, JavaCore.create (ResourcesPlugin.getWorkspace().getRoot())); This is the NPE java.lang.Nu... | verified fixed | 732ebb3 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-31T08:53:41Z | 2002-05-31T07:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java | public void keyReleased(KeyEvent event) {
if (event.stateMask == 0) {
if (event.keyCode == SWT.F5) {
updateHierarchyViewer();
return;
} else if (event.character == SWT.DEL){
if (fCCPActionGroup.getDeleteAction().isEnabled())
fCCPActionGroup.getDeleteAction().run();
return;
... |
18,412 | Bug 18412 Type hierarchy should support JavaModel as input | To support opening a Java perspective from the Welcome page it should handle the case when it is opened with a JavaModel. This is the call to open the perspective in OpenJavaPerspectiveAction window.openPage(JavaUI.ID_PERSPECTIVE, JavaCore.create (ResourcesPlugin.getWorkspace().getRoot())); This is the NPE java.lang.Nu... | verified fixed | 732ebb3 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-31T08:53:41Z | 2002-05-31T07:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java | public void menuAboutToShow(IMenuManager menu) {
fillMethodsViewerContextMenu(menu);
}
}, IContextMenuConstants.TARGET_ID_MEMBERS_VIEW, getSite());
fMethodsViewer.addSelectionChangedListener(fSelectionChangedListener);
Control control= fMethodsViewer.getTable();
control.addKeyListener(createKeyListene... |
18,412 | Bug 18412 Type hierarchy should support JavaModel as input | To support opening a Java perspective from the Welcome page it should handle the case when it is opened with a JavaModel. This is the call to open the perspective in OpenJavaPerspectiveAction window.openPage(JavaUI.ID_PERSPECTIVE, JavaCore.create (ResourcesPlugin.getWorkspace().getRoot())); This is the NPE java.lang.Nu... | verified fixed | 732ebb3 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-31T08:53:41Z | 2002-05-31T07:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java | viewer.addDropSupport(ops, transfers, new DelegatingDropAdapter(dropListeners));
}
private void addDragAdapters(StructuredViewer viewer, int ops, Transfer[] transfers){
Control control= viewer.getControl();
TransferDragSourceListener[] dragListeners= new TransferDragSourceListener[] {
new SelectionTransferDrag... |
18,412 | Bug 18412 Type hierarchy should support JavaModel as input | To support opening a Java perspective from the Welcome page it should handle the case when it is opened with a JavaModel. This is the call to open the perspective in OpenJavaPerspectiveAction window.openPage(JavaUI.ID_PERSPECTIVE, JavaCore.create (ResourcesPlugin.getWorkspace().getRoot())); This is the NPE java.lang.Nu... | verified fixed | 732ebb3 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-31T08:53:41Z | 2002-05-31T07:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java | fPagebook= new PageBook(container, SWT.NONE);
fTypeMethodsSplitter= new SashForm(fPagebook, SWT.VERTICAL);
fTypeMethodsSplitter.setVisible(false);
fTypeViewerViewForm= new ViewForm(fTypeMethodsSplitter, SWT.NONE);
Control typeViewerControl= createTypeViewerControl(fTypeViewerViewForm);
fTypeVie... |
18,412 | Bug 18412 Type hierarchy should support JavaModel as input | To support opening a Java perspective from the Welcome page it should handle the case when it is opened with a JavaModel. This is the call to open the perspective in OpenJavaPerspectiveAction window.openPage(JavaUI.ID_PERSPECTIVE, JavaCore.create (ResourcesPlugin.getWorkspace().getRoot())); This is the NPE java.lang.Nu... | verified fixed | 732ebb3 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-31T08:53:41Z | 2002-05-31T07:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java | fPagebook.showPage(fNoHierarchyShownLabel);
int orientation;
try {
orientation= fDialogSettings.getInt(DIALOGSTORE_VIEWORIENTATION);
if (orientation < 0 || orientation > 2) {
orientation= VIEW_ORIENTATION_VERTICAL;
}
} catch (NumberFormatException e) {
orientation= VIEW_ORIENTATION_VERTICAL;
}
... |
18,412 | Bug 18412 Type hierarchy should support JavaModel as input | To support opening a Java perspective from the Welcome page it should handle the case when it is opened with a JavaModel. This is the call to open the perspective in OpenJavaPerspectiveAction window.openPage(JavaUI.ID_PERSPECTIVE, JavaCore.create (ResourcesPlugin.getWorkspace().getRoot())); This is the NPE java.lang.Nu... | verified fixed | 732ebb3 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-31T08:53:41Z | 2002-05-31T07:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java | lowertbmanager.update(true);
int nHierarchyViewers= fAllViewers.length;
Viewer[] trackedViewers= new Viewer[nHierarchyViewers + 1];
for (int i= 0; i < nHierarchyViewers; i++) {
trackedViewers[i]= fAllViewers[i];
}
trackedViewers[nHierarchyViewers]= fMethodsViewer;
fSelectionProviderMediator= ... |
18,412 | Bug 18412 Type hierarchy should support JavaModel as input | To support opening a Java perspective from the Welcome page it should handle the case when it is opened with a JavaModel. This is the call to open the perspective in OpenJavaPerspectiveAction window.openPage(JavaUI.ID_PERSPECTIVE, JavaCore.create (ResourcesPlugin.getWorkspace().getRoot())); This is the NPE java.lang.Nu... | verified fixed | 732ebb3 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-31T08:53:41Z | 2002-05-31T07:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java | fCCPActionGroup= new CCPActionGroup(this),
new RefactorActionGroup(this),
new GenerateActionGroup(this),
new JavaSearchActionGroup(this)});
fActionGroups.fillActionBars(getViewSite().getActionBars());
initDragAndDrop();
}
/**
* called from ToggleOrientationAction.
* @param orientation VIE... |
18,412 | Bug 18412 Type hierarchy should support JavaModel as input | To support opening a Java perspective from the Welcome page it should handle the case when it is opened with a JavaModel. This is the call to open the perspective in OpenJavaPerspectiveAction window.openPage(JavaUI.ID_PERSPECTIVE, JavaCore.create (ResourcesPlugin.getWorkspace().getRoot())); This is the NPE java.lang.Nu... | verified fixed | 732ebb3 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-31T08:53:41Z | 2002-05-31T07:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java | }
updateMainToolbar(orientation);
fTypeMethodsSplitter.layout();
}
for (int i= 0; i < fToggleOrientationActions.length; i++) {
fToggleOrientationActions[i].setChecked(orientation == fToggleOrientationActions[i].getOrientation());
}
fCurrentOrientation= orientation;
if (methodViewerNeedsUpdate... |
18,412 | Bug 18412 Type hierarchy should support JavaModel as input | To support opening a Java perspective from the Welcome page it should handle the case when it is opened with a JavaModel. This is the call to open the perspective in OpenJavaPerspectiveAction window.openPage(JavaUI.ID_PERSPECTIVE, JavaCore.create (ResourcesPlugin.getWorkspace().getRoot())); This is the NPE java.lang.Nu... | verified fixed | 732ebb3 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-31T08:53:41Z | 2002-05-31T07:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java | private void fillMainToolBar(IToolBarManager tbmanager) {
tbmanager.removeAll();
tbmanager.add(fHistoryDropDownAction);
for (int i= 0; i < fViewActions.length; i++) {
tbmanager.add(fViewActions[i]);
}
tbmanager.update(false);
}
private void clearMainToolBar(IToolBarManager tbmanager) {
tbmanager.remov... |
18,412 | Bug 18412 Type hierarchy should support JavaModel as input | To support opening a Java perspective from the Welcome page it should handle the case when it is opened with a JavaModel. This is the call to open the perspective in OpenJavaPerspectiveAction window.openPage(JavaUI.ID_PERSPECTIVE, JavaCore.create (ResourcesPlugin.getWorkspace().getRoot())); This is the NPE java.lang.Nu... | verified fixed | 732ebb3 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-31T08:53:41Z | 2002-05-31T07:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java | fActionGroups.setContext(null);
}
/**
* Creates the context menu for the method viewer
*/
private void fillMethodsViewerContextMenu(IMenuManager menu) {
JavaPlugin.createStandardGroups(menu);
fMethodsViewer.contributeToContextMenu(menu);
if (fSelectedType != null && fAddStubAction.init(... |
18,412 | Bug 18412 Type hierarchy should support JavaModel as input | To support opening a Java perspective from the Welcome page it should handle the case when it is opened with a JavaModel. This is the call to open the perspective in OpenJavaPerspectiveAction window.openPage(JavaUI.ID_PERSPECTIVE, JavaCore.create (ResourcesPlugin.getWorkspace().getRoot())); This is the NPE java.lang.Nu... | verified fixed | 732ebb3 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-31T08:53:41Z | 2002-05-31T07:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java | if (selection.size() != 1)
return;
Object element= selection.getFirstElement();
if (!(element instanceof IJavaElement))
return;
IResource resource= null;
try {
resource= ((IJavaElement)element).getUnderlyingResource();
} catch(JavaModelException e) {
}
if (!(resource instanceof IFile))
re... |
18,412 | Bug 18412 Type hierarchy should support JavaModel as input | To support opening a Java perspective from the Welcome page it should handle the case when it is opened with a JavaModel. This is the call to open the perspective in OpenJavaPerspectiveAction window.openPage(JavaUI.ID_PERSPECTIVE, JavaCore.create (ResourcesPlugin.getWorkspace().getRoot())); This is the NPE java.lang.Nu... | verified fixed | 732ebb3 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-31T08:53:41Z | 2002-05-31T07:26:40Z | 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);
}
}
private IType getSelectableType(IJavaEle... |
18,412 | Bug 18412 Type hierarchy should support JavaModel as input | To support opening a Java perspective from the Welcome page it should handle the case when it is opened with a JavaModel. This is the call to open the perspective in OpenJavaPerspectiveAction window.openPage(JavaUI.ID_PERSPECTIVE, JavaCore.create (ResourcesPlugin.getWorkspace().getRoot())); This is the NPE java.lang.Nu... | verified fixed | 732ebb3 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-31T08:53:41Z | 2002-05-31T07:26:40Z | 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... |
18,412 | Bug 18412 Type hierarchy should support JavaModel as input | To support opening a Java perspective from the Welcome page it should handle the case when it is opened with a JavaModel. This is the call to open the perspective in OpenJavaPerspectiveAction window.openPage(JavaUI.ID_PERSPECTIVE, JavaCore.create (ResourcesPlugin.getWorkspace().getRoot())); This is the NPE java.lang.Nu... | verified fixed | 732ebb3 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-31T08:53:41Z | 2002-05-31T07:26:40Z | 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... |
18,412 | Bug 18412 Type hierarchy should support JavaModel as input | To support opening a Java perspective from the Welcome page it should handle the case when it is opened with a JavaModel. This is the call to open the perspective in OpenJavaPerspectiveAction window.openPage(JavaUI.ID_PERSPECTIVE, JavaCore.create (ResourcesPlugin.getWorkspace().getRoot())); This is the NPE java.lang.Nu... | verified fixed | 732ebb3 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-31T08:53:41Z | 2002-05-31T07:26:40Z | 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... |
18,412 | Bug 18412 Type hierarchy should support JavaModel as input | To support opening a Java perspective from the Welcome page it should handle the case when it is opened with a JavaModel. This is the call to open the perspective in OpenJavaPerspectiveAction window.openPage(JavaUI.ID_PERSPECTIVE, JavaCore.create (ResourcesPlugin.getWorkspace().getRoot())); This is the NPE java.lang.Nu... | verified fixed | 732ebb3 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-31T08:53:41Z | 2002-05-31T07:26:40Z | 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... |
18,412 | Bug 18412 Type hierarchy should support JavaModel as input | To support opening a Java perspective from the Welcome page it should handle the case when it is opened with a JavaModel. This is the call to open the perspective in OpenJavaPerspectiveAction window.openPage(JavaUI.ID_PERSPECTIVE, JavaCore.create (ResourcesPlugin.getWorkspace().getRoot())); This is the NPE java.lang.Nu... | verified fixed | 732ebb3 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-31T08:53:41Z | 2002-05-31T07:26:40Z | 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; ... |
18,412 | Bug 18412 Type hierarchy should support JavaModel as input | To support opening a Java perspective from the Welcome page it should handle the case when it is opened with a JavaModel. This is the call to open the perspective in OpenJavaPerspectiveAction window.openPage(JavaUI.ID_PERSPECTIVE, JavaCore.create (ResourcesPlugin.getWorkspace().getRoot())); This is the NPE java.lang.Nu... | verified fixed | 732ebb3 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-31T08:53:41Z | 2002-05-31T07:26:40Z | 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... |
18,412 | Bug 18412 Type hierarchy should support JavaModel as input | To support opening a Java perspective from the Welcome page it should handle the case when it is opened with a JavaModel. This is the call to open the perspective in OpenJavaPerspectiveAction window.openPage(JavaUI.ID_PERSPECTIVE, JavaCore.create (ResourcesPlugin.getWorkspace().getRoot())); This is the NPE java.lang.Nu... | verified fixed | 732ebb3 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-31T08:53:41Z | 2002-05-31T07:26:40Z | 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);
currSelection= getCurrentViewer().getSelection();
}
if (!fIsEnableMemberFilter) {
... |
18,412 | Bug 18412 Type hierarchy should support JavaModel as input | To support opening a Java perspective from the Welcome page it should handle the case when it is opened with a JavaModel. This is the call to open the perspective in OpenJavaPerspectiveAction window.openPage(JavaUI.ID_PERSPECTIVE, JavaCore.create (ResourcesPlugin.getWorkspace().getRoot())); This is the NPE java.lang.Nu... | verified fixed | 732ebb3 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-31T08:53:41Z | 2002-05-31T07:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java | /**
* called from EnableMemberFilterAction.
* Must be called after creation of the viewpart.
*/
public void enableMemberFilter(boolean on) {
if (on != fIsEnableMemberFilter) {
fIsEnableMemberFilter= on;
if (!on) {
IType methodViewerInput= (IType) fMethodsViewer.getInput();
setMemberFilter(null);... |
18,412 | Bug 18412 Type hierarchy should support JavaModel as input | To support opening a Java perspective from the Welcome page it should handle the case when it is opened with a JavaModel. This is the call to open the perspective in OpenJavaPerspectiveAction window.openPage(JavaUI.ID_PERSPECTIVE, JavaCore.create (ResourcesPlugin.getWorkspace().getRoot())); This is the NPE java.lang.Nu... | verified fixed | 732ebb3 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-31T08:53:41Z | 2002-05-31T07:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java | * Can be called from any thread
*/
private void doTypeHierarchyChanged(final TypeHierarchyLifeCycle typeHierarchy, final IType[] changedTypes) {
Display display= getDisplay();
if (display != null) {
display.asyncExec(new Runnable() {
public void run() {
if (fPagebook != null && !fPagebook.isDisposed(... |
18,412 | Bug 18412 Type hierarchy should support JavaModel as input | To support opening a Java perspective from the Welcome page it should handle the case when it is opened with a JavaModel. This is the call to open the perspective in OpenJavaPerspectiveAction window.openPage(JavaUI.ID_PERSPECTIVE, JavaCore.create (ResourcesPlugin.getWorkspace().getRoot())); This is the NPE java.lang.Nu... | verified fixed | 732ebb3 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-31T08:53:41Z | 2002-05-31T07:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java | if (getCurrentViewer().isMethodFiltering()) {
if (changedTypes.length == 1) {
getCurrentViewer().refresh(changedTypes[0]);
} else {
updateHierarchyViewer();
}
} else {
getCurrentViewer().update(changedTypes, new String[] { IBasicPropertyConstants.P_TEXT, IBasicPropertyConstants.P_IMA... |
18,412 | Bug 18412 Type hierarchy should support JavaModel as input | To support opening a Java perspective from the Welcome page it should handle the case when it is opened with a JavaModel. This is the call to open the perspective in OpenJavaPerspectiveAction window.openPage(JavaUI.ID_PERSPECTIVE, JavaCore.create (ResourcesPlugin.getWorkspace().getRoot())); This is the NPE java.lang.Nu... | verified fixed | 732ebb3 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-31T08:53:41Z | 2002-05-31T07:26: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);
... |
18,412 | Bug 18412 Type hierarchy should support JavaModel as input | To support opening a Java perspective from the Welcome page it should handle the case when it is opened with a JavaModel. This is the call to open the perspective in OpenJavaPerspectiveAction window.openPage(JavaUI.ID_PERSPECTIVE, JavaCore.create (ResourcesPlugin.getWorkspace().getRoot())); This is the NPE java.lang.Nu... | verified fixed | 732ebb3 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-31T08:53:41Z | 2002-05-31T07:26: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... |
18,412 | Bug 18412 Type hierarchy should support JavaModel as input | To support opening a Java perspective from the Welcome page it should handle the case when it is opened with a JavaModel. This is the call to open the perspective in OpenJavaPerspectiveAction window.openPage(JavaUI.ID_PERSPECTIVE, JavaCore.create (ResourcesPlugin.getWorkspace().getRoot())); This is the NPE java.lang.Nu... | verified fixed | 732ebb3 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-31T08:53:41Z | 2002-05-31T07:26: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... |
18,412 | Bug 18412 Type hierarchy should support JavaModel as input | To support opening a Java perspective from the Welcome page it should handle the case when it is opened with a JavaModel. This is the call to open the perspective in OpenJavaPerspectiveAction window.openPage(JavaUI.ID_PERSPECTIVE, JavaCore.create (ResourcesPlugin.getWorkspace().getRoot())); This is the NPE java.lang.Nu... | verified fixed | 732ebb3 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-31T08:53:41Z | 2002-05-31T07:26: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... |
17,176 | Bug 17176 java outliner - decorator clash for synchronized and override/implement | F1 linux-gtk, but assume that this happens on all platforms. Either the decorators are on top of each other or it's a single decorator which is not very recognizable. Also, the override/implements icon looks ugly when the item is selected. The border color should not be white. It should be more like the public icon, wh... | resolved fixed | f973f94 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-31T09:36:30Z | 2002-05-23T10:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/JavaElementImageDescriptor.java | /*
* (c) Copyright IBM Corp. 2000, 2001.
* All Rights Reserved.
*/
package org.eclipse.jdt.ui;
import org.eclipse.swt.graphics.ImageData;
import org.eclipse.swt.graphics.Point;
import org.eclipse.jface.resource.CompositeImageDescriptor;
import org.eclipse.jface.resource.ImageDescriptor;
import org.eclipse.jface.util... |
17,176 | Bug 17176 java outliner - decorator clash for synchronized and override/implement | F1 linux-gtk, but assume that this happens on all platforms. Either the decorators are on top of each other or it's a single decorator which is not very recognizable. Also, the override/implements icon looks ugly when the item is selected. The border color should not be white. It should be more like the public icon, wh... | resolved fixed | f973f94 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-31T09:36:30Z | 2002-05-23T10:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/JavaElementImageDescriptor.java | public final static int ABSTRACT= 0x001;
public final static int FINAL= 0x002;
public final static int SYNCHRONIZED= 0x004;
public final static int STATIC= 0x008;
public final static int RUNNABLE= 0x010; |
17,176 | Bug 17176 java outliner - decorator clash for synchronized and override/implement | F1 linux-gtk, but assume that this happens on all platforms. Either the decorators are on top of each other or it's a single decorator which is not very recognizable. Also, the override/implements icon looks ugly when the item is selected. The border color should not be white. It should be more like the public icon, wh... | resolved fixed | f973f94 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-31T09:36:30Z | 2002-05-23T10:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/JavaElementImageDescriptor.java | public final static int WARNING= 0x020;
public final static int ERROR= 0x040;
public final static int OVERRIDES= 0x080;
public final static int IMPLEMENTS= 0x100;
public final static int CONSTRUCTOR= 0x200;
private ImageDescriptor fBaseImage;
private int fFlags;
private Point fSize;
/*... |
17,176 | Bug 17176 java outliner - decorator clash for synchronized and override/implement | F1 linux-gtk, but assume that this happens on all platforms. Either the decorators are on top of each other or it's a single decorator which is not very recognizable. Also, the override/implements icon looks ugly when the item is selected. The border color should not be white. It should be more like the public icon, wh... | resolved fixed | f973f94 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-31T09:36:30Z | 2002-05-23T10:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/JavaElementImageDescriptor.java | Assert.isTrue(fFlags >= 0);
fSize= size;
Assert.isNotNull(fSize);
}
/**
* Sets the descriptors adornments. Valid values are: <code>ABSTRACT</code>, <code>FINAL</code>,
* <code>SYNCHRONIZED</code>, </code>STATIC<code>, </code>RUNNABLE<code>, </code>WARNING<code>,
* </code>ERROR<code>, </code>OVERRIDDEN<co... |
17,176 | Bug 17176 java outliner - decorator clash for synchronized and override/implement | F1 linux-gtk, but assume that this happens on all platforms. Either the decorators are on top of each other or it's a single decorator which is not very recognizable. Also, the override/implements icon looks ugly when the item is selected. The border color should not be white. It should be more like the public icon, wh... | resolved fixed | f973f94 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-31T09:36:30Z | 2002-05-23T10:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/JavaElementImageDescriptor.java | Assert.isNotNull(size);
Assert.isTrue(size.x >= 0 && size.y >= 0);
fSize= size;
}
/**
* Returns the size of the image created by calling <code>createImage()</code>.
*
* @return the size of the image created by calling <code>createImage</code>
*/
public Point getImageSize() {
return new Point(fSize.x... |
17,176 | Bug 17176 java outliner - decorator clash for synchronized and override/implement | F1 linux-gtk, but assume that this happens on all platforms. Either the decorators are on top of each other or it's a single decorator which is not very recognizable. Also, the override/implements icon looks ugly when the item is selected. The border color should not be white. It should be more like the public icon, wh... | resolved fixed | f973f94 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-31T09:36:30Z | 2002-05-23T10:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/JavaElementImageDescriptor.java | }
/* (non-Javadoc)
* Method declared on Object.
*/
public int hashCode() {
return fBaseImage.hashCode() | fFlags | fSize.hashCode();
}
/* (non-Javadoc)
* Method declared in CompositeImageDescriptor
*/
protected void drawCompositeImage(int width, int height) {
ImageData bg;
if ((bg= fBaseImage.get... |
17,176 | Bug 17176 java outliner - decorator clash for synchronized and override/implement | F1 linux-gtk, but assume that this happens on all platforms. Either the decorators are on top of each other or it's a single decorator which is not very recognizable. Also, the override/implements icon looks ugly when the item is selected. The border color should not be white. It should be more like the public icon, wh... | resolved fixed | f973f94 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-31T09:36:30Z | 2002-05-23T10:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/JavaElementImageDescriptor.java | }
if ((fFlags & CONSTRUCTOR) != 0) {
data= JavaPluginImages.DESC_OVR_CONSTRUCTOR.getImageData();
x-= data.width;
drawImage(data, x, 0);
}
if ((fFlags & FINAL) != 0) {
data= JavaPluginImages.DESC_OVR_FINAL.getImageData();
x-= data.width;
drawImage(data, x, 0);
}
if ((fFlags & STATIC) != 0) {
... |
17,176 | Bug 17176 java outliner - decorator clash for synchronized and override/implement | F1 linux-gtk, but assume that this happens on all platforms. Either the decorators are on top of each other or it's a single decorator which is not very recognizable. Also, the override/implements icon looks ugly when the item is selected. The border color should not be white. It should be more like the public icon, wh... | resolved fixed | f973f94 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-31T09:36:30Z | 2002-05-23T10:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/JavaElementImageDescriptor.java | drawImage(data, x, size.y - data.height);
}
if ((fFlags & OVERRIDES) != 0) {
data= JavaPluginImages.DESC_OVR_OVERRIDES.getImageData();
x-= data.width;
drawImage(data, x, size.y - data.height);
}
if ((fFlags & IMPLEMENTS) != 0) {
data= JavaPluginImages.DESC_OVR_IMPLEMENTS.getImageData();
x-= data.... |
16,181 | Bug 16181 Tab key doesn't work in editor when 'Insert spaces for tabs' enabled | Using integration build 0515, pressing Tab in an editor window doesn't do anything when 'Insert spaces for tabs' is selected. The editor is marked as unsaved, but no spaces appear. | verified fixed | 9aad01c | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-31T13:33:40Z | 2002-05-16T17:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java | package org.eclipse.jdt.internal.ui.javaeditor;
/*
* (c) Copyright IBM Corp. 2000, 2001.
* All Rights Reserved.
*/
import java.lang.reflect.InvocationTargetException;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import org.eclipse.swt.SWT;
import org.eclipse.swt.custom.StyledText;
im... |
16,181 | Bug 16181 Tab key doesn't work in editor when 'Insert spaces for tabs' enabled | Using integration build 0515, pressing Tab in an editor window doesn't do anything when 'Insert spaces for tabs' is selected. The editor is marked as unsaved, but no spaces appear. | verified fixed | 9aad01c | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-31T13:33:40Z | 2002-05-16T17:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java | import org.eclipse.swt.graphics.RGB;
import org.eclipse.swt.graphics.Rectangle;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Control;
import org.eclipse.swt.widgets.Layout;
import org.eclipse.swt.widgets.Shell;
import org.eclipse.core.resources.IFile;
import org.eclipse.core.resources.IFolde... |
16,181 | Bug 16181 Tab key doesn't work in editor when 'Insert spaces for tabs' enabled | Using integration build 0515, pressing Tab in an editor window doesn't do anything when 'Insert spaces for tabs' is selected. The editor is marked as unsaved, but no spaces appear. | verified fixed | 9aad01c | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-31T13:33:40Z | 2002-05-16T17:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java | import org.eclipse.jface.text.ITextOperationTarget;
import org.eclipse.jface.text.ITextSelection;
import org.eclipse.jface.text.Position;
import org.eclipse.jface.text.contentassist.ContentAssistant;
import org.eclipse.jface.text.contentassist.IContentAssistant;
import org.eclipse.jface.text.source.Annotation;
import o... |
16,181 | Bug 16181 Tab key doesn't work in editor when 'Insert spaces for tabs' enabled | Using integration build 0515, pressing Tab in an editor window doesn't do anything when 'Insert spaces for tabs' is selected. The editor is marked as unsaved, but no spaces appear. | verified fixed | 9aad01c | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-31T13:33:40Z | 2002-05-16T17:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java | import org.eclipse.jdt.core.ICompilationUnit;
import org.eclipse.jdt.core.IJavaElement;
import org.eclipse.jdt.core.IJavaProject;
import org.eclipse.jdt.core.IPackageFragment;
import org.eclipse.jdt.core.IPackageFragmentRoot;
import org.eclipse.jdt.core.ISourceReference;
import org.eclipse.jdt.core.JavaCore;
import org... |
16,181 | Bug 16181 Tab key doesn't work in editor when 'Insert spaces for tabs' enabled | Using integration build 0515, pressing Tab in an editor window doesn't do anything when 'Insert spaces for tabs' is selected. The editor is marked as unsaved, but no spaces appear. | verified fixed | 9aad01c | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-31T13:33:40Z | 2002-05-16T17:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java | interface ITextConverter {
void customizeDocumentCommand(IDocument document, DocumentCommand command);
};
class AdaptedRulerLayout extends Layout {
protected int fGap;
protected AdaptedSourceViewer fAdaptedSourceViewer;
protected AdaptedRulerLayout(int gap, AdaptedSourceViewer asv) {
fGap= gap... |
16,181 | Bug 16181 Tab key doesn't work in editor when 'Insert spaces for tabs' enabled | Using integration build 0515, pressing Tab in an editor window doesn't do anything when 'Insert spaces for tabs' is selected. The editor is marked as unsaved, but no spaces appear. | verified fixed | 9aad01c | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-31T13:33:40Z | 2002-05-16T17:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java | protected void layout(Composite composite, boolean flushCache) {
Rectangle clArea= composite.getClientArea();
if (fAdaptedSourceViewer.isVerticalRulerVisible()) {
StyledText textWidget= fAdaptedSourceViewer.getTextWidget();
Rectangle trim= textWidget.computeTrim(0, 0, 0, 0);
int scrollbarHeight= ... |
16,181 | Bug 16181 Tab key doesn't work in editor when 'Insert spaces for tabs' enabled | Using integration build 0515, pressing Tab in an editor window doesn't do anything when 'Insert spaces for tabs' is selected. The editor is marked as unsaved, but no spaces appear. | verified fixed | 9aad01c | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-31T13:33:40Z | 2002-05-16T17:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java | private List fTextConverters;
private OverviewRuler fOverviewRuler;
private boolean fIsOverviewRulerVisible;
private IVerticalRuler fCachedVerticalRuler;
private boolean fCachedIsVerticalRulerVisible;
public AdaptedSourceViewer(Composite parent, IVerticalRuler ruler, int styles) {
super(parent, ru... |
16,181 | Bug 16181 Tab key doesn't work in editor when 'Insert spaces for tabs' enabled | Using integration build 0515, pressing Tab in an editor window doesn't do anything when 'Insert spaces for tabs' is selected. The editor is marked as unsaved, but no spaces appear. | verified fixed | 9aad01c | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-31T13:33:40Z | 2002-05-16T17:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java | fCachedIsVerticalRulerVisible= (show && fCachedVerticalRuler != null);
super.showAnnotations(show);
}
public IContentAssistant getContentAssistant() {
return fContentAssistant;
}
/*
* @see ITextOperationTarget#doOperation(int)
*/
public void doOperation(int operation) {
if (getTextWidg... |
16,181 | Bug 16181 Tab key doesn't work in editor when 'Insert spaces for tabs' enabled | Using integration build 0515, pressing Tab in an editor window doesn't do anything when 'Insert spaces for tabs' is selected. The editor is marked as unsaved, but no spaces appear. | verified fixed | 9aad01c | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-31T13:33:40Z | 2002-05-16T17:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java | public void addTextConverter(ITextConverter textConverter) {
if (fTextConverters == null) {
fTextConverters= new ArrayList(1);
fTextConverters.add(textConverter);
} else if (!fTextConverters.contains(textConverter))
fTextConverters.add(textConverter);
}
public void removeTextConverter(ITextConv... |
16,181 | Bug 16181 Tab key doesn't work in editor when 'Insert spaces for tabs' enabled | Using integration build 0515, pressing Tab in an editor window doesn't do anything when 'Insert spaces for tabs' is selected. The editor is marked as unsaved, but no spaces appear. | verified fixed | 9aad01c | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-31T13:33:40Z | 2002-05-16T17:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java | public boolean isVerticalRulerVisible() {
return fCachedIsVerticalRulerVisible;
}
public OverviewRuler getOverviewRuler() {
return fOverviewRuler;
}
/*
* @see TextViewer#createControl(Composite, int)
*/
protected void createControl(Composite parent, int styles) {
}
protected void ... |
16,181 | Bug 16181 Tab key doesn't work in editor when 'Insert spaces for tabs' enabled | Using integration build 0515, pressing Tab in an editor window doesn't do anything when 'Insert spaces for tabs' is selected. The editor is marked as unsaved, but no spaces appear. | verified fixed | 9aad01c | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-31T13:33:40Z | 2002-05-16T17:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java | Control control= getControl();
if (control instanceof Composite) {
Composite composite= (Composite) control;
composite.layout();
}
}
public void showOverviewRuler() {
fIsOverviewRulerVisible= true;
Control control= getControl();
if (control instanceof Composite) {
Composite composite= ... |
16,181 | Bug 16181 Tab key doesn't work in editor when 'Insert spaces for tabs' enabled | Using integration build 0515, pressing Tab in an editor window doesn't do anything when 'Insert spaces for tabs' is selected. The editor is marked as unsaved, but no spaces appear. | verified fixed | 9aad01c | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-31T13:33:40Z | 2002-05-16T17:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java | private int fTabRatio;
private ILineTracker fLineTracker;
public TabConverter() {
}
public void setNumberOfSpacesPerTab(int ratio) {
fTabRatio= ratio;
} |
16,181 | Bug 16181 Tab key doesn't work in editor when 'Insert spaces for tabs' enabled | Using integration build 0515, pressing Tab in an editor window doesn't do anything when 'Insert spaces for tabs' is selected. The editor is marked as unsaved, but no spaces appear. | verified fixed | 9aad01c | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-31T13:33:40Z | 2002-05-16T17:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java | public void setLineTracker(ILineTracker lineTracker) {
fLineTracker= lineTracker;
}
private int insertTabString(StringBuffer buffer, int offsetInLine) {
if (fTabRatio == 0)
return 0;
int remainder= offsetInLine % fTabRatio;
remainder= fTabRatio - remainder;
for (int i= 0; i < remainde... |
16,181 | Bug 16181 Tab key doesn't work in editor when 'Insert spaces for tabs' enabled | Using integration build 0515, pressing Tab in an editor window doesn't do anything when 'Insert spaces for tabs' is selected. The editor is marked as unsaved, but no spaces appear. | verified fixed | 9aad01c | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-31T13:33:40Z | 2002-05-16T17:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java | for (int i= 0; i < lines; i++) {
int offset= fLineTracker.getLineOffset(i);
int endOffset= offset + fLineTracker.getLineLength(i);
String line= text.substring(offset, endOffset);
int position= 0;
if (i == 0) {
IRegion firstLine= document.getLineInformationOfOff... |
16,181 | Bug 16181 Tab key doesn't work in editor when 'Insert spaces for tabs' enabled | Using integration build 0515, pressing Tab in an editor window doesn't do anything when 'Insert spaces for tabs' is selected. The editor is marked as unsaved, but no spaces appear. | verified fixed | 9aad01c | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-31T13:33:40Z | 2002-05-16T17:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java | }
}
};
private final static String CODE_FORMATTER_TAB_SIZE= JavaCore.FORMATTER_TAB_SIZE;
private final static String CODE_FORMATTER_TAB_CHAR= JavaCore.FORMATTER_TAB_CHAR;
public final static String MATCHING_BRACKETS= "matchingBrackets";
public final static String MATCHING_BRACKETS_COLOR= "matching... |
16,181 | Bug 16181 Tab key doesn't work in editor when 'Insert spaces for tabs' enabled | Using integration build 0515, pressing Tab in an editor window doesn't do anything when 'Insert spaces for tabs' is selected. The editor is marked as unsaved, but no spaces appear. | verified fixed | 9aad01c | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-31T13:33:40Z | 2002-05-16T17:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java | public final static String LINKED_POSITION_COLOR= "linkedPositionColor";
public final static String OVERVIEW_RULER= "overviewRuler";
protected ISelectionChangedListener fStatusLineClearer;
protected ISavePolicy fSavePolicy;
private JavaEditorErrorTickUpdater fJavaEditorErrorTickUpdater;
private P... |
16,181 | Bug 16181 Tab key doesn't work in editor when 'Insert spaces for tabs' enabled | Using integration build 0515, pressing Tab in an editor window doesn't do anything when 'Insert spaces for tabs' is selected. The editor is marked as unsaved, but no spaces appear. | verified fixed | 9aad01c | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-31T13:33:40Z | 2002-05-16T17:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java | /**
* Creates a new compilation unit editor.
*/
public CompilationUnitEditor() {
super();
setDocumentProvider(JavaPlugin.getDefault().getCompilationUnitDocumentProvider());
setEditorContextMenuId("#CompilationUnitEditorContext");
setRulerContextMenuId("#CompilationUnitRulerContext");
setOutlinerContext... |
16,181 | Bug 16181 Tab key doesn't work in editor when 'Insert spaces for tabs' enabled | Using integration build 0515, pressing Tab in an editor window doesn't do anything when 'Insert spaces for tabs' is selected. The editor is marked as unsaved, but no spaces appear. | verified fixed | 9aad01c | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-31T13:33:40Z | 2002-05-16T17:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java | setAction("ContentAssistContextInformation", action);
action= new TextOperationAction(JavaEditorMessages.getResourceBundle(), "Comment.", this, ITextOperationTarget.PREFIX);
action.setActionDefinitionId(IJavaEditorActionDefinitionIds.COMMENT);
setAction("Comment", action);
action= new TextOperationAction(J... |
16,181 | Bug 16181 Tab key doesn't work in editor when 'Insert spaces for tabs' enabled | Using integration build 0515, pressing Tab in an editor window doesn't do anything when 'Insert spaces for tabs' is selected. The editor is marked as unsaved, but no spaces appear. | verified fixed | 9aad01c | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-31T13:33:40Z | 2002-05-16T17:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java | fGenerateActionGroup= new GenerateActionGroup(this, ITextEditorActionConstants.GROUP_EDIT);
ActionGroup rg= new RefactorActionGroup(this, ITextEditorActionConstants.GROUP_EDIT);
fActionGroups.addGroup(rg);
fActionGroups.addGroup(fGenerateActionGroup);
fContextMenuGroup= new CompositeActionGroup(new Act... |
16,181 | Bug 16181 Tab key doesn't work in editor when 'Insert spaces for tabs' enabled | Using integration build 0515, pressing Tab in an editor window doesn't do anything when 'Insert spaces for tabs' is selected. The editor is marked as unsaved, but no spaces appear. | verified fixed | 9aad01c | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-31T13:33:40Z | 2002-05-16T17:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java | ICompilationUnit unit= manager.getWorkingCopy(getEditorInput());
if (unit != null) {
try {
if (reconcile) {
synchronized (unit) {
unit.reconcile();
}
return unit.getElementAt(offset);
} else if (unit.isConsistent())
return unit.getElementAt(offset);
} catch (JavaModelE... |
16,181 | Bug 16181 Tab key doesn't work in editor when 'Insert spaces for tabs' enabled | Using integration build 0515, pressing Tab in an editor window doesn't do anything when 'Insert spaces for tabs' is selected. The editor is marked as unsaved, but no spaces appear. | verified fixed | 9aad01c | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-31T13:33:40Z | 2002-05-16T17:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java | }
return null;
}
/*
* @see AbstractTextEditor#editorContextMenuAboutToShow(IMenuManager)
*/
public void editorContextMenuAboutToShow(IMenuManager menu) {
super.editorContextMenuAboutToShow(menu);
addAction(menu, ITextEditorActionConstants.GROUP_EDIT, "Format");
ActionContext context= new Act... |
16,181 | Bug 16181 Tab key doesn't work in editor when 'Insert spaces for tabs' enabled | Using integration build 0515, pressing Tab in an editor window doesn't do anything when 'Insert spaces for tabs' is selected. The editor is marked as unsaved, but no spaces appear. | verified fixed | 9aad01c | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-31T13:33:40Z | 2002-05-16T17:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java | */
protected void performSaveOperation(WorkspaceModifyOperation operation, IProgressMonitor progressMonitor) {
IDocumentProvider p= getDocumentProvider();
if (p instanceof CompilationUnitDocumentProvider) {
CompilationUnitDocumentProvider cp= (CompilationUnitDocumentProvider) p;
cp.setSavePolicy(fSavePolicy)... |
16,181 | Bug 16181 Tab key doesn't work in editor when 'Insert spaces for tabs' enabled | Using integration build 0515, pressing Tab in an editor window doesn't do anything when 'Insert spaces for tabs' is selected. The editor is marked as unsaved, but no spaces appear. | verified fixed | 9aad01c | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-31T13:33:40Z | 2002-05-16T17:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java | /*
* 1GEUSSR: ITPUI:ALL - User should never loose changes made in the editors.
* Changed Behavior to make sure that if called inside a regular save (because
* of deletion of input element) there is a way to report back to the caller.
*/
performSaveAs(progressMonitor);
} else {
/... |
16,181 | Bug 16181 Tab key doesn't work in editor when 'Insert spaces for tabs' enabled | Using integration build 0515, pressing Tab in an editor window doesn't do anything when 'Insert spaces for tabs' is selected. The editor is marked as unsaved, but no spaces appear. | verified fixed | 9aad01c | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-31T13:33:40Z | 2002-05-16T17:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java | performSaveOperation(createSaveOperation(false), progressMonitor);
}
}
/**
* Jumps to the error next according to the given direction.
*/
public void gotoError(boolean forward) {
ISelectionProvider provider= getSelectionProvider();
if (fStatusLineClearer != null) {
provider.removeSelectionChange... |
16,181 | Bug 16181 Tab key doesn't work in editor when 'Insert spaces for tabs' enabled | Using integration build 0515, pressing Tab in an editor window doesn't do anything when 'Insert spaces for tabs' is selected. The editor is marked as unsaved, but no spaces appear. | verified fixed | 9aad01c | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-31T13:33:40Z | 2002-05-16T17:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java | if (o instanceof MarkerAnnotation) {
marker= ((MarkerAnnotation) o).getMarker();
break;
}
}
}
}
if (marker != null) {
IWorkbenchPage page= getSite().getPage();
IViewPart view= view= page.findView("org.eclipse.ui.views.TaskList");
if (view instanceof TaskList) {
S... |
16,181 | Bug 16181 Tab key doesn't work in editor when 'Insert spaces for tabs' enabled | Using integration build 0515, pressing Tab in an editor window doesn't do anything when 'Insert spaces for tabs' is selected. The editor is marked as unsaved, but no spaces appear. | verified fixed | 9aad01c | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-31T13:33:40Z | 2002-05-16T17:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java | */
protected void setStatusLineErrorMessage(String msg) {
getStatusLineManager().setErrorMessage(msg);
if (msg == null || msg.trim().length() == 0) {
if (fStatusLineClearer != null) {
getSelectionProvider().removeSelectionChangedListener(fStatusLineClearer);
fStatusLineClearer= null;
}
} else... |
16,181 | Bug 16181 Tab key doesn't work in editor when 'Insert spaces for tabs' enabled | Using integration build 0515, pressing Tab in an editor window doesn't do anything when 'Insert spaces for tabs' is selected. The editor is marked as unsaved, but no spaces appear. | verified fixed | 9aad01c | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-31T13:33:40Z | 2002-05-16T17:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java | IAnnotationModel model= getDocumentProvider().getAnnotationModel(getEditorInput());
Iterator e= new ProblemAnnotationIterator(model, false);
while (e.hasNext()) {
IProblemAnnotation a= (IProblemAnnotation) e.next();
if (a.hasOverlay())
continue;
Position p= model.getPosition((Annotation) a);
... |
16,181 | Bug 16181 Tab key doesn't work in editor when 'Insert spaces for tabs' enabled | Using integration build 0515, pressing Tab in an editor window doesn't do anything when 'Insert spaces for tabs' is selected. The editor is marked as unsaved, but no spaces appear. | verified fixed | 9aad01c | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-31T13:33:40Z | 2002-05-16T17:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java | }
if (nextErrorPosition != null) {
errorPosition.setOffset(nextErrorPosition.getOffset());
errorPosition.setLength(nextErrorPosition.getLength());
}
return nextError;
}
/*
* @see AbstractTextEditor#isSaveAsAllowed()
*/
public boolean isSaveAsAllowed() {
return true;
}
/*
* 1GF7WG9: I... |
16,181 | Bug 16181 Tab key doesn't work in editor when 'Insert spaces for tabs' enabled | Using integration build 0515, pressing Tab in an editor window doesn't do anything when 'Insert spaces for tabs' is selected. The editor is marked as unsaved, but no spaces appear. | verified fixed | 9aad01c | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-31T13:33:40Z | 2002-05-16T17:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java | if (element instanceof IPackageFragment) {
IPackageFragment fragment= (IPackageFragment) element;
IJavaElement parent= fragment.getParent();
if (parent instanceof IPackageFragmentRoot) {
IPackageFragmentRoot pRoot= (IPackageFragmentRoot) parent;
if ( !pRoot.isArchive() && !pRoot.isE... |
16,181 | Bug 16181 Tab key doesn't work in editor when 'Insert spaces for tabs' enabled | Using integration build 0515, pressing Tab in an editor window doesn't do anything when 'Insert spaces for tabs' is selected. The editor is marked as unsaved, but no spaces appear. | verified fixed | 9aad01c | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-31T13:33:40Z | 2002-05-16T17:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java | * Changed behavior to make sure that if called inside a regular save (because
* of deletion of input element) there is a way to report back to the caller.
*/
protected void performSaveAs(IProgressMonitor progressMonitor) {
Shell shell= getSite().getShell();
SaveAsDialog dialog= new SaveAsDialog(shell);
... |
16,181 | Bug 16181 Tab key doesn't work in editor when 'Insert spaces for tabs' enabled | Using integration build 0515, pressing Tab in an editor window doesn't do anything when 'Insert spaces for tabs' is selected. The editor is marked as unsaved, but no spaces appear. | verified fixed | 9aad01c | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-31T13:33:40Z | 2002-05-16T17:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java | filePath= filePath.removeTrailingSeparator();
final String fileName= filePath.lastSegment();
IPath folderPath= filePath.removeLastSegments(1);
if (folderPath == null) {
if (progressMonitor != null)
progressMonitor.setCanceled(true);
return;
}
IWorkspaceRoot root= ResourcesPlugin.getWorkspace()... |
16,181 | Bug 16181 Tab key doesn't work in editor when 'Insert spaces for tabs' enabled | Using integration build 0515, pressing Tab in an editor window doesn't do anything when 'Insert spaces for tabs' is selected. The editor is marked as unsaved, but no spaces appear. | verified fixed | 9aad01c | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-31T13:33:40Z | 2002-05-16T17:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java | WorkspaceModifyOperation op= new WorkspaceModifyOperation() {
public void execute(final IProgressMonitor monitor) throws CoreException {
if (fragment != null && originalExists) {
IWorkingCopyManager manager= JavaPlugin.getDefault().getWorkingCopyManager();
ICompilationUnit unit= manag... |
16,181 | Bug 16181 Tab key doesn't work in editor when 'Insert spaces for tabs' enabled | Using integration build 0515, pressing Tab in an editor window doesn't do anything when 'Insert spaces for tabs' is selected. The editor is marked as unsaved, but no spaces appear. | verified fixed | 9aad01c | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-31T13:33:40Z | 2002-05-16T17:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java | * Changed false to true.
*/
getDocumentProvider().saveDocument(monitor, newInput, getDocumentProvider().getDocument(getEditorInput()), true);
}
};
boolean success= false;
try {
if (fragment == null)
getDocumentProvider().aboutToChange(newInput);
new ProgressMonitorDialog(shell).ru... |
16,181 | Bug 16181 Tab key doesn't work in editor when 'Insert spaces for tabs' enabled | Using integration build 0515, pressing Tab in an editor window doesn't do anything when 'Insert spaces for tabs' is selected. The editor is marked as unsaved, but no spaces appear. | verified fixed | 9aad01c | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-31T13:33:40Z | 2002-05-16T17:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java | } finally {
if (fragment == null)
getDocumentProvider().changed(newInput);
if (progressMonitor != null)
progressMonitor.setCanceled(!success);
}
}
/*
* @see AbstractTextEditor#doSetInput(IEditorInput)
*/
protected void doSetInput(IEditorInput input) throws CoreException {
super.doSet... |
16,181 | Bug 16181 Tab key doesn't work in editor when 'Insert spaces for tabs' enabled | Using integration build 0515, pressing Tab in an editor window doesn't do anything when 'Insert spaces for tabs' is selected. The editor is marked as unsaved, but no spaces appear. | verified fixed | 9aad01c | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-31T13:33:40Z | 2002-05-16T17:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java | fPaintManager.removePainter(fBracketPainter);
fBracketPainter.deactivate(true);
fBracketPainter.dispose();
fBracketPainter= null;
}
}
private boolean isBracketHighlightingEnabled() {
IPreferenceStore store= getPreferenceStore();
return store.getBoolean(MATCHING_BRACKETS);
}
private void startLine... |
16,181 | Bug 16181 Tab key doesn't work in editor when 'Insert spaces for tabs' enabled | Using integration build 0515, pressing Tab in an editor window doesn't do anything when 'Insert spaces for tabs' is selected. The editor is marked as unsaved, but no spaces appear. | verified fixed | 9aad01c | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-31T13:33:40Z | 2002-05-16T17:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java | private boolean isLineHighlightingEnabled() {
IPreferenceStore store= getPreferenceStore();
return store.getBoolean(CURRENT_LINE);
}
private void showPrintMargin() {
if (fPrintMarginPainter == null) {
fPrintMarginPainter= new PrintMarginPainter(getSourceViewer());
fPrintMarginPainter.setMarginRulerColor... |
16,181 | Bug 16181 Tab key doesn't work in editor when 'Insert spaces for tabs' enabled | Using integration build 0515, pressing Tab in an editor window doesn't do anything when 'Insert spaces for tabs' is selected. The editor is marked as unsaved, but no spaces appear. | verified fixed | 9aad01c | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-31T13:33:40Z | 2002-05-16T17:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java | fProblemPainter= new ProblemPainter(this, getSourceViewer());
fProblemPainter.setHighlightColor(getColor(PROBLEM_INDICATION_COLOR));
fPaintManager.addPainter(fProblemPainter);
}
}
private void stopProblemIndication() {
if (fProblemPainter != null) {
fPaintManager.removePainter(fProblemPainter);
fPro... |
16,181 | Bug 16181 Tab key doesn't work in editor when 'Insert spaces for tabs' enabled | Using integration build 0515, pressing Tab in an editor window doesn't do anything when 'Insert spaces for tabs' is selected. The editor is marked as unsaved, but no spaces appear. | verified fixed | 9aad01c | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-31T13:33:40Z | 2002-05-16T17:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java | private void startTabConversion() {
if (fTabConverter == null) {
fTabConverter= new TabConverter();
configureTabConverter();
fTabConverter.setNumberOfSpacesPerTab(getPreferenceStore().getInt(CODE_FORMATTER_TAB_SIZE));
AdaptedSourceViewer asv= (AdaptedSourceViewer) getSourceViewer();
asv.addTextConverte... |
16,181 | Bug 16181 Tab key doesn't work in editor when 'Insert spaces for tabs' enabled | Using integration build 0515, pressing Tab in an editor window doesn't do anything when 'Insert spaces for tabs' is selected. The editor is marked as unsaved, but no spaces appear. | verified fixed | 9aad01c | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-31T13:33:40Z | 2002-05-16T17:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java | asv.hideOverviewRuler();
}
private boolean isOverviewRulerVisible() {
IPreferenceStore store= getPreferenceStore();
return store.getBoolean(OVERVIEW_RULER);
}
private Color getColor(String key) {
RGB rgb= PreferenceConverter.getColor(getPreferenceStore(), key);
return getColor(rgb);
}
private Color ... |
16,181 | Bug 16181 Tab key doesn't work in editor when 'Insert spaces for tabs' enabled | Using integration build 0515, pressing Tab in an editor window doesn't do anything when 'Insert spaces for tabs' is selected. The editor is marked as unsaved, but no spaces appear. | verified fixed | 9aad01c | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-31T13:33:40Z | 2002-05-16T17:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java | stopBracketHighlighting();
stopLineHighlighting();
if (fPaintManager != null) {
fPaintManager.dispose();
fPaintManager= null;
}
if (fActionGroups != null)
fActionGroups.dispose();
super.dispose();
}
/*
* @see AbstractTextEditor#createPartControl(Composite)
*/
public void createPartC... |
16,181 | Bug 16181 Tab key doesn't work in editor when 'Insert spaces for tabs' enabled | Using integration build 0515, pressing Tab in an editor window doesn't do anything when 'Insert spaces for tabs' is selected. The editor is marked as unsaved, but no spaces appear. | verified fixed | 9aad01c | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-31T13:33:40Z | 2002-05-16T17:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java | if (isOverviewRulerVisible())
showOverviewRuler();
}
/*
* @see AbstractTextEditor#handlePreferenceStoreChanged(PropertyChangeEvent)
*/
protected void handlePreferenceStoreChanged(PropertyChangeEvent event) {
try {
AdaptedSourceViewer asv= (AdaptedSourceViewer) getSourceViewer();
if (asv != nu... |
16,181 | Bug 16181 Tab key doesn't work in editor when 'Insert spaces for tabs' enabled | Using integration build 0515, pressing Tab in an editor window doesn't do anything when 'Insert spaces for tabs' is selected. The editor is marked as unsaved, but no spaces appear. | verified fixed | 9aad01c | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-31T13:33:40Z | 2002-05-16T17:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java | return;
}
if (MATCHING_BRACKETS.equals(p)) {
if (isBracketHighlightingEnabled())
startBracketHighlighting();
else
stopBracketHighlighting();
return;
}
if (MATCHING_BRACKETS_COLOR.equals(p)) {
if (fBracketPainter != null)
fBracketPainter.setHighlightColor(g... |
16,181 | Bug 16181 Tab key doesn't work in editor when 'Insert spaces for tabs' enabled | Using integration build 0515, pressing Tab in an editor window doesn't do anything when 'Insert spaces for tabs' is selected. The editor is marked as unsaved, but no spaces appear. | verified fixed | 9aad01c | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-31T13:33:40Z | 2002-05-16T17:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java | return;
}
if (PRINT_MARGIN.equals(p)) {
if (isPrintMarginVisible())
showPrintMargin();
else
hidePrintMargin();
return;
}
if (PRINT_MARGIN_COLOR.equals(p)) {
if (fPrintMarginPainter != null)
fPrintMarginPainter.setMarginRulerColor(getColor(PRINT_MARGIN_COLO... |
16,181 | Bug 16181 Tab key doesn't work in editor when 'Insert spaces for tabs' enabled | Using integration build 0515, pressing Tab in an editor window doesn't do anything when 'Insert spaces for tabs' is selected. The editor is marked as unsaved, but no spaces appear. | verified fixed | 9aad01c | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-31T13:33:40Z | 2002-05-16T17:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java | if (PROBLEM_INDICATION_COLOR.equals(p)) {
if (fProblemPainter != null)
fProblemPainter.setHighlightColor(getColor(PROBLEM_INDICATION_COLOR));
return;
}
if (OVERVIEW_RULER.equals(p)) {
if (isOverviewRulerVisible())
showOverviewRuler();
else
hideOverviewRuler();
re... |
16,181 | Bug 16181 Tab key doesn't work in editor when 'Insert spaces for tabs' enabled | Using integration build 0515, pressing Tab in an editor window doesn't do anything when 'Insert spaces for tabs' is selected. The editor is marked as unsaved, but no spaces appear. | verified fixed | 9aad01c | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-31T13:33:40Z | 2002-05-16T17:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java | boolean affects=MATCHING_BRACKETS_COLOR.equals(p) ||
CURRENT_LINE_COLOR.equals(p) ||
PROBLEM_INDICATION_COLOR.equals(p);
return affects ? affects : super.affectsTextPresentation(event);
}
/*
* @see JavaEditor#createJavaSourceViewer(Composite, IVerticalRuler, int)
*/
protected ISo... |
16,181 | Bug 16181 Tab key doesn't work in editor when 'Insert spaces for tabs' enabled | Using integration build 0515, pressing Tab in an editor window doesn't do anything when 'Insert spaces for tabs' is selected. The editor is marked as unsaved, but no spaces appear. | verified fixed | 9aad01c | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-31T13:33:40Z | 2002-05-16T17:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java | int offset= sourceViewer.getVisibleRegion().getOffset();
int caret= offset + styledText.getCaretOffset();
IJavaElement element= getElementAt(caret, false);
if (element instanceof ISourceReference)
fOutlinePage.select((ISourceReference) element);
}
/*
* @see IReconcilingParticipant#reconciled()
*/
... |
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 | /*******************************************************************************
* Copyright (c) 2000, 2002 International Business Machines Corp. and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Common Public License v0.5
* which accompanie... |
18,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 | import org.eclipse.swt.events.KeyAdapter;
import org.eclipse.swt.events.KeyEvent;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Control;
import org.eclipse.swt.widgets.Menu;
import org.eclipse.swt.widgets.ScrollBar;
import org.eclipse.swt.widgets.Shell;
import org.eclipse.swt.widgets.Tree;
im... |
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 | import org.eclipse.jface.viewers.TreeExpansionEvent;
import org.eclipse.jface.viewers.TreeViewer;
import org.eclipse.ui.IActionBars;
import org.eclipse.ui.IEditorInput;
import org.eclipse.ui.IEditorPart;
import org.eclipse.ui.IFileEditorInput;
import org.eclipse.ui.IMemento;
import org.eclipse.ui.IPartListener;
import ... |
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 | import org.eclipse.jdt.ui.JavaElementContentProvider;
import org.eclipse.jdt.ui.JavaElementSorter;
import org.eclipse.jdt.ui.JavaUI;
import org.eclipse.jdt.ui.actions.CustomFiltersActionGroup;
import org.eclipse.jdt.internal.ui.IJavaHelpContextIds;
import org.eclipse.jdt.internal.ui.JavaPlugin;
import org.eclipse.jdt.i... |
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 final static String VIEW_ID= JavaUI.ID_PACKAGES;
static final String TAG_SELECTION= "selection";
static final String TAG_EXPANDED= "expanded";
static final String TAG_ELEMENT= "element";
static final String TAG_PATH= "path";
static final String TAG_VERTICAL_POSITION= "verticalPosition";
static ... |
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 String fWorkingSetName;
private IPartListener fPartListener= new IPartListener() {
public void partActivated(IWorkbenchPart part) {
if (part instanceof IEditorPart)
editorActivated((IEditorPart) part);
}
public void partBroughtToTop(IWorkbenchPart part) {
}
public void partClosed(IWorkbenc... |
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 PackageExplorerPart() {
}
/* (non-Javadoc)
* Method declared on IViewPart.
*/
public void init(IViewSite site, IMemento memento) throws PartInitException {
super.init(site, memento);
fMemento= memento;
}
/**
* Initializes the default preferences
*/
public static void initDefaults(IPreferenc... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.