Package ghidra.app.cmd.module
Class CreateDefaultTreeCmd
java.lang.Object
ghidra.app.cmd.module.CreateDefaultTreeCmd
- All Implemented Interfaces:
Command
Command to create a root in the program; the root module has
fragments named the same as the memory blocks.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
applyTo
(DomainObject obj) Applies the command to the given domain object.getName()
Returns the name of this command.Returns the status message indicating the status of the command.
-
Constructor Details
-
CreateDefaultTreeCmd
Constructor for CreateDefaultTreeCmd.- Parameters:
treeName
- name of the tree to create
-
-
Method Details
-
applyTo
Description copied from interface:Command
Applies the command to the given domain object. -
getStatusMsg
Description copied from interface:Command
Returns the status message indicating the status of the command.- Specified by:
getStatusMsg
in interfaceCommand
- Returns:
- reason for failure, or null if the status of the command was successful
- See Also:
-
getName
Description copied from interface:Command
Returns the name of this command.
-