Package org.eclipse.ease.ui.dnd
Class ResourceDropHandler
java.lang.Object
org.eclipse.ease.ui.dnd.ResourceDropHandler
- All Implemented Interfaces:
IShellDropHandler
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
accepts
(IScriptEngine scriptEngine, Object element) Verify that object can be handled.void
performDrop
(IScriptEngine scriptEngine, Object element) Perform the drop action.Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.eclipse.ease.ui.dnd.IShellDropHandler
performDrop
-
Constructor Details
-
ResourceDropHandler
public ResourceDropHandler()
-
-
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
-