Package ghidra.app.cmd.refs
Class AddExternalNameCmd
java.lang.Object
ghidra.app.cmd.refs.AddExternalNameCmd
- All Implemented Interfaces:
Command
Command to update the name for an external program.
-
Constructor Summary
ConstructorsConstructorDescriptionAddExternalNameCmd(String name, SourceType source) Constructs a new command for adding 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
-
AddExternalNameCmd
Constructs a new command for adding the name of an external program.- Parameters:
name- 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.
-