Package ghidra.app.cmd.data
Class RenameDataFieldCmd
- java.lang.Object
-
- ghidra.app.cmd.data.RenameDataFieldCmd
-
-
Constructor Summary
Constructors Constructor Description RenameDataFieldCmd(DataTypeComponent comp, java.lang.String newName)
Construct a new RenameDataFieldCmd.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
applyTo(DomainObject obj)
Applies the command to the given domain object.java.lang.String
getName()
Returns the name of this command.java.lang.String
getStatusMsg()
Returns the status message indicating the status of the command.
-
-
-
Constructor Detail
-
RenameDataFieldCmd
public RenameDataFieldCmd(DataTypeComponent comp, java.lang.String newName)
Construct a new RenameDataFieldCmd.- Parameters:
comp
- component in data type to be renamednewName
- new name for the component
-
-
Method Detail
-
applyTo
public boolean applyTo(DomainObject obj)
Description copied from interface:Command
Applies the command to the given domain object.
-
getStatusMsg
public java.lang.String 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
-
-