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
ConstructorsConstructorDescriptionRenameDataFieldCmd(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: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<Program>- Returns:
- reason for failure, or null if the status of the command was successful
-
getName
Description copied from interface:CommandReturns the name of this command.
-