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
FieldsModifier and TypeFieldDescriptionstatic DataFlavorDataFlavor that it is an ArrayList of CodeUnitInfo objects. -
Constructor Summary
ConstructorsConstructorDescriptionConstruct a new CodeUnitTransferable. -
Method Summary
Modifier and TypeMethodDescriptionReturn the transfer data with the given data flavor.Return all data flavors that this class supports.booleanReturn whether the specified data flavor is supported.voidlostOwnership(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:
getTransferDataFlavorsin interfaceTransferable
-
isDataFlavorSupported
Return whether the specified data flavor is supported.- Specified by:
isDataFlavorSupportedin interfaceTransferable
-
getTransferData
Return the transfer data with the given data flavor.- Specified by:
getTransferDatain interfaceTransferable- Throws:
UnsupportedFlavorExceptionIOException
-
toString
Get the string representation for this transferable. -
lostOwnership
- Specified by:
lostOwnershipin interfaceClipboardOwner
-