Package ghidra.framework.main.datatree
Class LinuxFileUrlHandler
- java.lang.Object
-
- ghidra.framework.main.datatree.LinuxFileUrlHandler
-
- All Implemented Interfaces:
FileOpenDataFlavorHandler
,DataTreeFlavorHandler
public final class LinuxFileUrlHandler extends java.lang.Object implements DataTreeFlavorHandler, FileOpenDataFlavorHandler
A special handler to deal with files dragged from Linux to Ghidra. This class does double duty in that it opens files for DataTrees and for Tools (signaled via the interfaces it implements).
-
-
Constructor Summary
Constructors Constructor Description LinuxFileUrlHandler()
-
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, DataTree dataTree, GTreeNode destinationNode, java.lang.Object transferData, int dropAction)
- Specified by:
handle
in interfaceDataTreeFlavorHandler
-
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
-
-