Package ghidra.framework.main.datatree
Class JavaFileListHandler
- java.lang.Object
-
- ghidra.framework.main.datatree.JavaFileListHandler
-
- All Implemented Interfaces:
FileOpenDataFlavorHandler
,DataTreeFlavorHandler
public final class JavaFileListHandler extends java.lang.Object implements DataTreeFlavorHandler, FileOpenDataFlavorHandler
A drag-and-drop handler for trees that is specific to List<File>. (seeDataFlavor.javaFileListFlavor
).
-
-
Constructor Summary
Constructors Constructor Description JavaFileListHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
handle(PluginTool tool, DataTree dataTree, GTreeNode destinationNode, java.lang.Object transferData, int dropAction)
void
handle(PluginTool tool, java.lang.Object transferData, java.awt.dnd.DropTargetDropEvent e, java.awt.datatransfer.DataFlavor f)
-
-
-
Method Detail
-
handle
public void handle(PluginTool tool, java.lang.Object transferData, java.awt.dnd.DropTargetDropEvent e, java.awt.datatransfer.DataFlavor f)
- Specified by:
handle
in interfaceFileOpenDataFlavorHandler
-
handle
public void handle(PluginTool tool, DataTree dataTree, GTreeNode destinationNode, java.lang.Object transferData, int dropAction)
- Specified by:
handle
in interfaceDataTreeFlavorHandler
-
-