Package ghidra.app.cmd.module
Class ReorderModuleCmd
java.lang.Object
ghidra.app.cmd.module.ReorderModuleCmd
- All Implemented Interfaces:
Command
Command to reorder children in a module.
-
Constructor Summary
ConstructorsConstructorDescriptionReorderModuleCmd
(String treeName, String parentModuleName, String childName, int index) Constructor for ReorderModuleCmd. -
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
-
ReorderModuleCmd
Constructor for ReorderModuleCmd.- Parameters:
treeName
- tree that contains the parent module identified by the parentModuleNameparentModuleName
- name of the module with the children to reorderchildName
- name of the child to move to the new indexindex
- new index for the child
-
-
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.
-