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
5,774
Bug 5774 Unpredicatable behaviour on double click in packages view
from EC: If you double click a file in the packages view, it opens the file (technically, compilation unit I believe) -- if not already open. However, if the file is already open, a single click selects it as the active editor tag; a double click expands its structure in the packages view. This is unpredictable behavio...
resolved fixed
d13ebe7
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-11-11T14:10:11Z
2001-11-11T14:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
try { String posStr= memento.getString(TAG_HORIZONTAL_POSITION); int position; position= new Integer(posStr).intValue(); bar.setSelection(position); } catch (NumberFormatException e) { } } } protected void restoreSelectionState(IMemento memento) { IMemento childMem; childMem= memento....
5,774
Bug 5774 Unpredicatable behaviour on double click in packages view
from EC: If you double click a file in the packages view, it opens the file (technically, compilation unit I believe) -- if not already open. However, if the file is already open, a single click selects it as the active editor tag; a double click expands its structure in the packages view. This is unpredictable behavio...
resolved fixed
d13ebe7
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-11-11T14:10:11Z
2001-11-11T14:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
elements.add(element); } fViewer.setExpandedElements(elements.toArray()); } } /** * Create the KeyListener for doing the refresh on the viewer. */ private void initKeyListener() { fViewer.getControl().addKeyListener(new KeyAdapter() { public void keyReleased(KeyEvent event) { doKeyPressed(even...
5,774
Bug 5774 Unpredicatable behaviour on double click in packages view
from EC: If you double click a file in the packages view, it opens the file (technically, compilation unit I believe) -- if not already open. However, if the file is already open, a single click selects it as the active editor tag; a double click expands its structure in the packages view. This is unpredictable behavio...
resolved fixed
d13ebe7
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-11-11T14:10:11Z
2001-11-11T14:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
void initFrameList() { fFrameSource= new PackagesFrameSource(this); fFrameList= new FrameList(fFrameSource); fFrameSource.connectTo(fFrameList); } /** * An editor has been activated. Set the selection in this Packages Viewer * to be the editor's input, if linking is enabled. */ void editorActivated(IEdi...
5,774
Bug 5774 Unpredicatable behaviour on double click in packages view
from EC: If you double click a file in the packages view, it opens the file (technically, compilation unit I believe) -- if not already open. However, if the file is already open, a single click selects it as the active editor tag; a double click expands its structure in the packages view. This is unpredictable behavio...
resolved fixed
d13ebe7
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-11-11T14:10:11Z
2001-11-11T14:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
if (element.equals(m.getCompilationUnit())) return; if (element.equals(m.getClassFile())) return; } } ISelection newSelection= new StructuredSelection(element); if (!fViewer.getSelection().equals(newSelection)) { try { fViewer.removeSelectionChangedListener(fSelectionListener); ...
5,774
Bug 5774 Unpredicatable behaviour on double click in packages view
from EC: If you double click a file in the packages view, it opens the file (technically, compilation unit I believe) -- if not already open. However, if the file is already open, a single click selects it as the active editor tag; a double click expands its structure in the packages view. This is unpredictable behavio...
resolved fixed
d13ebe7
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-11-11T14:10:11Z
2001-11-11T14:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
} else if (element instanceof IClassFile) { IClassFile cf= (IClassFile)element; type= cf.getType(); } if (type != null) { final IType type2= type; Control ctrl= fViewer.getControl(); if (ctrl != null && !ctrl.isDisposed()) { ctrl.getDisplay().asyncExec(new Runnable() { public ...
5,774
Bug 5774 Unpredicatable behaviour on double click in packages view
from EC: If you double click a file in the packages view, it opens the file (technically, compilation unit I believe) -- if not already open. However, if the file is already open, a single click selects it as the active editor tag; a double click expands its structure in the packages view. This is unpredictable behavio...
resolved fixed
d13ebe7
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-11-11T14:10:11Z
2001-11-11T14:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
return ((IFileEditorInput)input).getFile(); else if (input instanceof JarEntryEditorInput) return ((JarEntryEditorInput)input).getStorage(); return null; } /** * Returns the Viewer. */ TreeViewer getViewer() { return fViewer; } /** * Returns the pattern filter for this view. * @return the ...
5,774
Bug 5774 Unpredicatable behaviour on double click in packages view
from EC: If you double click a file in the packages view, it opens the file (technically, compilation unit I believe) -- if not already open. However, if the file is already open, a single click selects it as the active editor tag; a double click expands its structure in the packages view. This is unpredictable behavio...
resolved fixed
d13ebe7
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-11-11T14:10:11Z
2001-11-11T14:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
* @return the working set filter */ WorkingSetFilter getWorkingSetFilter() { return fWorkingSetFilter; } /** * Returns the Binary filter for this view. * @return the binary filter */ BinaryProjectFilter getBinaryFilter() { return fBinaryFilter; } void restoreFilters() { IMemento filtersMem= fMem...
5,774
Bug 5774 Unpredicatable behaviour on double click in packages view
from EC: If you double click a file in the packages view, it opens the file (technically, compilation unit I believe) -- if not already open. However, if the file is already open, a single click selects it as the active editor tag; a double click expands its structure in the packages view. This is unpredictable behavio...
resolved fixed
d13ebe7
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-11-11T14:10:11Z
2001-11-11T14:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
String showbin= fMemento.getString(TAG_SHOWBINARIES); if (showbin != null) getBinaryFilter().setShowBinaries(showbin.equals("true")); else initBinaryFilterFromPreferences(); String workingSetName= fMemento.getString(TAG_WORKINGSET); if (workingSetName != null) { IWorkingSet ws= SearchUI.find...
5,774
Bug 5774 Unpredicatable behaviour on double click in packages view
from EC: If you double click a file in the packages view, it opens the file (technically, compilation unit I believe) -- if not already open. However, if the file is already open, a single click selects it as the active editor tag; a double click expands its structure in the packages view. This is unpredictable behavio...
resolved fixed
d13ebe7
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-11-11T14:10:11Z
2001-11-11T14:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
getBinaryFilter().setShowBinaries(showbin); } /** * 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 == null || (inp...
5,774
Bug 5774 Unpredicatable behaviour on double click in packages view
from EC: If you double click a file in the packages view, it opens the file (technically, compilation unit I believe) -- if not already open. However, if the file is already open, a single click selects it as the active editor tag; a double click expands its structure in the packages view. This is unpredictable behavio...
resolved fixed
d13ebe7
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-11-11T14:10:11Z
2001-11-11T14:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
if (decorator == null) { fViewer.setLabelProvider(javaProvider); } else { fViewer.setLabelProvider(new DecoratingLabelProvider(javaProvider, decorator)); } } /** * Gets the standard label flags */ private int getLabelProviderFlags() { return JavaElementLabelProvider.SHOW_BASICS | JavaElementLabelPr...
4,089
Bug 4089 Editor tooltip for class files should show full path (1GI74EF)
When you hover over the editor tab for a .class file, it just shows you the simple file name. It should show the full path, as for other editors. NOTES:
verified fixed
c33aca1
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-11-11T16:40:02Z
2001-10-11T03:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/InternalClassFileEditorInput.java
package org.eclipse.jdt.internal.ui.javaeditor; /* * (c) Copyright IBM Corp. 2000, 2001. * All Rights Reserved. */ import org.eclipse.jdt.core.IClassFile; import org.eclipse.jdt.core.JavaModelException; import org.eclipse.jdt.internal.ui.JavaPluginImages; import org.eclipse.jface.resource.ImageDescriptor; import...
4,089
Bug 4089 Editor tooltip for class files should show full path (1GI74EF)
When you hover over the editor tab for a .class file, it just shows you the simple file name. It should show the full path, as for other editors. NOTES:
verified fixed
c33aca1
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-11-11T16:40:02Z
2001-10-11T03:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/InternalClassFileEditorInput.java
private IClassFile fClassFile; public InternalClassFileEditorInput(IClassFile classFile) { fClassFile= classFile; } /* * @see Object#equals(Object) */ public boolean equals(Object obj) { if (this == obj) return true; if (!(obj instanceof InternalClassFileEditorInput)) return false; InternalCla...
4,089
Bug 4089 Editor tooltip for class files should show full path (1GI74EF)
When you hover over the editor tab for a .class file, it just shows you the simple file name. It should show the full path, as for other editors. NOTES:
verified fixed
c33aca1
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-11-11T16:40:02Z
2001-10-11T03:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/InternalClassFileEditorInput.java
return fClassFile.hashCode(); } /* * @see IClassFileEditorInput#getClassFile() */ public IClassFile getClassFile() { return fClassFile; } /* * @see IEditorInput#getPersistable() */ public IPersistableElement getPersistable() { return this; } /* * @see IEditorInput#getName() */ public Stri...
4,089
Bug 4089 Editor tooltip for class files should show full path (1GI74EF)
When you hover over the editor tab for a .class file, it just shows you the simple file name. It should show the full path, as for other editors. NOTES:
verified fixed
c33aca1
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-11-11T16:40:02Z
2001-10-11T03:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/InternalClassFileEditorInput.java
/* * @see IEditorInput#getContentType() */ public String getContentType() { return "class"; } /* * @see IEditorInput#getToolTipText() */ public String getToolTipText() { return fClassFile.getElementName(); } /* * @see IEditorInput#getImageDescriptor() */ public ImageDescriptor getImageDescri...
4,089
Bug 4089 Editor tooltip for class files should show full path (1GI74EF)
When you hover over the editor tab for a .class file, it just shows you the simple file name. It should show the full path, as for other editors. NOTES:
verified fixed
c33aca1
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-11-11T16:40:02Z
2001-10-11T03:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/InternalClassFileEditorInput.java
* @see IEditorInput#exists() */ public boolean exists() { return fClassFile.exists(); } /* * @see IAdaptable#getAdapter(Class) */ public Object getAdapter(Class adapter) { if (adapter == IClassFile.class) return fClassFile; return fClassFile.getAdapter(adapter); } /* * @see IPersistableElemen...
5,699
Bug 5699 Add ResourceTransfer to packages view
The packages view should add the ResoruceTransfer as a drag source to its list of transfers
resolved fixed
eb077ff
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-11-12T15:13:53Z
2001-11-09T10:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dnd/JdtTreeViewerDropAdapter.java
/* * (c) Copyright IBM Corp. 2000, 2001. * All Rights Reserved. */ package org.eclipse.jdt.internal.ui.dnd; import org.eclipse.swt.dnd.DropTargetEvent; import org.eclipse.swt.widgets.TreeItem; import org.eclipse.jface.viewers.AbstractTreeViewer; public class JdtTreeViewerDropAdapter extends JdtViewerDropAdapter { /...
5,699
Bug 5699 Add ResourceTransfer to packages view
The packages view should add the ResoruceTransfer as a drag source to its list of transfers
resolved fixed
eb077ff
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-11-12T15:13:53Z
2001-11-09T10:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dnd/JdtTreeViewerDropAdapter.java
private static final long HOVER_THRESHOLD= 1500; public JdtTreeViewerDropAdapter(AbstractTreeViewer viewer, int style) { super(viewer, style); } public void dragOver(DropTargetEvent event) { Object oldTarget= fTarget; super.dragOver(event); if (oldTarget != fTarget) { hoverStart= System.currentTi...
5,699
Bug 5699 Add ResourceTransfer to packages view
The packages view should add the ResoruceTransfer as a drag source to its list of transfers
resolved fixed
eb077ff
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-11-12T15:13:53Z
2001-11-09T10:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dnd/JdtViewerDropAdapter.java
/* * (c) Copyright IBM Corp. 2000, 2001. * All Rights Reserved. */ package org.eclipse.jdt.internal.ui.dnd; import org.eclipse.swt.dnd.DND; import org.eclipse.swt.dnd.DropTargetEvent; import org.eclipse.swt.dnd.DropTargetListener; import org.eclipse.swt.graphics.Point; import org.eclipse.swt.graphics.Rectangle; impo...
5,699
Bug 5699 Add ResourceTransfer to packages view
The packages view should add the ResoruceTransfer as a drag source to its list of transfers
resolved fixed
eb077ff
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-11-12T15:13:53Z
2001-11-09T10:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dnd/JdtViewerDropAdapter.java
/** * Constant describing the position of the cursor relative * to the target object. This means the mouse is positioned * slightly before the target. */ protected static final int LOCATION_BEFORE= 1; /** * Constant describing the position of the cursor relative * to the target object. This means th...
5,699
Bug 5699 Add ResourceTransfer to packages view
The packages view should add the ResoruceTransfer as a drag source to its list of transfers
resolved fixed
eb077ff
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-11-12T15:13:53Z
2001-11-09T10:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dnd/JdtViewerDropAdapter.java
protected static final int LOCATION_ON= 3; /** * Constant describing the position of the cursor relative * to the target object. This means the mouse is not positioned * over or near any valid target. */ protected static final int LOCATION_NONE= 4; /** * The threshold used to determine if the mouse i...
5,699
Bug 5699 Add ResourceTransfer to packages view
The packages view should add the ResoruceTransfer as a drag source to its list of transfers
resolved fixed
eb077ff
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-11-12T15:13:53Z
2001-11-09T10:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dnd/JdtViewerDropAdapter.java
protected int fLocation; protected Object fTarget; public JdtViewerDropAdapter(StructuredViewer viewer, int style) { fViewer= viewer; Assert.isNotNull(fViewer); fStyle= style; fLastOperation= -1; } /** * Returns the viewer this adapter is working on. */ protected StructuredViewer getViewer() { return...
5,699
Bug 5699 Add ResourceTransfer to packages view
The packages view should add the ResoruceTransfer as a drag source to its list of transfers
resolved fixed
eb077ff
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-11-12T15:13:53Z
2001-11-09T10:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dnd/JdtViewerDropAdapter.java
*/ public void drop(Object target, DropTargetEvent event) { } /** * Validates if the drop is valid. The method calls <code>validateDrop * (Object target, DropTargetEvent event). Implementors can alter the * <code>currentDataType</code> field and the <code>detail</code> field * to give feedback about dr...
5,699
Bug 5699 Add ResourceTransfer to packages view
The packages view should add the ResoruceTransfer as a drag source to its list of transfers
resolved fixed
eb077ff
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-11-12T15:13:53Z
2001-11-09T10:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dnd/JdtViewerDropAdapter.java
public void dragLeave(DropTargetEvent event) { fTarget= null; fLocation= LOCATION_NONE; fLastScroll= 0; } public void dragOperationChanged(DropTargetEvent event) { fRequestedOperation= event.detail; fTarget= computeTarget(event); fLocation= computeLocation(event); validateDrop(event); fLastOperation...
5,699
Bug 5699 Add ResourceTransfer to packages view
The packages view should add the ResoruceTransfer as a drag source to its list of transfers
resolved fixed
eb077ff
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-11-12T15:13:53Z
2001-11-09T10:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dnd/JdtViewerDropAdapter.java
} computeFeedback(event); } public void dropAccept(DropTargetEvent event) { fTarget= computeTarget(event); validateDrop(event); fLastOperation= event.detail; } /** * Returns the data hold by <code>event.item</code>. Inside a viewer * this corresponds to the items data model element. */ protected ...
5,699
Bug 5699 Add ResourceTransfer to packages view
The packages view should add the ResoruceTransfer as a drag source to its list of transfers
resolved fixed
eb077ff
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-11-12T15:13:53Z
2001-11-09T10:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dnd/JdtViewerDropAdapter.java
Point coordinates= new Point(event.x, event.y); coordinates= fViewer.getControl().toControl(coordinates); Rectangle bounds= getBounds(item); if (bounds == null) { return LOCATION_NONE; } if ((coordinates.y - bounds.y) < LOCATION_EPSILON) { return LOCATION_BEFORE; } if ((bounds.y + bounds.height - co...
5,699
Bug 5699 Add ResourceTransfer to packages view
The packages view should add the ResoruceTransfer as a drag source to its list of transfers
resolved fixed
eb077ff
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-11-12T15:13:53Z
2001-11-09T10:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dnd/JdtViewerDropAdapter.java
* is set to be the newly revealed widget. Returns true if scrolling * actually, occurred, and false otherwise. */ protected Object scrollIfNeeded(int x, int y) { long time= System.currentTimeMillis(); if (time - fLastScroll < 500) return null; fLastScroll= time; Control control= fViewer.getControl(...
5,699
Bug 5699 Add ResourceTransfer to packages view
The packages view should add the ResoruceTransfer as a drag source to its list of transfers
resolved fixed
eb077ff
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-11-12T15:13:53Z
2001-11-09T10:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dnd/JdtViewerDropAdapter.java
*/ protected void computeFeedback(DropTargetEvent event) { int old= event.feedback; boolean insertionFeedback= (fStyle & INSERTION_FEEDBACK) != 0; if (!insertionFeedback && fLocation != LOCATION_NONE) { event.feedback= DND.FEEDBACK_SELECT; } else { if (fLocation == LOCATION_BEFORE) { event.feedbac...
5,699
Bug 5699 Add ResourceTransfer to packages view
The packages view should add the ResoruceTransfer as a drag source to its list of transfers
resolved fixed
eb077ff
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-11-12T15:13:53Z
2001-11-09T10:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/FileTransferDropAdapter.java
/* * (c) Copyright IBM Corp. 2000, 2001. * All Rights Reserved. */ package org.eclipse.jdt.internal.ui.packageview; import java.io.File; import java.lang.reflect.InvocationTargetException; import java.util.ArrayList; import java.util.List; import java.util.ResourceBundle; import org.eclipse.swt.SWT; import org.eclip...
5,699
Bug 5699 Add ResourceTransfer to packages view
The packages view should add the ResoruceTransfer as a drag source to its list of transfers
resolved fixed
eb077ff
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-11-12T15:13:53Z
2001-11-09T10:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/FileTransferDropAdapter.java
import org.eclipse.core.resources.IContainer; import org.eclipse.core.runtime.IPath; import org.eclipse.core.runtime.IStatus; import org.eclipse.core.runtime.Path; import org.eclipse.ui.dialogs.IOverwriteQuery; import org.eclipse.ui.wizards.datatransfer.FileSystemStructureProvider; import org.eclipse.ui.wizards.datatra...
5,699
Bug 5699 Add ResourceTransfer to packages view
The packages view should add the ResoruceTransfer as a drag source to its list of transfers
resolved fixed
eb077ff
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-11-12T15:13:53Z
2001-11-09T10:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/FileTransferDropAdapter.java
} private int openDialog(final Control control, final String file) { final int[] result= { Dialog.CANCEL }; control.getDisplay().syncExec(new Runnable() { public void run() { String title= PackagesMessages.getString("DropAdapter.question"); String msg= PackagesMessages.getFormattedString("DropAdapte...
5,699
Bug 5699 Add ResourceTransfer to packages view
The packages view should add the ResoruceTransfer as a drag source to its list of transfers
resolved fixed
eb077ff
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-11-12T15:13:53Z
2001-11-09T10:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/FileTransferDropAdapter.java
if (!(isPackageFragment || isJavaProject || isPackageFragmentRoot)) return; IJavaElement element= (IJavaElement)target; if (!element.isReadOnly()) event.detail= DND.DROP_COPY; return; } public void drop(Object javaTarget, DropTargetEvent event) { int operation= event.detail; event.detail...
5,699
Bug 5699 Add ResourceTransfer to packages view
The packages view should add the ResoruceTransfer as a drag source to its list of transfers
resolved fixed
eb077ff
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-11-12T15:13:53Z
2001-11-09T10:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/FileTransferDropAdapter.java
ProgressMonitorDialog dialog= new ProgressMonitorDialog(shell); try { dialog.run(true, true, op); } catch (InvocationTargetException e) { String title= PackagesMessages.getString("DropAdapter.errorTitle"); String message= PackagesMessages.getString("DropAdapter.errorMessage"); ExceptionHandl...
5,699
Bug 5699 Add ResourceTransfer to packages view
The packages view should add the ResoruceTransfer as a drag source to its list of transfers
resolved fixed
eb077ff
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-11-12T15:13:53Z
2001-11-09T10:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/FileTransferDropAdapter.java
} else { event.data= null; return; } } private List checkFiles(Shell shell, String[] files, IPath target) { List result= new ArrayList(10); int lengthCompare= target.segmentCount() + 1; for (int i= 0; i < files.length; i++) { String file= files[i]; IPath path= new Path(file); String error= nu...
5,699
Bug 5699 Add ResourceTransfer to packages view
The packages view should add the ResoruceTransfer as a drag source to its list of transfers
resolved fixed
eb077ff
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-11-12T15:13:53Z
2001-11-09T10:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
/* * (c) Copyright IBM Corp. 2000, 2001. * All Rights Reserved. */ package org.eclipse.jdt.internal.ui.packageview; import java.util.ArrayList; import java.util.Iterator; import java.util.List; import org.eclipse.core.resources.IContainer; import org.eclipse.core.resources.IFile; import org.eclipse.core.resources.IR...
5,699
Bug 5699 Add ResourceTransfer to packages view
The packages view should add the ResoruceTransfer as a drag source to its list of transfers
resolved fixed
eb077ff
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-11-12T15:13:53Z
2001-11-09T10:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
import org.eclipse.jdt.internal.ui.dnd.DelegatingDragAdapter; import org.eclipse.jdt.internal.ui.dnd.DelegatingDropAdapter; import org.eclipse.jdt.internal.ui.dnd.LocalSelectionTransfer; import org.eclipse.jdt.internal.ui.dnd.TransferDragSourceListener; import org.eclipse.jdt.internal.ui.dnd.TransferDropTargetListener;...
5,699
Bug 5699 Add ResourceTransfer to packages view
The packages view should add the ResoruceTransfer as a drag source to its list of transfers
resolved fixed
eb077ff
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-11-12T15:13:53Z
2001-11-09T10:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
import org.eclipse.jface.action.IMenuManager; import org.eclipse.jface.action.IStatusLineManager; import org.eclipse.jface.action.IToolBarManager; import org.eclipse.jface.action.MenuManager; import org.eclipse.jface.action.Separator; import org.eclipse.jface.preference.IPreferenceStore; import org.eclipse.jface.util.I...
5,699
Bug 5699 Add ResourceTransfer to packages view
The packages view should add the ResoruceTransfer as a drag source to its list of transfers
resolved fixed
eb077ff
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-11-12T15:13:53Z
2001-11-09T10:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
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; import org.eclipse.ui.IActionBars; import or...
5,699
Bug 5699 Add ResourceTransfer to packages view
The packages view should add the ResoruceTransfer as a drag source to its list of transfers
resolved fixed
eb077ff
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-11-12T15:13:53Z
2001-11-09T10:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
import org.eclipse.ui.views.internal.framelist.GoIntoAction; import org.eclipse.ui.views.internal.framelist.UpAction; /** * The ViewPart for the ProjectExplorer. It listens to part activation events. * When selection linking with the editor is enabled the view selection tracks * the active editor page. Similarly whe...
5,699
Bug 5699 Add ResourceTransfer to packages view
The packages view should add the ResoruceTransfer as a drag source to its list of transfers
resolved fixed
eb077ff
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-11-12T15:13:53Z
2001-11-09T10: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 Action fShowTypeHierarchyAction; private Action fShowNavigatorAction; private Action fPropertyDialogAction; private RefactoringA...
5,699
Bug 5699 Add ResourceTransfer to packages view
The packages view should add the ResoruceTransfer as a drag source to its list of transfers
resolved fixed
eb077ff
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-11-12T15:13:53Z
2001-11-09T10:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
} public void partBroughtToTop(IWorkbenchPart part) { } public void partClosed(IWorkbenchPart part) { } public void partDeactivated(IWorkbenchPart part) { } public void partOpened(IWorkbenchPart part) { } }; private ITreeViewerListener fExpansionListener= new ITreeViewerListener() { public void tr...
5,699
Bug 5699 Add ResourceTransfer to packages view
The packages view should add the ResoruceTransfer as a drag source to its list of transfers
resolved fixed
eb077ff
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-11-12T15:13:53Z
2001-11-09T10:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
fMemento= memento; } /** * Initializes the default preferences */ public static void initDefaults(IPreferenceStore store) { store.setDefault(TAG_SHOWLIBRARIES, true); store.setDefault(TAG_SHOWBINARIES, true); } /** * Returns the package explorer part of the active perspective. If * there isn't any ...
5,699
Bug 5699 Add ResourceTransfer to packages view
The packages view should add the ResoruceTransfer as a drag source to its list of transfers
resolved fixed
eb077ff
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-11-12T15:13:53Z
2001-11-09T10:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
return null; } } public void dispose() { if (fViewer != null) JavaPlugin.getDefault().getProblemMarkerManager().removeListener(fViewer); if (fContextMenu != null && !fContextMenu.isDisposed()) fContextMenu.dispose(); getSite().getPage().removePartListener(fPartListener); JavaPlugin.getDefault()....
5,699
Bug 5699 Add ResourceTransfer to packages view
The packages view should add the ResoruceTransfer as a drag source to its list of transfers
resolved fixed
eb077ff
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-11-12T15:13:53Z
2001-11-09T10:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
fViewer.setSorter(new JavaElementSorter()); fViewer.addFilter(new EmptyInnerPackageFilter()); fViewer.setUseHashlookup(true); fViewer.addFilter(fPatternFilter); fViewer.addFilter(fLibraryFilter); fViewer.addFilter(fWorkingSetFilter); if(fMemento != null) restoreFilters(); else initFilterFromPref...
5,699
Bug 5699 Add ResourceTransfer to packages view
The packages view should add the ResoruceTransfer as a drag source to its list of transfers
resolved fixed
eb077ff
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-11-12T15:13:53Z
2001-11-09T10:00:00Z
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); } }...
5,699
Bug 5699 Add ResourceTransfer to packages view
The packages view should add the ResoruceTransfer as a drag source to its list of transfers
resolved fixed
eb077ff
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-11-12T15:13:53Z
2001-11-09T10:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
} private void fillActionBars() { IActionBars actionBars= getViewSite().getActionBars(); IToolBarManager toolBar= actionBars.getToolBarManager(); toolBar.add(fBackAction); toolBar.add(fForwardAction); toolBar.add(fUpAction); actionBars.updateActionBars(); IMenuManager menu= actionBars.getMenuManager();...
5,699
Bug 5699 Add ResourceTransfer to packages view
The packages view should add the ResoruceTransfer as a drag source to its list of transfers
resolved fixed
eb077ff
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-11-12T15:13:53Z
2001-11-09T10:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
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); } /** * Returns the tool tip text for the given element. */ St...
5,699
Bug 5699 Add ResourceTransfer to packages view
The packages view should add the ResoruceTransfer as a drag source to its list of transfers
resolved fixed
eb077ff
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-11-12T15:13:53Z
2001-11-09T10:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
if (result.length() == 0) return wsstr; return result + " - " + wsstr; } public String getTitleToolTip() { if (fViewer == null) return super.getTitleToolTip(); return getToolTipText(fViewer.getInput()); } /** * @see IWorkbenchPart#setFocus() */ public void setFocus() { fViewer.getTree().setFo...
5,699
Bug 5699 Add ResourceTransfer to packages view
The packages view should add the ResoruceTransfer as a drag source to its list of transfers
resolved fixed
eb077ff
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-11-12T15:13:53Z
2001-11-09T10:00:00Z
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(); } ...
5,699
Bug 5699 Add ResourceTransfer to packages view
The packages view should add the ResoruceTransfer as a drag source to its list of transfers
resolved fixed
eb077ff
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-11-12T15:13:53Z
2001-11-09T10:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
if (selection.size() == 1 && fViewer.isExpandable(element)) menu.appendToGroup(IContextMenuConstants.GROUP_GOTO, fZoomInAction); addGotoMenu(menu); fOpenCUAction.update(); if (fOpenCUAction.isEnabled()) menu.appendToGroup(IContextMenuConstants.GROUP_OPEN, fOpenCUAction); addOpenWithMenu(menu, selecti...
5,699
Bug 5699 Add ResourceTransfer to packages view
The packages view should add the ResoruceTransfer as a drag source to its list of transfers
resolved fixed
eb077ff
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-11-12T15:13:53Z
2001-11-09T10:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
menu.appendToGroup(IContextMenuConstants.GROUP_GOTO, gotoMenu); gotoMenu.add(fBackAction); gotoMenu.add(fForwardAction); gotoMenu.add(fUpAction); gotoMenu.add(fGotoTypeAction); gotoMenu.add(fGotoPackageAction); } private void makeActions() { ISelectionProvider provider= getSelectionProvider(); fOpenCUAc...
5,699
Bug 5699 Add ResourceTransfer to packages view
The packages view should add the ResoruceTransfer as a drag source to its list of transfers
resolved fixed
eb077ff
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-11-12T15:13:53Z
2001-11-09T10:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
fBackAction= new BackAction(fFrameList); fForwardAction= new ForwardAction(fFrameList); fZoomInAction= new GoIntoAction(fFrameList); fUpAction= new UpAction(fFrameList); fGotoTypeAction= new GotoTypeAction(this); fGotoPackageAction= new GotoPackageAction(this); IActionBars actionService= getViewSite().getAc...
5,699
Bug 5699 Add ResourceTransfer to packages view
The packages view should add the ResoruceTransfer as a drag source to its list of transfers
resolved fixed
eb077ff
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-11-12T15:13:53Z
2001-11-09T10:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
private void addOpenWithMenu(IMenuManager menu, IStructuredSelection selection) { if (selection.size() != 1) return; IAdaptable element= (IAdaptable)selection.getFirstElement(); Object resource= element.getAdapter(IResource.class); if (!(resource instanceof IFile)) return; MenuManager submenu=...
5,699
Bug 5699 Add ResourceTransfer to packages view
The packages view should add the ResoruceTransfer as a drag source to its list of transfers
resolved fixed
eb077ff
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-11-12T15:13:53Z
2001-11-09T10:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
IJavaElement element= (IJavaElement)o; Object resource= element.getAdapter(IResource.class); if (! clazz.isInstance(resource)) return false; } } return true; } private void initDragAndDrop() { int ops= DND.DROP_COPY | DND.DROP_MOVE; final LocalSelectionTransfer lt= LocalSelectionTransfe...
5,699
Bug 5699 Add ResourceTransfer to packages view
The packages view should add the ResoruceTransfer as a drag source to its list of transfers
resolved fixed
eb077ff
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-11-12T15:13:53Z
2001-11-09T10:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
source.addDragListener(new DelegatingDragAdapter(dragListeners)); } /** * Handles key events in viewer. */ void handleKeyPressed(KeyEvent event) { if (event.character == SWT.DEL && event.stateMask == 0){ fDeleteAction.update(); if (fDeleteAction.isEnabled()) fDeleteAction.run(); } } /** * ...
5,699
Bug 5699 Add ResourceTransfer to packages view
The packages view should add the ResoruceTransfer as a drag source to its list of transfers
resolved fixed
eb077ff
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-11-12T15:13:53Z
2001-11-09T10:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
if (element instanceof IOpenable && !(element instanceof ICompilationUnit) && !(element instanceof IClassFile)) { fZoomInAction.run(); } } else { fViewer.setExpandedState(element, !fViewer.getExpandedState(element)); } } } /** * Handles selection changed in viewer. * Updates ...
5,699
Bug 5699 Add ResourceTransfer to packages view
The packages view should add the ResoruceTransfer as a drag source to its list of transfers
resolved fixed
eb077ff
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-11-12T15:13:53Z
2001-11-09T10:00:00Z
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); ...
5,699
Bug 5699 Add ResourceTransfer to packages view
The packages view should add the ResoruceTransfer as a drag source to its list of transfers
resolved fixed
eb077ff
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-11-12T15:13:53Z
2001-11-09T10:00:00Z
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= JavaModelUtil.findElementOfKind((IJavaElement)obj, IJavaElement.COMPILATION_UNIT); if (cu != null) element= getResourceFor(cu); if (element == null) ...
5,699
Bug 5699 Add ResourceTransfer to packages view
The packages view should add the ResoruceTransfer as a drag source to its list of transfers
resolved fixed
eb077ff
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-11-12T15:13:53Z
2001-11-09T10:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
} } 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 { element= ((IJava...
5,699
Bug 5699 Add ResourceTransfer to packages view
The packages view should add the ResoruceTransfer as a drag source to its list of transfers
resolved fixed
eb077ff
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-11-12T15:13:53Z
2001-11-09T10:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
saveSelectionState(memento); saveScrollState(memento, fViewer.getTree()); savePatternFilterState(memento); saveFilterState(memento); saveWorkingSetState(memento); } protected void saveFilterState(IMemento memento) { boolean showLibraries= getLibraryFilter().getShowLibraries(); String show= "true"; if (...
5,699
Bug 5699 Add ResourceTransfer to packages view
The packages view should add the ResoruceTransfer as a drag source to its list of transfers
resolved fixed
eb077ff
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-11-12T15:13:53Z
2001-11-09T10:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
protected void saveScrollState(IMemento memento, Tree tree) { ScrollBar bar= tree.getVerticalBar(); int position= bar != null ? bar.getSelection() : 0; memento.putString(TAG_VERTICAL_POSITION, String.valueOf(position)); bar= tree.getHorizontalBar(); position= bar != null ? bar.getSelection() : 0; memento...
5,699
Bug 5699 Add ResourceTransfer to packages view
The packages view should add the ResoruceTransfer as a drag source to its list of transfers
resolved fixed
eb077ff
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-11-12T15:13:53Z
2001-11-09T10:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
if (o instanceof IJavaElement) elementMem.putString(TAG_PATH, ((IJavaElement) expandedElements[i]).getHandleIdentifier()); } } } protected void saveWorkingSetState(IMemento memento) { IWorkingSet ws= getWorkingSetFilter().getWorkingSet(); if (ws != null) { memento.putString(TAG_WORKINGSET, ws.getName...
5,699
Bug 5699 Add ResourceTransfer to packages view
The packages view should add the ResoruceTransfer as a drag source to its list of transfers
resolved fixed
eb077ff
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-11-12T15:13:53Z
2001-11-09T10:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
try { String posStr= memento.getString(TAG_HORIZONTAL_POSITION); int position; position= new Integer(posStr).intValue(); bar.setSelection(position); } catch (NumberFormatException e) { } } } protected void restoreSelectionState(IMemento memento) { IMemento childMem; childMem= memento....
5,699
Bug 5699 Add ResourceTransfer to packages view
The packages view should add the ResoruceTransfer as a drag source to its list of transfers
resolved fixed
eb077ff
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-11-12T15:13:53Z
2001-11-09T10:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
elements.add(element); } fViewer.setExpandedElements(elements.toArray()); } } /** * Create the KeyListener for doing the refresh on the viewer. */ private void initKeyListener() { fViewer.getControl().addKeyListener(new KeyAdapter() { public void keyReleased(KeyEvent event) { doKeyPressed(even...
5,699
Bug 5699 Add ResourceTransfer to packages view
The packages view should add the ResoruceTransfer as a drag source to its list of transfers
resolved fixed
eb077ff
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-11-12T15:13:53Z
2001-11-09T10:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
void initFrameList() { fFrameSource= new PackagesFrameSource(this); fFrameList= new FrameList(fFrameSource); fFrameSource.connectTo(fFrameList); } /** * An editor has been activated. Set the selection in this Packages Viewer * to be the editor's input, if linking is enabled. */ void editorActivated(IEdi...
5,699
Bug 5699 Add ResourceTransfer to packages view
The packages view should add the ResoruceTransfer as a drag source to its list of transfers
resolved fixed
eb077ff
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-11-12T15:13:53Z
2001-11-09T10:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
if (element.equals(m.getCompilationUnit())) return; if (element.equals(m.getClassFile())) return; } } ISelection newSelection= new StructuredSelection(element); if (!fViewer.getSelection().equals(newSelection)) { try { fViewer.removeSelectionChangedListener(fSelectionListener); ...
5,699
Bug 5699 Add ResourceTransfer to packages view
The packages view should add the ResoruceTransfer as a drag source to its list of transfers
resolved fixed
eb077ff
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-11-12T15:13:53Z
2001-11-09T10:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
} else if (element instanceof IClassFile) { IClassFile cf= (IClassFile)element; type= cf.getType(); } if (type != null) { final IType type2= type; Control ctrl= fViewer.getControl(); if (ctrl != null && !ctrl.isDisposed()) { ctrl.getDisplay().asyncExec(new Runnable() { public ...
5,699
Bug 5699 Add ResourceTransfer to packages view
The packages view should add the ResoruceTransfer as a drag source to its list of transfers
resolved fixed
eb077ff
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-11-12T15:13:53Z
2001-11-09T10:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
return ((IFileEditorInput)input).getFile(); else if (input instanceof JarEntryEditorInput) return ((JarEntryEditorInput)input).getStorage(); return null; } /** * Returns the Viewer. */ TreeViewer getViewer() { return fViewer; } /** * Returns the pattern filter for this view. * @return the ...
5,699
Bug 5699 Add ResourceTransfer to packages view
The packages view should add the ResoruceTransfer as a drag source to its list of transfers
resolved fixed
eb077ff
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-11-12T15:13:53Z
2001-11-09T10:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
* @return the working set filter */ WorkingSetFilter getWorkingSetFilter() { return fWorkingSetFilter; } /** * Returns the Binary filter for this view. * @return the binary filter */ BinaryProjectFilter getBinaryFilter() { return fBinaryFilter; } void restoreFilters() { IMemento filtersMem= fMem...
5,699
Bug 5699 Add ResourceTransfer to packages view
The packages view should add the ResoruceTransfer as a drag source to its list of transfers
resolved fixed
eb077ff
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-11-12T15:13:53Z
2001-11-09T10:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
String showbin= fMemento.getString(TAG_SHOWBINARIES); if (showbin != null) getBinaryFilter().setShowBinaries(showbin.equals("true")); else initBinaryFilterFromPreferences(); String workingSetName= fMemento.getString(TAG_WORKINGSET); if (workingSetName != null) { IWorkingSet ws= SearchUI.find...
5,699
Bug 5699 Add ResourceTransfer to packages view
The packages view should add the ResoruceTransfer as a drag source to its list of transfers
resolved fixed
eb077ff
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-11-12T15:13:53Z
2001-11-09T10:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
getBinaryFilter().setShowBinaries(showbin); } /** * 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 == null || (inp...
5,699
Bug 5699 Add ResourceTransfer to packages view
The packages view should add the ResoruceTransfer as a drag source to its list of transfers
resolved fixed
eb077ff
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-11-12T15:13:53Z
2001-11-09T10:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
if (decorator == null) { fViewer.setLabelProvider(javaProvider); } else { fViewer.setLabelProvider(new DecoratingLabelProvider(javaProvider, decorator)); } } /** * Gets the standard label flags */ private int getLabelProviderFlags() { return JavaElementLabelProvider.SHOW_BASICS | JavaElementLabelPr...
5,699
Bug 5699 Add ResourceTransfer to packages view
The packages view should add the ResoruceTransfer as a drag source to its list of transfers
resolved fixed
eb077ff
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-11-12T15:13:53Z
2001-11-09T10:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/SelectionTransferDropAdapter.java
/* * (c) Copyright IBM Corp. 2000, 2001. * All Rights Reserved. */
5,699
Bug 5699 Add ResourceTransfer to packages view
The packages view should add the ResoruceTransfer as a drag source to its list of transfers
resolved fixed
eb077ff
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-11-12T15:13:53Z
2001-11-09T10:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/SelectionTransferDropAdapter.java
package org.eclipse.jdt.internal.ui.packageview; import java.util.List; import org.eclipse.core.runtime.NullProgressMonitor; import org.eclipse.jdt.core.JavaModelException; import org.eclipse.jdt.internal.core.refactoring.Assert; import org.eclipse.jdt.internal.core.refactoring.reorg.CopyRefactoring; import org.eclipse...
5,699
Bug 5699 Add ResourceTransfer to packages view
The packages view should add the ResoruceTransfer as a drag source to its list of transfers
resolved fixed
eb077ff
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-11-12T15:13:53Z
2001-11-09T10:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/SelectionTransferDropAdapter.java
private List fElements; private MoveRefactoring fMoveRefactoring; private int fCanMoveElements; private CopyRefactoring fCopyRefactoring; private int fCanCopyElements; public SelectionTransferDropAdapter(AbstractTreeViewer viewer) { super(viewer, SWT.NONE); } public Transfer getTransfer() { return LocalS...
5,699
Bug 5699 Add ResourceTransfer to packages view
The packages view should add the ResoruceTransfer as a drag source to its list of transfers
resolved fixed
eb077ff
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-11-12T15:13:53Z
2001-11-09T10:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/SelectionTransferDropAdapter.java
fCopyRefactoring= null; fCanCopyElements= 0; } public void validateDrop(Object target, DropTargetEvent event, int operation) { event.detail= DND.DROP_NONE; if (fElements == null) { ISelection s= LocalSelectionTransfer.getInstance().getSelection(); if (!(s instanceof IStructuredSelection)) return; ...
5,699
Bug 5699 Add ResourceTransfer to packages view
The packages view should add the ResoruceTransfer as a drag source to its list of transfers
resolved fixed
eb077ff
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-11-12T15:13:53Z
2001-11-09T10:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/SelectionTransferDropAdapter.java
handleDropMove(target, event); } else if (event.detail == DND.DROP_COPY) { handleDropCopy(target, event); } event.detail= DND.DROP_NONE; } catch (JavaModelException e){ ExceptionHandler.handle(e, "Drag'n'drop", "Unexpected exception. See log for details."); } } private boolean h...
5,699
Bug 5699 Add ResourceTransfer to packages view
The packages view should add the ResoruceTransfer as a drag source to its list of transfers
resolved fixed
eb077ff
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-11-12T15:13:53Z
2001-11-09T10:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/SelectionTransferDropAdapter.java
if (! canActivate(fMoveRefactoring)) fCanMoveElements= 1; } return fCanMoveElements == 2; } private boolean canActivate(ReorgRefactoring ref){ try{ return ref.checkActivation(new NullProgressMonitor()).isOK(); } catch(JavaModelException e){ ExceptionHandler.handle(e, "Drag'n'drop", "Unexpected exc...
5,699
Bug 5699 Add ResourceTransfer to packages view
The packages view should add the ResoruceTransfer as a drag source to its list of transfers
resolved fixed
eb077ff
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-11-12T15:13:53Z
2001-11-09T10:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/SelectionTransferDropAdapter.java
fCanCopyElements= 2; if (!canActivate(fCopyRefactoring)) fCanCopyElements= 1; } return fCanCopyElements == 2; } private void handleDropCopy(final Object target, DropTargetEvent event) throws JavaModelException{ CopyAction action= new CopyAction("#COPY", StructuredSelectionProvider.createFrom(getViewe...
5,699
Bug 5699 Add ResourceTransfer to packages view
The packages view should add the ResoruceTransfer as a drag source to its list of transfers
resolved fixed
eb077ff
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-11-12T15:13:53Z
2001-11-09T10:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/SelectionTransferDropAdapter.java
protected boolean isOkToProceed(ReorgRefactoring refactoring) throws JavaModelException{ if (!super.isOkToProceed(refactoring)) return false; return askIfUpdateReferences((MoveRefactoring)refactoring); } private boolean askIfUpdateReferences(MoveRefactoring ref) throws JavaModelException{ if (! r...
5,699
Bug 5699 Add ResourceTransfer to packages view
The packages view should add the ResoruceTransfer as a drag source to its list of transfers
resolved fixed
eb077ff
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-11-12T15:13:53Z
2001-11-09T10:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/SelectionTransferDropAdapter.java
Assert.isTrue(false); return false; } } private static int askIfUpdateReferences(){ Shell shell= JavaPlugin.getActiveWorkbenchShell().getShell(); String title= "Move"; String preview= "Pre&view"; String question= "Do you want to update references to the moved element(s)? Press '" + preview +...
5,699
Bug 5699 Add ResourceTransfer to packages view
The packages view should add the ResoruceTransfer as a drag source to its list of transfers
resolved fixed
eb077ff
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-11-12T15:13:53Z
2001-11-09T10:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyTransferDropAdapter.java
/* * (c) Copyright IBM Corp. 2000, 2001. * All Rights Reserved. */ package org.eclipse.jdt.internal.ui.typehierarchy; import org.eclipse.swt.SWT; import org.eclipse.swt.dnd.DND; import org.eclipse.swt.dnd.DropTargetEvent; import org.eclipse.swt.dnd.Transfer; import org.eclipse.jface.viewers.AbstractTreeViewer; impor...
5,699
Bug 5699 Add ResourceTransfer to packages view
The packages view should add the ResoruceTransfer as a drag source to its list of transfers
resolved fixed
eb077ff
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-11-12T15:13:53Z
2001-11-09T10:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyTransferDropAdapter.java
} public void validateDrop(Object target, DropTargetEvent event, int operation) { event.detail= DND.DROP_NONE; ISelection selection= LocalSelectionTransfer.getInstance().getSelection(); if (target instanceof IType) { if (AddMethodStubAction.canActionBeAdded((IType)target, selection)) { if (oper...
3,471
Bug 3471 Leading '/' in src page of Java wizard is misleading (1G842TH)
1. create new java project "jp" with Create Java Project wizard. 2. in wizard goto second ("Source") page Observe: the Build Output Folder is "/jp/bin" Since this looks like a Unix pathname I interpret the leading "/" as an indication for a absolute pathname. Other tools use something like: {WORKBENCH}/jp/bin or shell ...
resolved wontfix
d8eedf7
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-11-12T18:21:09Z
2001-10-11T03:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/BuildPathsBlock.java
/* * (c) Copyright IBM Corp. 2000, 2001. * All Rights Reserved. */ package org.eclipse.jdt.internal.ui.wizards.buildpaths; import java.lang.reflect.InvocationTargetException; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import org.eclipse.swt.SWT; import org.eclipse.swt.events.Selectio...
3,471
Bug 3471 Leading '/' in src page of Java wizard is misleading (1G842TH)
1. create new java project "jp" with Create Java Project wizard. 2. in wizard goto second ("Source") page Observe: the Build Output Folder is "/jp/bin" Since this looks like a Unix pathname I interpret the leading "/" as an indication for a absolute pathname. Other tools use something like: {WORKBENCH}/jp/bin or shell ...
resolved wontfix
d8eedf7
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-11-12T18:21:09Z
2001-10-11T03:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/BuildPathsBlock.java
import org.eclipse.swt.widgets.Control; import org.eclipse.swt.widgets.Shell; import org.eclipse.swt.widgets.TabFolder; import org.eclipse.swt.widgets.TabItem; import org.eclipse.swt.widgets.Widget; import org.eclipse.core.resources.IContainer; import org.eclipse.core.resources.IFolder; import org.eclipse.core.resource...
3,471
Bug 3471 Leading '/' in src page of Java wizard is misleading (1G842TH)
1. create new java project "jp" with Create Java Project wizard. 2. in wizard goto second ("Source") page Observe: the Build Output Folder is "/jp/bin" Since this looks like a Unix pathname I interpret the leading "/" as an indication for a absolute pathname. Other tools use something like: {WORKBENCH}/jp/bin or shell ...
resolved wontfix
d8eedf7
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-11-12T18:21:09Z
2001-10-11T03:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/BuildPathsBlock.java
import org.eclipse.jdt.core.JavaConventions; import org.eclipse.jdt.core.JavaCore; import org.eclipse.jdt.launching.JavaRuntime; import org.eclipse.jdt.internal.ui.IJavaHelpContextIds; import org.eclipse.jdt.internal.ui.JavaPlugin; import org.eclipse.jdt.internal.ui.JavaPluginImages; import org.eclipse.jdt.internal.ui....
3,471
Bug 3471 Leading '/' in src page of Java wizard is misleading (1G842TH)
1. create new java project "jp" with Create Java Project wizard. 2. in wizard goto second ("Source") page Observe: the Build Output Folder is "/jp/bin" Since this looks like a Unix pathname I interpret the leading "/" as an indication for a absolute pathname. Other tools use something like: {WORKBENCH}/jp/bin or shell ...
resolved wontfix
d8eedf7
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-11-12T18:21:09Z
2001-10-11T03:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/BuildPathsBlock.java
private IWorkspaceRoot fWorkspaceRoot; private CheckedListDialogField fClassPathList; private StringDialogField fBuildPathDialogField; private StatusInfo fClassPathStatus; private StatusInfo fBuildPathStatus; private IJavaProject fCurrJProject; private IPath fOutputLocationPath; private IStatusChangeListe...
3,471
Bug 3471 Leading '/' in src page of Java wizard is misleading (1G842TH)
1. create new java project "jp" with Create Java Project wizard. 2. in wizard goto second ("Source") page Observe: the Build Output Folder is "/jp/bin" Since this looks like a Unix pathname I interpret the leading "/" as an indication for a absolute pathname. Other tools use something like: {WORKBENCH}/jp/bin or shell ...
resolved wontfix
d8eedf7
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-11-12T18:21:09Z
2001-10-11T03:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/BuildPathsBlock.java
fCurrPage= null; BuildPathAdapter adapter= new BuildPathAdapter(); String[] buttonLabels= new String[] { NewWizardMessages.getString("BuildPathsBlock.classpath.up.button"), NewWizardMessages.getString("BuildPathsBlock.classpath.down.button"), null, NewWizardMessages.getString("BuildPaths...
3,471
Bug 3471 Leading '/' in src page of Java wizard is misleading (1G842TH)
1. create new java project "jp" with Create Java Project wizard. 2. in wizard goto second ("Source") page Observe: the Build Output Folder is "/jp/bin" Since this looks like a Unix pathname I interpret the leading "/" as an indication for a absolute pathname. Other tools use something like: {WORKBENCH}/jp/bin or shell ...
resolved wontfix
d8eedf7
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-11-12T18:21:09Z
2001-10-11T03:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/BuildPathsBlock.java
fBuildPathStatus= new StatusInfo(); fClassPathStatus= new StatusInfo(); fCurrJProject= null; } public Control createControl(Composite parent) { fSWTWidget= parent; Composite composite= new Composite(parent, SWT.NONE); MGridLayout layout= new MGridLayout(); layout.marginWidth= 0; layout.m...
3,471
Bug 3471 Leading '/' in src page of Java wizard is misleading (1G842TH)
1. create new java project "jp" with Create Java Project wizard. 2. in wizard goto second ("Source") page Observe: the Build Output Folder is "/jp/bin" Since this looks like a Unix pathname I interpret the leading "/" as an indication for a absolute pathname. Other tools use something like: {WORKBENCH}/jp/bin or shell ...
resolved wontfix
d8eedf7
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-11-12T18:21:09Z
2001-10-11T03:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/BuildPathsBlock.java
TabItem item; fSourceContainerPage= new SourceContainerWorkbookPage(fWorkspaceRoot, fClassPathList, fBuildPathDialogField, fIsNewProject); item= new TabItem(folder, SWT.NONE); item.setText(NewWizardMessages.getString("BuildPathsBlock.tab.source")); item.setImage(imageRegistry.get(JavaPluginImages.IMG_OB...
3,471
Bug 3471 Leading '/' in src page of Java wizard is misleading (1G842TH)
1. create new java project "jp" with Create Java Project wizard. 2. in wizard goto second ("Source") page Observe: the Build Output Folder is "/jp/bin" Since this looks like a Unix pathname I interpret the leading "/" as an indication for a absolute pathname. Other tools use something like: {WORKBENCH}/jp/bin or shell ...
resolved wontfix
d8eedf7
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-11-12T18:21:09Z
2001-10-11T03:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/BuildPathsBlock.java
ClasspathOrderingWorkbookPage ordpage= new ClasspathOrderingWorkbookPage(fClassPathList); item= new TabItem(folder, SWT.NONE); item.setText(NewWizardMessages.getString("BuildPathsBlock.tab.order")); item.setImage(cpoImage); item.setData(ordpage); item.setControl(ordpage.getControl(folder)); if (fCur...
3,471
Bug 3471 Leading '/' in src page of Java wizard is misleading (1G842TH)
1. create new java project "jp" with Create Java Project wizard. 2. in wizard goto second ("Source") page Observe: the Build Output Folder is "/jp/bin" Since this looks like a Unix pathname I interpret the leading "/" as an indication for a absolute pathname. Other tools use something like: {WORKBENCH}/jp/bin or shell ...
resolved wontfix
d8eedf7
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-11-12T18:21:09Z
2001-10-11T03:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/BuildPathsBlock.java
} private Shell getShell() { if (fSWTWidget != null) { return fSWTWidget.getShell(); } return JavaPlugin.getActiveWorkbenchShell(); } /** * Initializes the classpath for the given project. Multiple calls to init are allowed, * but all existing settings will be cleared and replace by the given or d...
3,471
Bug 3471 Leading '/' in src page of Java wizard is misleading (1G842TH)
1. create new java project "jp" with Create Java Project wizard. 2. in wizard goto second ("Source") page Observe: the Build Output Folder is "/jp/bin" Since this looks like a Unix pathname I interpret the leading "/" as an indication for a absolute pathname. Other tools use something like: {WORKBENCH}/jp/bin or shell ...
resolved wontfix
d8eedf7
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-11-12T18:21:09Z
2001-10-11T03:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/BuildPathsBlock.java
} if (classpathEntries == null) { classpathEntries= fCurrJProject.getRawClasspath(); } } } catch (CoreException e) { JavaPlugin.log(e.getStatus()); } if (outputLocation == null) { outputLocation= getDefaultBuildPath(jproject); } List newClassPath; if (classpathEntries == null) { ...
3,471
Bug 3471 Leading '/' in src page of Java wizard is misleading (1G842TH)
1. create new java project "jp" with Create Java Project wizard. 2. in wizard goto second ("Source") page Observe: the Build Output Folder is "/jp/bin" Since this looks like a Unix pathname I interpret the leading "/" as an indication for a absolute pathname. Other tools use something like: {WORKBENCH}/jp/bin or shell ...
resolved wontfix
d8eedf7
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-11-12T18:21:09Z
2001-10-11T03:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/BuildPathsBlock.java
} } else { IPath resolvedPath= JavaCore.getResolvedVariablePath(path); isMissing= (resolvedPath == null) || !resolvedPath.toFile().isFile(); } CPListElement elem= new CPListElement(entryKind, path, res, curr.getSourceAttachmentPath(), curr.getSourceAttachmentRootPath(), isExported); ...
3,471
Bug 3471 Leading '/' in src page of Java wizard is misleading (1G842TH)
1. create new java project "jp" with Create Java Project wizard. 2. in wizard goto second ("Source") page Observe: the Build Output Folder is "/jp/bin" Since this looks like a Unix pathname I interpret the leading "/" as an indication for a absolute pathname. Other tools use something like: {WORKBENCH}/jp/bin or shell ...
resolved wontfix
d8eedf7
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-11-12T18:21:09Z
2001-10-11T03:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/BuildPathsBlock.java
doStatusLineUpdate(); } /** * Returns the Java project. Can return <code>null<code> if the page has not * been initialized. */ public IJavaProject getJavaProject() { return fCurrJProject; } /** * Returns the current output location. Note that the path returned must not be valid. */ public IP...
3,471
Bug 3471 Leading '/' in src page of Java wizard is misleading (1G842TH)
1. create new java project "jp" with Create Java Project wizard. 2. in wizard goto second ("Source") page Observe: the Build Output Folder is "/jp/bin" Since this looks like a Unix pathname I interpret the leading "/" as an indication for a absolute pathname. Other tools use something like: {WORKBENCH}/jp/bin or shell ...
resolved wontfix
d8eedf7
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-11-12T18:21:09Z
2001-10-11T03:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/BuildPathsBlock.java
} return entries; } private List getDefaultClassPath(IJavaProject jproj) { List list= new ArrayList(); IResource srcFolder; if (JavaBasePreferencePage.useSrcAndBinFolders()) { srcFolder= jproj.getProject().getFolder("src"); } else { srcFolder= jproj.getProject(); } list.add(new CPListEle...
3,471
Bug 3471 Leading '/' in src page of Java wizard is misleading (1G842TH)
1. create new java project "jp" with Create Java Project wizard. 2. in wizard goto second ("Source") page Observe: the Build Output Folder is "/jp/bin" Since this looks like a Unix pathname I interpret the leading "/" as an indication for a absolute pathname. Other tools use something like: {WORKBENCH}/jp/bin or shell ...
resolved wontfix
d8eedf7
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-11-12T18:21:09Z
2001-10-11T03:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/BuildPathsBlock.java
} private class BuildPathAdapter implements IStringButtonAdapter, IDialogFieldListener { public void changeControlPressed(DialogField field) { buildPathChangeControlPressed(field); } public void dialogFieldChanged(DialogField field) { buildPathDialogFieldChanged(field); } } private void ...
3,471
Bug 3471 Leading '/' in src page of Java wizard is misleading (1G842TH)
1. create new java project "jp" with Create Java Project wizard. 2. in wizard goto second ("Source") page Observe: the Build Output Folder is "/jp/bin" Since this looks like a Unix pathname I interpret the leading "/" as an indication for a absolute pathname. Other tools use something like: {WORKBENCH}/jp/bin or shell ...
resolved wontfix
d8eedf7
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-11-12T18:21:09Z
2001-10-11T03:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/BuildPathsBlock.java
doStatusLineUpdate(); } private void doStatusLineUpdate() { IStatus res= findMostSevereStatus(); fContext.statusChanged(res); } private IStatus findMostSevereStatus() { return StatusUtil.getMoreSevere(fClassPathStatus, fBuildPathStatus); } /** * Validates the build path. */ private void ...
3,471
Bug 3471 Leading '/' in src page of Java wizard is misleading (1G842TH)
1. create new java project "jp" with Create Java Project wizard. 2. in wizard goto second ("Source") page Observe: the Build Output Folder is "/jp/bin" Since this looks like a Unix pathname I interpret the leading "/" as an indication for a absolute pathname. Other tools use something like: {WORKBENCH}/jp/bin or shell ...
resolved wontfix
d8eedf7
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-11-12T18:21:09Z
2001-10-11T03:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/BuildPathsBlock.java
if (!isChecked) { fClassPathList.setCheckedWithoutUpdate(currElement, true); } } else { currElement.setExported(isChecked); } entries[i]= currElement.getClasspathEntry(); entryMissing= entryMissing || currElement.isMissing(); } if (entryMissing) { fClassPathStatus.setWarning(NewW...
3,471
Bug 3471 Leading '/' in src page of Java wizard is misleading (1G842TH)
1. create new java project "jp" with Create Java Project wizard. 2. in wizard goto second ("Source") page Observe: the Build Output Folder is "/jp/bin" Since this looks like a Unix pathname I interpret the leading "/" as an indication for a absolute pathname. Other tools use something like: {WORKBENCH}/jp/bin or shell ...
resolved wontfix
d8eedf7
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-11-12T18:21:09Z
2001-10-11T03:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/BuildPathsBlock.java
IResource res= fWorkspaceRoot.findMember(path); if (res != null) { if (res.getType() == IResource.FILE) { fBuildPathStatus.setError(NewWizardMessages.getString("BuildPathsBlock.error.InvalidBuildPath")); return; } } else { IPath projPath= path.uptoSegment(1); if (!projPath.equals(fCurrJ...
3,471
Bug 3471 Leading '/' in src page of Java wizard is misleading (1G842TH)
1. create new java project "jp" with Create Java Project wizard. 2. in wizard goto second ("Source") page Observe: the Build Output Folder is "/jp/bin" Since this looks like a Unix pathname I interpret the leading "/" as an indication for a absolute pathname. Other tools use something like: {WORKBENCH}/jp/bin or shell ...
resolved wontfix
d8eedf7
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2001-11-12T18:21:09Z
2001-10-11T03:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/BuildPathsBlock.java
if (!status.isOK()) { fBuildPathStatus.setError(status.getMessage()); return; } fBuildPathStatus.setOK(); } /** * Creates a runnable that sets the configured build paths. */ public IRunnableWithProgress getRunnable() { final List classPathEntries= fClassPathList.getElements(); final IPat...