Package ghidra.app.cmd.function
Class CaptureFunctionDataTypesCmd
- java.lang.Object
-
- ghidra.framework.cmd.BackgroundCommand
-
- ghidra.app.cmd.function.CaptureFunctionDataTypesCmd
-
- All Implemented Interfaces:
Command
public class CaptureFunctionDataTypesCmd extends BackgroundCommand
Capture all selected function signature data types from the current program and put them in the data type manager.
-
-
Constructor Summary
Constructors Constructor Description CaptureFunctionDataTypesCmd(DataTypeManager dtm, AddressSetView set, CaptureFunctionDataTypesListener listener)
Constructs a new command to create function definition data types in the given data type manager from the function's whose entry points are in the address set.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
applyTo(DomainObject obj, TaskMonitor monitor)
Method called when this command is to apply changes to the given domain object.void
taskCompleted()
Called when the task monitor is completely done with indicating progress.-
Methods inherited from class ghidra.framework.cmd.BackgroundCommand
applyTo, canCancel, dispose, getName, getStatusMsg, hasProgress, isModal, setStatusMsg, toString
-
-
-
-
Constructor Detail
-
CaptureFunctionDataTypesCmd
public CaptureFunctionDataTypesCmd(DataTypeManager dtm, AddressSetView set, CaptureFunctionDataTypesListener listener)
Constructs a new command to create function definition data types in the given data type manager from the function's whose entry points are in the address set.- Parameters:
dtm
- data type manager containing the function signature data typesset
- set of addresses containing the entry points of the functions whose signatures are to be turned into data types.
-
-
Method Detail
-
applyTo
public boolean applyTo(DomainObject obj, TaskMonitor monitor)
Description copied from class:BackgroundCommand
Method called when this command is to apply changes to the given domain object. A monitor is provided to display status information about the command as it executes in the background.- Specified by:
applyTo
in classBackgroundCommand
- Parameters:
obj
- domain object that will be affected by the commandmonitor
- monitor to show progress of the command- Returns:
- true if the command applied successfully
- See Also:
BackgroundCommand.applyTo(ghidra.framework.model.DomainObject, ghidra.util.task.TaskMonitor)
-
taskCompleted
public void taskCompleted()
Description copied from class:BackgroundCommand
Called when the task monitor is completely done with indicating progress.- Overrides:
taskCompleted
in classBackgroundCommand
-
-