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 boolean
applyTo(DomainObject obj)
PUBLIC METHODSjava.lang.String
getName()
Returns the name of this command.java.lang.String
getStatusMsg()
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:Command
Returns the name of this command.
-
getStatusMsg
public java.lang.String 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
-
-