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
13,206
Bug 13206 Missing resource
20020409: Package View>Context Menu>OpenNewWindowAction.text
resolved fixed
5ba0c30
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-11T08:34:36Z
2002-04-10T12:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/JavaBrowsingPart.java
if (selectedElement instanceof IJavaElement) adjustInputAndSetSelection((IJavaElement)selectedElement); else setSelection(StructuredSelection.EMPTY, true); } protected void setInput(Object input) { if (input == null) setTitleImage(fOriginalTitleImage); else if (input instanceof Collection) { if (((C...
13,206
Bug 13206 Missing resource
20020409: Package View>Context Menu>OpenNewWindowAction.text
resolved fixed
5ba0c30
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-11T08:34:36Z
2002-04-10T12:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/JavaBrowsingPart.java
if (fOriginalTitleImage == null) fOriginalTitleImage= getTitleImage(); if (titleImage == null) titleImage= fOriginalTitleImage; super.setTitleImage(titleImage); } protected final StructuredViewer getViewer() { return fViewer; } protected ILabelProvider createLabelProvider() { return new StandardJavaUI...
13,206
Bug 13206 Missing resource
20020409: Package View>Context Menu>OpenNewWindowAction.text
resolved fixed
5ba0c30
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-11T08:34:36Z
2002-04-10T12:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/JavaBrowsingPart.java
protected StructuredViewer createViewer(Composite parent) { return new ProblemTableViewer(parent, SWT.MULTI); } protected int getLabelProviderFlags() { return JavaElementLabelProvider.SHOW_BASICS | JavaElementLabelProvider.SHOW_OVERLAY_ICONS | JavaElementLabelProvider.SHOW_SMALL_ICONS | JavaElementLabelProv...
13,206
Bug 13206 Missing resource
20020409: Package View>Context Menu>OpenNewWindowAction.text
resolved fixed
5ba0c30
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-11T08:34:36Z
2002-04-10T12:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/JavaBrowsingPart.java
setInput(findInputForJavaElement((JavaElement)input)); } protected void setInitialSelection() { Object input; ISelection selection= getSite().getPage().getSelection(); if (selection != null && !selection.isEmpty()) input= getSingleElementFromSelection(selection); else { input= getSite().getPage...
13,206
Bug 13206 Missing resource
20020409: Package View>Context Menu>OpenNewWindowAction.text
resolved fixed
5ba0c30
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-11T08:34:36Z
2002-04-10T12:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/JavaBrowsingPart.java
/** * Adds additional listeners to this view. */ protected void hookViewerListeners() { fViewer.addSelectionChangedListener(new ISelectionChangedListener() { public void selectionChanged(SelectionChangedEvent event) { if (!fProcessSelectionEvents) return; if (JavaBrowsingPreferencePage.openEditor...
13,206
Bug 13206 Missing resource
20020409: Package View>Context Menu>OpenNewWindowAction.text
resolved fixed
5ba0c30
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-11T08:34:36Z
2002-04-10T12:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/JavaBrowsingPart.java
setInput(findInputForJavaElement(je)); if (elementToSelect != null) setSelection(new StructuredSelection(elementToSelect), true); else setSelection(StructuredSelection.EMPTY, true); } /** * Finds the closest Java element which can be used as input for * this part and has the given Java element as chi...
13,206
Bug 13206 Missing resource
20020409: Package View>Context Menu>OpenNewWindowAction.text
resolved fixed
5ba0c30
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-11T08:34:36Z
2002-04-10T12:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/JavaBrowsingPart.java
* * @param je the Java element which has the focus */ abstract protected IJavaElement findElementToSelect(IJavaElement je); private Object getSingleElementFromSelection(ISelection selection) { if (!(selection instanceof StructuredSelection) || selection.isEmpty()) return null; Iterator iter= ((Struct...
13,206
Bug 13206 Missing resource
20020409: Package View>Context Menu>OpenNewWindowAction.text
resolved fixed
5ba0c30
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-11T08:34:36Z
2002-04-10T12:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/JavaBrowsingPart.java
} /** * Gets the typeComparator. * @return Returns a JavaElementTypeComparator */ protected Comparator getTypeComparator() { return fTypeComparator; } /** * Links to editor (if option enabled) */ private void linkToEditor(IStructuredSelection selection) { if (selection == null || selection.isEmpty())...
13,206
Bug 13206 Missing resource
20020409: Package View>Context Menu>OpenNewWindowAction.text
resolved fixed
5ba0c30
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-11T08:34:36Z
2002-04-10T12:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/JavaBrowsingPart.java
IEditorPart editorArray[]= page.getEditors(); for (int i= 0; i < editorArray.length; ++i) { IEditorPart editor= editorArray[i]; Object input= getElementOfInput(editor.getEditorInput()); if (input != null && input.equals(element)) { page.bringToTop(editor); if (obj instanceof IJavaElement) ...
13,206
Bug 13206 Missing resource
20020409: Package View>Context Menu>OpenNewWindowAction.text
resolved fixed
5ba0c30
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-11T08:34:36Z
2002-04-10T12:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/JavaBrowsingPart.java
adjustInputAndSetSelection(element); return; } } if (ei instanceof IFileEditorInput) { IFile file= ((IFileEditorInput)ei).getFile(); IJavaElement je= (IJavaElement)file.getAdapter(IJavaElement.class); if (je == null) { setSelection(null, false); return; } adjustInputAndSetSe...
13,206
Bug 13206 Missing resource
20020409: Package View>Context Menu>OpenNewWindowAction.text
resolved fixed
5ba0c30
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-11T08:34:36Z
2002-04-10T12:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/JavaBrowsingPart.java
return null; } private IResource getResourceFor(Object element) { if (element instanceof IJavaElement) { if (element instanceof IWorkingCopy) { IWorkingCopy wc= (IWorkingCopy)element; IJavaElement original= wc.getOriginalElement(); if (original != null) element= original; } try { ele...
13,206
Bug 13206 Missing resource
20020409: Package View>Context Menu>OpenNewWindowAction.text
resolved fixed
5ba0c30
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-11T08:34:36Z
2002-04-10T12:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/JavaBrowsingPart.java
* Tries to find the given element in a workingcopy. */ protected static IJavaElement getWorkingCopy(IJavaElement input) { try { if (input instanceof ICompilationUnit) return EditorUtility.getWorkingCopy((ICompilationUnit)input); else return EditorUtility.getWorkingCopy(input, true); } catch (JavaMo...
13,206
Bug 13206 Missing resource
20020409: Package View>Context Menu>OpenNewWindowAction.text
resolved fixed
5ba0c30
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-11T08:34:36Z
2002-04-10T12:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/JavaBrowsingPart.java
* @return the compilation unit of the given java element */ protected static ICompilationUnit getCompilationUnit(IJavaElement element) { if (element == null) return null; if (element instanceof IMember) return ((IMember) element).getCompilationUnit(); int type= element.getElementType(); if (IJav...
13,206
Bug 13206 Missing resource
20020409: Package View>Context Menu>OpenNewWindowAction.text
resolved fixed
5ba0c30
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-11T08:34:36Z
2002-04-10T12:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/JavaBrowsingPart.java
if (element.getElementType() == IJavaElement.CLASS_FILE) return element; if (((BaseJavaElementContentProvider)getViewer().getContentProvider()).getProvideWorkingCopy()) { IJavaElement wc= getWorkingCopy(element); if (wc != null) element= wc; return element; } else { ICompilationUnit cu= getComp...
13,206
Bug 13206 Missing resource
20020409: Package View>Context Menu>OpenNewWindowAction.text
resolved fixed
5ba0c30
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-11T08:34:36Z
2002-04-10T12:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/JavaBrowsingPart.java
synchronized (unit) { try { unit.reconcile(); return unit.getElementAt(offset); } catch (JavaModelException x) { } } return null; } protected IType getTypeForCU(ICompilationUnit cu) { cu= (ICompilationUnit)getSuitableJavaElement(cu); IType primaryType= JavaModelUtil.findPrimaryT...
13,206
Bug 13206 Missing resource
20020409: Package View>Context Menu>OpenNewWindowAction.text
resolved fixed
5ba0c30
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-11T08:34:36Z
2002-04-10T12:00:00Z
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...
13,206
Bug 13206 Missing resource
20020409: Package View>Context Menu>OpenNewWindowAction.text
resolved fixed
5ba0c30
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-11T08:34:36Z
2002-04-10T12:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
import org.eclipse.swt.events.KeyAdapter; import org.eclipse.swt.events.KeyEvent; import org.eclipse.swt.widgets.Composite; import org.eclipse.swt.widgets.Control; import org.eclipse.swt.widgets.Menu; import org.eclipse.swt.widgets.ScrollBar; import org.eclipse.swt.widgets.Shell; import org.eclipse.swt.widgets.Tree; im...
13,206
Bug 13206 Missing resource
20020409: Package View>Context Menu>OpenNewWindowAction.text
resolved fixed
5ba0c30
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-11T08:34:36Z
2002-04-10T12:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
import org.eclipse.jface.viewers.TreeViewer; import org.eclipse.core.resources.IContainer; import org.eclipse.core.resources.IFile; import org.eclipse.core.resources.IResource; import org.eclipse.core.resources.IWorkspace; import org.eclipse.core.runtime.IAdaptable; import org.eclipse.core.runtime.IPath; import org.ecl...
13,206
Bug 13206 Missing resource
20020409: Package View>Context Menu>OpenNewWindowAction.text
resolved fixed
5ba0c30
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-11T08:34:36Z
2002-04-10T12:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
import org.eclipse.ui.part.ViewPart; import org.eclipse.ui.views.framelist.BackAction; import org.eclipse.ui.views.framelist.ForwardAction; import org.eclipse.ui.views.framelist.FrameList; import org.eclipse.ui.views.framelist.GoIntoAction; import org.eclipse.ui.views.framelist.UpAction; import org.eclipse.search.ui.IW...
13,206
Bug 13206 Missing resource
20020409: Package View>Context Menu>OpenNewWindowAction.text
resolved fixed
5ba0c30
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-11T08:34:36Z
2002-04-10T12:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
import org.eclipse.jdt.internal.ui.javaeditor.EditorUtility; import org.eclipse.jdt.internal.ui.javaeditor.IClassFileEditorInput; import org.eclipse.jdt.internal.ui.javaeditor.JarEntryEditorInput; import org.eclipse.jdt.internal.ui.preferences.JavaBasePreferencePage; import org.eclipse.jdt.internal.ui.refactoring.actio...
13,206
Bug 13206 Missing resource
20020409: Package View>Context Menu>OpenNewWindowAction.text
resolved fixed
5ba0c30
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-11T08:34:36Z
2002-04-10T12:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
public final static String VIEW_ID= JavaUI.ID_PACKAGES; static final String TAG_SELECTION= "selection"; static final String TAG_EXPANDED= "expanded"; static final String TAG_ELEMENT= "element"; static final String TAG_PATH= "path"; static final String TAG_VERTICAL_POSITION= "verticalPosition"; static ...
13,206
Bug 13206 Missing resource
20020409: Package View>Context Menu>OpenNewWindowAction.text
resolved fixed
5ba0c30
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-11T08:34:36Z
2002-04-10T12:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
private FrameList fFrameList; private ContextMenuGroup[] fStandardGroups; private Menu fContextMenu; private OpenResourceAction fOpenCUAction; private Action fOpenToAction; private OpenNewWindowAction fOpenNewWindowAction; private Action fShowTypeHierarchyAction; private Action fShowNavigatorAction; private P...
13,206
Bug 13206 Missing resource
20020409: Package View>Context Menu>OpenNewWindowAction.text
resolved fixed
5ba0c30
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-11T08:34:36Z
2002-04-10T12:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
private IPartListener fPartListener= new IPartListener() { public void partActivated(IWorkbenchPart part) { if (part instanceof IEditorPart) editorActivated((IEditorPart) part); } public void partBroughtToTop(IWorkbenchPart part) { } public void partClosed(IWorkbenchPart part) { } public void partD...
13,206
Bug 13206 Missing resource
20020409: Package View>Context Menu>OpenNewWindowAction.text
resolved fixed
5ba0c30
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-11T08:34:36Z
2002-04-10T12:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
* Method declared on IViewPart. */ public void init(IViewSite site, IMemento memento) throws PartInitException { super.init(site, memento); fMemento= memento; } /** * Initializes the default preferences */ public static void initDefaults(IPreferenceStore store) { store.setDefault(TAG_SHOWLIBRARIES, t...
13,206
Bug 13206 Missing resource
20020409: Package View>Context Menu>OpenNewWindowAction.text
resolved fixed
5ba0c30
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-11T08:34:36Z
2002-04-10T12:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
public static PackageExplorerPart openInActivePerspective() { try { return (PackageExplorerPart)JavaPlugin.getActivePage().showView(VIEW_ID); } catch(PartInitException pe) { return null; } } public void dispose() { if (fViewer != null) JavaPlugin.getDefault().getProblemMarkerManager().removeLis...
13,206
Bug 13206 Missing resource
20020409: Package View>Context Menu>OpenNewWindowAction.text
resolved fixed
5ba0c30
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-11T08:34:36Z
2002-04-10T12:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
fJavaElementLabelProvider= new StandardJavaUILabelProvider( StandardJavaUILabelProvider.DEFAULT_TEXTFLAGS | JavaElementLabels.P_COMPRESSED, StandardJavaUILabelProvider.DEFAULT_IMAGEFLAGS | JavaElementImageProvider.SMALL_ICONS, StandardJavaUILabelProvider.getAdornmentProviders(true, null) ); fVie...
13,206
Bug 13206 Missing resource
20020409: Package View>Context Menu>OpenNewWindowAction.text
resolved fixed
5ba0c30
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-11T08:34:36Z
2002-04-10T12:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
initKeyListener(); updateTitle(); MenuManager menuMgr= new MenuManager("#PopupMenu"); menuMgr.setRemoveAllWhenShown(true); menuMgr.addMenuListener(this); fContextMenu= menuMgr.createContextMenu(fViewer.getTree()); fViewer.getTree().setMenu(fContextMenu); IWorkbenchPartSite site= getSite(); sit...
13,206
Bug 13206 Missing resource
20020409: Package View>Context Menu>OpenNewWindowAction.text
resolved fixed
5ba0c30
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-11T08:34:36Z
2002-04-10T12:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
fViewer.addSelectionChangedListener(new StatusBarUpdater(slManager)); fViewer.addTreeListener(fExpansionListener); if (fMemento != null) restoreState(fMemento); fMemento= null; JavaUIHelp.setHelp(fViewer, IJavaHelpContextIds.PACKAGES_VIEW); fillActionBars(); } private void fillActionBars() { I...
13,206
Bug 13206 Missing resource
20020409: Package View>Context Menu>OpenNewWindowAction.text
resolved fixed
5ba0c30
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-11T08:34:36Z
2002-04-10T12:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
actionBars.setGlobalActionHandler(IWorkbenchActionConstants.BOOKMARK, fAddBookmarkAction); actionBars.setGlobalActionHandler(IWorkbenchActionConstants.GO_INTO, fZoomInAction); actionBars.setGlobalActionHandler(IWorkbenchActionConstants.BACK, fBackAction); actionBars.setGlobalActionHandler(IWorkbenchActionCo...
13,206
Bug 13206 Missing resource
20020409: Package View>Context Menu>OpenNewWindowAction.text
resolved fixed
5ba0c30
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-11T08:34:36Z
2002-04-10T12:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
return JavaCore.create((IContainer)input); } return JavaCore.create(JavaPlugin.getWorkspace().getRoot()); } /** * Answer the property defined by key. */ public Object getAdapter(Class key) { if (key.equals(ISelectionProvider.class)) return fViewer; return super.getAdapter(key); } /** *...
13,206
Bug 13206 Missing resource
20020409: Package View>Context Menu>OpenNewWindowAction.text
resolved fixed
5ba0c30
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-11T08:34:36Z
2002-04-10T12:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
} IWorkingSet ws= fWorkingSetFilter.getWorkingSet(); if (ws == null) return result; String wsstr= "Working Set: "+ws.getName(); if (result.length() == 0) return wsstr; return result + " - " + wsstr; } public String getTitleToolTip() { if (fViewer == null) return super.getTitleToolTip(); retur...
13,206
Bug 13206 Missing resource
20020409: Package View>Context Menu>OpenNewWindowAction.text
resolved fixed
5ba0c30
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-11T08:34:36Z
2002-04-10T12:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
} /** * Returns the shell to use for opening dialogs. * Used in this class, and in the actions. */ private Shell getShell() { return fViewer.getTree().getShell(); } /** * Returns the selection provider. */ private ISelectionProvider getSelectionProvider() { return fViewer; } /** * Returns th...
13,206
Bug 13206 Missing resource
20020409: Package View>Context Menu>OpenNewWindowAction.text
resolved fixed
5ba0c30
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-11T08:34:36Z
2002-04-10T12:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
JavaPlugin.createStandardGroups(menu); IStructuredSelection selection= (IStructuredSelection) fViewer.getSelection(); int size= selection.size(); Object element= selection.getFirstElement(); fPropertyDialogAction.selectionChanged(selection); MenuManager newMenu= new MenuManager(PackagesMessages.getString("...
13,206
Bug 13206 Missing resource
20020409: Package View>Context Menu>OpenNewWindowAction.text
resolved fixed
5ba0c30
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-11T08:34:36Z
2002-04-10T12:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
if (fPropertyDialogAction.isApplicableForSelection()) menu.appendToGroup(IContextMenuConstants.GROUP_PROPERTIES, fPropertyDialogAction); } void addGotoMenu(IMenuManager menu) { MenuManager gotoMenu= new MenuManager(PackagesMessages.getString("PackageExplorer.gotoTitle")); menu.appendToGroup(IContextMenuCons...
13,206
Bug 13206 Missing resource
20020409: Package View>Context Menu>OpenNewWindowAction.text
resolved fixed
5ba0c30
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-11T08:34:36Z
2002-04-10T12:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
if (o instanceof IFile) continue; if (o instanceof IAdaptable) { Object resource= ((IAdaptable)o).getAdapter(IResource.class); if (!(resource instanceof IFile)) return false; } else { return false; } } return true; } private void makeActions() { ISelectionProvider provider= getSele...
13,206
Bug 13206 Missing resource
20020409: Package View>Context Menu>OpenNewWindowAction.text
resolved fixed
5ba0c30
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-11T08:34:36Z
2002-04-10T12:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
fDeleteAction= ReorgGroup.createDeleteAction(provider); fRefreshAction= new RefreshAction(getShell()); provider.addSelectionChangedListener(fRefreshAction); fFilterAction = new FilterSelectionAction(getShell(), this, PackagesMessages.getString("PackageExplorer.filters")); fShowLibrariesAction = new ShowLibrari...
13,206
Bug 13206 Missing resource
20020409: Package View>Context Menu>OpenNewWindowAction.text
resolved fixed
5ba0c30
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-11T08:34:36Z
2002-04-10T12:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
Object resource= element.getAdapter(IResource.class); if (!(resource instanceof IFile)) return; MenuManager submenu= new MenuManager(PackagesMessages.getString("PackageExplorer.openWith")); submenu.add(new OpenWithMenu(getSite().getPage(), (IFile) resource)); menu.appendToGroup(IContextMenuConstants....
13,206
Bug 13206 Missing resource
20020409: Package View>Context Menu>OpenNewWindowAction.text
resolved fixed
5ba0c30
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-11T08:34:36Z
2002-04-10T12:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
} private void initDragAndDrop() { int ops= DND.DROP_COPY | DND.DROP_MOVE; final LocalSelectionTransfer lt= LocalSelectionTransfer.getInstance(); Transfer[] transfers= new Transfer[] { lt, ResourceTransfer.getInstance(), FileTransfer.getInstance()}; TransferDropTargetListener[] dropListen...
13,206
Bug 13206 Missing resource
20020409: Package View>Context Menu>OpenNewWindowAction.text
resolved fixed
5ba0c30
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-11T08:34:36Z
2002-04-10T12:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
/** * Handles double clicks in viewer. * Opens editor if file double-clicked. */ private void handleDoubleClick(DoubleClickEvent event) { IStructuredSelection s= (IStructuredSelection) event.getSelection(); Object element= s.getFirstElement(); if (fOpenCUAction.isEnabled()) { fOpenCUAction.run(); ...
13,206
Bug 13206 Missing resource
20020409: Package View>Context Menu>OpenNewWindowAction.text
resolved fixed
5ba0c30
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-11T08:34:36Z
2002-04-10T12:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
* Links to editor (if option enabled) */ private void handleSelectionChanged(SelectionChangedEvent event) { IStructuredSelection selection= (IStructuredSelection) event.getSelection(); fZoomInAction.update(); linkToEditor(selection); } public void selectReveal(ISelection selection) { ISelection javaSele...
13,206
Bug 13206 Missing resource
20020409: Package View>Context Menu>OpenNewWindowAction.text
resolved fixed
5ba0c30
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-11T08:34:36Z
2002-04-10T12:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
} public void selectAndReveal(Object element) { selectReveal(new StructuredSelection(element)); } /** * Returns whether the preference to link selection to active editor is enabled. */ boolean isLinkingEnabled() { return JavaBasePreferencePage.linkPackageSelectionToEditor(); } /** * Links to editor ...
13,206
Bug 13206 Missing resource
20020409: Package View>Context Menu>OpenNewWindowAction.text
resolved fixed
5ba0c30
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-11T08:34:36Z
2002-04-10T12:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
element= obj; if (element == null) return; IWorkbenchPage page= getSite().getPage(); IEditorPart editorArray[]= page.getEditors(); for (int i= 0; i < editorArray.length; ++i) { IEditorPart editor= editorArray[i]; Object input= getElementOfInput(editor.getEditorInput()); if (input !...
13,206
Bug 13206 Missing resource
20020409: Package View>Context Menu>OpenNewWindowAction.text
resolved fixed
5ba0c30
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-11T08:34:36Z
2002-04-10T12:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
} } if (!(element instanceof IResource) || ((IResource)element).isPhantom()) { return null; } return (IResource)element; } public void saveState(IMemento memento) { if (fViewer == null) { if (fMemento != null) memento.putMemento(fMemento); return; } saveExpansionState(memento); sav...
13,206
Bug 13206 Missing resource
20020409: Package View>Context Menu>OpenNewWindowAction.text
resolved fixed
5ba0c30
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-11T08:34:36Z
2002-04-10T12:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
boolean showBinaries= getBinaryFilter().getShowBinaries(); String showBinString= "true"; if (!showBinaries) showBinString= "false"; memento.putString(TAG_SHOWBINARIES, showBinString); } protected void savePatternFilterState(IMemento memento) { String filters[] = getPatternFilter().getPatterns(); if(fil...
13,206
Bug 13206 Missing resource
20020409: Package View>Context Menu>OpenNewWindowAction.text
resolved fixed
5ba0c30
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-11T08:34:36Z
2002-04-10T12:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
for (int i= 0; i < elements.length; i++) { IMemento elementMem= selectionMem.createChild(TAG_ELEMENT); Object o= elements[i]; if (o instanceof IJavaElement) elementMem.putString(TAG_PATH, ((IJavaElement) elements[i]).getHandleIdentifier()); } } } protected void saveExpansionState(IMemento m...
13,206
Bug 13206 Missing resource
20020409: Package View>Context Menu>OpenNewWindowAction.text
resolved fixed
5ba0c30
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-11T08:34:36Z
2002-04-10T12:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
*/ public void saveMemberFilterState(IMemento memento) { fMemberFilterActionGroup.saveState(memento); } void restoreState(IMemento memento) { restoreExpansionState(memento); restoreSelectionState(memento); restoreScrollState(memento, fViewer.getTree()); } protected void restoreScrollState(IMemento memento,...
13,206
Bug 13206 Missing resource
20020409: Package View>Context Menu>OpenNewWindowAction.text
resolved fixed
5ba0c30
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-11T08:34:36Z
2002-04-10T12:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
} } } protected void restoreSelectionState(IMemento memento) { IMemento childMem; childMem= memento.getChild(TAG_SELECTION); if (childMem != null) { ArrayList list= new ArrayList(); IMemento[] elementMem= childMem.getChildren(TAG_ELEMENT); for (int i= 0; i < elementMem.length; i++) { Object eleme...
13,206
Bug 13206 Missing resource
20020409: Package View>Context Menu>OpenNewWindowAction.text
resolved fixed
5ba0c30
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-11T08:34:36Z
2002-04-10T12:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
* Create the KeyListener for doing the refresh on the viewer. */ private void initKeyListener() { fViewer.getControl().addKeyListener(new KeyAdapter() { public void keyReleased(KeyEvent event) { doKeyPressed(event); } }); } private void doKeyPressed(KeyEvent event) { if (event.stateMask != 0) r...
13,206
Bug 13206 Missing resource
20020409: Package View>Context Menu>OpenNewWindowAction.text
resolved fixed
5ba0c30
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-11T08:34:36Z
2002-04-10T12:00:00Z
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; if (inpu...
13,206
Bug 13206 Missing resource
20020409: Package View>Context Menu>OpenNewWindowAction.text
resolved fixed
5ba0c30
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-11T08:34:36Z
2002-04-10T12:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
ISelection newSelection= new StructuredSelection(element); if (!fViewer.getSelection().equals(newSelection)) { try { fViewer.removeSelectionChangedListener(fSelectionListener); fViewer.setSelection(newSelection); } finally { fViewer.addSelectionChangedListener(fSelectionListener); } } ...
13,206
Bug 13206 Missing resource
20020409: Package View>Context Menu>OpenNewWindowAction.text
resolved fixed
5ba0c30
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-11T08:34:36Z
2002-04-10T12:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
final IType type2= type; Control ctrl= fViewer.getControl(); if (ctrl != null && !ctrl.isDisposed()) { ctrl.getDisplay().asyncExec(new Runnable() { public void run() { Control ctrl= fViewer.getControl(); if (ctrl != null && !ctrl.isDisposed()) fViewer.expandToLevel(type2, 1); ...
13,206
Bug 13206 Missing resource
20020409: Package View>Context Menu>OpenNewWindowAction.text
resolved fixed
5ba0c30
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-11T08:34:36Z
2002-04-10T12:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
/** * Returns the Viewer. */ TreeViewer getViewer() { return fViewer; } /** * Returns the pattern filter for this view. * @return the pattern filter */ JavaElementPatternFilter getPatternFilter() { return fPatternFilter; } /** * Returns the library filter for this view. * @return the ...
13,206
Bug 13206 Missing resource
20020409: Package View>Context Menu>OpenNewWindowAction.text
resolved fixed
5ba0c30
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-11T08:34:36Z
2002-04-10T12:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
* Returns the Binary filter for this view. * @return the binary filter */ BinaryProjectFilter getBinaryFilter() { return fBinaryFilter; } void restoreFilters() { IMemento filtersMem= fMemento.getChild(TAG_FILTERS); if(filtersMem != null) { IMemento children[]= filtersMem.getChildren(TAG_FILTER); S...
13,206
Bug 13206 Missing resource
20020409: Package View>Context Menu>OpenNewWindowAction.text
resolved fixed
5ba0c30
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-11T08:34:36Z
2002-04-10T12:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
initBinaryFilterFromPreferences(); String workingSetName= fMemento.getString(TAG_WORKINGSET); if (workingSetName != null) { IWorkingSet ws= SearchUI.findWorkingSet(workingSetName); if (ws != null) { getWorkingSetFilter().setWorkingSet(ws); } } fMemberFilterActionGroup.restoreState(fMemento...
13,206
Bug 13206 Missing resource
20020409: Package View>Context Menu>OpenNewWindowAction.text
resolved fixed
5ba0c30
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-11T08:34:36Z
2002-04-10T12:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
return false; return fViewer.isExpandable(element); } /** * Updates the title text and title tool tip. * Called whenever the input of the viewer changes. */ void updateTitle() { Object input= getViewer().getInput(); String viewName= getConfigurationElement().getAttribute("name"); if (input == nul...
13,206
Bug 13206 Missing resource
20020409: Package View>Context Menu>OpenNewWindowAction.text
resolved fixed
5ba0c30
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-11T08:34:36Z
2002-04-10T12:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
if (decorator == null) fViewer.setLabelProvider(fJavaElementLabelProvider); else fViewer.setLabelProvider(new DecoratingLabelProvider(fJavaElementLabelProvider, decorator)); } /* * @see IPropertyChangeListener#propertyChange(PropertyChangeEvent) */ public void propertyChange(PropertyChangeEvent event) ...
13,303
Bug 13303 Create New Class: Too many comments
Now both type- and file- comment contain a message that thay can be configured in the pref page: /** * Created on 10.04.2002 * * To change this generated comment edit the template variable "filecomment": * Workbench>Preferences>Java>Templates. */ /** * @author maeschlimann * * To change this generated comment edit the ...
resolved fixed
a2a8c97
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-11T08:36:56Z
2002-04-10T14:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CodeGenerationPreferencePage.java
package org.eclipse.jdt.internal.ui.preferences; import java.util.StringTokenizer; import org.eclipse.core.runtime.IStatus; import org.eclipse.swt.SWT; import org.eclipse.swt.layout.GridLayout; import org.eclipse.swt.widgets.Composite; import org.eclipse.swt.widgets.Control; import org.eclipse.jface.preference.IPrefere...
13,303
Bug 13303 Create New Class: Too many comments
Now both type- and file- comment contain a message that thay can be configured in the pref page: /** * Created on 10.04.2002 * * To change this generated comment edit the template variable "filecomment": * Workbench>Preferences>Java>Templates. */ /** * @author maeschlimann * * To change this generated comment edit the ...
resolved fixed
a2a8c97
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-11T08:36:56Z
2002-04-10T14:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CodeGenerationPreferencePage.java
private static final String PREF_USE_GETTERSETTER_PREFIX= JavaUI.ID_PLUGIN + ".gettersetter.prefix.enable"; private static final String PREF_GETTERSETTER_PREFIX= JavaUI.ID_PLUGIN + ".gettersetter.prefix.list"; private static final String PREF_USE_GETTERSETTER_SUFFIX= JavaUI.ID_PLUGIN + ".gettersetter.suffix.enable"...
13,303
Bug 13303 Create New Class: Too many comments
Now both type- and file- comment contain a message that thay can be configured in the pref page: /** * Created on 10.04.2002 * * To change this generated comment edit the template variable "filecomment": * Workbench>Preferences>Java>Templates. */ /** * @author maeschlimann * * To change this generated comment edit the ...
resolved fixed
a2a8c97
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-11T08:36:56Z
2002-04-10T14:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CodeGenerationPreferencePage.java
if (str != null) { return unpackOrderList(str); } } return new String[0]; } public static String[] getGetterStetterSuffixes() { IPreferenceStore prefs= JavaPlugin.getDefault().getPreferenceStore(); if (prefs.getBoolean(PREF_USE_GETTERSETTER_SUFFIX)) { String str= prefs.getString(PREF_GETTERSETTER_...
13,303
Bug 13303 Create New Class: Too many comments
Now both type- and file- comment contain a message that thay can be configured in the pref page: /** * Created on 10.04.2002 * * To change this generated comment edit the template variable "filecomment": * Workbench>Preferences>Java>Templates. */ /** * @author maeschlimann * * To change this generated comment edit the ...
resolved fixed
a2a8c97
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-11T08:36:56Z
2002-04-10T14:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CodeGenerationPreferencePage.java
return prefs.getBoolean(PREF_FILE_COMMENTS); } private static String[] unpackOrderList(String str) { StringTokenizer tok= new StringTokenizer(str, ","); int nTokens= tok.countTokens(); String[] res= new String[nTokens]; for (int i= 0; i < nTokens; i++) { res[i]= tok.nextToken().trim(); } return...
13,303
Bug 13303 Create New Class: Too many comments
Now both type- and file- comment contain a message that thay can be configured in the pref page: /** * Created on 10.04.2002 * * To change this generated comment edit the template variable "filecomment": * Workbench>Preferences>Java>Templates. */ /** * @author maeschlimann * * To change this generated comment edit the ...
resolved fixed
a2a8c97
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-11T08:36:56Z
2002-04-10T14:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CodeGenerationPreferencePage.java
private SelectionButtonDialogField fCreateJavaDocComments; private SelectionButtonDialogField fCreateNonJavadocComments; private SelectionButtonDialogField fCreateFileComments; private IStatus fGetterSetterPrefixStatus; private IStatus fGetterSetterSuffixStatus; public CodeGenerationPreferencePage() { setPr...
13,303
Bug 13303 Create New Class: Too many comments
Now both type- and file- comment contain a message that thay can be configured in the pref page: /** * Created on 10.04.2002 * * To change this generated comment edit the template variable "filecomment": * Workbench>Preferences>Java>Templates. */ /** * @author maeschlimann * * To change this generated comment edit the ...
resolved fixed
a2a8c97
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-11T08:36:56Z
2002-04-10T14:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CodeGenerationPreferencePage.java
fUseGetterSetterSuffix.setDialogFieldListener(listener); fUseGetterSetterSuffix.setLabelText(JavaUIMessages.getString("CodeGenerationPreferencePage.gettersetter.suffix.checkbox")); fGetterSetterSuffix= new StringDialogField(); fGetterSetterSuffix.setDialogFieldListener(listener); fGetterSetterSuffix.setLabelTe...
13,303
Bug 13303 Create New Class: Too many comments
Now both type- and file- comment contain a message that thay can be configured in the pref page: /** * Created on 10.04.2002 * * To change this generated comment edit the template variable "filecomment": * Workbench>Preferences>Java>Templates. */ /** * @author maeschlimann * * To change this generated comment edit the ...
resolved fixed
a2a8c97
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-11T08:36:56Z
2002-04-10T14:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CodeGenerationPreferencePage.java
fCreateJavaDocComments.setSelection(prefs.getBoolean(PREF_JAVADOC_STUBS)); fCreateNonJavadocComments.setSelection(prefs.getBoolean(PREF_NON_JAVADOC_COMMENTS)); fCreateFileComments.setSelection(prefs.getBoolean(PREF_FILE_COMMENTS)); } /* * @see PreferencePage#createControl(Composite) */ public void createCo...
13,303
Bug 13303 Create New Class: Too many comments
Now both type- and file- comment contain a message that thay can be configured in the pref page: /** * Created on 10.04.2002 * * To change this generated comment edit the template variable "filecomment": * Workbench>Preferences>Java>Templates. */ /** * @author maeschlimann * * To change this generated comment edit the ...
resolved fixed
a2a8c97
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-11T08:36:56Z
2002-04-10T14:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CodeGenerationPreferencePage.java
fCreateJavaDocComments.doFillIntoGrid(composite, 2); fCreateNonJavadocComments.doFillIntoGrid(composite, 2); fCreateFileComments.doFillIntoGrid(composite, 2); (new Separator()).doFillIntoGrid(composite, 2, 4); DialogField getterSetterLabel= new DialogField(); getterSetterLabel.setLabelText(JavaUIMessage...
13,303
Bug 13303 Create New Class: Too many comments
Now both type- and file- comment contain a message that thay can be configured in the pref page: /** * Created on 10.04.2002 * * To change this generated comment edit the template variable "filecomment": * Workbench>Preferences>Java>Templates. */ /** * @author maeschlimann * * To change this generated comment edit the ...
resolved fixed
a2a8c97
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-11T08:36:56Z
2002-04-10T14:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CodeGenerationPreferencePage.java
} else { fGetterSetterPrefixStatus= new StatusInfo(); } } if (field == fGetterSetterSuffix || field == fUseGetterSetterSuffix) { fGetterSetterSuffix.setEnabled(fUseGetterSetterSuffix.isSelected()); if (fUseGetterSetterSuffix.isSelected()) { String[] prefixes= unpackOrderList(fGetterSetterSuffix.get...
13,303
Bug 13303 Create New Class: Too many comments
Now both type- and file- comment contain a message that thay can be configured in the pref page: /** * Created on 10.04.2002 * * To change this generated comment edit the template variable "filecomment": * Workbench>Preferences>Java>Templates. */ /** * @author maeschlimann * * To change this generated comment edit the ...
resolved fixed
a2a8c97
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-11T08:36:56Z
2002-04-10T14:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CodeGenerationPreferencePage.java
} } String name= prefix ? val + "x" : "x" + val; IStatus status= JavaConventions.validateFieldName(name); if (status.matches(IStatus.ERROR)) { if (prefix) { return new StatusInfo(IStatus.ERROR, JavaUIMessages.getFormattedString("CodeGenerationPreferencePage.gettersetter.error.invalidprefix"...
13,303
Bug 13303 Create New Class: Too many comments
Now both type- and file- comment contain a message that thay can be configured in the pref page: /** * Created on 10.04.2002 * * To change this generated comment edit the template variable "filecomment": * Workbench>Preferences>Java>Templates. */ /** * @author maeschlimann * * To change this generated comment edit the ...
resolved fixed
a2a8c97
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-11T08:36:56Z
2002-04-10T14:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CodeGenerationPreferencePage.java
prefs.setValue(PREF_JAVADOC_STUBS, fCreateJavaDocComments.isSelected()); prefs.setValue(PREF_NON_JAVADOC_COMMENTS, fCreateNonJavadocComments.isSelected()); prefs.setValue(PREF_FILE_COMMENTS, fCreateFileComments.isSelected()); return super.performOk(); } /* * @see PreferencePage#performDefaults() */ prot...
13,189
Bug 13189 Refactoring - deleting fields - context menu is overriden by message dialog
20020409-I on Linux-Motif and w2k: 1. Setup JUnit 2. Enable option 'Code Generator->Remove prefix from field names' 3. Open TestCase.java 4. In the outliner, right click on 'fName'. 5. Observe: No context menu is shown, instead, it asks me right away if I want to delete the getter/setter as well.
resolved fixed
e23a6cd
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-11T09:52:56Z
2002-04-10T09:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/reorg/DeleteSourceReferencesAction.java
package org.eclipse.jdt.internal.ui.reorg; import java.util.ArrayList; import java.util.Arrays; import java.util.HashSet; import java.util.Iterator; import java.util.List; import java.util.Map; import java.util.Set;
13,189
Bug 13189 Refactoring - deleting fields - context menu is overriden by message dialog
20020409-I on Linux-Motif and w2k: 1. Setup JUnit 2. Enable option 'Code Generator->Remove prefix from field names' 3. Open TestCase.java 4. In the outliner, right click on 'fName'. 5. Observe: No context menu is shown, instead, it asks me right away if I want to delete the getter/setter as well.
resolved fixed
e23a6cd
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-11T09:52:56Z
2002-04-10T09:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/reorg/DeleteSourceReferencesAction.java
import org.eclipse.core.resources.IFile; import org.eclipse.core.resources.ResourcesPlugin; import org.eclipse.core.runtime.CoreException; import org.eclipse.core.runtime.NullProgressMonitor; import org.eclipse.swt.widgets.Shell; import org.eclipse.jface.dialogs.MessageDialog; import org.eclipse.jface.viewers.ISelectio...
13,189
Bug 13189 Refactoring - deleting fields - context menu is overriden by message dialog
20020409-I on Linux-Motif and w2k: 1. Setup JUnit 2. Enable option 'Code Generator->Remove prefix from field names' 3. Open TestCase.java 4. In the outliner, right click on 'fName'. 5. Observe: No context menu is shown, instead, it asks me right away if I want to delete the getter/setter as well.
resolved fixed
e23a6cd
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-11T09:52:56Z
2002-04-10T09:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/reorg/DeleteSourceReferencesAction.java
super(ReorgMessages.getString("DeleteSourceReferencesAction.delete"), provider); } protected void perform() throws CoreException { if (!confirmDelete()) return; Map mapping= SourceReferenceUtil.groupByFile(getElementsToProcess()); List emptyCuList= Arrays.asList(getCusLeftEmpty(mapping)); for (It...
13,189
Bug 13189 Refactoring - deleting fields - context menu is overriden by message dialog
20020409-I on Linux-Motif and w2k: 1. Setup JUnit 2. Enable option 'Code Generator->Remove prefix from field names' 3. Open TestCase.java 4. In the outliner, right click on 'fName'. 5. Observe: No context menu is shown, instead, it asks me right away if I want to delete the getter/setter as well.
resolved fixed
e23a6cd
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-11T09:52:56Z
2002-04-10T09:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/reorg/DeleteSourceReferencesAction.java
return false; return true; } private static boolean areAllFilesReadOnly(Map mapping){ for (Iterator iter= mapping.keySet().iterator(); iter.hasNext();) { if (! isReadOnly((IFile)iter.next())) return false; } return true; } /* * @see RefactoringAction#canOperateOn(IStructuredSelection) */ pub...
13,189
Bug 13189 Refactoring - deleting fields - context menu is overriden by message dialog
20020409-I on Linux-Motif and w2k: 1. Setup JUnit 2. Enable option 'Code Generator->Remove prefix from field names' 3. Open TestCase.java 4. In the outliner, right click on 'fName'. 5. Observe: No context menu is shown, instead, it asks me right away if I want to delete the getter/setter as well.
resolved fixed
e23a6cd
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-11T09:52:56Z
2002-04-10T09:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/reorg/DeleteSourceReferencesAction.java
delete(file, getNonFields(refs)); delete(getFields(refs)); } private static void delete(IFile file, ISourceReference[] nonFields) throws CoreException{ TextBuffer tb= TextBuffer.acquire(file); try{ TextBufferEditor tbe= new TextBufferEditor(tb); for (int i= 0; i < nonFields.length; i++) { Assert.isTru...
13,189
Bug 13189 Refactoring - deleting fields - context menu is overriden by message dialog
20020409-I on Linux-Motif and w2k: 1. Setup JUnit 2. Enable option 'Code Generator->Remove prefix from field names' 3. Open TestCase.java 4. In the outliner, right click on 'fName'. 5. Observe: No context menu is shown, instead, it asks me right away if I want to delete the getter/setter as well.
resolved fixed
e23a6cd
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-11T09:52:56Z
2002-04-10T09:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/reorg/DeleteSourceReferencesAction.java
return new DeleteSourceReferenceEdit(ref, cu); } /** * returns cus that have <b>not</b> been deleted */ private ICompilationUnit[] deleteEmptyCus(Map mapping) throws JavaModelException { ICompilationUnit[] cusToDelete= getCusLeftEmpty(mapping); if (cusToDelete.length == 0) return cusToDelete; if (...
13,189
Bug 13189 Refactoring - deleting fields - context menu is overriden by message dialog
20020409-I on Linux-Motif and w2k: 1. Setup JUnit 2. Enable option 'Code Generator->Remove prefix from field names' 3. Open TestCase.java 4. In the outliner, right click on 'fName'. 5. Observe: No context menu is shown, instead, it asks me right away if I want to delete the getter/setter as well.
resolved fixed
e23a6cd
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-11T09:52:56Z
2002-04-10T09:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/reorg/DeleteSourceReferencesAction.java
return true; return false; } private static boolean isOkToDeleteReadOnly(ICompilationUnit cu){ String message= "Compilation unit \'" + cu.getElementName() + "\' is read-only. Do you still want to delete it?"; return MessageDialog.openQuestion(JavaPlugin.getActiveWorkbenchShell(), ReorgMessages.getString("Dele...
13,189
Bug 13189 Refactoring - deleting fields - context menu is overriden by message dialog
20020409-I on Linux-Motif and w2k: 1. Setup JUnit 2. Enable option 'Code Generator->Remove prefix from field names' 3. Open TestCase.java 4. In the outliner, right click on 'fName'. 5. Observe: No context menu is shown, instead, it asks me right away if I want to delete the getter/setter as well.
resolved fixed
e23a6cd
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-11T09:52:56Z
2002-04-10T09:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/reorg/DeleteSourceReferencesAction.java
return false; } return true; } protected ISourceReference[] getElementsToProcess() { ISourceReference[] elements= super.getElementsToProcess(); IField[] fields= getFields(elements); if (fields.length == 0) return elements; IMethod[] gettersSetters= getGettersSettersForFields(fields); if (gette...
13,189
Bug 13189 Refactoring - deleting fields - context menu is overriden by message dialog
20020409-I on Linux-Motif and w2k: 1. Setup JUnit 2. Enable option 'Code Generator->Remove prefix from field names' 3. Open TestCase.java 4. In the outliner, right click on 'fName'. 5. Observe: No context menu is shown, instead, it asks me right away if I want to delete the getter/setter as well.
resolved fixed
e23a6cd
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-11T09:52:56Z
2002-04-10T09:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/reorg/DeleteSourceReferencesAction.java
} return (ISourceReference[]) nonFields.toArray(new ISourceReference[nonFields.size()]); } private static IField[] getFields(ISourceReference[] elements){ List fields= new ArrayList(); for (int i= 0; i < elements.length; i++) { if (elements[i] instanceof IField) fields.add(elements[i]); } return (I...
13,189
Bug 13189 Refactoring - deleting fields - context menu is overriden by message dialog
20020409-I on Linux-Motif and w2k: 1. Setup JUnit 2. Enable option 'Code Generator->Remove prefix from field names' 3. Open TestCase.java 4. In the outliner, right click on 'fName'. 5. Observe: No context menu is shown, instead, it asks me right away if I want to delete the getter/setter as well.
resolved fixed
e23a6cd
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-11T09:52:56Z
2002-04-10T09:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/reorg/DeleteSourceReferencesAction.java
return new IMethod[0]; } } protected boolean confirmDelete() { String title= ReorgMessages.getString("deleteAction.confirm.title"); String label= ReorgMessages.getString("deleteAction.confirm.message"); Shell parent= JavaPlugin.getActiveWorkbenchShell(); return MessageDialog.openQuestion(parent, title, ...
13,301
Bug 13301 Next Problem action goes to the previous problem
build: 20020409 Next Problem action [CTRL+E] doesn't go to the next problem but to the previous problem, it behaves like Previous Problem action [CTRL+SHIFT+E] (which works fine).
resolved fixed
173a297
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-11T11:40:13Z
2002-04-10T14:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/actions/RetargetActionIDs.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,301
Bug 13301 Next Problem action goes to the previous problem
build: 20020409 Next Problem action [CTRL+E] doesn't go to the next problem but to the previous problem, it behaves like Previous Problem action [CTRL+SHIFT+E] (which works fine).
resolved fixed
173a297
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-11T11:40:13Z
2002-04-10T14:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/actions/RetargetActionIDs.java
public static String OPEN= "org.eclipse.jdt.ui.OpenAction"; public static String OPEN_SUPER_IMPLEMENTATION= "org.eclipse.jdt.ui.actions.OpenSuperImplementation"; public static String OPEN_TYPE_HIERARCHY= "org.eclipse.jdt.ui.actions.OpenTypeHierarchy"; public static String OPEN_EXTERNAL_JAVA_DOC= "org.eclipse.jdt.u...
13,301
Bug 13301 Next Problem action goes to the previous problem
build: 20020409 Next Problem action [CTRL+E] doesn't go to the next problem but to the previous problem, it behaves like Previous Problem action [CTRL+SHIFT+E] (which works fine).
resolved fixed
173a297
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-11T11:40:13Z
2002-04-10T14:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/actions/RetargetActionIDs.java
public static String FORMAT= "org.eclipse.jdt.ui.actions.Format"; public static String ADD_IMPORT= "org.eclipse.jdt.ui.actions.AddImport"; public static String ORGANIZE_IMPORTS= "org.eclipse.jdt.ui.actions.OrganizeInports"; public static String SURROUND_WITH_TRY_CATCH= "org.eclipse.jdt.ui.actions.SurroundWithT...
13,161
Bug 13161 Javadoc wizard: Message on Export wizard page not conforming to others
Build 20020409 All other export operations tell the user what the wizard does. Javadoc wizard says that it's a wizard ("Javadoc Generation Wizard"). It should tell the user what it is going to do.
resolved fixed
a23dfd9
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-11T11:54:34Z
2002-04-10T09:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javadocexport/JavadocTreeWizardPage.java
/* * (c) Copyright IBM Corp. 2000, 2001. * All Rights Reserved. */ package org.eclipse.jdt.internal.ui.javadocexport; import java.io.File; import java.util.ArrayList; import java.util.Iterator; import java.util.List; import java.util.StringTokenizer; import org.eclipse.core.resources.IResource; import org.eclipse.co...
13,161
Bug 13161 Javadoc wizard: Message on Export wizard page not conforming to others
Build 20020409 All other export operations tell the user what the wizard does. Javadoc wizard says that it's a wizard ("Javadoc Generation Wizard"). It should tell the user what it is going to do.
resolved fixed
a23dfd9
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-11T11:54:34Z
2002-04-10T09:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javadocexport/JavadocTreeWizardPage.java
import org.eclipse.swt.events.SelectionAdapter; import org.eclipse.swt.events.SelectionEvent; import org.eclipse.swt.layout.GridData; import org.eclipse.swt.layout.GridLayout; import org.eclipse.swt.widgets.Button; import org.eclipse.swt.widgets.Composite; import org.eclipse.swt.widgets.Control; import org.eclipse.swt....
13,161
Bug 13161 Javadoc wizard: Message on Export wizard page not conforming to others
Build 20020409 All other export operations tell the user what the wizard does. Javadoc wizard says that it's a wizard ("Javadoc Generation Wizard"). It should tell the user what it is going to do.
resolved fixed
a23dfd9
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-11T11:54:34Z
2002-04-10T09:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javadocexport/JavadocTreeWizardPage.java
private JavadocProjectContentProvider fProjectContentProvider; private JavaElementLabelProvider fProjectLabelProvider; private CheckboxTreeAndListGroup fInputGroup; protected IWorkspaceRoot fRoot; protected String fWorkspace; private final String DOCUMENT_DIRECTORY= "doc"; private File fTempFile; protected ...
13,161
Bug 13161 Javadoc wizard: Message on Export wizard page not conforming to others
Build 20020409 All other export operations tell the user what the wizard does. Javadoc wizard says that it's a wizard ("Javadoc Generation Wizard"). It should tell the user what it is going to do.
resolved fixed
a23dfd9
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-11T11:54:34Z
2002-04-10T09:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javadocexport/JavadocTreeWizardPage.java
private Label fDocletLabel; private Label fDocletTypeLabel; private Label fDestinationLabel; private String fDialogSectionName; protected String fVisibilitySelection; protected boolean docletselected; private JavadocOptionsManager fStore; private List resources; protected StatusInfo fDestinationStatus; prote...
13,161
Bug 13161 Javadoc wizard: Message on Export wizard page not conforming to others
Build 20020409 All other export operations tell the user what the wizard does. Javadoc wizard says that it's a wizard ("Javadoc Generation Wizard"). It should tell the user what it is going to do.
resolved fixed
a23dfd9
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-11T11:54:34Z
2002-04-10T09:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javadocexport/JavadocTreeWizardPage.java
fTreeStatus= new StatusInfo(); fPreferenceStatus= new StatusInfo(); fWizardStatus= store.getWizardStatus(); } /* * @see IDialogPage#createControl(Composite) */ public void createControl(Composite parent) { initializeDialogUnits(parent); Composite composite= new Composite(parent, SWT.NONE); GridLayout c...
13,161
Bug 13161 Javadoc wizard: Message on Export wizard page not conforming to others
Build 20020409 All other export operations tell the user what the wizard does. Javadoc wizard says that it's a wizard ("Javadoc Generation Wizard"). It should tell the user what it is going to do.
resolved fixed
a23dfd9
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-11T11:54:34Z
2002-04-10T09:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javadocexport/JavadocTreeWizardPage.java
new CheckboxTreeAndListGroup( c, fStore.getRoot(), treeContentProvider, new JavaElementLabelProvider(JavaElementLabelProvider.SHOW_DEFAULT), listContentProvider, new JavaElementLabelProvider(JavaElementLabelProvider.SHOW_DEFAULT), SWT.NONE, convertWidthInCharsToPixels(60), convertHei...
13,161
Bug 13161 Javadoc wizard: Message on Export wizard page not conforming to others
Build 20020409 All other export operations tell the user what the wizard does. Javadoc wizard says that it's a wizard ("Javadoc Generation Wizard"). It should tell the user what it is going to do.
resolved fixed
a23dfd9
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-11T11:54:34Z
2002-04-10T09:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javadocexport/JavadocTreeWizardPage.java
visibilityLayout.marginHeight= 0; visibilityLayout.marginWidth= 0; Composite visibilityGroup= new Composite(composite, SWT.NONE); visibilityGroup.setLayoutData(createGridData(GridData.FILL_HORIZONTAL, 6, 0)); visibilityGroup.setLayout(visibilityLayout); Label visibilityLabel= createLabel(visibilityGroup, SWT....
13,161
Bug 13161 Javadoc wizard: Message on Export wizard page not conforming to others
Build 20020409 All other export operations tell the user what the wizard does. Javadoc wizard says that it's a wizard ("Javadoc Generation Wizard"). It should tell the user what it is going to do.
resolved fixed
a23dfd9
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-11T11:54:34Z
2002-04-10T09:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javadocexport/JavadocTreeWizardPage.java
if (((Button) e.widget).getSelection()) { fVisibilitySelection = fStore.PROTECTED; } } }); fPublicVisibility.addSelectionListener(new SelectionAdapter() { public void widgetSelected(SelectionEvent e) { if (((Button) e.widget).getSelection()) { fVisibilitySelection = fStore.PUBLIC...
13,161
Bug 13161 Javadoc wizard: Message on Export wizard page not conforming to others
Build 20020409 All other export operations tell the user what the wizard does. Javadoc wizard says that it's a wizard ("Javadoc Generation Wizard"). It should tell the user what it is going to do.
resolved fixed
a23dfd9
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-11T11:54:34Z
2002-04-10T09:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javadocexport/JavadocTreeWizardPage.java
} private void createOptionsSet(Composite composite) { GridLayout optionSetLayout= createGridLayout(3); optionSetLayout.marginHeight= 0; optionSetLayout.marginWidth= 0; Composite optionSetGroup= new Composite(composite, SWT.NONE); optionSetGroup.setLayoutData(createGridData(GridData.FILL_BOTH, 6, 0)); op...
13,161
Bug 13161 Javadoc wizard: Message on Export wizard page not conforming to others
Build 20020409 All other export operations tell the user what the wizard does. Javadoc wizard says that it's a wizard ("Javadoc Generation Wizard"). It should tell the user what it is going to do.
resolved fixed
a23dfd9
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-11T11:54:34Z
2002-04-10T09:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javadocexport/JavadocTreeWizardPage.java
} }); fDocletLabel= createLabel(optionSetGroup, SWT.NONE, JavadocExportMessages.getString("JavadocTreeWizardPage.docletpathfield.label"), createGridData(GridData.HORIZONTAL_ALIGN_FILL, 1, convertWidthInCharsToPixels(3))); fDocletText= createText(optionSetGroup, SWT.SINGLE | SWT.BORDER, null, createGridData(GridD...
13,161
Bug 13161 Javadoc wizard: Message on Export wizard page not conforming to others
Build 20020409 All other export operations tell the user what the wizard does. Javadoc wizard says that it's a wizard ("Javadoc Generation Wizard"). It should tell the user what it is going to do.
resolved fixed
a23dfd9
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-11T11:54:34Z
2002-04-10T09:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javadocexport/JavadocTreeWizardPage.java
fDestinationText.setText(text); } }); setOptionSetSettings(); } public boolean getCustom(){ return fCustomButton.getSelection(); } private String getDestinationText() { Object[] els= fInputGroup.getAllCheckedTreeItems().toArray(); try { for (int i= 0; i < els.length; i++) { if (els[i] insta...
13,161
Bug 13161 Javadoc wizard: Message on Export wizard page not conforming to others
Build 20020409 All other export operations tell the user what the wizard does. Javadoc wizard says that it's a wizard ("Javadoc Generation Wizard"). It should tell the user what it is going to do.
resolved fixed
a23dfd9
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-11T11:54:34Z
2002-04-10T09:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javadocexport/JavadocTreeWizardPage.java
fDocletTypeText.setText(fStore.getDocletName()); fDestinationText.setText(fStore.getDestination()); fDestinationText.setEnabled(false); fDestinationBrowserButton.setEnabled(false); fDestinationLabel.setEnabled(false); } else { fStandardButton.setSelection(true); fDestinationText.setText(fStor...
13,161
Bug 13161 Javadoc wizard: Message on Export wizard page not conforming to others
Build 20020409 All other export operations tell the user what the wizard does. Javadoc wizard says that it's a wizard ("Javadoc Generation Wizard"). It should tell the user what it is going to do.
resolved fixed
a23dfd9
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-11T11:54:34Z
2002-04-10T09:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javadocexport/JavadocTreeWizardPage.java
private String getSourcePath(IJavaProject project) { StringBuffer buf= new StringBuffer(); try { IPackageFragmentRoot[] roots= project.getPackageFragmentRoots(); int nAdded= 0; for (int i= 0; i < roots.length; i++) { IPackageFragmentRoot curr= roots[i]; if (curr.getKind() == IPackageFragmentRoot.K_...
13,161
Bug 13161 Javadoc wizard: Message on Export wizard page not conforming to others
Build 20020409 All other export operations tell the user what the wizard does. Javadoc wizard says that it's a wizard ("Javadoc Generation Wizard"). It should tell the user what it is going to do.
resolved fixed
a23dfd9
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-11T11:54:34Z
2002-04-10T09:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javadocexport/JavadocTreeWizardPage.java
} if (nAdded != 0) { buf.append(File.pathSeparatorChar); } buf.append(curr); nAdded++; } } catch (CoreException e) { JavaPlugin.log(e); } return buf.toString(); } private List getPackagenames() { Iterator checkedElements= fInputGroup.getAllCheckedListItems(); List list...
13,161
Bug 13161 Javadoc wizard: Message on Export wizard page not conforming to others
Build 20020409 All other export operations tell the user what the wizard does. Javadoc wizard says that it's a wizard ("Javadoc Generation Wizard"). It should tell the user what it is going to do.
resolved fixed
a23dfd9
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-11T11:54:34Z
2002-04-10T09:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javadocexport/JavadocTreeWizardPage.java
this.resources.add(re); IPath p = re.getLocation(); String qn = p.toOSString(); list.add(qn); } catch (JavaModelException e) { JavaPlugin.log(e); } } } } } Object[] checkedTreeElements= fInputGroup.getAllCheckedTreeItems().toArray(); for (int i= 0; i...
13,161
Bug 13161 Javadoc wizard: Message on Export wizard page not conforming to others
Build 20020409 All other export operations tell the user what the wizard does. Javadoc wizard says that it's a wizard ("Javadoc Generation Wizard"). It should tell the user what it is going to do.
resolved fixed
a23dfd9
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-11T11:54:34Z
2002-04-10T09:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javadocexport/JavadocTreeWizardPage.java
String en= pack.getElementName(); list.add(en); } } } return list; } protected void finish() { if (fCustomButton.getSelection()) { fStore.setDocletName(fDocletTypeText.getText()); fStore.setDocletPath(fDocletText.getText()); fStore.setFromStandard(false); } if(fStandar...
13,161
Bug 13161 Javadoc wizard: Message on Export wizard page not conforming to others
Build 20020409 All other export operations tell the user what the wizard does. Javadoc wizard says that it's a wizard ("Javadoc Generation Wizard"). It should tell the user what it is going to do.
resolved fixed
a23dfd9
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-11T11:54:34Z
2002-04-10T09:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javadocexport/JavadocTreeWizardPage.java
switch (validate) { case PREFERENCESTATUS : fPreferenceStatus = new StatusInfo(); fDocletStatus= new StatusInfo(); if (JavadocPreferencePage.getJavaDocCommand().length() == 0) { fPreferenceStatus.setError( JavadocExportMessages.getString("JavadocTreeWizardPage.javadoccommand.error")); } ...
13,161
Bug 13161 Javadoc wizard: Message on Export wizard page not conforming to others
Build 20020409 All other export operations tell the user what the wizard does. Javadoc wizard says that it's a wizard ("Javadoc Generation Wizard"). It should tell the user what it is going to do.
resolved fixed
a23dfd9
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-11T11:54:34Z
2002-04-10T09:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javadocexport/JavadocTreeWizardPage.java
fDocletStatus= new StatusInfo(); IPath path = new Path(fDestinationText.getText()); if (Path.ROOT.equals(path) || Path.EMPTY.equals(path)) { fDestinationStatus.setError(JavadocExportMessages.getString("JavadocTreeWizardPage.nodestination.error")); } File file = new File(path.toOSString()); ...
13,161
Bug 13161 Javadoc wizard: Message on Export wizard page not conforming to others
Build 20020409 All other export operations tell the user what the wizard does. Javadoc wizard says that it's a wizard ("Javadoc Generation Wizard"). It should tell the user what it is going to do.
resolved fixed
a23dfd9
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-11T11:54:34Z
2002-04-10T09:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javadocexport/JavadocTreeWizardPage.java
updateStatus(findMostSevereStatus()); break; } } /** * looks at the currently selected projects and returns the current project * returns null if more than one project is checked */ private IJavaProject getCurrentProject() { Object[] items= fInputGroup.getAllCheckedTreeItems().toArray(); IJavaPr...
13,161
Bug 13161 Javadoc wizard: Message on Export wizard page not conforming to others
Build 20020409 All other export operations tell the user what the wizard does. Javadoc wizard says that it's a wizard ("Javadoc Generation Wizard"). It should tell the user what it is going to do.
resolved fixed
a23dfd9
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-11T11:54:34Z
2002-04-10T09:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javadocexport/JavadocTreeWizardPage.java
} /** * Finds the most severe error (if there is one) */ private IStatus findMostSevereStatus() { return StatusUtil.getMostSevere(new IStatus[] {fPreferenceStatus, fDestinationStatus, fDocletStatus, fTreeStatus, fWizardStatus }); } public void init() { updateStatus(new StatusInfo()); } public void setVisi...