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