Package ghidra.app.cmd.comments
Class CodeUnitInfoPasteCmd
java.lang.Object
ghidra.app.cmd.comments.CodeUnitInfoPasteCmd
Undoable edit for pasting code unit information at a location.
 This class actually does the work of the "paste."
- 
Constructor Summary
ConstructorsConstructorDescriptionCodeUnitInfoPasteCmd(Address startAddr, List<CodeUnitInfo> infoList, boolean pasteLabels, boolean pasteComments) Creates a new command for pasting comments/labels. - 
Method Summary
 
- 
Constructor Details
- 
CodeUnitInfoPasteCmd
public CodeUnitInfoPasteCmd(Address startAddr, List<CodeUnitInfo> infoList, boolean pasteLabels, boolean pasteComments) Creates a new command for pasting comments/labels.- Parameters:
 startAddr- starting address for infoinfoList- list of CodeUnitInfo objects that will be appliedpasteLabels- true if labels should be applied, else falsepasteComments- true if comments should be applied, else false
 
 - 
 - 
Method Details
- 
getName
The name of the edit action. - 
applyTo
Description copied from interface:CommandApplies the command to the given domain object. - 
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
 - See Also:
 
 
 -