Package ghidra.app.cmd.refs
Class UpdateExternalNameCmd
java.lang.Object
ghidra.app.cmd.refs.UpdateExternalNameCmd
- All Implemented Interfaces:
Command
Command to update the name for an external program.
-
Constructor Summary
ConstructorsConstructorDescriptionUpdateExternalNameCmd(String oldName, String newName, SourceType source) Constructs a new command for updating the name of an external program. -
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
-
UpdateExternalNameCmd
Constructs a new command for updating the name of an external program.- Parameters:
oldName- the current name of the external program link.newName- the new name to be used for the external program link.source- the source of this external name
-
-
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.
-