public abstract class OpCodeAreaCommand extends CodeAreaCommand
Modifier and Type | Field and Description |
---|---|
protected CodeAreaOperation |
operation |
protected boolean |
operationPerformed |
codeArea
Constructor and Description |
---|
OpCodeAreaCommand(org.exbin.deltahex.swing.CodeArea codeArea) |
Modifier and Type | Method and Description |
---|---|
boolean |
canUndo() |
void |
dispose() |
CodeAreaOperation |
getOperation() |
void |
redo() |
void |
setOperation(CodeAreaOperation operation) |
void |
undo() |
getCaption, getType
protected CodeAreaOperation operation
protected boolean operationPerformed
public OpCodeAreaCommand(org.exbin.deltahex.swing.CodeArea codeArea)
public CodeAreaOperation getOperation()
public void setOperation(CodeAreaOperation operation)
public boolean canUndo()
public void undo() throws org.exbin.deltahex.operation.BinaryDataOperationException
org.exbin.deltahex.operation.BinaryDataOperationException
public void redo() throws org.exbin.deltahex.operation.BinaryDataOperationException
org.exbin.deltahex.operation.BinaryDataOperationException
public void dispose() throws org.exbin.deltahex.operation.BinaryDataOperationException
dispose
in interface org.exbin.deltahex.operation.BinaryDataCommand
dispose
in class org.exbin.deltahex.operation.BinaryDataAbstractCommand
org.exbin.deltahex.operation.BinaryDataOperationException