Package ghidra.app.tablechooser
Interface TableChooserExecutor
-
public interface TableChooserExecutor
The interface clients must implement to use theTableChooserDialog
. This class is the callback that is used to process items from the dialog's table as users select one or more rows in the table and then press the table's "apply" button.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
execute(AddressableRowObject rowObject)
Applies this executors action to the given rowObject.java.lang.String
getButtonName()
A short name suitable for display in the "apply" button that indicates what the "apply" action does.
-
-
-
Method Detail
-
getButtonName
java.lang.String getButtonName()
A short name suitable for display in the "apply" button that indicates what the "apply" action does.- Returns:
- A short name suitable for display in the "apply" button that indicates what the "apply" action does.
-
execute
boolean execute(AddressableRowObject rowObject)
Applies this executors action to the given rowObject. Return true if the given object should be removed from the table.This method call will be wrapped in a transaction so the client does not have to do so. Multiple selected rows will all be processed in a single transaction.
- Parameters:
rowObject
- the AddressRowObject to be executed upon- Returns:
- true if the rowObject should be removed from the table, false otherwise
-
-