public class ModifyDataOperation extends CodeAreaOperation
codeArea
Constructor and Description |
---|
ModifyDataOperation(org.exbin.deltahex.swing.CodeArea codeArea,
long position,
org.exbin.utils.binary_data.BinaryData data) |
Modifier and Type | Method and Description |
---|---|
void |
appendData(org.exbin.utils.binary_data.BinaryData appendData) |
void |
dispose()
Performs dispose of the operation.
|
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.
|
getCaption, getCodeArea
public ModifyDataOperation(org.exbin.deltahex.swing.CodeArea codeArea, long position, org.exbin.utils.binary_data.BinaryData data)
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 issuespublic void appendData(org.exbin.utils.binary_data.BinaryData appendData)
public void dispose() throws org.exbin.deltahex.operation.BinaryDataOperationException
CodeAreaOperation
dispose
in interface org.exbin.deltahex.operation.BinaryDataOperation
dispose
in class CodeAreaOperation
org.exbin.deltahex.operation.BinaryDataOperationException
- for operation handling issues