Class FileOpenDropHandler

java.lang.Object
ghidra.app.util.FileOpenDropHandler
All Implemented Interfaces:
Droppable, DropTargetHandler, ContainerListener, EventListener

public class FileOpenDropHandler extends Object implements DropTargetHandler, Droppable, ContainerListener
Handles drag/drop events on a given component such that a file dropped on the component from the front end tool will cause that file to be opened. Properly handles drop events with child components and listens for components being added/removed in order to properly support drag/drop with all components.
  • Constructor Details

    • FileOpenDropHandler

      public FileOpenDropHandler(PluginTool tool, Component component)
      Construct a new FileOpenDropHandler.
      Parameters:
      tool - plugin tool
      component - component that is the drop target
  • Method Details