Package org.eclipse.ease.ui.dnd
Class ModulesDropHandler
java.lang.Object
org.eclipse.ease.ui.dnd.AbstractModuleDropHandler
org.eclipse.ease.ui.dnd.ModulesDropHandler
- All Implemented Interfaces:
IShellDropHandler
public class ModulesDropHandler extends AbstractModuleDropHandler implements IShellDropHandler
-
Field Summary
Fields Modifier and Type Field Description static String
NULL_INDICATOR
-
Constructor Summary
Constructors Constructor Description ModulesDropHandler()
-
Method Summary
Modifier and Type Method Description boolean
accepts(IScriptEngine scriptEngine, Object element)
Verify that object can be handled.void
performDrop(IScriptEngine scriptEngine, Object element)
Perform the drop action.void
performDrop(IScriptEngine scriptEngine, Object element, int detail)
Perform the drop action.
-
Field Details
-
NULL_INDICATOR
- See Also:
- Constant Field Values
-
-
Constructor Details
-
ModulesDropHandler
public ModulesDropHandler()
-
-
Method Details
-
accepts
Description copied from interface:IShellDropHandler
Verify that object can be handled.- Specified by:
accepts
in interfaceIShellDropHandler
- Parameters:
scriptEngine
- script engine to execute drop actionelement
- element to be dropped- Returns:
true
when element can be handled
-
performDrop
Description copied from interface:IShellDropHandler
Perform the drop action.- Specified by:
performDrop
in interfaceIShellDropHandler
- Parameters:
scriptEngine
- script engine to execute drop actionelement
- element to be dropped
-
performDrop
Description copied from interface:IShellDropHandler
Perform the drop action.- Specified by:
performDrop
in interfaceIShellDropHandler
- Parameters:
scriptEngine
- script engine to execute drop actionelement
- element to be droppeddetail
- the operation being performed, seeDND.DROP_NONE
,DND.DROP_MOVE
,DND.DROP_COPY
,DND.DROP_LINK
,DND.DROP_DEFAULT
-