Package ghidra.app.cmd.data
Class RenameDataFieldCmd
java.lang.Object
ghidra.app.cmd.data.RenameDataFieldCmd
Command to rename a component in a data type.
-
Constructor Summary
ConstructorDescriptionRenameDataFieldCmd
(DataTypeComponent comp, String newName) Construct a new RenameDataFieldCmd. -
Method Summary
-
Constructor Details
-
RenameDataFieldCmd
Construct a new RenameDataFieldCmd.- Parameters:
comp
- component in data type to be renamednewName
- new name for the component
-
-
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<Program>
- Returns:
- reason for failure, or null if the status of the command was successful
-
getName
Description copied from interface:Command
Returns the name of this command.
-