public class RemoveDataOperation extends CodeAreaOperation
codeArea
Constructor and Description |
---|
RemoveDataOperation(org.exbin.deltahex.swing.CodeArea codeArea,
long position,
int codeOffset,
long size) |
Modifier and Type | Method and Description |
---|---|
void |
execute()
Performs operation on given document.
|
CodeAreaOperation |
executeWithUndo()
Performs operation on given document and returns undo operation.
|
CodeAreaOperationType |
getType()
Returns type of the operation.
|
dispose, getCaption, getCodeArea
public RemoveDataOperation(org.exbin.deltahex.swing.CodeArea codeArea, long position, int codeOffset, long size)
public CodeAreaOperationType getType()
CodeAreaOperation
getType
in class CodeAreaOperation
public void execute() throws org.exbin.deltahex.operation.BinaryDataOperationException
CodeAreaOperation
execute
in interface org.exbin.deltahex.operation.BinaryDataOperation
execute
in class CodeAreaOperation
org.exbin.deltahex.operation.BinaryDataOperationException
- for operation handling issuespublic CodeAreaOperation executeWithUndo() throws org.exbin.deltahex.operation.BinaryDataOperationException
CodeAreaOperation
executeWithUndo
in interface org.exbin.deltahex.operation.BinaryDataOperation
executeWithUndo
in class CodeAreaOperation
org.exbin.deltahex.operation.BinaryDataOperationException
- for operation handling issues