Package ghidra.app.cmd.module
Class CreateFragmentCmd
java.lang.Object
ghidra.app.cmd.module.CreateFragmentCmd
Command to create a Fragment.
-
Constructor Summary
ConstructorsConstructorDescriptionCreateFragmentCmd(String treeName, String name, String parentName) Construct a new CreateFragmentCmd. -
Method Summary
-
Constructor Details
-
CreateFragmentCmd
Construct a new CreateFragmentCmd.- Parameters:
treeName- name of the tree where the fragment will residename- name of the new FragmentparentName- name of the module that is the parent of the fragment
-
-
Method Details
-
applyTo
Apply the command; if the name already exists, then the fragment will not be created. -
getStatusMsg
Description copied from interface:CommandReturns the status message indicating the status of the command.- Specified by:
getStatusMsgin interfaceCommand<Program>- Returns:
- reason for failure, or null if the status of the command was successful
-
getName
Description copied from interface:CommandReturns the name of this command.
-