public class FileDragDropPlugin extends AbstractUiPlugIn implements java.awt.dnd.DropTargetListener
Modifier and Type | Field and Description |
---|---|
static java.util.Set<java.lang.String> |
PROJECT_EXTENSIONS |
enableCheck, workbenchContext
shortcutKeys, shortcutModifiers
Constructor and Description |
---|
FileDragDropPlugin() |
Modifier and Type | Method and Description |
---|---|
void |
dragEnter(java.awt.dnd.DropTargetDragEvent event) |
void |
dragExit(java.awt.dnd.DropTargetEvent event) |
void |
dragOver(java.awt.dnd.DropTargetDragEvent event) |
void |
drop(java.awt.dnd.DropTargetDropEvent event) |
void |
dropActionChanged(java.awt.dnd.DropTargetDragEvent event) |
void |
initialize(PlugInContext context)
Initialise plug-in.
|
actionPerformed, execute, getEnableCheck, getIcon, getName, getToolTip, isRollingBackInvalidEdits, reportNothingToUndoYet, setWorkbenchContext
addParameter, createName, execute, execute, fetchShortcutEnabledPlugins, getBooleanParam, getDoubleParam, getEnableCheck, getIcon, getIcon, getIntegerParam, getParameter, getParameters, getShortcutKeys, getShortcutKeyStroke, getShortcutModifiers, getStringParam, isShortcutEnabled, registerShortcuts, setParameters, setShortcutKeys, setShortcutModifiers, toActionListener, toString
public static final java.util.Set<java.lang.String> PROJECT_EXTENSIONS
public void initialize(PlugInContext context) throws java.lang.Exception
initialize
in interface PlugIn
initialize
in class AbstractUiPlugIn
context
- The plug-in context.java.lang.Exception
- If there was an error initialising the plug-in.public void dragEnter(java.awt.dnd.DropTargetDragEvent event)
dragEnter
in interface java.awt.dnd.DropTargetListener
public void dragExit(java.awt.dnd.DropTargetEvent event)
dragExit
in interface java.awt.dnd.DropTargetListener
public void dragOver(java.awt.dnd.DropTargetDragEvent event)
dragOver
in interface java.awt.dnd.DropTargetListener
public void drop(java.awt.dnd.DropTargetDropEvent event)
drop
in interface java.awt.dnd.DropTargetListener
public void dropActionChanged(java.awt.dnd.DropTargetDragEvent event)
dropActionChanged
in interface java.awt.dnd.DropTargetListener