Package org.eclipse.ease.ui.dnd
Class AbstractFileDropHandler
java.lang.Object
org.eclipse.ease.ui.dnd.AbstractModuleDropHandler
org.eclipse.ease.ui.dnd.AbstractFileDropHandler
- All Implemented Interfaces:
IShellDropHandler
- Direct Known Subclasses:
JarDropHandler
Helper class for file drop handler. Accepts files with certain file extensions and allows to encode their path.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
accepts
(IScriptEngine scriptEngine, Object element) Verify that object can be handled.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, performDrop
-
Constructor Details
-
AbstractFileDropHandler
public AbstractFileDropHandler()
-
-
Method Details
-
accepts
Description copied from interface:IShellDropHandler
Verify that object can be handled.- Parameters:
scriptEngine
- script engine to execute drop actionelement
- element to be dropped- Returns:
true
when element can be handled
-