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

public abstract class AbstractFileDropHandler extends AbstractModuleDropHandler
Helper class for file drop handler. Accepts files with certain file extensions and allows to encode their path.
  • Constructor Details

    • AbstractFileDropHandler

      public AbstractFileDropHandler()
  • Method Details

    • accepts

      public boolean accepts(IScriptEngine scriptEngine, Object element)
      Description copied from interface: IShellDropHandler
      Verify that object can be handled.
      Parameters:
      scriptEngine - script engine to execute drop action
      element - element to be dropped
      Returns:
      true when element can be handled