Package ghidra.app.cmd.function
Class CreateFunctionTagCmd
- java.lang.Object
-
- ghidra.app.cmd.function.CreateFunctionTagCmd
-
-
Constructor Summary
Constructors Constructor Description CreateFunctionTagCmd(java.lang.String name)Constructor.CreateFunctionTagCmd(java.lang.String name, java.lang.String comment)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanapplyTo(DomainObject obj)PUBLIC METHODSjava.lang.StringgetName()Returns the name of this command.java.lang.StringgetStatusMsg()Returns the status message indicating the status of the command.
-
-
-
Constructor Detail
-
CreateFunctionTagCmd
public CreateFunctionTagCmd(java.lang.String name)
Constructor.- Parameters:
name- the name of the new tag
-
CreateFunctionTagCmd
public CreateFunctionTagCmd(java.lang.String name, java.lang.String comment)Constructor.- Parameters:
name- the name of the new tagcomment- the tag comment
-
-
Method Detail
-
applyTo
public boolean applyTo(DomainObject obj)
PUBLIC METHODS
-
getName
public java.lang.String getName()
Description copied from interface:CommandReturns the name of this command.
-
getStatusMsg
public java.lang.String 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
-
-