Package ghidra.app.cmd.module
Class MergeFolderCmd
java.lang.Object
ghidra.app.cmd.module.MergeFolderCmd
- All Implemented Interfaces:
Command
Command to merge a Folder with its Parent folder. Immediate children of
the folder are moved to its parent.
-
Constructor Summary
ConstructorsConstructorDescriptionMergeFolderCmd
(String treeName, String folderName, String parentName) Construct a new command. -
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
-
MergeFolderCmd
Construct a new command.- Parameters:
treeName
- name of the tree that this command affectsfolderName
- name of the folder (module) that is being merged in with its parentparentName
- name of the parent that will end up with children of the folder named folderName
-
-
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
-
getName
Description copied from interface:Command
Returns the name of this command.
-