Package ghidra.app.cmd.data
Class AbstractCreateStructureCmd
java.lang.Object
ghidra.app.cmd.data.AbstractCreateStructureCmd
- Direct Known Subclasses:
CreateStructureCmd
,CreateStructureInStructureCmd
A base class to hold duplicate information for commands that create
structures. This class implements the logic of the
applyTo(Program)
method so that child implementations need
only to implement the abstract methods.-
Method Summary
Modifier and TypeMethodDescriptionboolean
Applies the command to the given domain object.getName()
Returns the name of this command.Get the new structure data type which was created.Returns the status message indicating the status of the command.
-
Method Details
-
applyTo
Description copied from interface:Command
Applies the command to the given domain object. -
getNewDataType
Get the new structure data type which was created.- Returns:
- new structure.
-
getStatusMsg
Description copied from interface:Command
Returns the status message indicating the status of the command.- Specified by:
getStatusMsg
in interfaceCommand<Program>
- Returns:
- reason for failure, or null if the status of the command was successful
-
getName
Description copied from interface:Command
Returns the name of this command.
-