Class FileDragDropPlugin
java.lang.Object
com.vividsolutions.jump.workbench.plugin.AbstractPlugIn
org.openjump.core.ui.plugin.AbstractUiPlugIn
org.openjump.core.ui.plugin.file.FileDragDropPlugin
- All Implemented Interfaces:
EnableChecked, Iconified, PlugIn, Recordable, ShortcutEnabled, DropTargetListener, ActionListener, EventListener
-
Field Summary
FieldsFields inherited from class AbstractUiPlugIn
enableCheck, workbenchContextFields inherited from class AbstractPlugIn
shortcutKeys, shortcutModifiers -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddragEnter(DropTargetDragEvent event) voiddragExit(DropTargetEvent event) voiddragOver(DropTargetDragEvent event) voiddrop(DropTargetDropEvent event) voidvoidinitialize(PlugInContext context) Initialise plug-in.Methods inherited from class AbstractUiPlugIn
actionPerformed, execute, getEnableCheck, getIcon, getName, getToolTip, isRollingBackInvalidEdits, reportNothingToUndoYet, setWorkbenchContextMethods inherited from class AbstractPlugIn
addParameter, createName, execute, execute, getBooleanParam, getContext, getDoubleParam, getIcon, getIcon, getIntegerParam, getParameter, getParameters, getShortcutKeys, getShortcutKeyStroke, getShortcutModifiers, getStringParam, getWorkbenchContext, isShortcutEnabled, setParameters, setShortcutKeys, setShortcutModifiers, toActionListener, toString
-
Field Details
-
PROJECT_EXTENSIONS
-
-
Constructor Details
-
FileDragDropPlugin
public FileDragDropPlugin()
-
-
Method Details
-
initialize
Initialise plug-in.- Specified by:
initializein interfacePlugIn- Overrides:
initializein classAbstractUiPlugIn- Parameters:
context- The plug-in context.- Throws:
Exception- If there was an error initialising the plug-in.
-
dragEnter
- Specified by:
dragEnterin interfaceDropTargetListener
-
dragExit
- Specified by:
dragExitin interfaceDropTargetListener
-
dragOver
- Specified by:
dragOverin interfaceDropTargetListener
-
drop
- Specified by:
dropin interfaceDropTargetListener
-
dropActionChanged
- Specified by:
dropActionChangedin interfaceDropTargetListener
-