Package ghidra.app.cmd.module
Class SubroutineModelCmd
Command that organizes a Module or Fragment according to a specified block
model. This organization produces a "flat" (single layer) partitioning.
- See Also:
-
Constructor Summary
ConstructorDescriptionSubroutineModelCmd
(GroupPath groupPath, String treeName, BlockModelService blockModelService, String modelName) Constructor -
Method Summary
Modifier and TypeMethodDescriptionboolean
applyTo
(Program program, TaskMonitor monitor) Method called when this command is to apply changes to the given domain object.void
setPluginTool
(PluginTool tool) Methods inherited from class ghidra.framework.cmd.BackgroundCommand
applyTo, canCancel, dispose, getName, getStatusMsg, hasProgress, isModal, run, setStatusMsg, taskCompleted, toString
-
Constructor Details
-
SubroutineModelCmd
public SubroutineModelCmd(GroupPath groupPath, String treeName, BlockModelService blockModelService, String modelName) Constructor- Parameters:
groupPath
- group path of the affected Module or FragmenttreeName
- name of the tree where group existsblockModelService
- service that has the known block modelsmodelName
- name of the model to use
-
-
Method Details
-
applyTo
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<Program>
- Parameters:
program
- domain object that will be affected by the commandmonitor
- monitor to show progress of the command- Returns:
- true if the command applied successfully
-
setPluginTool
-