Package ghidra.app.cmd.module
Class RenameTreeCmd
java.lang.Object
ghidra.app.cmd.module.RenameTreeCmd
- All Implemented Interfaces:
Command
Command to rename a tree in a program; this does not affect
the root module of the tree.
-
Constructor Summary
ConstructorsConstructorDescriptionRenameTreeCmd
(String oldName, String newName) Constructor for RenameTreeCmd. -
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
-
RenameTreeCmd
Constructor for RenameTreeCmd.- Parameters:
oldName
- old name of the treenewName
- new name of the tree
-
-
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.
-