public class InsertDataCommand extends OpCodeAreaCommand
operation, operationPerformed
codeArea
Constructor and Description |
---|
InsertDataCommand(org.exbin.deltahex.swing.CodeArea codeArea,
long position,
org.exbin.utils.binary_data.EditableBinaryData data) |
Modifier and Type | Method and Description |
---|---|
CodeAreaCommandType |
getType()
Returns type of the command.
|
void |
redo() |
void |
undo() |
canUndo, dispose, getOperation, setOperation
getCaption
public InsertDataCommand(org.exbin.deltahex.swing.CodeArea codeArea, long position, org.exbin.utils.binary_data.EditableBinaryData data)
public CodeAreaCommandType getType()
CodeAreaCommand
getType
in class CodeAreaCommand
public void redo() throws org.exbin.deltahex.operation.BinaryDataOperationException
redo
in interface org.exbin.deltahex.operation.BinaryDataCommand
redo
in class OpCodeAreaCommand
org.exbin.deltahex.operation.BinaryDataOperationException
public void undo() throws org.exbin.deltahex.operation.BinaryDataOperationException
undo
in interface org.exbin.deltahex.operation.BinaryDataCommand
undo
in class OpCodeAreaCommand
org.exbin.deltahex.operation.BinaryDataOperationException