Package ghidra.app.util
Class CodeUnitInfoTransferable
java.lang.Object
ghidra.app.util.CodeUnitInfoTransferable
- All Implemented Interfaces:
ClipboardOwner
,Transferable
Defines data that is available for drag/drop and clipboard transfers.
The data is an ArrayList of CodeUnitInfo objects.
-
Field Summary
Modifier and TypeFieldDescriptionstatic DataFlavor
DataFlavor that it is an ArrayList of CodeUnitInfo objects. -
Constructor Summary
ConstructorDescriptionConstruct a new CodeUnitTransferable. -
Method Summary
Modifier and TypeMethodDescriptionReturn the transfer data with the given data flavor.Return all data flavors that this class supports.boolean
Return whether the specified data flavor is supported.void
lostOwnership
(Clipboard clipboard, Transferable contents) toString()
Get the string representation for this transferable.
-
Field Details
-
localDataTypeFlavor
DataFlavor that it is an ArrayList of CodeUnitInfo objects.
-
-
Constructor Details
-
CodeUnitInfoTransferable
Construct a new CodeUnitTransferable.- Parameters:
list
- list of CodeUnitInfo objects
-
-
Method Details
-
getTransferDataFlavors
Return all data flavors that this class supports.- Specified by:
getTransferDataFlavors
in interfaceTransferable
-
isDataFlavorSupported
Return whether the specified data flavor is supported.- Specified by:
isDataFlavorSupported
in interfaceTransferable
-
getTransferData
Return the transfer data with the given data flavor.- Specified by:
getTransferData
in interfaceTransferable
- Throws:
UnsupportedFlavorException
IOException
-
toString
Get the string representation for this transferable. -
lostOwnership
- Specified by:
lostOwnership
in interfaceClipboardOwner
-