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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
11,703 | Bug 11703 Outline sorting -> constructors should be before statics | build 2002-03-19 on Win98. - open a Java editor on a Java file - in the Outline view have "sort" and "hide fields" icons selected - note that the sort order seems to be statics then constructors then instance methods - in build 2002-03-14 constructors used to be listed at the top next to the class name - this is much m... | resolved fixed | c59109a | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-09-16T18:31:22Z | 2002-03-19T20:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java | fContextMenu.dispose();
getSite().getPage().removePartListener(fPartListener);
JavaPlugin.getDefault().getPreferenceStore().removePropertyChangeListener(this);
if (fViewer != null)
fViewer.removeTreeListener(fExpansionListener);
if (fActionSet != null)
fActionSet.dispose();
super.dispose();
}
/**... |
11,703 | Bug 11703 Outline sorting -> constructors should be before statics | build 2002-03-19 on Win98. - open a Java editor on a Java file - in the Outline view have "sort" and "hide fields" icons selected - note that the sort order seems to be statics then constructors then instance methods - in build 2002-03-14 constructors used to be listed at the top next to the class name - this is much m... | resolved fixed | c59109a | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-09-16T18:31:22Z | 2002-03-19T20:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java | labelProvider, PlatformUI.getWorkbench().getDecoratorManager().getLabelDecorator())
);
fViewer.setSorter(new JavaElementSorter());
fViewer.setUseHashlookup(true);
MenuManager menuMgr= new MenuManager("#PopupMenu");
menuMgr.setRemoveAllWhenShown(true);
menuMgr.addMenuListener(this);
fContextMenu= menuMgr.... |
11,703 | Bug 11703 Outline sorting -> constructors should be before statics | build 2002-03-19 on Win98. - open a Java editor on a Java file - in the Outline view have "sort" and "hide fields" icons selected - note that the sort order seems to be statics then constructors then instance methods - in build 2002-03-14 constructors used to be listed at the top next to the class name - this is much m... | resolved fixed | c59109a | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-09-16T18:31:22Z | 2002-03-19T20:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java | fViewer.addDoubleClickListener(new IDoubleClickListener() {
public void doubleClick(DoubleClickEvent event) {
fActionSet.handleDoubleClick(event);
}
});
fViewer.addOpenListener(new IOpenListener() {
public void open(OpenEvent event) {
fActionSet.handleOpen(event);
}
});
IStatusLineManager... |
11,703 | Bug 11703 Outline sorting -> constructors should be before statics | build 2002-03-19 on Win98. - open a Java editor on a Java file - in the Outline view have "sort" and "hide fields" icons selected - note that the sort order seems to be statics then constructors then instance methods - in build 2002-03-14 constructors used to be listed at the top next to the class name - this is much m... | resolved fixed | c59109a | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-09-16T18:31:22Z | 2002-03-19T20:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java | private Object findInputElement() {
Object input= getSite().getPage().getInput();
if (input instanceof IWorkspace) {
return JavaCore.create(((IWorkspace)input).getRoot());
} else if (input instanceof IContainer) {
return JavaCore.create((IContainer)input);
}
return JavaCore.create(JavaPlugin.g... |
11,703 | Bug 11703 Outline sorting -> constructors should be before statics | build 2002-03-19 on Win98. - open a Java editor on a Java file - in the Outline view have "sort" and "hide fields" icons selected - note that the sort order seems to be statics then constructors then instance methods - in build 2002-03-14 constructors used to be listed at the top next to the class name - this is much m... | resolved fixed | c59109a | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-09-16T18:31:22Z | 2002-03-19T20:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java | if (path.isRoot()) {
result= PackagesMessages.getString("PackageExplorer.title");
} else {
result= path.makeRelative().toString();
}
}
if (fWorkingSetName == null)
return result;
String wsstr= PackagesMessages.getFormattedString("PackageExplorer.toolTip", new String[] { fWorkingSetName });
... |
11,703 | Bug 11703 Outline sorting -> constructors should be before statics | build 2002-03-19 on Win98. - open a Java editor on a Java file - in the Outline view have "sort" and "hide fields" icons selected - note that the sort order seems to be statics then constructors then instance methods - in build 2002-03-14 constructors used to be listed at the top next to the class name - this is much m... | resolved fixed | c59109a | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-09-16T18:31:22Z | 2002-03-19T20:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java | */
private Shell getShell() {
return fViewer.getTree().getShell();
}
/**
* Returns the selection provider.
*/
private ISelectionProvider getSelectionProvider() {
return fViewer;
}
/**
* Returns the current selection.
*/
private ISelection getSelection() {
return fViewer.getSelection();
}
... |
11,703 | Bug 11703 Outline sorting -> constructors should be before statics | build 2002-03-19 on Win98. - open a Java editor on a Java file - in the Outline view have "sort" and "hide fields" icons selected - note that the sort order seems to be statics then constructors then instance methods - in build 2002-03-14 constructors used to be listed at the top next to the class name - this is much m... | resolved fixed | c59109a | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-09-16T18:31:22Z | 2002-03-19T20:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java | }
private void makeActions() {
fActionSet= new PackageExplorerActionGroup(this);
}
private boolean isSelectionOfType(ISelection s, Class clazz, boolean considerUnderlyingResource) {
if (! (s instanceof IStructuredSelection) || s.isEmpty())
return false;
IStructuredSelection selection= (IStructuredSelec... |
11,703 | Bug 11703 Outline sorting -> constructors should be before statics | build 2002-03-19 on Win98. - open a Java editor on a Java file - in the Outline view have "sort" and "hide fields" icons selected - note that the sort order seems to be statics then constructors then instance methods - in build 2002-03-14 constructors used to be listed at the top next to the class name - this is much m... | resolved fixed | c59109a | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-09-16T18:31:22Z | 2002-03-19T20:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java | int ops= DND.DROP_COPY | DND.DROP_MOVE | DND.DROP_LINK;
Transfer[] transfers= new Transfer[] {
LocalSelectionTransfer.getInstance(),
ResourceTransfer.getInstance(),
FileTransfer.getInstance()};
TransferDropTargetListener[] dropListeners= new TransferDropTargetListener[] {
new SelectionTransferDro... |
11,703 | Bug 11703 Outline sorting -> constructors should be before statics | build 2002-03-19 on Win98. - open a Java editor on a Java file - in the Outline view have "sort" and "hide fields" icons selected - note that the sort order seems to be statics then constructors then instance methods - in build 2002-03-14 constructors used to be listed at the top next to the class name - this is much m... | resolved fixed | c59109a | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-09-16T18:31:22Z | 2002-03-19T20:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java | }
super.dragStart(event);
}
});
}
/**
* Handles selection changed in viewer.
* Updates global actions.
* Links to editor (if option enabled)
*/
private void handleSelectionChanged(SelectionChangedEvent event) {
IStructuredSelection selection= (IStructuredSelection) event.getSelection();
fActionS... |
11,703 | Bug 11703 Outline sorting -> constructors should be before statics | build 2002-03-19 on Win98. - open a Java editor on a Java file - in the Outline view have "sort" and "hide fields" icons selected - note that the sort order seems to be statics then constructors then instance methods - in build 2002-03-14 constructors used to be listed at the top next to the class name - this is much m... | resolved fixed | c59109a | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-09-16T18:31:22Z | 2002-03-19T20:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java | for (int i= 0; i < elements.length; i++) {
Object o= elements[i];
if (o instanceof IResource) {
IJavaElement jElement= JavaCore.create((IResource)o);
if (jElement != null)
elements[i]= jElement;
}
}
return new StructuredSelection(elements);
}
private boolean containsResources(Object[] ... |
11,703 | Bug 11703 Outline sorting -> constructors should be before statics | build 2002-03-19 on Win98. - open a Java editor on a Java file - in the Outline view have "sort" and "hide fields" icons selected - note that the sort order seems to be statics then constructors then instance methods - in build 2002-03-14 constructors used to be listed at the top next to the class name - this is much m... | resolved fixed | c59109a | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-09-16T18:31:22Z | 2002-03-19T20:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java | /**
* Links to editor (if option enabled)
*/
private void linkToEditor(IStructuredSelection selection) {
if (!isActivePart())
return;
Object obj= selection.getFirstElement();
if (selection.size() == 1) {
IEditorPart part= EditorUtility.isOpenInEditor(obj);
if (part != null) {
IWorkbenchPag... |
11,703 | Bug 11703 Outline sorting -> constructors should be before statics | build 2002-03-19 on Win98. - open a Java editor on a Java file - in the Outline view have "sort" and "hide fields" icons selected - note that the sort order seems to be statics then constructors then instance methods - in build 2002-03-14 constructors used to be listed at the top next to the class name - this is much m... | resolved fixed | c59109a | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-09-16T18:31:22Z | 2002-03-19T20:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java | try {
element= ((IJavaElement)element).getUnderlyingResource();
} catch (JavaModelException e) {
return null;
}
}
if (!(element instanceof IResource) || ((IResource)element).isPhantom()) {
return null;
}
return (IResource)element;
}
public void saveState(IMemento memento) {
if (fViewer ==... |
11,703 | Bug 11703 Outline sorting -> constructors should be before statics | build 2002-03-19 on Win98. - open a Java editor on a Java file - in the Outline view have "sort" and "hide fields" icons selected - note that the sort order seems to be statics then constructors then instance methods - in build 2002-03-14 constructors used to be listed at the top next to the class name - this is much m... | resolved fixed | c59109a | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-09-16T18:31:22Z | 2002-03-19T20:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java | bar= tree.getHorizontalBar();
position= bar != null ? bar.getSelection() : 0;
memento.putString(TAG_HORIZONTAL_POSITION, String.valueOf(position));
}
protected void saveSelectionState(IMemento memento) {
Object elements[]= ((IStructuredSelection) fViewer.getSelection()).toArray();
if (elements.length > 0) {
... |
11,703 | Bug 11703 Outline sorting -> constructors should be before statics | build 2002-03-19 on Win98. - open a Java editor on a Java file - in the Outline view have "sort" and "hide fields" icons selected - note that the sort order seems to be statics then constructors then instance methods - in build 2002-03-14 constructors used to be listed at the top next to the class name - this is much m... | resolved fixed | c59109a | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-09-16T18:31:22Z | 2002-03-19T20:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java | void restoreState(IMemento memento) {
restoreExpansionState(memento);
restoreSelectionState(memento);
fActionSet.restoreState(memento);
}
protected void restoreScrollState(IMemento memento, Tree tree) {
ScrollBar bar= tree.getVerticalBar();
if (bar != null) {
try {
String posStr= memento.getStr... |
11,703 | Bug 11703 Outline sorting -> constructors should be before statics | build 2002-03-19 on Win98. - open a Java editor on a Java file - in the Outline view have "sort" and "hide fields" icons selected - note that the sort order seems to be statics then constructors then instance methods - in build 2002-03-14 constructors used to be listed at the top next to the class name - this is much m... | resolved fixed | c59109a | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-09-16T18:31:22Z | 2002-03-19T20:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java | }
protected void restoreSelectionState(IMemento memento) {
IMemento childMem;
childMem= memento.getChild(TAG_SELECTION);
if (childMem != null) {
ArrayList list= new ArrayList();
IMemento[] elementMem= childMem.getChildren(TAG_ELEMENT);
for (int i= 0; i < elementMem.length; i++) {
Object element= Jav... |
11,703 | Bug 11703 Outline sorting -> constructors should be before statics | build 2002-03-19 on Win98. - open a Java editor on a Java file - in the Outline view have "sort" and "hide fields" icons selected - note that the sort order seems to be statics then constructors then instance methods - in build 2002-03-14 constructors used to be listed at the top next to the class name - this is much m... | resolved fixed | c59109a | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-09-16T18:31:22Z | 2002-03-19T20:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java | * Create the KeyListener for doing the refresh on the viewer.
*/
private void initKeyListener() {
fViewer.getControl().addKeyListener(new KeyAdapter() {
public void keyReleased(KeyEvent event) {
fActionSet.handleKeyEvent(event);
}
});
}
/**
* An editor has been activated. Set the selection in this... |
11,703 | Bug 11703 Outline sorting -> constructors should be before statics | build 2002-03-19 on Win98. - open a Java editor on a Java file - in the Outline view have "sort" and "hide fields" icons selected - note that the sort order seems to be statics then constructors then instance methods - in build 2002-03-14 constructors used to be listed at the top next to the class name - this is much m... | resolved fixed | c59109a | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-09-16T18:31:22Z | 2002-03-19T20:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java | Object o= oldSelection.getFirstElement();
if (o instanceof IJavaElement) {
ICompilationUnit cu= (ICompilationUnit)((IJavaElement)o).getAncestor(IJavaElement.COMPILATION_UNIT);
if (cu != null) {
if (cu.isWorkingCopy())
cu= (ICompilationUnit)cu.getOriginalElement();
if ( element.equals(cu... |
11,703 | Bug 11703 Outline sorting -> constructors should be before statics | build 2002-03-19 on Win98. - open a Java editor on a Java file - in the Outline view have "sort" and "hide fields" icons selected - note that the sort order seems to be statics then constructors then instance methods - in build 2002-03-14 constructors used to be listed at the top next to the class name - this is much m... | resolved fixed | c59109a | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-09-16T18:31:22Z | 2002-03-19T20:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java | }
}
}
/**
* Returns the element's parent.
*
* @return the parent or <code>null</code> if there's no parent
*/
private Object getParent(Object element) {
if (element instanceof IJavaElement)
return ((IJavaElement)element).getParent();
else if (element instanceof IResource)
return ((IResource)elem... |
11,703 | Bug 11703 Outline sorting -> constructors should be before statics | build 2002-03-19 on Win98. - open a Java editor on a Java file - in the Outline view have "sort" and "hide fields" icons selected - note that the sort order seems to be statics then constructors then instance methods - in build 2002-03-14 constructors used to be listed at the top next to the class name - this is much m... | resolved fixed | c59109a | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-09-16T18:31:22Z | 2002-03-19T20:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java | else if (element instanceof IClassFile) {
IClassFile cf= (IClassFile)element;
type= cf.getType();
}
if (type != null) {
final IType type2= type;
Control ctrl= fViewer.getControl();
if (ctrl != null && !ctrl.isDisposed()) {
ctrl.getDisplay().asyncExec(new Runnable() {
public void ... |
11,703 | Bug 11703 Outline sorting -> constructors should be before statics | build 2002-03-19 on Win98. - open a Java editor on a Java file - in the Outline view have "sort" and "hide fields" icons selected - note that the sort order seems to be statics then constructors then instance methods - in build 2002-03-14 constructors used to be listed at the top next to the class name - this is much m... | resolved fixed | c59109a | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-09-16T18:31:22Z | 2002-03-19T20:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java | else if (input instanceof JarEntryEditorInput)
return ((JarEntryEditorInput)input).getStorage();
return null;
}
/**
* Returns the Viewer.
*/
TreeViewer getViewer() {
return fViewer;
}
/**
* Returns the TreeViewer.
*/
public TreeViewer getTreeViewer() {
return fViewer;
}
boolean isExpa... |
11,703 | Bug 11703 Outline sorting -> constructors should be before statics | build 2002-03-19 on Win98. - open a Java editor on a Java file - in the Outline view have "sort" and "hide fields" icons selected - note that the sort order seems to be statics then constructors then instance methods - in build 2002-03-14 constructors used to be listed at the top next to the class name - this is much m... | resolved fixed | c59109a | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-09-16T18:31:22Z | 2002-03-19T20:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java | * Called whenever the input of the viewer changes.
*/
void updateTitle() {
Object input= fViewer.getInput();
String viewName= getConfigurationElement().getAttribute("name");
if (input == null
|| (input instanceof IJavaModel)) {
setTitle(viewName);
setTitleToolTip("");
} else {
String inputTe... |
11,703 | Bug 11703 Outline sorting -> constructors should be before statics | build 2002-03-19 on Win98. - open a Java editor on a Java file - in the Outline view have "sort" and "hide fields" icons selected - note that the sort order seems to be statics then constructors then instance methods - in build 2002-03-14 constructors used to be listed at the top next to the class name - this is much m... | resolved fixed | c59109a | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-09-16T18:31:22Z | 2002-03-19T20:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java | if (fViewer == null)
return;
boolean refreshViewer= false;
if (AppearancePreferencePage.SHOW_CU_CHILDREN.equals(event.getProperty())) {
IActionBars actionBars= getViewSite().getActionBars();
fActionSet.fillToolBar(actionBars.getToolBarManager());
actionBars.updateActionBars();
boolean showCU... |
11,703 | Bug 11703 Outline sorting -> constructors should be before statics | build 2002-03-19 on Win98. - open a Java editor on a Java file - in the Outline view have "sort" and "hide fields" icons selected - note that the sort order seems to be statics then constructors then instance methods - in build 2002-03-14 constructors used to be listed at the top next to the class name - this is much m... | resolved fixed | c59109a | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-09-16T18:31:22Z | 2002-03-19T20:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java | /*
* (c) Copyright IBM Corp. 2000, 2001.
* All Rights Reserved.
*/
package org.eclipse.jdt.internal.ui.typehierarchy;
import java.util.ArrayList;
import java.util.List;
import org.eclipse.core.resources.IFile;
import org.eclipse.core.resources.IResource;
import org.eclipse.core.runtime.CoreException;
import org.ecli... |
11,703 | Bug 11703 Outline sorting -> constructors should be before statics | build 2002-03-19 on Win98. - open a Java editor on a Java file - in the Outline view have "sort" and "hide fields" icons selected - note that the sort order seems to be statics then constructors then instance methods - in build 2002-03-14 constructors used to be listed at the top next to the class name - this is much m... | resolved fixed | c59109a | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-09-16T18:31:22Z | 2002-03-19T20:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java | import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Control;
import org.eclipse.swt.widgets.Display;
import org.eclipse.swt.widgets.Label;
import org.eclipse.swt.widgets.ScrollBar;
import org.eclipse.swt.widgets.ToolBar;
import org.eclipse.jface.action.IMenuListener;
import org.eclipse.jface.action... |
11,703 | Bug 11703 Outline sorting -> constructors should be before statics | build 2002-03-19 on Win98. - open a Java editor on a Java file - in the Outline view have "sort" and "hide fields" icons selected - note that the sort order seems to be statics then constructors then instance methods - in build 2002-03-14 constructors used to be listed at the top next to the class name - this is much m... | resolved fixed | c59109a | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-09-16T18:31:22Z | 2002-03-19T20:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java | import org.eclipse.ui.IWorkbenchActionConstants;
import org.eclipse.ui.IWorkbenchPart;
import org.eclipse.ui.PartInitException;
import org.eclipse.ui.actions.ActionContext;
import org.eclipse.ui.actions.ActionGroup;
import org.eclipse.ui.actions.OpenWithMenu;
import org.eclipse.ui.help.WorkbenchHelp;
import org.eclipse... |
11,703 | Bug 11703 Outline sorting -> constructors should be before statics | build 2002-03-19 on Win98. - open a Java editor on a Java file - in the Outline view have "sort" and "hide fields" icons selected - note that the sort order seems to be statics then constructors then instance methods - in build 2002-03-14 constructors used to be listed at the top next to the class name - this is much m... | resolved fixed | c59109a | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-09-16T18:31:22Z | 2002-03-19T20:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java | import org.eclipse.jdt.internal.ui.dnd.DelegatingDragAdapter;
import org.eclipse.jdt.internal.ui.dnd.DelegatingDropAdapter;
import org.eclipse.jdt.internal.ui.dnd.LocalSelectionTransfer;
import org.eclipse.jdt.internal.ui.dnd.TransferDragSourceListener;
import org.eclipse.jdt.internal.ui.dnd.TransferDropTargetListener;... |
11,703 | Bug 11703 Outline sorting -> constructors should be before statics | build 2002-03-19 on Win98. - open a Java editor on a Java file - in the Outline view have "sort" and "hide fields" icons selected - note that the sort order seems to be statics then constructors then instance methods - in build 2002-03-14 constructors used to be listed at the top next to the class name - this is much m... | resolved fixed | c59109a | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-09-16T18:31:22Z | 2002-03-19T20:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java | private static final String TAG_ORIENTATION= "orientation";
private static final String TAG_RATIO= "ratio";
private static final String TAG_SELECTION= "selection";
private static final String TAG_VERTICAL_SCROLL= "vertical_scroll";
private static final String GROUP_FOCUS= "group.focus";
private IType fSel... |
11,703 | Bug 11703 Outline sorting -> constructors should be before statics | build 2002-03-19 on Win98. - open a Java editor on a Java file - in the Outline view have "sort" and "hide fields" icons selected - note that the sort order seems to be statics then constructors then instance methods - in build 2002-03-14 constructors used to be listed at the top next to the class name - this is much m... | resolved fixed | c59109a | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-09-16T18:31:22Z | 2002-03-19T20:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java | private PageBook fViewerbook;
private PageBook fPagebook;
private Label fNoHierarchyShownLabel;
private Label fEmptyTypesViewer;
private ViewForm fTypeViewerViewForm;
private ViewForm fMethodViewerViewForm;
private CLabel fMethodViewerPaneLabel;
private JavaUILabelProvider fPaneLabelProvider;
private ID... |
11,703 | Bug 11703 Outline sorting -> constructors should be before statics | build 2002-03-19 on Win98. - open a Java editor on a Java file - in the Outline view have "sort" and "hide fields" icons selected - note that the sort order seems to be statics then constructors then instance methods - in build 2002-03-14 constructors used to be listed at the top next to the class name - this is much m... | resolved fixed | c59109a | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-09-16T18:31:22Z | 2002-03-19T20:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java | public TypeHierarchyViewPart() {
fSelectedType= null;
fInputElement= null;
fHierarchyLifeCycle= new TypeHierarchyLifeCycle();
fHierarchyLifeCycle.setReconciled(JavaBasePreferencePage.reconcileJavaViews());
fTypeHierarchyLifeCycleListener= new ITypeHierarchyLifeCycleListener() {
public void typeHierarchy... |
11,703 | Bug 11703 Outline sorting -> constructors should be before statics | build 2002-03-19 on Win98. - open a Java editor on a Java file - in the Outline view have "sort" and "hide fields" icons selected - note that the sort order seems to be statics then constructors then instance methods - in build 2002-03-14 constructors used to be listed at the top next to the class name - this is much m... | resolved fixed | c59109a | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-09-16T18:31:22Z | 2002-03-19T20:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java | fToggleOrientationActions= new ToggleOrientationAction[] {
new ToggleOrientationAction(this, VIEW_ORIENTATION_VERTICAL),
new ToggleOrientationAction(this, VIEW_ORIENTATION_HORIZONTAL),
new ToggleOrientationAction(this, VIEW_ORIENTATION_SINGLE)
};
fEnableMemberFilterAction= new EnableMemberFilterAction(... |
11,703 | Bug 11703 Outline sorting -> constructors should be before statics | build 2002-03-19 on Win98. - open a Java editor on a Java file - in the Outline view have "sort" and "hide fields" icons selected - note that the sort order seems to be statics then constructors then instance methods - in build 2002-03-14 constructors used to be listed at the top next to the class name - this is much m... | resolved fixed | c59109a | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-09-16T18:31:22Z | 2002-03-19T20:33:20Z | 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);
}
privat... |
11,703 | Bug 11703 Outline sorting -> constructors should be before statics | build 2002-03-19 on Win98. - open a Java editor on a Java file - in the Outline view have "sort" and "hide fields" icons selected - note that the sort order seems to be statics then constructors then instance methods - in build 2002-03-14 constructors used to be listed at the top next to the class name - this is much m... | resolved fixed | c59109a | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-09-16T18:31:22Z | 2002-03-19T20:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java | updateInput(entry);
}
}
/**
* 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... |
11,703 | Bug 11703 Outline sorting -> constructors should be before statics | build 2002-03-19 on Win98. - open a Java editor on a Java file - in the Outline view have "sort" and "hide fields" icons selected - note that the sort order seems to be statics then constructors then instance methods - in build 2002-03-14 constructors used to be listed at the top next to the class name - this is much m... | resolved fixed | c59109a | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-09-16T18:31:22Z | 2002-03-19T20:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java | if (cu != null && cu.isWorkingCopy()) {
member= (IMember) cu.getOriginal(member);
if (member == null) {
return;
}
}
if (member.getElementType() != IJavaElement.TYPE) {
if (fHierarchyLifeCycle.isReconciled() && cu != null) {
try {
member= (IMember) EditorUtility.getWorkingCopy(member);
... |
11,703 | Bug 11703 Outline sorting -> constructors should be before statics | build 2002-03-19 on Win98. - open a Java editor on a Java file - in the Outline view have "sort" and "hide fields" icons selected - note that the sort order seems to be statics then constructors then instance methods - in build 2002-03-14 constructors used to be listed at the top next to the class name - this is much m... | resolved fixed | c59109a | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-09-16T18:31:22Z | 2002-03-19T20:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java | }
/**
* @deprecated
*/
public IType getInput() {
if (fInputElement instanceof IType) {
return (IType) fInputElement;
}
return null;
}
/**
* Sets the input to a new type
* @deprecated
*/
public void setInput(IType type) {
setInputElement(type);
}
/**
* Returns the input element of t... |
11,703 | Bug 11703 Outline sorting -> constructors should be before statics | build 2002-03-19 on Win98. - open a Java editor on a Java file - in the Outline view have "sort" and "hide fields" icons selected - note that the sort order seems to be statics then constructors then instance methods - in build 2002-03-14 constructors used to be listed at the top next to the class name - this is much m... | resolved fixed | c59109a | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-09-16T18:31:22Z | 2002-03-19T20:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java | public void setInputElement(IJavaElement element) {
if (element != null) {
if (element instanceof IMember) {
if (element.getElementType() != IJavaElement.TYPE) {
element= ((IMember) element).getDeclaringType();
}
ICompilationUnit cu= ((IMember) element).getCompilationUnit();
if (cu != null... |
11,703 | Bug 11703 Outline sorting -> constructors should be before statics | build 2002-03-19 on Win98. - open a Java editor on a Java file - in the Outline view have "sort" and "hide fields" icons selected - note that the sort order seems to be statics then constructors then instance methods - in build 2002-03-14 constructors used to be listed at the top next to the class name - this is much m... | resolved fixed | c59109a | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-09-16T18:31:22Z | 2002-03-19T20:33:20Z | 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, new BusyInd... |
11,703 | Bug 11703 Outline sorting -> constructors should be before statics | build 2002-03-19 on Win98. - open a Java editor on a Java file - in the Outline view have "sort" and "hide fields" icons selected - note that the sort order seems to be statics then constructors then instance methods - in build 2002-03-14 constructors used to be listed at the top next to the class name - this is much m... | resolved fixed | c59109a | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-09-16T18:31:22Z | 2002-03-19T20:33:20Z | 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(... |
11,703 | Bug 11703 Outline sorting -> constructors should be before statics | build 2002-03-19 on Win98. - open a Java editor on a Java file - in the Outline view have "sort" and "hide fields" icons selected - note that the sort order seems to be statics then constructors then instance methods - in build 2002-03-14 constructors used to be listed at the top next to the class name - this is much m... | resolved fixed | c59109a | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-09-16T18:31:22Z | 2002-03-19T20:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java | }
private Control createTypeViewerControl(Composite parent) {
fViewerbook= new PageBook(parent, SWT.NULL);
KeyListener keyListener= createKeyListener();
TypeHierarchyViewer superTypesViewer= new SuperTypeHierarchyViewer(fViewerbook, fHierarchyLifeCycle, this);
initializeTypesViewer(superType... |
11,703 | Bug 11703 Outline sorting -> constructors should be before statics | build 2002-03-19 on Win98. - open a Java editor on a Java file - in the Outline view have "sort" and "hide fields" icons selected - note that the sort order seems to be statics then constructors then instance methods - in build 2002-03-14 constructors used to be listed at the top next to the class name - this is much m... | resolved fixed | c59109a | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-09-16T18:31:22Z | 2002-03-19T20:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java | fEmptyTypesViewer= new Label(fViewerbook, SWT.LEFT);
for (int i= 0; i < fAllViewers.length; i++) {
fAllViewers[i].setInput(fAllViewers[i]);
}
fCurrentViewerIndex= -1;
setView(currViewerIndex);
return fViewerbook;
}
private KeyListener createKeyListener() {
return new KeyAdapter() {
p... |
11,703 | Bug 11703 Outline sorting -> constructors should be before statics | build 2002-03-19 on Win98. - open a Java editor on a Java file - in the Outline view have "sort" and "hide fields" icons selected - note that the sort order seems to be statics then constructors then instance methods - in build 2002-03-14 constructors used to be listed at the top next to the class name - this is much m... | resolved fixed | c59109a | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-09-16T18:31:22Z | 2002-03-19T20:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java | }
private void initializeTypesViewer(final TypeHierarchyViewer typesViewer, KeyListener keyListener, String cotextHelpId) {
typesViewer.getControl().setVisible(false);
typesViewer.getControl().addKeyListener(keyListener);
typesViewer.initContextMenu(new IMenuListener() {
public void menuAboutToShow(IMenuMan... |
11,703 | Bug 11703 Outline sorting -> constructors should be before statics | build 2002-03-19 on Win98. - open a Java editor on a Java file - in the Outline view have "sort" and "hide fields" icons selected - note that the sort order seems to be statics then constructors then instance methods - in build 2002-03-14 constructors used to be listed at the top next to the class name - this is much m... | resolved fixed | c59109a | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-09-16T18:31:22Z | 2002-03-19T20:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java | int ops= DND.DROP_MOVE | DND.DROP_COPY | DND.DROP_LINK;
for (int i= 0; i < fAllViewers.length; i++) {
addDragAdapters(fAllViewers[i], ops, transfers);
addDropAdapters(fAllViewers[i], ops | DND.DROP_DEFAULT, transfers);
}
addDragAdapters(fMethodsViewer, ops, transfers);
DropTarget dropTarget = new Drop... |
11,703 | Bug 11703 Outline sorting -> constructors should be before statics | build 2002-03-19 on Win98. - open a Java editor on a Java file - in the Outline view have "sort" and "hide fields" icons selected - note that the sort order seems to be statics then constructors then instance methods - in build 2002-03-14 constructors used to be listed at the top next to the class name - this is much m... | resolved fixed | c59109a | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-09-16T18:31:22Z | 2002-03-19T20:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java | if (event.character == '1') {
setView(VIEW_ID_TYPE);
} else if (event.character == '2') {
setView(VIEW_ID_SUPER);
} else if (event.character == '3') {
setView(VIEW_ID_SUB);
}
}
}
/**
* Returns the inner component in a workbench part.
* @see IWorkbenchPart#createPartControl
*/
publi... |
11,703 | Bug 11703 Outline sorting -> constructors should be before statics | build 2002-03-19 on Win98. - open a Java editor on a Java file - in the Outline view have "sort" and "hide fields" icons selected - note that the sort order seems to be statics then constructors then instance methods - in build 2002-03-14 constructors used to be listed at the top next to the class name - this is much m... | resolved fixed | c59109a | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-09-16T18:31:22Z | 2002-03-19T20:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java | Control methodViewerPart= createMethodViewerControl(fMethodViewerViewForm);
fMethodViewerViewForm.setContent(methodViewerPart);
fMethodViewerPaneLabel= new CLabel(fMethodViewerViewForm, SWT.NONE);
fMethodViewerViewForm.setTopLeft(fMethodViewerPaneLabel);
ToolBar methodViewerToolBar= new ToolBar(fMethodV... |
11,703 | Bug 11703 Outline sorting -> constructors should be before statics | build 2002-03-19 on Win98. - open a Java editor on a Java file - in the Outline view have "sort" and "hide fields" icons selected - note that the sort order seems to be statics then constructors then instance methods - in build 2002-03-14 constructors used to be listed at the top next to the class name - this is much m... | resolved fixed | c59109a | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-09-16T18:31:22Z | 2002-03-19T20:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java | setOrientation(orientation);
IActionBars actionBars= getViewSite().getActionBars();
IMenuManager viewMenu= actionBars.getMenuManager();
for (int i= 0; i < fToggleOrientationActions.length; i++) {
viewMenu.add(fToggleOrientationActions[i]);
}
viewMenu.add(new Separator(IWorkbenchActionConstants.MB_ADD... |
11,703 | Bug 11703 Outline sorting -> constructors should be before statics | build 2002-03-19 on Win98. - open a Java editor on a Java file - in the Outline view have "sort" and "hide fields" icons selected - note that the sort order seems to be statics then constructors then instance methods - in build 2002-03-14 constructors used to be listed at the top next to the class name - this is much m... | resolved fixed | c59109a | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-09-16T18:31:22Z | 2002-03-19T20:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java | getSite().getPage().addPartListener(fPartListener);
IJavaElement input= determineInputElement();
if (fMemento != null) {
restoreState(fMemento, input);
} else if (input != null) {
setInputElement(input);
} else {
setViewerVisibility(false);
}
WorkbenchHelp.setHelp(fPagebook, IJavaHelpContextIds.... |
11,703 | Bug 11703 Outline sorting -> constructors should be before statics | build 2002-03-19 on Win98. - open a Java editor on a Java file - in the Outline view have "sort" and "hide fields" icons selected - note that the sort order seems to be statics then constructors then instance methods - in build 2002-03-14 constructors used to be listed at the top next to the class name - this is much m... | resolved fixed | c59109a | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-09-16T18:31:22Z | 2002-03-19T20:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java | if (fCurrentOrientation != orientation) {
boolean methodViewerNeedsUpdate= false;
if (fMethodViewerViewForm != null && !fMethodViewerViewForm.isDisposed()
&& fTypeMethodsSplitter != null && !fTypeMethodsSplitter.isDisposed()) {
if (orientation == VIEW_ORIENTATION_SINGLE) {
fMethodViewerViewForm.... |
11,703 | Bug 11703 Outline sorting -> constructors should be before statics | build 2002-03-19 on Win98. - open a Java editor on a Java file - in the Outline view have "sort" and "hide fields" icons selected - note that the sort order seems to be statics then constructors then instance methods - in build 2002-03-14 constructors used to be listed at the top next to the class name - this is much m... | resolved fixed | c59109a | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-09-16T18:31:22Z | 2002-03-19T20:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java | private void updateMainToolbar(int orientation) {
IActionBars actionBars= getViewSite().getActionBars();
IToolBarManager tbmanager= actionBars.getToolBarManager();
if (orientation == VIEW_ORIENTATION_HORIZONTAL) {
clearMainToolBar(tbmanager);
ToolBar typeViewerToolBar= new ToolBar(fTypeViewerViewForm,... |
11,703 | Bug 11703 Outline sorting -> constructors should be before statics | build 2002-03-19 on Win98. - open a Java editor on a Java file - in the Outline view have "sort" and "hide fields" icons selected - note that the sort order seems to be statics then constructors then instance methods - in build 2002-03-14 constructors used to be listed at the top next to the class name - this is much m... | resolved fixed | c59109a | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-09-16T18:31:22Z | 2002-03-19T20:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java | /**
* Creates the context menu for the hierarchy viewers
*/
private void fillTypesViewerContextMenu(TypeHierarchyViewer viewer, IMenuManager menu) {
JavaPlugin.createStandardGroups(menu);
menu.appendToGroup(IContextMenuConstants.GROUP_SHOW, new Separator(GROUP_FOCUS));
viewer.contributeToContextMenu(me... |
11,703 | Bug 11703 Outline sorting -> constructors should be before statics | build 2002-03-19 on Win98. - open a Java editor on a Java file - in the Outline view have "sort" and "hide fields" icons selected - note that the sort order seems to be statics then constructors then instance methods - in build 2002-03-14 constructors used to be listed at the top next to the class name - this is much m... | resolved fixed | c59109a | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-09-16T18:31:22Z | 2002-03-19T20:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java | if (fSelectedType != null && fAddStubAction.init(fSelectedType, fMethodsViewer.getSelection())) {
menu.appendToGroup(IContextMenuConstants.GROUP_REORGANIZE, fAddStubAction);
}
fActionGroups.setContext(new ActionContext(getSite().getSelectionProvider().getSelection()));
fActionGroups.fillContextMenu(menu);
f... |
11,703 | Bug 11703 Outline sorting -> constructors should be before statics | build 2002-03-19 on Win98. - open a Java editor on a Java file - in the Outline view have "sort" and "hide fields" icons selected - note that the sort order seems to be statics then constructors then instance methods - in build 2002-03-14 constructors used to be listed at the top next to the class name - this is much m... | resolved fixed | c59109a | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-09-16T18:31:22Z | 2002-03-19T20:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java | MenuManager submenu= new MenuManager(TypeHierarchyMessages.getString("TypeHierarchyViewPart.menu.open"));
submenu.add(new OpenWithMenu(getSite().getPage(), (IFile) resource));
menu.appendToGroup(IContextMenuConstants.GROUP_OPEN, submenu);
}
/**
* Toggles between the empty viewer page and the hierarchy
*/
... |
11,703 | Bug 11703 Outline sorting -> constructors should be before statics | build 2002-03-19 on Win98. - open a Java editor on a Java file - in the Outline view have "sort" and "hide fields" icons selected - note that the sort order seems to be statics then constructors then instance methods - in build 2002-03-14 constructors used to be listed at the top next to the class name - this is much m... | resolved fixed | c59109a | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-09-16T18:31:22Z | 2002-03-19T20:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java | return null;
} else {
return (IType) elem;
}
}
private void internalSelectType(IMember elem, boolean reveal) {
TypeHierarchyViewer viewer= getCurrentViewer();
viewer.removeSelectionChangedListener(fSelectionChangedListener);
viewer.setSelection(elem != null ? new StructuredSelection(elem) : Structure... |
11,703 | Bug 11703 Outline sorting -> constructors should be before statics | build 2002-03-19 on Win98. - open a Java editor on a Java file - in the Outline view have "sort" and "hide fields" icons selected - note that the sort order seems to be statics then constructors then instance methods - in build 2002-03-14 constructors used to be listed at the top next to the class name - this is much m... | resolved fixed | c59109a | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-09-16T18:31:22Z | 2002-03-19T20:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java | public void run() {
getCurrentViewer().updateContent();
}
};
BusyIndicator.showWhile(getDisplay(), runnable);
if (!isChildVisible(fViewerbook, getCurrentViewer().getControl())) {
setViewerVisibility(true);
}
} else {
fEmptyTypesViewer.setText(TypeHierarchyMessages.getForm... |
11,703 | Bug 11703 Outline sorting -> constructors should be before statics | build 2002-03-19 on Win98. - open a Java editor on a Java file - in the Outline view have "sort" and "hide fields" icons selected - note that the sort order seems to be statics then constructors then instance methods - in build 2002-03-14 constructors used to be listed at the top next to the class name - this is much m... | resolved fixed | c59109a | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-09-16T18:31:22Z | 2002-03-19T20:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java | methodSelectionChanged(e.getSelection());
} else {
typeSelectionChanged(e.getSelection());
}
}
private void methodSelectionChanged(ISelection sel) {
if (sel instanceof IStructuredSelection) {
List selected= ((IStructuredSelection)sel).toList();
int nSelected= selected.size();
if (fIsEnableMemb... |
11,703 | Bug 11703 Outline sorting -> constructors should be before statics | build 2002-03-19 on Win98. - open a Java editor on a Java file - in the Outline view have "sort" and "hide fields" icons selected - note that the sort order seems to be statics then constructors then instance methods - in build 2002-03-14 constructors used to be listed at the top next to the class name - this is much m... | resolved fixed | c59109a | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-09-16T18:31:22Z | 2002-03-19T20:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java | if (sel instanceof IStructuredSelection) {
List selected= ((IStructuredSelection)sel).toList();
int nSelected= selected.size();
if (nSelected != 0) {
List types= new ArrayList(nSelected);
for (int i= nSelected-1; i >= 0; i--) {
Object elem= selected.get(i);
if (elem instanceof IType && !types... |
11,703 | Bug 11703 Outline sorting -> constructors should be before statics | build 2002-03-19 on Win98. - open a Java editor on a Java file - in the Outline view have "sort" and "hide fields" icons selected - note that the sort order seems to be statics then constructors then instance methods - in build 2002-03-14 constructors used to be listed at the top next to the class name - this is much m... | resolved fixed | c59109a | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-09-16T18:31:22Z | 2002-03-19T20:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java | if (getSite().getPage().getActivePart() != this) {
return;
}
if (fSelectionProviderMediator.getViewerInFocus() != originViewer) {
return;
}
IEditorPart editorPart= EditorUtility.isOpenInEditor(elem);
if (editorPart != null && (elem instanceof IJavaElement)) {
try {
getSite().getPage().remov... |
11,703 | Bug 11703 Outline sorting -> constructors should be before statics | build 2002-03-19 on Win98. - open a Java editor on a Java file - in the Outline view have "sort" and "hide fields" icons selected - note that the sort order seems to be statics then constructors then instance methods - in build 2002-03-14 constructors used to be listed at the top next to the class name - this is much m... | resolved fixed | c59109a | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-09-16T18:31:22Z | 2002-03-19T20:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java | for (int i= 0; i < children.length; i++) {
if (children[i] == child && children[i].isVisible())
return true;
}
return false;
}
private void updateTitle() {
String viewerTitle= getCurrentViewer().getTitle();
String tooltip;
String title;
if (fInputElement != null) {
String[] args= new String... |
11,703 | Bug 11703 Outline sorting -> constructors should be before statics | build 2002-03-19 on Win98. - open a Java editor on a Java file - in the Outline view have "sort" and "hide fields" icons selected - note that the sort order seems to be statics then constructors then instance methods - in build 2002-03-14 constructors used to be listed at the top next to the class name - this is much m... | resolved fixed | c59109a | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-09-16T18:31:22Z | 2002-03-19T20:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java | } else {
action.setEnabled(isType);
}
}
}
/**
* Sets the current view (see view id)
* called from ToggleViewAction. Must be called after creation of the viewpart.
*/
public void setView(int viewerIndex) {
Assert.isNotNull(fAllViewers);
if (viewerIndex < fAllViewers.length && fCurrentViewerInde... |
11,703 | Bug 11703 Outline sorting -> constructors should be before statics | build 2002-03-19 on Win98. - open a Java editor on a Java file - in the Outline view have "sort" and "hide fields" icons selected - note that the sort order seems to be statics then constructors then instance methods - in build 2002-03-14 constructors used to be listed at the top next to the class name - this is much m... | resolved fixed | c59109a | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-09-16T18:31:22Z | 2002-03-19T20:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java | }
for (int i= 0; i < fViewActions.length; i++) {
ToggleViewAction action= fViewActions[i];
action.setChecked(fCurrentViewerIndex == action.getViewerIndex());
}
}
/**
* Gets the curret active view index.
*/
public int getViewIndex() {
return fCurrentViewerIndex;
}
private TypeHierarchyViewer get... |
11,703 | Bug 11703 Outline sorting -> constructors should be before statics | build 2002-03-19 on Win98. - open a Java editor on a Java file - in the Outline view have "sort" and "hide fields" icons selected - note that the sort order seems to be statics then constructors then instance methods - in build 2002-03-14 constructors used to be listed at the top next to the class name - this is much m... | resolved fixed | c59109a | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-09-16T18:31:22Z | 2002-03-19T20:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java | internalSelectType(methodViewerInput, true);
} else if (fSelectedType != null) {
internalSelectType(fSelectedType, true);
updateMethodViewer(fSelectedType);
}
} else {
methodSelectionChanged(fMethodsViewer.getSelection());
}
}
fEnableMemberFilterAction.setChecked(on);
}
/**
*... |
11,703 | Bug 11703 Outline sorting -> constructors should be before statics | build 2002-03-19 on Win98. - open a Java editor on a Java file - in the Outline view have "sort" and "hide fields" icons selected - note that the sort order seems to be statics then constructors then instance methods - in build 2002-03-14 constructors used to be listed at the top next to the class name - this is much m... | resolved fixed | c59109a | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-09-16T18:31:22Z | 2002-03-19T20:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java | private void doTypeHierarchyChangedOnViewers(IType[] changedTypes) {
if (fHierarchyLifeCycle.getHierarchy() == null || !fHierarchyLifeCycle.getHierarchy().exists()) {
clearInput();
} else {
if (changedTypes == null) {
try {
fHierarchyLifeCycle.ensureRefreshedTypeHierarchy(fInputElement, new Busy... |
11,703 | Bug 11703 Outline sorting -> constructors should be before statics | build 2002-03-19 on Win98. - open a Java editor on a Java file - in the Outline view have "sort" and "hide fields" icons selected - note that the sort order seems to be statics then constructors then instance methods - in build 2002-03-14 constructors used to be listed at the top next to the class name - this is much m... | resolved fixed | c59109a | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-09-16T18:31:22Z | 2002-03-19T20:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java | }
/**
* Determines the input element to be used initially .
*/
private IJavaElement determineInputElement() {
Object input= getSite().getPage().getInput();
if (input instanceof IJavaElement) {
IJavaElement elem= (IJavaElement) input;
if (elem instanceof IMember) {
return elem;
} else {
... |
11,703 | Bug 11703 Outline sorting -> constructors should be before statics | build 2002-03-19 on Win98. - open a Java editor on a Java file - in the Outline view have "sort" and "hide fields" icons selected - note that the sort order seems to be statics then constructors then instance methods - in build 2002-03-14 constructors used to be listed at the top next to the class name - this is much m... | resolved fixed | c59109a | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-09-16T18:31:22Z | 2002-03-19T20:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java | /*
* @see ViewPart#saveState(IMemento)
*/
public void saveState(IMemento memento) {
if (fPagebook == null) {
if (fMemento != null) {
memento.putMemento(fMemento);
}
return;
}
if (fInputElement != null) {
String handleIndentifier= fInputElement.getHandleIdentifier();
if (fInputElement... |
11,703 | Bug 11703 Outline sorting -> constructors should be before statics | build 2002-03-19 on Win98. - open a Java editor on a Java file - in the Outline view have "sort" and "hide fields" icons selected - note that the sort order seems to be statics then constructors then instance methods - in build 2002-03-14 constructors used to be listed at the top next to the class name - this is much m... | resolved fixed | c59109a | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-09-16T18:31:22Z | 2002-03-19T20:33:20Z | 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);
}
/**... |
11,703 | Bug 11703 Outline sorting -> constructors should be before statics | build 2002-03-19 on Win98. - open a Java editor on a Java file - in the Outline view have "sort" and "hide fields" icons selected - note that the sort order seems to be statics then constructors then instance methods - in build 2002-03-14 constructors used to be listed at the top next to the class name - this is much m... | resolved fixed | c59109a | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-09-16T18:31:22Z | 2002-03-19T20:33:20Z | 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... |
11,703 | Bug 11703 Outline sorting -> constructors should be before statics | build 2002-03-19 on Win98. - open a Java editor on a Java file - in the Outline view have "sort" and "hide fields" icons selected - note that the sort order seems to be statics then constructors then instance methods - in build 2002-03-14 constructors used to be listed at the top next to the class name - this is much m... | resolved fixed | c59109a | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-09-16T18:31:22Z | 2002-03-19T20:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java | try {
TypeHierarchyViewer currentViewer= getCurrentViewer();
if (elem instanceof IClassFile) {
IType type= ((IClassFile)elem).getType();
if (currentViewer.isElementShown(type)) {
internalSelectType(type, true);
updateMethodViewer(type);
}
} else if (elem instanceof ICompilationUnit) {
... |
11,703 | Bug 11703 Outline sorting -> constructors should be before statics | build 2002-03-19 on Win98. - open a Java editor on a Java file - in the Outline view have "sort" and "hide fields" icons selected - note that the sort order seems to be statics then constructors then instance methods - in build 2002-03-14 constructors used to be listed at the top next to the class name - this is much m... | resolved fixed | c59109a | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-09-16T18:31:22Z | 2002-03-19T20:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/JavaElementSorter.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 v1.0
* which accompanie... |
11,703 | Bug 11703 Outline sorting -> constructors should be before statics | build 2002-03-19 on Win98. - open a Java editor on a Java file - in the Outline view have "sort" and "hide fields" icons selected - note that the sort order seems to be statics then constructors then instance methods - in build 2002-03-14 constructors used to be listed at the top next to the class name - this is much m... | resolved fixed | c59109a | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-09-16T18:31:22Z | 2002-03-19T20:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/JavaElementSorter.java | import org.eclipse.jface.viewers.ViewerSorter;
import org.eclipse.jdt.core.Flags;
import org.eclipse.jdt.core.IField;
import org.eclipse.jdt.core.IInitializer;
import org.eclipse.jdt.core.IJavaElement;
import org.eclipse.jdt.core.IMethod;
import org.eclipse.jdt.core.IPackageFragment;
import org.eclipse.jdt.core.IPackag... |
11,703 | Bug 11703 Outline sorting -> constructors should be before statics | build 2002-03-19 on Win98. - open a Java editor on a Java file - in the Outline view have "sort" and "hide fields" icons selected - note that the sort order seems to be statics then constructors then instance methods - in build 2002-03-14 constructors used to be listed at the top next to the class name - this is much m... | resolved fixed | c59109a | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-09-16T18:31:22Z | 2002-03-19T20:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/JavaElementSorter.java | private static final int RESOURCEFOLDERS= 7;
private static final int RESOURCES= 8;
private static final int STORAGE= 9;
private static final int PACKAGE_DECL= 10;
private static final int IMPORT_CONTAINER= 11;
private static final int IMPORT_DECLARATION= 12;
private static final int TYPES= 13;
private static... |
11,703 | Bug 11703 Outline sorting -> constructors should be before statics | build 2002-03-19 on Win98. - open a Java editor on a Java file - in the Outline view have "sort" and "hide fields" icons selected - note that the sort order seems to be statics then constructors then instance methods - in build 2002-03-14 constructors used to be listed at the top next to the class name - this is much m... | resolved fixed | c59109a | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-09-16T18:31:22Z | 2002-03-19T20:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/JavaElementSorter.java | /*
* @see ViewerSorter#category
*/
public int category(Object element) {
if (element instanceof IJavaElement) {
try {
IJavaElement je= (IJavaElement) element;
switch (je.getElementType()) {
case IJavaElement.METHOD: {
IMethod method= (IMethod) je;
if (method.isConstructor())
... |
11,703 | Bug 11703 Outline sorting -> constructors should be before statics | build 2002-03-19 on Win98. - open a Java editor on a Java file - in the Outline view have "sort" and "hide fields" icons selected - note that the sort order seems to be statics then constructors then instance methods - in build 2002-03-14 constructors used to be listed at the top next to the class name - this is much m... | resolved fixed | c59109a | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-09-16T18:31:22Z | 2002-03-19T20:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/JavaElementSorter.java | case IJavaElement.PACKAGE_DECLARATION:
return PACKAGE_DECL;
case IJavaElement.IMPORT_CONTAINER:
return IMPORT_CONTAINER;
case IJavaElement.IMPORT_DECLARATION:
return IMPORT_DECLARATION;
case IJavaElement.PACKAGE_FRAGMENT:
IPackageFragment pack= (IPackageFragment) je;
i... |
11,703 | Bug 11703 Outline sorting -> constructors should be before statics | build 2002-03-19 on Win98. - open a Java editor on a Java file - in the Outline view have "sort" and "hide fields" icons selected - note that the sort order seems to be statics then constructors then instance methods - in build 2002-03-14 constructors used to be listed at the top next to the class name - this is much m... | resolved fixed | c59109a | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-09-16T18:31:22Z | 2002-03-19T20:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/JavaElementSorter.java | }
return JAVAELEMENTS;
} else if (element instanceof IFile) {
return RESOURCES;
} else if (element instanceof IContainer) {
return RESOURCEFOLDERS;
} else if (element instanceof IStorage) {
return STORAGE;
}
return OTHERS;
}
/*
* @see ViewerSorter#compare
*/
public int compare(Viewer ... |
11,703 | Bug 11703 Outline sorting -> constructors should be before statics | build 2002-03-19 on Win98. - open a Java editor on a Java file - in the Outline view have "sort" and "hide fields" icons selected - note that the sort order seems to be statics then constructors then instance methods - in build 2002-03-14 constructors used to be listed at the top next to the class name - this is much m... | resolved fixed | c59109a | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-09-16T18:31:22Z | 2002-03-19T20:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/JavaElementSorter.java | }
}
if (cat1 == RESOURCES || cat1 == RESOURCEFOLDERS || cat1 == STORAGE || cat1 == OTHERS) {
return compareWithLabelProvider(viewer, e1, e2);
}
String name1= ((IJavaElement) e1).getElementName();
String name2= ((IJavaElement) e2).getElementName();
int cmp= getCollator().compare(name1, name2);... |
11,703 | Bug 11703 Outline sorting -> constructors should be before statics | build 2002-03-19 on Win98. - open a Java editor on a Java file - in the Outline view have "sort" and "hide fields" icons selected - note that the sort order seems to be statics then constructors then instance methods - in build 2002-03-14 constructors used to be listed at the top next to the class name - this is much m... | resolved fixed | c59109a | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-09-16T18:31:22Z | 2002-03-19T20:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/JavaElementSorter.java | private int compareWithLabelProvider(Viewer viewer, Object e1, Object e2) {
if (viewer instanceof ContentViewer) {
IBaseLabelProvider prov = ((ContentViewer) viewer).getLabelProvider();
if (prov instanceof ILabelProvider) {
ILabelProvider lprov= (ILabelProvider) prov;
String name1 = lprov.getText(e1);
... |
23,447 | Bug 23447 Java super-class name does not carry on to dialogue box [code manipulation] | From WSAD Customer: When creating a new Java Class, when an incomplete super-classname is entered in the dialogue box and then the Browse button is clicked, nothing that appears in the Choose a type field. Ideally, it should have the incomplete name typed in the previous super-class field. How to recreate : In the Java... | resolved fixed | 02d77b9 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-09-17T08:45:37Z | 2002-09-12T08:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewTypeWizardPage.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 v1.0
* which accompanie... |
23,447 | Bug 23447 Java super-class name does not carry on to dialogue box [code manipulation] | From WSAD Customer: When creating a new Java Class, when an incomplete super-classname is entered in the dialogue box and then the Browse button is clicked, nothing that appears in the Choose a type field. Ideally, it should have the incomplete name typed in the previous super-class field. How to recreate : In the Java... | resolved fixed | 02d77b9 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-09-17T08:45:37Z | 2002-09-12T08:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewTypeWizardPage.java | * Contributors:
* IBM Corporation - initial API and implementation
******************************************************************************/
package org.eclipse.jdt.ui.wizards;
import java.lang.reflect.InvocationTargetException;
import java.util.ArrayList;
import java.util.List;
import org.eclipse.core.runt... |
23,447 | Bug 23447 Java super-class name does not carry on to dialogue box [code manipulation] | From WSAD Customer: When creating a new Java Class, when an incomplete super-classname is entered in the dialogue box and then the Browse button is clicked, nothing that appears in the Choose a type field. Ideally, it should have the incomplete name typed in the previous super-class field. How to recreate : In the Java... | resolved fixed | 02d77b9 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-09-17T08:45:37Z | 2002-09-12T08:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewTypeWizardPage.java | import org.eclipse.jdt.core.IPackageFragmentRoot;
import org.eclipse.jdt.core.ISourceRange;
import org.eclipse.jdt.core.IType;
import org.eclipse.jdt.core.ITypeHierarchy;
import org.eclipse.jdt.core.JavaConventions;
import org.eclipse.jdt.core.JavaModelException;
import org.eclipse.jdt.core.Signature;
import org.eclips... |
23,447 | Bug 23447 Java super-class name does not carry on to dialogue box [code manipulation] | From WSAD Customer: When creating a new Java Class, when an incomplete super-classname is entered in the dialogue box and then the Browse button is clicked, nothing that appears in the Choose a type field. Ideally, it should have the incomplete name typed in the previous super-class field. How to recreate : In the Java... | resolved fixed | 02d77b9 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-09-17T08:45:37Z | 2002-09-12T08:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewTypeWizardPage.java | import org.eclipse.jdt.internal.ui.wizards.SuperInterfaceSelectionDialog;
import org.eclipse.jdt.internal.ui.wizards.dialogfields.DialogField;
import org.eclipse.jdt.internal.ui.wizards.dialogfields.IDialogFieldListener;
import org.eclipse.jdt.internal.ui.wizards.dialogfields.IListAdapter;
import org.eclipse.jdt.intern... |
23,447 | Bug 23447 Java super-class name does not carry on to dialogue box [code manipulation] | From WSAD Customer: When creating a new Java Class, when an incomplete super-classname is entered in the dialogue box and then the Browse button is clicked, nothing that appears in the Choose a type field. Ideally, it should have the incomplete name typed in the previous super-class field. How to recreate : In the Java... | resolved fixed | 02d77b9 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-09-17T08:45:37Z | 2002-09-12T08:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewTypeWizardPage.java | /**
* Class used in stub creation routines to add needed imports to a
* compilation unit.
*/
public static class ImportsManager {
private IImportsStructure fImportsStructure;
ImportsManager(IImportsStructure structure) {
fImportsStructure= structure;
}
IImportsStructure getImportsStructure() {
r... |
23,447 | Bug 23447 Java super-class name does not carry on to dialogue box [code manipulation] | From WSAD Customer: When creating a new Java Class, when an incomplete super-classname is entered in the dialogue box and then the Browse button is clicked, nothing that appears in the Choose a type field. Ideally, it should have the incomplete name typed in the previous super-class field. How to recreate : In the Java... | resolved fixed | 02d77b9 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-09-17T08:45:37Z | 2002-09-12T08:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewTypeWizardPage.java | public int F_PUBLIC = IConstants.AccPublic;
public int F_PRIVATE = IConstants.AccPrivate;
public int F_PROTECTED = IConstants.AccProtected;
public int F_STATIC = IConstants.AccStatic;
public int F_FINAL = IConstants.AccFinal;
public int F_ABSTRACT = IConstants.AccAbstract;
private final static String PA... |
23,447 | Bug 23447 Java super-class name does not carry on to dialogue box [code manipulation] | From WSAD Customer: When creating a new Java Class, when an incomplete super-classname is entered in the dialogue box and then the Browse button is clicked, nothing that appears in the Choose a type field. Ideally, it should have the incomplete name typed in the previous super-class field. How to recreate : In the Java... | resolved fixed | 02d77b9 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-09-17T08:45:37Z | 2002-09-12T08:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewTypeWizardPage.java | private Image fInterfaceImage;
public InterfacesListLabelProvider() {
super();
fInterfaceImage= JavaPluginImages.get(JavaPluginImages.IMG_OBJS_INTERFACE);
}
public Image getImage(Object element) {
return fInterfaceImage;
}
}
private StringButtonStatusDialogField fPackageDialogField;
private... |
23,447 | Bug 23447 Java super-class name does not carry on to dialogue box [code manipulation] | From WSAD Customer: When creating a new Java Class, when an incomplete super-classname is entered in the dialogue box and then the Browse button is clicked, nothing that appears in the Choose a type field. Ideally, it should have the incomplete name typed in the previous super-class field. How to recreate : In the Java... | resolved fixed | 02d77b9 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-09-17T08:45:37Z | 2002-09-12T08:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewTypeWizardPage.java | private IType fCurrEnclosingType;
private StringDialogField fTypeNameDialogField;
private StringButtonDialogField fSuperClassDialogField;
private ListDialogField fSuperInterfacesDialogField;
private IType fSuperClass;
private SelectionButtonDialogFieldGroup fAccMdfButtons;
private SelectionButtonDialogFiel... |
23,447 | Bug 23447 Java super-class name does not carry on to dialogue box [code manipulation] | From WSAD Customer: When creating a new Java Class, when an incomplete super-classname is entered in the dialogue box and then the Browse button is clicked, nothing that appears in the Choose a type field. Ideally, it should have the incomplete name typed in the previous super-class field. How to recreate : In the Java... | resolved fixed | 02d77b9 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-09-17T08:45:37Z | 2002-09-12T08:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewTypeWizardPage.java | * an interface is to be created
* @param pageName the wizard page's name
*/
public NewTypeWizardPage(boolean isClass, String pageName) {
super(pageName);
fCreatedType= null;
fIsClass= isClass;
TypeFieldsAdapter adapter= new TypeFieldsAdapter();
fPackageDialogField= new StringButtonStatusDialogFi... |
23,447 | Bug 23447 Java super-class name does not carry on to dialogue box [code manipulation] | From WSAD Customer: When creating a new Java Class, when an incomplete super-classname is entered in the dialogue box and then the Browse button is clicked, nothing that appears in the Choose a type field. Ideally, it should have the incomplete name typed in the previous super-class field. How to recreate : In the Java... | resolved fixed | 02d77b9 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-09-17T08:45:37Z | 2002-09-12T08:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewTypeWizardPage.java | fSuperClassDialogField.setDialogFieldListener(adapter);
fSuperClassDialogField.setLabelText(NewWizardMessages.getString("NewTypeWizardPage.superclass.label"));
fSuperClassDialogField.setButtonLabel(NewWizardMessages.getString("NewTypeWizardPage.superclass.button"));
String[] addButtons= new String[] {
Ne... |
23,447 | Bug 23447 Java super-class name does not carry on to dialogue box [code manipulation] | From WSAD Customer: When creating a new Java Class, when an incomplete super-classname is entered in the dialogue box and then the Browse button is clicked, nothing that appears in the Choose a type field. Ideally, it should have the incomplete name typed in the previous super-class field. How to recreate : In the Java... | resolved fixed | 02d77b9 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-09-17T08:45:37Z | 2002-09-12T08:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewTypeWizardPage.java | NewWizardMessages.getString("NewTypeWizardPage.modifiers.final"),
NewWizardMessages.getString("NewTypeWizardPage.modifiers.static")
};
fStaticMdfIndex= 2;
} else {
buttonNames2= new String[] {
NewWizardMessages.getString("NewTypeWizardPage.modifiers.static")
};
fStaticMdfIndex= 0;
}
f... |
23,447 | Bug 23447 Java super-class name does not carry on to dialogue box [code manipulation] | From WSAD Customer: When creating a new Java Class, when an incomplete super-classname is entered in the dialogue box and then the Browse button is clicked, nothing that appears in the Choose a type field. Ideally, it should have the incomplete name typed in the previous super-class field. How to recreate : In the Java... | resolved fixed | 02d77b9 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-09-17T08:45:37Z | 2002-09-12T08:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewTypeWizardPage.java | * Initializes all fields provided by the page with a given selection.
*
* @param elem the selection used to intialize this page or <code>
* null</code> if no selection was available
*/
protected void initTypePage(IJavaElement elem) {
String initSuperclass= "java.lang.Object";
ArrayList initSuperinterface... |
23,447 | Bug 23447 Java super-class name does not carry on to dialogue box [code manipulation] | From WSAD Customer: When creating a new Java Class, when an incomplete super-classname is entered in the dialogue box and then the Browse button is clicked, nothing that appears in the Choose a type field. Ideally, it should have the incomplete name typed in the previous super-class field. How to recreate : In the Java... | resolved fixed | 02d77b9 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-09-17T08:45:37Z | 2002-09-12T08:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewTypeWizardPage.java | if (type.exists()) {
String superName= JavaModelUtil.getFullyQualifiedName(type);
if (type.isInterface()) {
initSuperinterfaces.add(superName);
} else {
initSuperclass= superName;
}
}
}
} catch (JavaModelException e) {
JavaPlugin.log(e);
}
}
setPackag... |
23,447 | Bug 23447 Java super-class name does not carry on to dialogue box [code manipulation] | From WSAD Customer: When creating a new Java Class, when an incomplete super-classname is entered in the dialogue box and then the Browse button is clicked, nothing that appears in the Choose a type field. Ideally, it should have the incomplete name typed in the previous super-class field. How to recreate : In the Java... | resolved fixed | 02d77b9 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-09-17T08:45:37Z | 2002-09-12T08:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewTypeWizardPage.java | */
protected void createSeparator(Composite composite, int nColumns) {
(new Separator(SWT.SEPARATOR | SWT.HORIZONTAL)).doFillIntoGrid(composite, nColumns, convertHeightInCharsToPixels(1));
}
/**
* Creates the controls for the package name field. Expects a <code>GridLayout</code> with at
* least 4 columns.
... |
23,447 | Bug 23447 Java super-class name does not carry on to dialogue box [code manipulation] | From WSAD Customer: When creating a new Java Class, when an incomplete super-classname is entered in the dialogue box and then the Browse button is clicked, nothing that appears in the Choose a type field. Ideally, it should have the incomplete name typed in the previous super-class field. How to recreate : In the Java... | resolved fixed | 02d77b9 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-09-17T08:45:37Z | 2002-09-12T08:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewTypeWizardPage.java | fEnclosingTypeSelection.doFillIntoGrid(tabGroup, 1);
Control c= fEnclosingTypeDialogField.getTextControl(composite);
GridData gd= new GridData(GridData.FILL_HORIZONTAL);
gd.widthHint= getMaxFieldWidth();
gd.horizontalSpan= 2;
c.setLayoutData(gd);
Button button= fEnclosingTypeDialogField.getChangeControl(... |
23,447 | Bug 23447 Java super-class name does not carry on to dialogue box [code manipulation] | From WSAD Customer: When creating a new Java Class, when an incomplete super-classname is entered in the dialogue box and then the Browse button is clicked, nothing that appears in the Choose a type field. Ideally, it should have the incomplete name typed in the previous super-class field. How to recreate : In the Java... | resolved fixed | 02d77b9 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-09-17T08:45:37Z | 2002-09-12T08:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewTypeWizardPage.java | * @param composite the parent composite
* @param nColumns number of columns to span
*/
protected void createModifierControls(Composite composite, int nColumns) {
LayoutUtil.setHorizontalSpan(fAccMdfButtons.getLabelControl(composite), 1);
Control control= fAccMdfButtons.getSelectionButtonsGroup(composite);... |
23,447 | Bug 23447 Java super-class name does not carry on to dialogue box [code manipulation] | From WSAD Customer: When creating a new Java Class, when an incomplete super-classname is entered in the dialogue box and then the Browse button is clicked, nothing that appears in the Choose a type field. Ideally, it should have the incomplete name typed in the previous super-class field. How to recreate : In the Java... | resolved fixed | 02d77b9 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-09-17T08:45:37Z | 2002-09-12T08:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewTypeWizardPage.java | LayoutUtil.setWidthHint(fSuperClassDialogField.getTextControl(null), getMaxFieldWidth());
}
/**
* Creates the controls for the superclass name field. Expects a <code>GridLayout</code> with
* at least 3 columns.
*
* @param composite the parent composite
* @param nColumns number of columns to span
*/
... |
23,447 | Bug 23447 Java super-class name does not carry on to dialogue box [code manipulation] | From WSAD Customer: When creating a new Java Class, when an incomplete super-classname is entered in the dialogue box and then the Browse button is clicked, nothing that appears in the Choose a type field. Ideally, it should have the incomplete name typed in the previous super-class field. How to recreate : In the Java... | resolved fixed | 02d77b9 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-09-17T08:45:37Z | 2002-09-12T08:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewTypeWizardPage.java | public void changeControlPressed(DialogField field) {
typePageChangeControlPressed(field);
}
public void customButtonPressed(DialogField field, int index) {
typePageCustomButtonPressed(field, index);
}
public void selectionChanged(DialogField field) {}
public void dialogFieldChanged(Dialo... |
23,447 | Bug 23447 Java super-class name does not carry on to dialogue box [code manipulation] | From WSAD Customer: When creating a new Java Class, when an incomplete super-classname is entered in the dialogue box and then the Browse button is clicked, nothing that appears in the Choose a type field. Ideally, it should have the incomplete name typed in the previous super-class field. How to recreate : In the Java... | resolved fixed | 02d77b9 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-09-17T08:45:37Z | 2002-09-12T08:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewTypeWizardPage.java | IPackageFragment pack= choosePackage();
if (pack != null) {
fPackageDialogField.setText(pack.getElementName());
}
} else if (field == fEnclosingTypeDialogField) {
IType type= chooseEnclosingType();
if (type != null) {
fEnclosingTypeDialogField.setText(JavaModelUtil.getFullyQualifiedName(type));
... |
23,447 | Bug 23447 Java super-class name does not carry on to dialogue box [code manipulation] | From WSAD Customer: When creating a new Java Class, when an incomplete super-classname is entered in the dialogue box and then the Browse button is clicked, nothing that appears in the Choose a type field. Ideally, it should have the incomplete name typed in the previous super-class field. How to recreate : In the Java... | resolved fixed | 02d77b9 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-09-17T08:45:37Z | 2002-09-12T08:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewTypeWizardPage.java | fPackageStatus= packageChanged();
updatePackageStatusLabel();
fTypeNameStatus= typeNameChanged();
fSuperClassStatus= superClassChanged();
fieldName= PACKAGE;
} else if (field == fEnclosingTypeDialogField) {
fEnclosingTypeStatus= enclosingTypeChanged();
fTypeNameStatus= typeNameChanged();
fSupe... |
23,447 | Bug 23447 Java super-class name does not carry on to dialogue box [code manipulation] | From WSAD Customer: When creating a new Java Class, when an incomplete super-classname is entered in the dialogue box and then the Browse button is clicked, nothing that appears in the Choose a type field. Ideally, it should have the incomplete name typed in the previous super-class field. How to recreate : In the Java... | resolved fixed | 02d77b9 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-09-17T08:45:37Z | 2002-09-12T08:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewTypeWizardPage.java | fTypeNameStatus= typeNameChanged();
fieldName= TYPENAME;
} else if (field == fSuperClassDialogField) {
fSuperClassStatus= superClassChanged();
fieldName= SUPER;
} else if (field == fSuperInterfacesDialogField) {
fSuperInterfacesStatus= superInterfacesChanged();
fieldName= INTERFACES;
} else if (fie... |
23,447 | Bug 23447 Java super-class name does not carry on to dialogue box [code manipulation] | From WSAD Customer: When creating a new Java Class, when an incomplete super-classname is entered in the dialogue box and then the Browse button is clicked, nothing that appears in the Choose a type field. Ideally, it should have the incomplete name typed in the previous super-class field. How to recreate : In the Java... | resolved fixed | 02d77b9 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-09-17T08:45:37Z | 2002-09-12T08:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewTypeWizardPage.java | fSuperInterfacesStatus= superInterfacesChanged();
}
}
/**
* Returns the text of the package input field.
*
* @return the text of the package input field
*/
public String getPackageText() {
return fPackageDialogField.getText();
}
/**
* Returns the text of the enclosing type input field.
*
... |
23,447 | Bug 23447 Java super-class name does not carry on to dialogue box [code manipulation] | From WSAD Customer: When creating a new Java Class, when an incomplete super-classname is entered in the dialogue box and then the Browse button is clicked, nothing that appears in the Choose a type field. Ideally, it should have the incomplete name typed in the previous super-class field. How to recreate : In the Java... | resolved fixed | 02d77b9 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-09-17T08:45:37Z | 2002-09-12T08:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewTypeWizardPage.java | public IPackageFragment getPackageFragment() {
if (!isEnclosingTypeSelected()) {
return fCurrPackage;
} else {
if (fCurrEnclosingType != null) {
return fCurrEnclosingType.getPackageFragment();
}
}
return null;
}
/**
* Sets the package fragment to the given value. The method updates the model ... |
23,447 | Bug 23447 Java super-class name does not carry on to dialogue box [code manipulation] | From WSAD Customer: When creating a new Java Class, when an incomplete super-classname is entered in the dialogue box and then the Browse button is clicked, nothing that appears in the Choose a type field. Ideally, it should have the incomplete name typed in the previous super-class field. How to recreate : In the Java... | resolved fixed | 02d77b9 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-09-17T08:45:37Z | 2002-09-12T08:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewTypeWizardPage.java | * not selected or the input could not be resolved
*/
public IType getEnclosingType() {
if (isEnclosingTypeSelected()) {
return fCurrEnclosingType;
}
return null;
}
/**
* Sets the enclosing type. The method updates the underlying model
* and the text of the control.
*
* @param type the enclosing ... |
23,447 | Bug 23447 Java super-class name does not carry on to dialogue box [code manipulation] | From WSAD Customer: When creating a new Java Class, when an incomplete super-classname is entered in the dialogue box and then the Browse button is clicked, nothing that appears in the Choose a type field. Ideally, it should have the incomplete name typed in the previous super-class field. How to recreate : In the Java... | resolved fixed | 02d77b9 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-09-17T08:45:37Z | 2002-09-12T08:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewTypeWizardPage.java | return fEnclosingTypeSelection.isSelected();
}
/**
* Sets the enclosing type checkbox's selection state.
*
* @param isSelected the checkbox's selection state
* @param canBeModified if <code>true</code> the enclosing type checkbox is
* modifiable; otherwise it is read-only.
*/
public void setEnclosingTyp... |
23,447 | Bug 23447 Java super-class name does not carry on to dialogue box [code manipulation] | From WSAD Customer: When creating a new Java Class, when an incomplete super-classname is entered in the dialogue box and then the Browse button is clicked, nothing that appears in the Choose a type field. Ideally, it should have the incomplete name typed in the previous super-class field. How to recreate : In the Java... | resolved fixed | 02d77b9 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-09-17T08:45:37Z | 2002-09-12T08:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewTypeWizardPage.java | */
public void setTypeName(String name, boolean canBeModified) {
fTypeNameDialogField.setText(name);
fTypeNameDialogField.setEnabled(canBeModified);
}
/**
* Returns the selected modifiers.
*
* @return the selected modifiers
* @see Flags
*/
public int getModifiers() {
int mdf= 0;
if (fAccMdf... |
23,447 | Bug 23447 Java super-class name does not carry on to dialogue box [code manipulation] | From WSAD Customer: When creating a new Java Class, when an incomplete super-classname is entered in the dialogue box and then the Browse button is clicked, nothing that appears in the Choose a type field. Ideally, it should have the incomplete name typed in the previous super-class field. How to recreate : In the Java... | resolved fixed | 02d77b9 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-09-17T08:45:37Z | 2002-09-12T08:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewTypeWizardPage.java | return mdf;
}
/**
* Sets the modifiers.
*
* @param modifiers <code>F_PUBLIC</code>, <code>F_PRIVATE</code>,
* <code>F_PROTECTED</code>, <code>F_ABSTRACT, F_FINAL</code>
* or <code>F_STATIC</code> or, a valid combination.
* @param canBeModified if <code>true</code> the modifier fields are
* editable; o... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.