| org.eclipse.ui.views.navigator.NavigatorDropAdapter
NavigatorDropAdapter | public class NavigatorDropAdapter extends PluginDropAdapter implements IOverwriteQuery(Code) | | Implements drop behaviour for drag and drop operations
that land on the resource navigator.
since: 2.0 |
Constructor Summary | |
public | NavigatorDropAdapter(StructuredViewer viewer) Constructs a new drop adapter. |
NavigatorDropAdapter | public NavigatorDropAdapter(StructuredViewer viewer)(Code) | | Constructs a new drop adapter.
Parameters: viewer - the navigator's viewer |
dragEnter | public void dragEnter(DropTargetEvent event)(Code) | | |
performDrop | public boolean performDrop(Object data)(Code) | | Perform the drop.
See Also: org.eclipse.swt.dnd.DropTargetListener.drop(org.eclipse.swt.dnd.DropTargetEvent) |
validateDrop | public boolean validateDrop(Object target, int dragOperation, TransferData transferType)(Code) | | This method is used to notify the action that some aspect of
the drop operation has changed.
|
|
|