Package org.eclipse.ease.ui.dnd
Class ResourceDropHandler
java.lang.Object
org.eclipse.ease.ui.dnd.ResourceDropHandler
- All Implemented Interfaces:
IShellDropHandler
public class ResourceDropHandler extends Object implements IShellDropHandler
-
Constructor Summary
Constructors Constructor Description ResourceDropHandler() -
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.Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.eclipse.ease.ui.dnd.IShellDropHandler
performDrop
-
Constructor Details
-
ResourceDropHandler
public ResourceDropHandler()
-
-
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
-