public abstract class CodeAreaOperation
extends java.lang.Object
implements org.exbin.deltahex.operation.BinaryDataOperation
Modifier and Type | Field and Description |
---|---|
protected org.exbin.deltahex.swing.CodeArea |
codeArea |
Constructor and Description |
---|
CodeAreaOperation(org.exbin.deltahex.swing.CodeArea codeArea) |
Modifier and Type | Method and Description |
---|---|
void |
dispose()
Performs dispose of the operation.
|
abstract void |
execute()
Performs operation on given document.
|
abstract CodeAreaOperation |
executeWithUndo()
Performs operation on given document and returns undo operation.
|
java.lang.String |
getCaption()
Returns caption as text.
|
org.exbin.deltahex.swing.CodeArea |
getCodeArea() |
abstract CodeAreaOperationType |
getType()
Returns type of the operation.
|
public CodeAreaOperation(org.exbin.deltahex.swing.CodeArea codeArea)
public abstract CodeAreaOperationType getType()
public org.exbin.deltahex.swing.CodeArea getCodeArea()
public java.lang.String getCaption()
getCaption
in interface org.exbin.deltahex.operation.BinaryDataOperation
public abstract void execute() throws org.exbin.deltahex.operation.BinaryDataOperationException
execute
in interface org.exbin.deltahex.operation.BinaryDataOperation
org.exbin.deltahex.operation.BinaryDataOperationException
- for operation handling issuespublic abstract CodeAreaOperation executeWithUndo() throws org.exbin.deltahex.operation.BinaryDataOperationException
executeWithUndo
in interface org.exbin.deltahex.operation.BinaryDataOperation
org.exbin.deltahex.operation.BinaryDataOperationException
- for operation handling issuespublic void dispose() throws org.exbin.deltahex.operation.BinaryDataOperationException
dispose
in interface org.exbin.deltahex.operation.BinaryDataOperation
org.exbin.deltahex.operation.BinaryDataOperationException
- for operation handling issues