issue_id int64 2.04k 425k | title stringlengths 9 251 | body stringlengths 4 32.8k ⌀ | status stringclasses 6
values | after_fix_sha stringlengths 7 7 | project_name stringclasses 6
values | repo_url stringclasses 6
values | repo_name stringclasses 6
values | language stringclasses 1
value | issue_url null | before_fix_sha null | pull_url null | commit_datetime timestamp[us, tz=UTC] | report_datetime timestamp[us, tz=UTC] | updated_file stringlengths 23 187 | chunk_content stringlengths 1 22k |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
7,330 | Bug 7330 Make more actions available on text selection | I could not find the action "Add Javadoc Comment" until I switched to the Outline view. I expected the action to be 1. in the context menu and if not 2. in the Edit (or some other global) menu I think currently we distribute the actions on a personal taste basis. This should be changed. It is not clear to users why som... | resolved fixed | 08af42f | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-10T09:32:54Z | 2002-01-08T08:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/OpenSuperImplementationAction.java | private JavaEditor fEditor;
/* (non-Javadoc)
* Class implements IObjectActionDelegate
*/
public static class ObjectDelegate implements IObjectActionDelegate {
private OpenSuperImplementationAction fAction;
public void setActivePart(IAction action, IWorkbenchPart targetPart) {
fAction= new OpenSuperImplemen... |
7,330 | Bug 7330 Make more actions available on text selection | I could not find the action "Add Javadoc Comment" until I switched to the Outline view. I expected the action to be 1. in the context menu and if not 2. in the Edit (or some other global) menu I think currently we distribute the actions on a personal taste basis. This should be changed. It is not clear to users why som... | resolved fixed | 08af42f | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-10T09:32:54Z | 2002-01-08T08:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/OpenSuperImplementationAction.java | setToolTipText(ActionMessages.getString("OpenSuperImplementationAction.tooltip"));
}
/**
* Creates a new <code>OpenSuperImplementationAction</code>.
* <p>
* Note: This constructor is for internal use only. Clients should not call this constructor.
* </p>
*/
public OpenSuperImplementationAction(JavaEdito... |
7,330 | Bug 7330 Make more actions available on text selection | I could not find the action "Add Javadoc Comment" until I switched to the Outline view. I expected the action to be 1. in the context menu and if not 2. in the Edit (or some other global) menu I think currently we distribute the actions on a personal taste basis. This should be changed. It is not clear to users why som... | resolved fixed | 08af42f | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-10T09:32:54Z | 2002-01-08T08:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/OpenSuperImplementationAction.java | protected void run(ITextSelection selection) {
run(getMethod(selection));
}
/* (non-Javadoc)
* Method declared on SelectionDispatchAction.
*/
protected void run(IStructuredSelection selection) {
run(getMethod(selection));
}
private void run(IMethod method) {
if (method == null)
return;
try {
... |
7,330 | Bug 7330 Make more actions available on text selection | I could not find the action "Add Javadoc Comment" until I switched to the Outline view. I expected the action to be 1. in the context menu and if not 2. in the Edit (or some other global) menu I think currently we distribute the actions on a personal taste basis. This should be changed. It is not clear to users why som... | resolved fixed | 08af42f | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-10T09:32:54Z | 2002-01-08T08:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/OpenSuperImplementationAction.java | }
private IMethod findSuperImplementation(IType declaringType, String name, String[] paramTypes, boolean isConstructor) throws JavaModelException {
ITypeHierarchy hierarchy= SuperTypeHierarchyCache.getTypeHierarchy(declaringType);
IMethod impl= JavaModelUtil.findMethodImplementationInHierarchy(hierarchy, declari... |
7,330 | Bug 7330 Make more actions available on text selection | I could not find the action "Add Javadoc Comment" until I switched to the Outline view. I expected the action to be 1. in the context menu and if not 2. in the Edit (or some other global) menu I think currently we distribute the actions on a personal taste basis. This should be changed. It is not clear to users why som... | resolved fixed | 08af42f | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-10T09:32:54Z | 2002-01-08T08:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/OpenSuperImplementationAction.java | if (!Flags.isStatic(flags) && !Flags.isPrivate(flags)) {
IType declaringType= method.getDeclaringType();
if (SuperTypeHierarchyCache.hasInCache(declaringType)) {
if (findSuperImplementation(declaringType, method.getElementName(), method.getParameterTypes(), method.isConstructor()) == null) {
... |
7,330 | Bug 7330 Make more actions available on text selection | I could not find the action "Add Javadoc Comment" until I switched to the Outline view. I expected the action to be 1. in the context menu and if not 2. in the Edit (or some other global) menu I think currently we distribute the actions on a personal taste basis. This should be changed. It is not clear to users why som... | resolved fixed | 08af42f | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-10T09:32:54Z | 2002-01-08T08:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/OpenViewActionGroup.java | /*******************************************************************************
* Copyright (c) 2002 International Business Machines Corp. and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Common Public License v0.5
* which accompanies this... |
7,330 | Bug 7330 Make more actions available on text selection | I could not find the action "Add Javadoc Comment" until I switched to the Outline view. I expected the action to be 1. in the context menu and if not 2. in the Edit (or some other global) menu I think currently we distribute the actions on a personal taste basis. This should be changed. It is not clear to users why som... | resolved fixed | 08af42f | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-10T09:32:54Z | 2002-01-08T08:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/OpenViewActionGroup.java | import org.eclipse.jface.viewers.ISelectionProvider;
import org.eclipse.jface.viewers.IStructuredSelection;
import org.eclipse.core.resources.IFile;
import org.eclipse.core.resources.IResource;
import org.eclipse.core.runtime.IAdaptable;
import org.eclipse.ui.IActionBars;
import org.eclipse.ui.IViewPart;
import org.ecl... |
7,330 | Bug 7330 Make more actions available on text selection | I could not find the action "Add Javadoc Comment" until I switched to the Outline view. I expected the action to be 1. in the context menu and if not 2. in the Edit (or some other global) menu I think currently we distribute the actions on a personal taste basis. This should be changed. It is not clear to users why som... | resolved fixed | 08af42f | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-10T09:32:54Z | 2002-01-08T08:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/OpenViewActionGroup.java | private boolean fEditorIsOwner;
private boolean fIsTypeHiararchyViewerOwner;
private IWorkbenchSite fSite;
private OpenSuperImplementationAction fOpenSuperImplementation;
private OpenExternalJavadocAction fOpenExternalJavadoc;
private OpenTypeHierarchyAction fOpenTypeHierarchy;
private PropertyDialogAction fOpenP... |
7,330 | Bug 7330 Make more actions available on text selection | I could not find the action "Add Javadoc Comment" until I switched to the Outline view. I expected the action to be 1. in the context menu and if not 2. in the Edit (or some other global) menu I think currently we distribute the actions on a personal taste basis. This should be changed. It is not clear to users why som... | resolved fixed | 08af42f | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-10T09:32:54Z | 2002-01-08T08:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/OpenViewActionGroup.java | * Note: This constructor is for internal use only. Clients should not call this constructor.
* </p>
*/
public OpenViewActionGroup(JavaEditor part) {
fEditorIsOwner= true;
fOpenSuperImplementation= new OpenSuperImplementationAction(part);
fOpenExternalJavadoc= new OpenExternalJavadocAction(part);
fOpenTypeH... |
7,330 | Bug 7330 Make more actions available on text selection | I could not find the action "Add Javadoc Comment" until I switched to the Outline view. I expected the action to be 1. in the context menu and if not 2. in the Edit (or some other global) menu I think currently we distribute the actions on a personal taste basis. This should be changed. It is not clear to users why som... | resolved fixed | 08af42f | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-10T09:32:54Z | 2002-01-08T08:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/OpenViewActionGroup.java | } else {
fOpenPropertiesDialog.selectionChanged(selection);
}
provider.addSelectionChangedListener(fOpenSuperImplementation);
provider.addSelectionChangedListener(fOpenExternalJavadoc);
provider.addSelectionChangedListener(fOpenTypeHierarchy);
}
}
/* (non-Javadoc)
* Method declared in ActionGr... |
7,330 | Bug 7330 Make more actions available on text selection | I could not find the action "Add Javadoc Comment" until I switched to the Outline view. I expected the action to be 1. in the context menu and if not 2. in the Edit (or some other global) menu I think currently we distribute the actions on a personal taste basis. This should be changed. It is not clear to users why som... | resolved fixed | 08af42f | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-10T09:32:54Z | 2002-01-08T08:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/OpenViewActionGroup.java | * @see ActionGroup#dispose()
*/
public void dispose() {
ISelectionProvider provider= fSite.getSelectionProvider();
provider.removeSelectionChangedListener(fOpenSuperImplementation);
provider.removeSelectionChangedListener(fOpenExternalJavadoc);
provider.removeSelectionChangedListener(fOpenTypeHierarchy);
s... |
13,981 | Bug 13981 Show In Packages view not precise | Build 20020416 0. Set Package explorer preference to show members 1. Select a method in the Outline or Type Hierarchy view 2. Navigate -> Shwo in Packages View ==> CU is selected instead of method | resolved fixed | 3c9f82a | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-10T11:06:11Z | 2002-04-17T10:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/actions/OpenActionUtil.java | /*******************************************************************************
* Copyright (c) 2000, 2002 International Business Machines Corp. and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Common Public License v0.5
* which accompanie... |
13,981 | Bug 13981 Show In Packages view not precise | Build 20020416 0. Set Package explorer preference to show members 1. Select a method in the Outline or Type Hierarchy view 2. Navigate -> Shwo in Packages View ==> CU is selected instead of method | resolved fixed | 3c9f82a | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-10T11:06:11Z | 2002-04-17T10:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/actions/OpenActionUtil.java | private OpenActionUtil() {
}
/**
* Opens the editor on the given element and subsequently selects it.
*/
public static void open(Object element) throws JavaModelException, PartInitException {
IEditorPart part= EditorUtility.openInEditor(element);
if (element instanceof IJavaElement)
EditorUtility.re... |
13,981 | Bug 13981 Show In Packages view not precise | Build 20020416 0. Set Package explorer preference to show members 1. Select a method in the Outline or Type Hierarchy view 2. Navigate -> Shwo in Packages View ==> CU is selected instead of method | resolved fixed | 3c9f82a | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-10T11:06:11Z | 2002-04-17T10:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/actions/OpenActionUtil.java | * Shows a dialog for resolving an ambigous java element.
* Utility method that can be called by subclassers.
*/
public static IJavaElement selectJavaElement(List elements, Shell shell, String title, String message) {
int nResults= elements.size();
if (nResults == 0)
return null;
if (nResults == 1... |
13,981 | Bug 13981 Show In Packages view not precise | Build 20020416 0. Set Package explorer preference to show members 1. Select a method in the Outline or Type Hierarchy view 2. Navigate -> Shwo in Packages View ==> CU is selected instead of method | resolved fixed | 3c9f82a | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-10T11:06:11Z | 2002-04-17T10:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/actions/OpenActionUtil.java | }
}
}
return null;
}
public static IJavaElement getElementToShow(IJavaElement element) throws JavaModelException {
if (element == null)
return null;
switch (element.getElementType()) {
case IJavaElement.PACKAGE_DECLARATION:
element= element.getAncestor(IJavaElement.PACKAGE_FRAGMENT);
... |
13,981 | Bug 13981 Show In Packages view not precise | Build 20020416 0. Set Package explorer preference to show members 1. Select a method in the Outline or Type Hierarchy view 2. Navigate -> Shwo in Packages View ==> CU is selected instead of method | resolved fixed | 3c9f82a | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-10T11:06:11Z | 2002-04-17T10:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/actions/OpenActionUtil.java | element= element.getJavaProject().findType(element.getElementName());
}
if (element instanceof IType) {
element= (IJavaElement)element.getOpenable();
}
break;
case IJavaElement.PACKAGE_DECLARATION:
case IJavaElement.IMPORT_CONTAINER:
case IJavaElement.TYPE:
case IJavaElement.METHOD:
... |
13,981 | Bug 13981 Show In Packages view not precise | Build 20020416 0. Set Package explorer preference to show members 1. Select a method in the Outline or Type Hierarchy view 2. Navigate -> Shwo in Packages View ==> CU is selected instead of method | resolved fixed | 3c9f82a | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-10T11:06:11Z | 2002-04-17T10:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/actions/SelectionConverter.java | /*******************************************************************************
* Copyright (c) 2002 International Business Machines Corp. and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Common Public License v0.5
* which accompanies this... |
13,981 | Bug 13981 Show In Packages view not precise | Build 20020416 0. Set Package explorer preference to show members 1. Select a method in the Outline or Type Hierarchy view 2. Navigate -> Shwo in Packages View ==> CU is selected instead of method | resolved fixed | 3c9f82a | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-10T11:06:11Z | 2002-04-17T10:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/actions/SelectionConverter.java | import org.eclipse.jdt.core.IType;
import org.eclipse.jdt.core.JavaModelException;
import org.eclipse.jdt.internal.ui.JavaPlugin;
import org.eclipse.jdt.internal.ui.javaeditor.IClassFileEditorInput;
import org.eclipse.jdt.internal.ui.javaeditor.JavaEditor;
import org.eclipse.jdt.internal.ui.util.ExceptionHandler;
impor... |
13,981 | Bug 13981 Show In Packages view not precise | Build 20020416 0. Set Package explorer preference to show members 1. Select a method in the Outline or Type Hierarchy view 2. Navigate -> Shwo in Packages View ==> CU is selected instead of method | resolved fixed | 3c9f82a | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-10T11:06:11Z | 2002-04-17T10:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/actions/SelectionConverter.java | if (selection instanceof IStructuredSelection)
return (IStructuredSelection)selection;
}
return StructuredSelection.EMPTY;
}
/**
* Converts the given structured selection into an array of Java elements.
* An empty array is returned if one of the elements stored in the structured
* selection is not of ... |
13,981 | Bug 13981 Show In Packages view not precise | Build 20020416 0. Set Package explorer preference to show members 1. Select a method in the Outline or Type Hierarchy view 2. Navigate -> Shwo in Packages View ==> CU is selected instead of method | resolved fixed | 3c9f82a | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-10T11:06:11Z | 2002-04-17T10:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/actions/SelectionConverter.java | */
public static IJavaElement[] codeResolveOrInput(JavaEditor editor) throws JavaModelException {
IJavaElement input= getInput(editor);
ITextSelection selection= (ITextSelection)editor.getSelectionProvider().getSelection();
IJavaElement[] result= codeResolve(input, selection);
if (result.length == 0 && selecti... |
13,981 | Bug 13981 Show In Packages view not precise | Build 20020416 0. Set Package explorer preference to show members 1. Select a method in the Outline or Type Hierarchy view 2. Navigate -> Shwo in Packages View ==> CU is selected instead of method | resolved fixed | 3c9f82a | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-10T11:06:11Z | 2002-04-17T10:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/actions/SelectionConverter.java | IJavaElement candidate= elements[0];
if (elements.length > 1) {
candidate= OpenActionUtil.selectJavaElement(Arrays.asList(elements), shell, title, message);
}
return candidate;
}
public static IJavaElement codeResolveOrInputHandled(JavaEditor editor, Shell shell, String title, String message) {
try {
... |
13,981 | Bug 13981 Show In Packages view not precise | Build 20020416 0. Set Package explorer preference to show members 1. Select a method in the Outline or Type Hierarchy view 2. Navigate -> Shwo in Packages View ==> CU is selected instead of method | resolved fixed | 3c9f82a | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-10T11:06:11Z | 2002-04-17T10:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/actions/SelectionConverter.java | return getElementAtOffset(getInput(editor), (ITextSelection)editor.getSelectionProvider().getSelection());
}
public static IType getTypeAtOffset(JavaEditor editor) throws JavaModelException {
IJavaElement element= SelectionConverter.getElementAtOffset(editor);
IType type= (IType)element.getAncestor(IJavaElement... |
13,981 | Bug 13981 Show In Packages view not precise | Build 20020416 0. Set Package explorer preference to show members 1. Select a method in the Outline or Type Hierarchy view 2. Navigate -> Shwo in Packages View ==> CU is selected instead of method | resolved fixed | 3c9f82a | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-10T11:06:11Z | 2002-04-17T10:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/actions/SelectionConverter.java | if (input instanceof ICodeAssist) {
IJavaElement[] elements= ((ICodeAssist)input).codeSelect(selection.getOffset(), selection.getLength());
if (elements != null && elements.length > 0)
return elements;
}
return EMPTY_RESULT;
}
private static IJavaElement getElementAtOffset(IJavaElement input, ITe... |
13,981 | Bug 13981 Show In Packages view not precise | Build 20020416 0. Set Package explorer preference to show members 1. Select a method in the Outline or Type Hierarchy view 2. Navigate -> Shwo in Packages View ==> CU is selected instead of method | resolved fixed | 3c9f82a | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-10T11:06:11Z | 2002-04-17T10:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/ShowInPackageViewAction.java | /*******************************************************************************
* Copyright (c) 2000, 2002 International Business Machines Corp. and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Common Public License v0.5
* which accompanie... |
13,981 | Bug 13981 Show In Packages view not precise | Build 20020416 0. Set Package explorer preference to show members 1. Select a method in the Outline or Type Hierarchy view 2. Navigate -> Shwo in Packages View ==> CU is selected instead of method | resolved fixed | 3c9f82a | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-10T11:06:11Z | 2002-04-17T10:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/ShowInPackageViewAction.java | import org.eclipse.jface.viewers.StructuredSelection;
import org.eclipse.ui.IWorkbenchSite;
import org.eclipse.ui.help.WorkbenchHelp;
import org.eclipse.jdt.core.IJavaElement;
import org.eclipse.jdt.core.JavaModelException;
import org.eclipse.jdt.internal.ui.IJavaHelpContextIds;
import org.eclipse.jdt.internal.ui.JavaP... |
13,981 | Bug 13981 Show In Packages view not precise | Build 20020416 0. Set Package explorer preference to show members 1. Select a method in the Outline or Type Hierarchy view 2. Navigate -> Shwo in Packages View ==> CU is selected instead of method | resolved fixed | 3c9f82a | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-10T11:06:11Z | 2002-04-17T10:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/ShowInPackageViewAction.java | /**
* Creates a new <code>ShowInPackageViewAction</code>.
*
* @param site the site providing context information for this action
*/
public ShowInPackageViewAction(IWorkbenchSite site) {
super(site);
setText(ActionMessages.getString("ShowInPackageViewAction.label"));
setDescription(ActionMessages.getStr... |
13,981 | Bug 13981 Show In Packages view not precise | Build 20020416 0. Set Package explorer preference to show members 1. Select a method in the Outline or Type Hierarchy view 2. Navigate -> Shwo in Packages View ==> CU is selected instead of method | resolved fixed | 3c9f82a | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-10T11:06:11Z | 2002-04-17T10:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/ShowInPackageViewAction.java | /* (non-Javadoc)
* Method declared on SelectionDispatchAction.
*/
protected void selectionChanged(IStructuredSelection selection) {
setEnabled(checkEnabled(selection));
}
private boolean checkEnabled(IStructuredSelection selection) {
if (selection.size() != 1)
return false;
return selection.getFirstEl... |
13,981 | Bug 13981 Show In Packages view not precise | Build 20020416 0. Set Package explorer preference to show members 1. Select a method in the Outline or Type Hierarchy view 2. Navigate -> Shwo in Packages View ==> CU is selected instead of method | resolved fixed | 3c9f82a | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-10T11:06:11Z | 2002-04-17T10:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/ShowInPackageViewAction.java | */
protected void run(IStructuredSelection selection) {
if (!checkEnabled(selection))
return;
run((IJavaElement)selection.getFirstElement());
}
private void run(IJavaElement element) {
if (element == null)
return;
try {
element= OpenActionUtil.getElementToShow(element);
if (element == null)
... |
15,473 | Bug 15473 F3 opening more than one class | build 20020502 1) Get JDT Core from HEAD. 2) Add antadapter as a source folder 3) Create a package under antadapter called org.eclipse.jdt.core 4) Move the JDTCompilerAdapter class from default to the new package 5) Add ant.jar to the classpath 6) There are error indicating the class Util cannot be resolved 7) Highligh... | resolved fixed | c95c7c0 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-10T11:24:37Z | 2002-05-07T19:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/OpenAction.java | /*******************************************************************************
* Copyright (c) 2000, 2002 International Business Machines Corp. and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Common Public License v0.5
* which accompanie... |
15,473 | Bug 15473 F3 opening more than one class | build 20020502 1) Get JDT Core from HEAD. 2) Add antadapter as a source folder 3) Create a package under antadapter called org.eclipse.jdt.core 4) Move the JDTCompilerAdapter class from default to the new package 5) Add ant.jar to the classpath 6) There are error indicating the class Util cannot be resolved 7) Highligh... | resolved fixed | c95c7c0 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-10T11:24:37Z | 2002-05-07T19:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/OpenAction.java | import org.eclipse.jdt.internal.ui.actions.OpenActionUtil;
import org.eclipse.jdt.internal.ui.actions.SelectionConverter;
import org.eclipse.jdt.internal.ui.javaeditor.JavaEditor;
import org.eclipse.jdt.internal.ui.packageview.PackagesMessages;
import org.eclipse.jdt.internal.ui.util.ExceptionHandler;
/**
* This actio... |
15,473 | Bug 15473 F3 opening more than one class | build 20020502 1) Get JDT Core from HEAD. 2) Add antadapter as a source folder 3) Create a package under antadapter called org.eclipse.jdt.core 4) Move the JDTCompilerAdapter class from default to the new package 5) Add ant.jar to the classpath 6) There are error indicating the class Util cannot be resolved 7) Highligh... | resolved fixed | c95c7c0 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-10T11:24:37Z | 2002-05-07T19:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/OpenAction.java | setToolTipText(ActionMessages.getString("OpenAction.tooltip"));
setDescription(ActionMessages.getString("OpenAction.description"));
}
/**
* Creates a new <code>OpenAction</code>.
* <p>
* Note: This constructor is for internal use only. Clients should not call this constructor.
* </p>
*/
public Open... |
15,473 | Bug 15473 F3 opening more than one class | build 20020502 1) Get JDT Core from HEAD. 2) Add antadapter as a source folder 3) Create a package under antadapter called org.eclipse.jdt.core 4) Move the JDTCompilerAdapter class from default to the new package 5) Add ant.jar to the classpath 6) There are error indicating the class Util cannot be resolved 7) Highligh... | resolved fixed | c95c7c0 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-10T11:24:37Z | 2002-05-07T19:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/OpenAction.java | if (selection.isEmpty())
return false;
for (Iterator iter= selection.iterator(); iter.hasNext();) {
Object element= (Object)iter.next();
if (element instanceof IImportDeclaration && !((IImportDeclaration)element).isOnDemand())
continue;
if (element instanceof ISourceReference)
continue;
if (ele... |
15,473 | Bug 15473 F3 opening more than one class | build 20020502 1) Get JDT Core from HEAD. 2) Add antadapter as a source folder 3) Create a package under antadapter called org.eclipse.jdt.core 4) Move the JDTCompilerAdapter class from default to the new package 5) Add ant.jar to the classpath 6) There are error indicating the class Util cannot be resolved 7) Highligh... | resolved fixed | c95c7c0 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-10T11:24:37Z | 2002-05-07T19:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/OpenAction.java | } catch (JavaModelException e) {
showError(e);
}
}
/* (non-Javadoc)
* Method declared on SelectionDispatchAction.
*/
protected void run(IStructuredSelection selection) {
if (!checkEnabled(selection))
return;
run(selection.toArray());
}
private void run(Object[] elements) {
if (elements == nul... |
15,473 | Bug 15473 F3 opening more than one class | build 20020502 1) Get JDT Core from HEAD. 2) Add antadapter as a source folder 3) Create a package under antadapter called org.eclipse.jdt.core 4) Move the JDTCompilerAdapter class from default to the new package 5) Add ant.jar to the classpath 6) There are error indicating the class Util cannot be resolved 7) Highligh... | resolved fixed | c95c7c0 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-10T11:24:37Z | 2002-05-07T19:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/OpenAction.java | } catch (PartInitException x) {
String name= null;
if (element instanceof IJavaElement) {
name= ((IJavaElement) element).getElementName();
} else if (element instanceof IStorage) {
name= ((IStorage) element).getName();
} else if (element instanceof IResource) {
name= ((IReso... |
15,586 | Bug 15586 Warn the user when a project without the Java nature is opened | When opening a closed project that doesn't have the Java nature when opened, then we should inform the user that the opened project will not appear in the packages view. | verified fixed | a397d8e | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-10T17:33:27Z | 2002-05-08T23:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/OpenProjectAction.java | /*******************************************************************************
* Copyright (c) 2002 International Business Machines Corp. and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Common Public License v0.5
* which accompanies this... |
15,586 | Bug 15586 Warn the user when a project without the Java nature is opened | When opening a closed project that doesn't have the Java nature when opened, then we should inform the user that the opened project will not appear in the packages view. | verified fixed | a397d8e | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-10T17:33:27Z | 2002-05-08T23:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/OpenProjectAction.java | import org.eclipse.jface.dialogs.ProgressMonitorDialog;
import org.eclipse.jface.operation.IRunnableWithProgress;
import org.eclipse.jface.util.Assert;
import org.eclipse.core.resources.IProject;
import org.eclipse.core.resources.IResourceChangeEvent;
import org.eclipse.core.resources.IResourceChangeListener;
import or... |
15,586 | Bug 15586 Warn the user when a project without the Java nature is opened | When opening a closed project that doesn't have the Java nature when opened, then we should inform the user that the opened project will not appear in the packages view. | verified fixed | a397d8e | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-10T17:33:27Z | 2002-05-08T23:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/OpenProjectAction.java | *
* @param site the site providing context information for this action
*/
public OpenProjectAction(IWorkbenchSite site) {
Assert.isNotNull(site);
fSite= site;
setEnabled(hasCloseProjects());
}
/*
* @see IAction#run()
*/
public void run() {
ElementListSelectionDialog dialog= new ElementListSelecti... |
15,586 | Bug 15586 Warn the user when a project without the Java nature is opened | When opening a closed project that doesn't have the Java nature when opened, then we should inform the user that the opened project will not appear in the packages view. | verified fixed | a397d8e | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-10T17:33:27Z | 2002-05-08T23:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/OpenProjectAction.java | } catch (CoreException e) {
if (errorStatus == null)
errorStatus = new MultiStatus(JavaPlugin.getPluginId(), IStatus.ERROR, ActionMessages.getString("OpenProjectAction.error.message"), e);
errorStatus.merge(e.getStatus());
}
}
monitor.done();
if (errorStatus != null)
throw new ... |
15,586 | Bug 15586 Warn the user when a project without the Java nature is opened | When opening a closed project that doesn't have the Java nature when opened, then we should inform the user that the opened project will not appear in the packages view. | verified fixed | a397d8e | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-10T17:33:27Z | 2002-05-08T23:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/OpenProjectAction.java | IResourceDelta projDelta = projDeltas[i];
if ((projDelta.getFlags() & IResourceDelta.OPEN) != 0) {
setEnabled(hasCloseProjects());
return;
}
}
}
}
private Object[] getClosedProjects() {
IProject[] projects= ResourcesPlugin.getWorkspace().getRoot().getProjects();
List result= new ArrayLis... |
4,676 | Bug 4676 [Navigator] Tree scroll bar out of sync with top item (1GEJYGD) | The Tree scroll bar can get out of sync with the top item on Linux. To reproduce in Eclipse: 1. Open a standard SWT development workspace with the UIMain launcher loaded (org.eclipse.core.launcher should be the first project in the tree). 2. Expand the project to display the UIMain class and select it. 3. Exit Eclipse ... | resolved fixed | cc534da | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-10T21:19:15Z | 2001-10-11T17:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java | /*******************************************************************************
* Copyright (c) 2000, 2002 International Business Machines Corp. and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Common Public License v0.5
* which accompanie... |
4,676 | Bug 4676 [Navigator] Tree scroll bar out of sync with top item (1GEJYGD) | The Tree scroll bar can get out of sync with the top item on Linux. To reproduce in Eclipse: 1. Open a standard SWT development workspace with the UIMain launcher loaded (org.eclipse.core.launcher should be the first project in the tree). 2. Expand the project to display the UIMain class and select it. 3. Exit Eclipse ... | resolved fixed | cc534da | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-10T21:19:15Z | 2001-10-11T17:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java | import org.eclipse.swt.widgets.Menu;
import org.eclipse.swt.widgets.ScrollBar;
import org.eclipse.swt.widgets.Shell;
import org.eclipse.swt.widgets.Tree;
import org.eclipse.jface.action.IMenuListener;
import org.eclipse.jface.action.IMenuManager;
import org.eclipse.jface.action.IStatusLineManager;
import org.eclipse.jf... |
4,676 | Bug 4676 [Navigator] Tree scroll bar out of sync with top item (1GEJYGD) | The Tree scroll bar can get out of sync with the top item on Linux. To reproduce in Eclipse: 1. Open a standard SWT development workspace with the UIMain launcher loaded (org.eclipse.core.launcher should be the first project in the tree). 2. Expand the project to display the UIMain class and select it. 3. Exit Eclipse ... | resolved fixed | cc534da | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-10T21:19:15Z | 2001-10-11T17:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java | import org.eclipse.ui.IPartListener;
import org.eclipse.ui.IViewPart;
import org.eclipse.ui.IViewSite;
import org.eclipse.ui.IWorkbenchPage;
import org.eclipse.ui.IWorkbenchPart;
import org.eclipse.ui.IWorkbenchPartSite;
import org.eclipse.ui.PartInitException;
import org.eclipse.ui.PlatformUI;
import org.eclipse.ui.ac... |
4,676 | Bug 4676 [Navigator] Tree scroll bar out of sync with top item (1GEJYGD) | The Tree scroll bar can get out of sync with the top item on Linux. To reproduce in Eclipse: 1. Open a standard SWT development workspace with the UIMain launcher loaded (org.eclipse.core.launcher should be the first project in the tree). 2. Expand the project to display the UIMain class and select it. 3. Exit Eclipse ... | resolved fixed | cc534da | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-10T21:19:15Z | 2001-10-11T17:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java | import org.eclipse.jdt.internal.ui.dnd.ResourceTransferDragAdapter;
import org.eclipse.jdt.internal.ui.dnd.TransferDragSourceListener;
import org.eclipse.jdt.internal.ui.dnd.TransferDropTargetListener;
import org.eclipse.jdt.internal.ui.javaeditor.EditorUtility;
import org.eclipse.jdt.internal.ui.javaeditor.IClassFileE... |
4,676 | Bug 4676 [Navigator] Tree scroll bar out of sync with top item (1GEJYGD) | The Tree scroll bar can get out of sync with the top item on Linux. To reproduce in Eclipse: 1. Open a standard SWT development workspace with the UIMain launcher loaded (org.eclipse.core.launcher should be the first project in the tree). 2. Expand the project to display the UIMain class and select it. 3. Exit Eclipse ... | resolved fixed | cc534da | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-10T21:19:15Z | 2001-10-11T17:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java | static final String TAG_FILTERS = "filters";
static final String TAG_FILTER = "filter";
static final String TAG_SHOWLIBRARIES = "showLibraries";
static final String TAG_SHOWBINARIES = "showBinaries";
private JavaElementPatternFilter fPatternFilter= new JavaElementPatternFilter();
private LibraryFilter fLibrary... |
4,676 | Bug 4676 [Navigator] Tree scroll bar out of sync with top item (1GEJYGD) | The Tree scroll bar can get out of sync with the top item on Linux. To reproduce in Eclipse: 1. Open a standard SWT development workspace with the UIMain launcher loaded (org.eclipse.core.launcher should be the first project in the tree). 2. Expand the project to display the UIMain class and select it. 3. Exit Eclipse ... | resolved fixed | cc534da | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-10T21:19:15Z | 2001-10-11T17:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java | private ITreeViewerListener fExpansionListener= new ITreeViewerListener() {
public void treeCollapsed(TreeExpansionEvent event) {
}
public void treeExpanded(TreeExpansionEvent event) {
Object element= event.getElement();
if (element instanceof ICompilationUnit ||
element instanceof IClassFile)
e... |
4,676 | Bug 4676 [Navigator] Tree scroll bar out of sync with top item (1GEJYGD) | The Tree scroll bar can get out of sync with the top item on Linux. To reproduce in Eclipse: 1. Open a standard SWT development workspace with the UIMain launcher loaded (org.eclipse.core.launcher should be the first project in the tree). 2. Expand the project to display the UIMain class and select it. 3. Exit Eclipse ... | resolved fixed | cc534da | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-10T21:19:15Z | 2001-10-11T17:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java | /**
* Returns the package explorer part of the active perspective. If
* there isn't any package explorer part <code>null</code> is returned.
*/
public static PackageExplorerPart getFromActivePerspective() {
IViewPart view= JavaPlugin.getActivePage().findView(VIEW_ID);
if (view instanceof PackageExplorerPart... |
4,676 | Bug 4676 [Navigator] Tree scroll bar out of sync with top item (1GEJYGD) | The Tree scroll bar can get out of sync with the top item on Linux. To reproduce in Eclipse: 1. Open a standard SWT development workspace with the UIMain launcher loaded (org.eclipse.core.launcher should be the first project in the tree). 2. Expand the project to display the UIMain class and select it. 3. Exit Eclipse ... | resolved fixed | cc534da | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-10T21:19:15Z | 2001-10-11T17:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java | fViewer.removeTreeListener(fExpansionListener);
if (fActionSet != null)
fActionSet.dispose();
super.dispose();
}
/**
* Implementation of IWorkbenchPart.createPartControl(Composite)
*/
public void createPartControl(Composite parent) {
fViewer= new ProblemTreeViewer(parent, SWT.MULTI | SWT.H_SCROLL |... |
4,676 | Bug 4676 [Navigator] Tree scroll bar out of sync with top item (1GEJYGD) | The Tree scroll bar can get out of sync with the top item on Linux. To reproduce in Eclipse: 1. Open a standard SWT development workspace with the UIMain launcher loaded (org.eclipse.core.launcher should be the first project in the tree). 2. Expand the project to display the UIMain class and select it. 3. Exit Eclipse ... | resolved fixed | cc534da | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-10T21:19:15Z | 2001-10-11T17:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java | fViewer.setUseHashlookup(true);
fViewer.addFilter(fPatternFilter);
fViewer.addFilter(fLibraryFilter);
MenuManager menuMgr= new MenuManager("#PopupMenu");
menuMgr.setRemoveAllWhenShown(true);
menuMgr.addMenuListener(this);
fContextMenu= menuMgr.createContextMenu(fViewer.getTree());
fViewer.getTree().setMe... |
4,676 | Bug 4676 [Navigator] Tree scroll bar out of sync with top item (1GEJYGD) | The Tree scroll bar can get out of sync with the top item on Linux. To reproduce in Eclipse: 1. Open a standard SWT development workspace with the UIMain launcher loaded (org.eclipse.core.launcher should be the first project in the tree). 2. Expand the project to display the UIMain class and select it. 3. Exit Eclipse ... | resolved fixed | cc534da | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-10T21:19:15Z | 2001-10-11T17:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java | public void selectionChanged(SelectionChangedEvent event) {
handleSelectionChanged(event);
}
};
fViewer.addSelectionChangedListener(fSelectionListener);
fViewer.addDoubleClickListener(new IDoubleClickListener() {
public void doubleClick(DoubleClickEvent event) {
handleDoubleClick(event);
}
}... |
4,676 | Bug 4676 [Navigator] Tree scroll bar out of sync with top item (1GEJYGD) | The Tree scroll bar can get out of sync with the top item on Linux. To reproduce in Eclipse: 1. Open a standard SWT development workspace with the UIMain launcher loaded (org.eclipse.core.launcher should be the first project in the tree). 2. Expand the project to display the UIMain class and select it. 3. Exit Eclipse ... | resolved fixed | cc534da | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-10T21:19:15Z | 2001-10-11T17:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java | 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.getWorkspace().getRoot());
}
/**
... |
4,676 | Bug 4676 [Navigator] Tree scroll bar out of sync with top item (1GEJYGD) | The Tree scroll bar can get out of sync with the top item on Linux. To reproduce in Eclipse: 1. Open a standard SWT development workspace with the UIMain launcher loaded (org.eclipse.core.launcher should be the first project in the tree). 2. Expand the project to display the UIMain class and select it. 3. Exit Eclipse ... | resolved fixed | cc534da | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-10T21:19:15Z | 2001-10-11T17:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java | result= PackagesMessages.getString("PackageExplorer.title");
} else {
result= path.makeRelative().toString();
}
}
if (fWorkingSetName == null)
return result;
String wsstr= PackagesMessages.getFormattedString("PackageExplorer.toolTip", new String[] { fWorkingSetName });
if (result.length() == 0... |
4,676 | Bug 4676 [Navigator] Tree scroll bar out of sync with top item (1GEJYGD) | The Tree scroll bar can get out of sync with the top item on Linux. To reproduce in Eclipse: 1. Open a standard SWT development workspace with the UIMain launcher loaded (org.eclipse.core.launcher should be the first project in the tree). 2. Expand the project to display the UIMain class and select it. 3. Exit Eclipse ... | resolved fixed | cc534da | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-10T21:19:15Z | 2001-10-11T17:06:40Z | 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();
}
/*... |
4,676 | Bug 4676 [Navigator] Tree scroll bar out of sync with top item (1GEJYGD) | The Tree scroll bar can get out of sync with the top item on Linux. To reproduce in Eclipse: 1. Open a standard SWT development workspace with the UIMain launcher loaded (org.eclipse.core.launcher should be the first project in the tree). 2. Expand the project to display the UIMain class and select it. 3. Exit Eclipse ... | resolved fixed | cc534da | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-10T21:19:15Z | 2001-10-11T17:06:40Z | 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= (IStructuredSelectio... |
4,676 | Bug 4676 [Navigator] Tree scroll bar out of sync with top item (1GEJYGD) | The Tree scroll bar can get out of sync with the top item on Linux. To reproduce in Eclipse: 1. Open a standard SWT development workspace with the UIMain launcher loaded (org.eclipse.core.launcher should be the first project in the tree). 2. Expand the project to display the UIMain class and select it. 3. Exit Eclipse ... | resolved fixed | cc534da | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-10T21:19:15Z | 2001-10-11T17:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java | final LocalSelectionTransfer lt= LocalSelectionTransfer.getInstance();
Transfer[] transfers= new Transfer[] {
lt,
ResourceTransfer.getInstance(),
FileTransfer.getInstance()};
TransferDropTargetListener[] dropListeners= new TransferDropTargetListener[] {
new SelectionTransferDropAdapter(fViewer),
... |
4,676 | Bug 4676 [Navigator] Tree scroll bar out of sync with top item (1GEJYGD) | The Tree scroll bar can get out of sync with the top item on Linux. To reproduce in Eclipse: 1. Open a standard SWT development workspace with the UIMain launcher loaded (org.eclipse.core.launcher should be the first project in the tree). 2. Expand the project to display the UIMain class and select it. 3. Exit Eclipse ... | resolved fixed | cc534da | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-10T21:19:15Z | 2001-10-11T17:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java | }
super.dragStart(event);
}
});
}
/**
* Handles double clicks in viewer.
* Opens editor if file double-clicked.
*/
private void handleDoubleClick(DoubleClickEvent event) {
fActionSet.handleDoubleClick(event);
}
/**
* Handles selection changed in viewer.
* Updates global actions.
* Links to e... |
4,676 | Bug 4676 [Navigator] Tree scroll bar out of sync with top item (1GEJYGD) | The Tree scroll bar can get out of sync with the top item on Linux. To reproduce in Eclipse: 1. Open a standard SWT development workspace with the UIMain launcher loaded (org.eclipse.core.launcher should be the first project in the tree). 2. Expand the project to display the UIMain class and select it. 3. Exit Eclipse ... | resolved fixed | cc534da | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-10T21:19:15Z | 2001-10-11T17:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java | for (int i= 0; i < elements.length; i++) {
Object e= elements[i];
if (e instanceof IJavaElement)
converted.add(e);
else if (e instanceof IResource) {
IJavaElement element= JavaCore.create((IResource)e);
if (element != null)
converted.add(element);
else
converted.add(e);
... |
4,676 | Bug 4676 [Navigator] Tree scroll bar out of sync with top item (1GEJYGD) | The Tree scroll bar can get out of sync with the top item on Linux. To reproduce in Eclipse: 1. Open a standard SWT development workspace with the UIMain launcher loaded (org.eclipse.core.launcher should be the first project in the tree). 2. Expand the project to display the UIMain class and select it. 3. Exit Eclipse ... | resolved fixed | cc534da | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-10T21:19:15Z | 2001-10-11T17:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java | Object obj= selection.getFirstElement();
Object element= null;
if (selection.size() == 1) {
if (obj instanceof IJavaElement) {
IJavaElement cu= ((IJavaElement)obj).getAncestor(IJavaElement.COMPILATION_UNIT);
if (cu != null)
element= getResourceFor(cu);
if (element == null)
element= ((IJavaE... |
4,676 | Bug 4676 [Navigator] Tree scroll bar out of sync with top item (1GEJYGD) | The Tree scroll bar can get out of sync with the top item on Linux. To reproduce in Eclipse: 1. Open a standard SWT development workspace with the UIMain launcher loaded (org.eclipse.core.launcher should be the first project in the tree). 2. Expand the project to display the UIMain class and select it. 3. Exit Eclipse ... | resolved fixed | cc534da | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-10T21:19:15Z | 2001-10-11T17:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java | if (element instanceof IJavaElement) {
if (element instanceof IWorkingCopy) {
IWorkingCopy wc= (IWorkingCopy)element;
IJavaElement original= wc.getOriginalElement();
if (original != null)
element= original;
}
try {
element= ((IJavaElement)element).getUnderlyingResource();
} catch (JavaM... |
4,676 | Bug 4676 [Navigator] Tree scroll bar out of sync with top item (1GEJYGD) | The Tree scroll bar can get out of sync with the top item on Linux. To reproduce in Eclipse: 1. Open a standard SWT development workspace with the UIMain launcher loaded (org.eclipse.core.launcher should be the first project in the tree). 2. Expand the project to display the UIMain class and select it. 3. Exit Eclipse ... | resolved fixed | cc534da | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-10T21:19:15Z | 2001-10-11T17:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java | saveFilterState(memento);
fActionSet.saveState(memento);
}
protected void saveFilterState(IMemento memento) {
boolean showLibraries= getLibraryFilter().getShowLibraries();
String show= "true";
if (!showLibraries)
show= "false";
memento.putString(TAG_SHOWLIBRARIES, show);
}
protected void savePatternF... |
4,676 | Bug 4676 [Navigator] Tree scroll bar out of sync with top item (1GEJYGD) | The Tree scroll bar can get out of sync with the top item on Linux. To reproduce in Eclipse: 1. Open a standard SWT development workspace with the UIMain launcher loaded (org.eclipse.core.launcher should be the first project in the tree). 2. Expand the project to display the UIMain class and select it. 3. Exit Eclipse ... | resolved fixed | cc534da | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-10T21:19:15Z | 2001-10-11T17:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java | Object elements[]= ((IStructuredSelection) fViewer.getSelection()).toArray();
if (elements.length > 0) {
IMemento selectionMem= memento.createChild(TAG_SELECTION);
for (int i= 0; i < elements.length; i++) {
IMemento elementMem= selectionMem.createChild(TAG_ELEMENT);
Object o= elements[i];
if (o... |
4,676 | Bug 4676 [Navigator] Tree scroll bar out of sync with top item (1GEJYGD) | The Tree scroll bar can get out of sync with the top item on Linux. To reproduce in Eclipse: 1. Open a standard SWT development workspace with the UIMain launcher loaded (org.eclipse.core.launcher should be the first project in the tree). 2. Expand the project to display the UIMain class and select it. 3. Exit Eclipse ... | resolved fixed | cc534da | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-10T21:19:15Z | 2001-10-11T17:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java | }
protected void restoreScrollState(IMemento memento, Tree tree) {
ScrollBar bar= tree.getVerticalBar();
if (bar != null) {
try {
String posStr= memento.getString(TAG_VERTICAL_POSITION);
int position;
position= new Integer(posStr).intValue();
bar.setSelection(position);
} catch (NumberFormatE... |
4,676 | Bug 4676 [Navigator] Tree scroll bar out of sync with top item (1GEJYGD) | The Tree scroll bar can get out of sync with the top item on Linux. To reproduce in Eclipse: 1. Open a standard SWT development workspace with the UIMain launcher loaded (org.eclipse.core.launcher should be the first project in the tree). 2. Expand the project to display the UIMain class and select it. 3. Exit Eclipse ... | resolved fixed | cc534da | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-10T21:19:15Z | 2001-10-11T17:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java | IMemento[] elementMem= childMem.getChildren(TAG_ELEMENT);
for (int i= 0; i < elementMem.length; i++) {
Object element= JavaCore.create(elementMem[i].getString(TAG_PATH));
if (element != null)
list.add(element);
}
fViewer.setSelection(new StructuredSelection(list));
}
}
protected void restoreEx... |
4,676 | Bug 4676 [Navigator] Tree scroll bar out of sync with top item (1GEJYGD) | The Tree scroll bar can get out of sync with the top item on Linux. To reproduce in Eclipse: 1. Open a standard SWT development workspace with the UIMain launcher loaded (org.eclipse.core.launcher should be the first project in the tree). 2. Expand the project to display the UIMain class and select it. 3. Exit Eclipse ... | resolved fixed | cc534da | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-10T21:19:15Z | 2001-10-11T17:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java | }
});
}
/**
* An editor has been activated. Set the selection in this Packages Viewer
* to be the editor's input, if linking is enabled.
*/
void editorActivated(IEditorPart editor) {
if (!isLinkingEnabled())
return;
Object input= getElementOfInput(editor.getEditorInput());
Object element= null;
... |
4,676 | Bug 4676 [Navigator] Tree scroll bar out of sync with top item (1GEJYGD) | The Tree scroll bar can get out of sync with the top item on Linux. To reproduce in Eclipse: 1. Open a standard SWT development workspace with the UIMain launcher loaded (org.eclipse.core.launcher should be the first project in the tree). 2. Expand the project to display the UIMain class and select it. 3. Exit Eclipse ... | resolved fixed | cc534da | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-10T21:19:15Z | 2001-10-11T17:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java | if ( element.equals(cu))
return;
}
IClassFile cf= (IClassFile)((IJavaElement)o).getAncestor(IJavaElement.CLASS_FILE);
if (cf != null && element.equals(cf))
return;
}
}
ISelection newSelection= new StructuredSelection(element);
if (!fViewer.getSelection().equals(newSelection)) {
... |
4,676 | Bug 4676 [Navigator] Tree scroll bar out of sync with top item (1GEJYGD) | The Tree scroll bar can get out of sync with the top item on Linux. To reproduce in Eclipse: 1. Open a standard SWT development workspace with the UIMain launcher loaded (org.eclipse.core.launcher should be the first project in the tree). 2. Expand the project to display the UIMain class and select it. 3. Exit Eclipse ... | resolved fixed | cc534da | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-10T21:19:15Z | 2001-10-11T17:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java | if (types.length > 0)
type= types[0];
}
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.getDisp... |
4,676 | Bug 4676 [Navigator] Tree scroll bar out of sync with top item (1GEJYGD) | The Tree scroll bar can get out of sync with the top item on Linux. To reproduce in Eclipse: 1. Open a standard SWT development workspace with the UIMain launcher loaded (org.eclipse.core.launcher should be the first project in the tree). 2. Expand the project to display the UIMain class and select it. 3. Exit Eclipse ... | resolved fixed | cc534da | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-10T21:19:15Z | 2001-10-11T17:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java | return ((IClassFileEditorInput)input).getClassFile();
else if (input instanceof IFileEditorInput)
return ((IFileEditorInput)input).getFile();
else if (input instanceof JarEntryEditorInput)
return ((JarEntryEditorInput)input).getStorage();
return null;
}
/**
* Returns the Viewer.
*/
TreeViewer get... |
4,676 | Bug 4676 [Navigator] Tree scroll bar out of sync with top item (1GEJYGD) | The Tree scroll bar can get out of sync with the top item on Linux. To reproduce in Eclipse: 1. Open a standard SWT development workspace with the UIMain launcher loaded (org.eclipse.core.launcher should be the first project in the tree). 2. Expand the project to display the UIMain class and select it. 3. Exit Eclipse ... | resolved fixed | cc534da | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-10T21:19:15Z | 2001-10-11T17:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java | void restoreFilters() {
IMemento filtersMem= fMemento.getChild(TAG_FILTERS);
if(filtersMem != null) {
IMemento children[]= filtersMem.getChildren(TAG_FILTER);
String filters[]= new String[children.length];
for (int i = 0; i < children.length; i++) {
filters[i]= children[i].getString(TAG_ELEMENT);
}... |
4,676 | Bug 4676 [Navigator] Tree scroll bar out of sync with top item (1GEJYGD) | The Tree scroll bar can get out of sync with the top item on Linux. To reproduce in Eclipse: 1. Open a standard SWT development workspace with the UIMain launcher loaded (org.eclipse.core.launcher should be the first project in the tree). 2. Expand the project to display the UIMain class and select it. 3. Exit Eclipse ... | resolved fixed | cc534da | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-10T21:19:15Z | 2001-10-11T17:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java | if (fViewer == null)
return false;
return fViewer.isExpandable(element);
}
void setWorkingSetName(String workingSetName) {
fWorkingSetName= workingSetName;
}
/**
* Updates the title text and title tool tip.
* Called whenever the input of the viewer changes.
*/
void updateTitle() {
Object input=... |
4,676 | Bug 4676 [Navigator] Tree scroll bar out of sync with top item (1GEJYGD) | The Tree scroll bar can get out of sync with the top item on Linux. To reproduce in Eclipse: 1. Open a standard SWT development workspace with the UIMain launcher loaded (org.eclipse.core.launcher should be the first project in the tree). 2. Expand the project to display the UIMain class and select it. 3. Exit Eclipse ... | resolved fixed | cc534da | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-10T21:19:15Z | 2001-10-11T17:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java | * @param decorator a label decorator or <code>null</code> for no decorations.
* @deprecated To be removed
*/
public void setLabelDecorator(ILabelDecorator decorator) {
}
/*
* @see IPropertyChangeListener#propertyChange(PropertyChangeEvent)
*/
public void propertyChange(PropertyChangeEvent event) {
if (f... |
15,656 | Bug 15656 Two differerent Views are called "packages" | There are two different views called Packages - one in the Java Browsing perspective and one in the Java Perspective. This is very confusing for someone trying to get one of the using Show V | resolved fixed | f683a9c | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-11T09:17:43Z | 2002-05-09T18:46:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/PackagesView.java | /*
* (c) Copyright IBM Corp. 2000, 2001.
* All Rights Reserved.
*/
package org.eclipse.jdt.internal.ui.browsing;
import org.eclipse.jface.viewers.ILabelProvider;
import org.eclipse.jdt.core.IClassFile;
import org.eclipse.jdt.core.ICompilationUnit;
import org.eclipse.jdt.core.IJavaElement;
import org.eclipse.jdt.core... |
15,656 | Bug 15656 Two differerent Views are called "packages" | There are two different views called Packages - one in the Java Browsing perspective and one in the Java Perspective. This is very confusing for someone trying to get one of the using Show V | resolved fixed | f683a9c | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-11T09:17:43Z | 2002-05-09T18:46:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/PackagesView.java | /**
* Adds filters the viewer of this part.
*/
protected void addFilters() {
super.addFilters();
getViewer().addFilter(new EmptyInnerPackageFilter());
getViewer().addFilter(new NonJavaElementFilter());
getViewer().addFilter(new LibraryFilter());
JavaElementPatternFilter patternFilter= new JavaElementP... |
15,656 | Bug 15656 Two differerent Views are called "packages" | There are two different views called Packages - one in the Java Browsing perspective and one in the Java Perspective. This is very confusing for someone trying to get one of the using Show V | resolved fixed | f683a9c | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-11T09:17:43Z | 2002-05-09T18:46:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/PackagesView.java | /**
* Returns the context ID for the Help system
*
* @return the string used as ID for the Help context
*/
protected String getHelpContextId() {
return IJavaHelpContextIds.PACKAGES_BROWSING_VIEW;
}
/**
* Answers if the given <code>element</code> is a valid
* input for this part.
*
* @param eleme... |
15,656 | Bug 15656 Two differerent Views are called "packages" | There are two different views called Packages - one in the Java Browsing perspective and one in the Java Perspective. This is very confusing for someone trying to get one of the using Show V | resolved fixed | f683a9c | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-11T09:17:43Z | 2002-05-09T18:46:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/PackagesView.java | if (element instanceof IPackageFragment) {
IJavaElement parent= ((IPackageFragment)element).getParent();
if (parent != null)
return super.isValidElement(parent) || super.isValidElement(parent.getJavaProject());
}
return false;
}
/**
* Finds the element which has to be selected in this part.
*
* @... |
15,656 | Bug 15656 Two differerent Views are called "packages" | There are two different views called Packages - one in the Java Browsing perspective and one in the Java Perspective. This is very confusing for someone trying to get one of the using Show V | resolved fixed | f683a9c | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-11T09:17:43Z | 2002-05-09T18:46:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/ProjectsView.java | /*
* (c) Copyright IBM Corp. 2000, 2001.
* All Rights Reserved.
*/
package org.eclipse.jdt.internal.ui.browsing;
import org.eclipse.swt.SWT;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.jface.viewers.StructuredViewer;
import org.eclipse.ui.IActionBars;
import org.eclipse.ui.IWorkbenchActionConstants;... |
15,656 | Bug 15656 Two differerent Views are called "packages" | There are two different views called Packages - one in the Java Browsing perspective and one in the Java Perspective. This is very confusing for someone trying to get one of the using Show V | resolved fixed | f683a9c | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-11T09:17:43Z | 2002-05-09T18:46:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/ProjectsView.java | */
protected StructuredViewer createViewer(Composite parent) {
return new ProblemTreeViewer(parent, SWT.MULTI);
}
/**
* Creates the the content provider of this part.
*/
protected BaseJavaElementContentProvider createContentProvider() {
return new ProjectAndSourceFolderContentProvider(this);
}
/**
* R... |
15,656 | Bug 15656 Two differerent Views are called "packages" | There are two different views called Packages - one in the Java Browsing perspective and one in the Java Perspective. This is very confusing for someone trying to get one of the using Show V | resolved fixed | f683a9c | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-11T09:17:43Z | 2002-05-09T18:46:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/ProjectsView.java | * Answers if the given <code>element</code> is a valid
* input for this part.
*
* @param element the object to test
* @return <true> if the given element is a valid input
*/
protected boolean isValidInput(Object element) {
return element instanceof IJavaModel;
}
/**
* Answers if the given <code>eleme... |
15,656 | Bug 15656 Two differerent Views are called "packages" | There are two different views called Packages - one in the Java Browsing perspective and one in the Java Perspective. This is very confusing for someone trying to get one of the using Show V | resolved fixed | f683a9c | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-11T09:17:43Z | 2002-05-09T18:46:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/ProjectsView.java | return null;
case IJavaElement.JAVA_PROJECT:
return je;
case IJavaElement.PACKAGE_FRAGMENT_ROOT:
if (je.getElementName().equals(IPackageFragmentRoot.DEFAULT_PACKAGEROOT_PATH))
return je.getParent();
else
return je;
default :
return findElementToSelect(je.getParent());
}
}
/*
*... |
15,790 | Bug 15790 Java file icons too fat in editor tabs | Eclipse 20020508 All platforms 1) Open a .txt file. 2) Open a .java file Look at the space between the edge of the tab and the image and the edge of the image and the start of the text. The image used for *.java has extra space on the left and right edges. This is using up pixels that would be better used for displayin... | resolved fixed | 4cfac82 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-11T12:22:40Z | 2002-05-10T19:46:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/JavaUILabelProvider.java | /*
* (c) Copyright IBM Corp. 2000, 2001.
* All Rights Reserved.
*/
package org.eclipse.jdt.internal.ui.viewsupport;
import org.eclipse.core.resources.IStorage;
import org.eclipse.swt.graphics.Image;
import org.eclipse.jface.viewers.ILabelDecorator;
import org.eclipse.jface.viewers.ILabelProviderListener;
import org.... |
15,790 | Bug 15790 Java file icons too fat in editor tabs | Eclipse 20020508 All platforms 1) Open a .txt file. 2) Open a .java file Look at the space between the edge of the tab and the image and the edge of the image and the start of the text. The image used for *.java has extra space on the left and right edges. This is using up pixels that would be better used for displayin... | resolved fixed | 4cfac82 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-11T12:22:40Z | 2002-05-10T19:46:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/JavaUILabelProvider.java | this(JavaElementLabels.M_PARAMETER_TYPES, JavaElementImageProvider.OVERLAY_ICONS, null);
}
/**
* @param textFlags Flags defined in <code>JavaElementLabels</code>.
* @param imageFlags Flags defined in <code>JavaElementImageProvider</code>.
*/
public JavaUILabelProvider(int textFlags, int imageFlags, ILabelDecor... |
15,790 | Bug 15790 Java file icons too fat in editor tabs | Eclipse 20020508 All platforms 1) Open a .txt file. 2) Open a .java file Look at the space between the edge of the tab and the image and the edge of the image and the start of the text. The image used for *.java has extra space on the left and right edges. This is using up pixels that would be better used for displayin... | resolved fixed | 4cfac82 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-11T12:22:40Z | 2002-05-10T19:46:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/JavaUILabelProvider.java | /**
* Gets the image flags.
* Can be overwriten by super classes.
* @return Returns a int
*/
public final int getImageFlags() {
return fImageFlags;
}
/**
* Gets the text flags.
* @return Returns a int
*/
public final int getTextFlags() {
return fTextFlags;
}
/**
* Evaluates the image flags f... |
15,790 | Bug 15790 Java file icons too fat in editor tabs | Eclipse 20020508 All platforms 1) Open a .txt file. 2) Open a .java file Look at the space between the edge of the tab and the image and the edge of the image and the start of the text. The image used for *.java has extra space on the left and right edges. This is using up pixels that would be better used for displayin... | resolved fixed | 4cfac82 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-11T12:22:40Z | 2002-05-10T19:46:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/JavaUILabelProvider.java | }
/* (non-Javadoc)
* @see ILabelProvider#getImage
*/
public Image getImage(Object element) {
Image result= fImageLabelProvider.getImageLabel(element, evaluateImageFlags(element));
if (result == null && (element instanceof IStorage)) {
result= fStorageLabelProvider.getImage(element);
}
if (fLabelDecor... |
15,790 | Bug 15790 Java file icons too fat in editor tabs | Eclipse 20020508 All platforms 1) Open a .txt file. 2) Open a .java file Look at the space between the edge of the tab and the image and the edge of the image and the start of the text. The image used for *.java has extra space on the left and right edges. This is using up pixels that would be better used for displayin... | resolved fixed | 4cfac82 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-11T12:22:40Z | 2002-05-10T19:46:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/JavaUILabelProvider.java | return result;
}
/* (non-Javadoc)
* @see IBaseLabelProvider#dispose
*/
public void dispose() {
if (fLabelDecorators != null) {
for (int i= 0; i < fLabelDecorators.length; i++) {
fLabelDecorators[i].dispose();
}
fLabelDecorators= null;
}
fStorageLabelProvider.dispose();
fImageLabelProvider.di... |
15,790 | Bug 15790 Java file icons too fat in editor tabs | Eclipse 20020508 All platforms 1) Open a .txt file. 2) Open a .java file Look at the space between the edge of the tab and the image and the edge of the image and the start of the text. The image used for *.java has extra space on the left and right edges. This is using up pixels that would be better used for displayin... | resolved fixed | 4cfac82 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-11T12:22:40Z | 2002-05-10T19:46:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/JavaUILabelProvider.java | public boolean isLabelProperty(Object element, String property) {
return true;
}
/* (non-Javadoc)
* @see IBaseLabelProvider#removeListener(ILabelProviderListener)
*/
public void removeListener(ILabelProviderListener listener) {
if (fLabelDecorators != null) {
for (int i= 0; i < fLabelDecorators.length; i... |
15,797 | Bug 15797 IllegalArg exception when canceling Java project creation | 20020508+ 1) New 2) Java> Project 3) cancel ->get an IllegalArgumentException. Problem does not occur for a Simple project. !STACK java.lang.IllegalArgumentException: Path for project must have only one segment. at org.eclipse.core.internal.utils.Assert.isLegal(Assert.java:50) at org.eclipse.core.internal.resources.Wor... | resolved fixed | 4b05452 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-11T12:26:29Z | 2002-05-11T06:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/NewProjectCreationWizardPage.java | /*
* (c) Copyright IBM Corp. 2000, 2001.
* All Rights Reserved.
*/
package org.eclipse.jdt.internal.ui.wizards;
import java.lang.reflect.InvocationTargetException;
import java.util.HashSet;
import java.util.Iterator;
import org.eclipse.core.resources.IFile;
import org.eclipse.core.resources.IProject;
import org.ecli... |
15,797 | Bug 15797 IllegalArg exception when canceling Java project creation | 20020508+ 1) New 2) Java> Project 3) cancel ->get an IllegalArgumentException. Problem does not occur for a Simple project. !STACK java.lang.IllegalArgumentException: Path for project must have only one segment. at org.eclipse.core.internal.utils.Assert.isLegal(Assert.java:50) at org.eclipse.core.internal.resources.Wor... | resolved fixed | 4b05452 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-11T12:26:29Z | 2002-05-11T06:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/NewProjectCreationWizardPage.java | import org.eclipse.core.runtime.NullProgressMonitor;
import org.eclipse.core.runtime.Path;
import org.eclipse.core.runtime.Platform;
import org.eclipse.core.runtime.SubProgressMonitor;
import org.eclipse.jface.dialogs.MessageDialog;
import org.eclipse.jface.operation.IRunnableWithProgress;
import org.eclipse.jface.wiza... |
15,797 | Bug 15797 IllegalArg exception when canceling Java project creation | 20020508+ 1) New 2) Java> Project 3) cancel ->get an IllegalArgumentException. Problem does not occur for a Simple project. !STACK java.lang.IllegalArgumentException: Path for project must have only one segment. at org.eclipse.core.internal.utils.Assert.isLegal(Assert.java:50) at org.eclipse.core.internal.resources.Wor... | resolved fixed | 4b05452 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-11T12:26:29Z | 2002-05-11T06:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/NewProjectCreationWizardPage.java | */
public NewProjectCreationWizardPage(WizardNewProjectCreationPage mainPage) {
super();
fMainPage= mainPage;
fCurrProjectLocation= fMainPage.getLocationPath();
}
private boolean canDetectExistingClassPath(IPath projLocation) {
return projLocation.toFile().exists() && !Platform.getLocation().equals(projLoc... |
15,797 | Bug 15797 IllegalArg exception when canceling Java project creation | 20020508+ 1) New 2) Java> Project 3) cancel ->get an IllegalArgumentException. Problem does not occur for a Simple project. !STACK java.lang.IllegalArgumentException: Path for project must have only one segment. at org.eclipse.core.internal.utils.Assert.isLegal(Assert.java:50) at org.eclipse.core.internal.resources.Wor... | resolved fixed | 4b05452 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-11T12:26:29Z | 2002-05-11T06:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/NewProjectCreationWizardPage.java | IRunnableWithProgress op= new IRunnableWithProgress() {
public void run(IProgressMonitor monitor) throws InvocationTargetException, InterruptedException {
if (monitor == null)
monitor= new NullProgressMonitor();
monitor.beginTask(NewWizardMessages.getString("NewProjectCreationWizardPage.EarlyCreati... |
15,797 | Bug 15797 IllegalArg exception when canceling Java project creation | 20020508+ 1) New 2) Java> Project 3) cancel ->get an IllegalArgumentException. Problem does not occur for a Simple project. !STACK java.lang.IllegalArgumentException: Path for project must have only one segment. at org.eclipse.core.internal.utils.Assert.isLegal(Assert.java:50) at org.eclipse.core.internal.resources.Wor... | resolved fixed | 4b05452 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-11T12:26:29Z | 2002-05-11T06:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/NewProjectCreationWizardPage.java | update();
}
super.setVisible(visible);
}
private boolean doesProjectExist() {
return fMainPage.getProjectHandle().exists();
}
/* (non-Javadoc)
* @see IWizardPage#getPreviousPage()
*/
public IWizardPage getPreviousPage() {
if (doesProjectExist()) {
return null;
}
return super.getPreviousPag... |
15,797 | Bug 15797 IllegalArg exception when canceling Java project creation | 20020508+ 1) New 2) Java> Project 3) cancel ->get an IllegalArgumentException. Problem does not occur for a Simple project. !STACK java.lang.IllegalArgumentException: Path for project must have only one segment. at org.eclipse.core.internal.utils.Assert.isLegal(Assert.java:50) at org.eclipse.core.internal.resources.Wor... | resolved fixed | 4b05452 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-11T12:26:29Z | 2002-05-11T06:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/NewProjectCreationWizardPage.java | } else {
monitor.worked(1);
}
configureJavaProject(new SubProgressMonitor(monitor, 2));
} catch (CoreException e) {
throw new InvocationTargetException(e);
} finally {
monitor.done();
}
}
};
}
private void createProject(IProgressMonitor monitor) throws CoreException {
IPro... |
15,797 | Bug 15797 IllegalArg exception when canceling Java project creation | 20020508+ 1) New 2) Java> Project 3) cancel ->get an IllegalArgumentException. Problem does not occur for a Simple project. !STACK java.lang.IllegalArgumentException: Path for project must have only one segment. at org.eclipse.core.internal.utils.Assert.isLegal(Assert.java:50) at org.eclipse.core.internal.resources.Wor... | resolved fixed | 4b05452 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-11T12:26:29Z | 2002-05-11T06:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/NewProjectCreationWizardPage.java | final HashSet sourceFolders= new HashSet();
IResourceVisitor visitor= new IResourceVisitor() {
public boolean visit(IResource resource) throws CoreException {
return doVisit(resource, sourceFolders);
}
};
project.accept(visitor);
monitor.worked(1);
IClasspathEntry[] entries=... |
15,797 | Bug 15797 IllegalArg exception when canceling Java project creation | 20020508+ 1) New 2) Java> Project 3) cancel ->get an IllegalArgumentException. Problem does not occur for a Simple project. !STACK java.lang.IllegalArgumentException: Path for project must have only one segment. at org.eclipse.core.internal.utils.Assert.isLegal(Assert.java:50) at org.eclipse.core.internal.resources.Wor... | resolved fixed | 4b05452 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-11T12:26:29Z | 2002-05-11T06:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/NewProjectCreationWizardPage.java | }
}
init(JavaCore.create(project), outputLocation, entries, false);
monitor.worked(1);
}
} finally {
monitor.done();
}
}
private boolean doVisit(IResource resource, HashSet sourceFolders) throws JavaModelException {
if (!sourceFolders.isEmpty()) {
IResource curr= resource;
while (cu... |
15,797 | Bug 15797 IllegalArg exception when canceling Java project creation | 20020508+ 1) New 2) Java> Project 3) cancel ->get an IllegalArgumentException. Problem does not occur for a Simple project. !STACK java.lang.IllegalArgumentException: Path for project must have only one segment. at org.eclipse.core.internal.utils.Assert.isLegal(Assert.java:50) at org.eclipse.core.internal.resources.Wor... | resolved fixed | 4b05452 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-11T12:26:29Z | 2002-05-11T06:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/NewProjectCreationWizardPage.java | IPath relpath= new Path(decls[0].getElementName().replace('.', '/'));
int remainingSegments= packPath.segmentCount() - relpath.segmentCount();
if (remainingSegments >= 0) {
IPath prefix= packPath.uptoSegment(remainingSegments);
IPath common= packPath.removeFirstSegments(remainingSegments);
... |
15,801 | Bug 15801 NPE New class wizard opened on non-Java project | 1) create a simple project ZZZ 2) new>Java>class 3) next NPE !ENTRY org.eclipse.ui 4 0 Sat May 11 13:10:22 GMT+02:00 2002 !MESSAGE java.lang.NullPointerException !STACK java.lang.NullPointerException at org.eclipse.jface.wizard.WizardPage.getShell(WizardPage.java:196) at org.eclipse.jdt.ui.wizards.NewTypeWizardPage.set... | resolved fixed | 55fc4a5 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-11T13:54:02Z | 2002-05-11T12:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/NewSourceFolderWizardPage.java | /*
* (c) Copyright IBM Corp. 2000, 2001.
* All Rights Reserved.
*/
package org.eclipse.jdt.internal.ui.wizards;
import java.lang.reflect.InvocationTargetException;
import java.util.ArrayList;
import java.util.List;
import org.eclipse.core.resources.IContainer;
import org.eclipse.core.resources.IFolder;
import org.ec... |
15,801 | Bug 15801 NPE New class wizard opened on non-Java project | 1) create a simple project ZZZ 2) new>Java>class 3) next NPE !ENTRY org.eclipse.ui 4 0 Sat May 11 13:10:22 GMT+02:00 2002 !MESSAGE java.lang.NullPointerException !STACK java.lang.NullPointerException at org.eclipse.jface.wizard.WizardPage.getShell(WizardPage.java:196) at org.eclipse.jdt.ui.wizards.NewTypeWizardPage.set... | resolved fixed | 55fc4a5 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-11T13:54:02Z | 2002-05-11T12:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/NewSourceFolderWizardPage.java | import org.eclipse.jface.viewers.ITreeContentProvider;
import org.eclipse.jface.viewers.ViewerFilter;
import org.eclipse.ui.dialogs.ElementListSelectionDialog;
import org.eclipse.ui.dialogs.ElementTreeSelectionDialog;
import org.eclipse.ui.dialogs.ISelectionStatusValidator;
import org.eclipse.ui.help.WorkbenchHelp;
imp... |
15,801 | Bug 15801 NPE New class wizard opened on non-Java project | 1) create a simple project ZZZ 2) new>Java>class 3) next NPE !ENTRY org.eclipse.ui 4 0 Sat May 11 13:10:22 GMT+02:00 2002 !MESSAGE java.lang.NullPointerException !STACK java.lang.NullPointerException at org.eclipse.jface.wizard.WizardPage.getShell(WizardPage.java:196) at org.eclipse.jdt.ui.wizards.NewTypeWizardPage.set... | resolved fixed | 55fc4a5 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-11T13:54:02Z | 2002-05-11T12:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/NewSourceFolderWizardPage.java | private static final String PAGE_NAME= "NewSourceFolderWizardPage";
private StringButtonDialogField fProjectField;
private StatusInfo fProjectStatus;
private StringButtonDialogField fRootDialogField;
private StatusInfo fRootStatus;
private IWorkspaceRoot fWorkspaceRoot;
private IJavaProject fCurrJProject;
... |
15,801 | Bug 15801 NPE New class wizard opened on non-Java project | 1) create a simple project ZZZ 2) new>Java>class 3) next NPE !ENTRY org.eclipse.ui 4 0 Sat May 11 13:10:22 GMT+02:00 2002 !MESSAGE java.lang.NullPointerException !STACK java.lang.NullPointerException at org.eclipse.jface.wizard.WizardPage.getShell(WizardPage.java:196) at org.eclipse.jdt.ui.wizards.NewTypeWizardPage.set... | resolved fixed | 55fc4a5 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-11T13:54:02Z | 2002-05-11T12:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/NewSourceFolderWizardPage.java | super(PAGE_NAME);
setTitle(NewWizardMessages.getString("NewSourceFolderWizardPage.title"));
setDescription(NewWizardMessages.getString("NewSourceFolderWizardPage.description"));
fWorkspaceRoot= ResourcesPlugin.getWorkspace().getRoot();
RootFieldAdapter adapter= new RootFieldAdapter();
fProject... |
15,801 | Bug 15801 NPE New class wizard opened on non-Java project | 1) create a simple project ZZZ 2) new>Java>class 3) next NPE !ENTRY org.eclipse.ui 4 0 Sat May 11 13:10:22 GMT+02:00 2002 !MESSAGE java.lang.NullPointerException !STACK java.lang.NullPointerException at org.eclipse.jface.wizard.WizardPage.getShell(WizardPage.java:196) at org.eclipse.jdt.ui.wizards.NewTypeWizardPage.set... | resolved fixed | 55fc4a5 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-11T13:54:02Z | 2002-05-11T12:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/NewSourceFolderWizardPage.java | Object selectedElement= selection.getFirstElement();
if (selectedElement == null) {
selectedElement= EditorUtility.getActiveEditorJavaInput();
}
String projPath= null;
if (selectedElement instanceof IResource) {
IProject proj= ((IResource)selectedElement).getProject();
if (proj != null) {
... |
15,801 | Bug 15801 NPE New class wizard opened on non-Java project | 1) create a simple project ZZZ 2) new>Java>class 3) next NPE !ENTRY org.eclipse.ui 4 0 Sat May 11 13:10:22 GMT+02:00 2002 !MESSAGE java.lang.NullPointerException !STACK java.lang.NullPointerException at org.eclipse.jface.wizard.WizardPage.getShell(WizardPage.java:196) at org.eclipse.jdt.ui.wizards.NewTypeWizardPage.set... | resolved fixed | 55fc4a5 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-11T13:54:02Z | 2002-05-11T12:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/NewSourceFolderWizardPage.java | try {
IProject[] projects= fWorkspaceRoot.getProjects();
for (int i= 0; i < projects.length; i++) {
IProject proj= projects[i];
if (proj.hasNature(JavaCore.NATURE_ID)) {
projPath= proj.getFullPath().makeRelative().toString();
break;
}
}
} catch (CoreException e) {
}
fPr... |
15,801 | Bug 15801 NPE New class wizard opened on non-Java project | 1) create a simple project ZZZ 2) new>Java>class 3) next NPE !ENTRY org.eclipse.ui 4 0 Sat May 11 13:10:22 GMT+02:00 2002 !MESSAGE java.lang.NullPointerException !STACK java.lang.NullPointerException at org.eclipse.jface.wizard.WizardPage.getShell(WizardPage.java:196) at org.eclipse.jdt.ui.wizards.NewTypeWizardPage.set... | resolved fixed | 55fc4a5 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-11T13:54:02Z | 2002-05-11T12:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/NewSourceFolderWizardPage.java | layout.numColumns= 3;
composite.setLayout(layout);
fProjectField.doFillIntoGrid(composite, 3);
fRootDialogField.doFillIntoGrid(composite, 3);
fRootDialogField.setFocus();
int maxFieldWidth= convertWidthInCharsToPixels(40);
LayoutUtil.setWidthHint(fProjectField.getTextControl(null), maxFieldWidth);
... |
15,801 | Bug 15801 NPE New class wizard opened on non-Java project | 1) create a simple project ZZZ 2) new>Java>class 3) next NPE !ENTRY org.eclipse.ui 4 0 Sat May 11 13:10:22 GMT+02:00 2002 !MESSAGE java.lang.NullPointerException !STACK java.lang.NullPointerException at org.eclipse.jface.wizard.WizardPage.getShell(WizardPage.java:196) at org.eclipse.jdt.ui.wizards.NewTypeWizardPage.set... | resolved fixed | 55fc4a5 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-11T13:54:02Z | 2002-05-11T12:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/NewSourceFolderWizardPage.java | IPath initialPath= new Path(fRootDialogField.getText());
String title= NewWizardMessages.getString("NewSourceFolderWizardPage.ChooseExistingRootDialog.title");
String message= NewWizardMessages.getString("NewSourceFolderWizardPage.ChooseExistingRootDialog.description");
IFolder folder= chooseFolder(title, me... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.