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 TypeMethodDescriptionbooleanapplyTo(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:CommandApplies the command to the given domain object. -
getStatusMsg
Description copied from interface:CommandReturns the status message indicating the status of the command.- Specified by:
getStatusMsgin interfaceCommand- Returns:
- reason for failure, or null if the status of the command was successful
- See Also:
-
getName
Description copied from interface:CommandReturns the name of this command.
-