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 StringNULL_INDICATOR -
Constructor Summary
Constructors Constructor Description ModulesDropHandler() -
Method Summary
Modifier and Type Method Description booleanaccepts(IScriptEngine scriptEngine, Object element)Verify that object can be handled.voidperformDrop(IScriptEngine scriptEngine, Object element)Perform the drop action.voidperformDrop(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:IShellDropHandlerVerify that object can be handled.- Specified by:
acceptsin interfaceIShellDropHandler- Parameters:
scriptEngine- script engine to execute drop actionelement- element to be dropped- Returns:
truewhen element can be handled
-
performDrop
Description copied from interface:IShellDropHandlerPerform the drop action.- Specified by:
performDropin interfaceIShellDropHandler- Parameters:
scriptEngine- script engine to execute drop actionelement- element to be dropped
-
performDrop
Description copied from interface:IShellDropHandlerPerform the drop action.- Specified by:
performDropin 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
-