Class SetExternalNameCmd
java.lang.Object
ghidra.app.cmd.refs.SetExternalNameCmd
-
Constructor Summary
ConstructorsChangeConstructorDescriptionSetExternalNameCmd(String externalName, String externalPath) Constructs a new command for creating a Library, if it does not exist, and optionally setting the associated external program path.SetExternalNameCmd(String externalName, String externalPath, SourceType source) Constructs a new command for creating a Library, if it does not exist, and optionally setting the associated external program path. -
Method Summary
-
Constructor Details
-
SetExternalNameCmd
Constructs a new command for creating a Library, if it does not exist, and optionally setting the associated external program path. If created, aSourceType.USER_DEFINEDsource will be specified.- Parameters:
externalName- the Library name.externalPath- the project file path of the program file to associate with the Library.
-
SetExternalNameCmd
Constructs a new command for creating a Library, if it does not exist, and optionally setting the associated external program path.- Parameters:
externalName- the Library name.externalPath- the project file path of the program file to associate with the Library.source- the symbol source type to be applied if the library must be created.
-
-
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
-