Package org.exbin.bined.operation.swing
Class RemoveDataOperation
- java.lang.Object
-
- org.exbin.bined.operation.swing.CodeAreaOperation
-
- org.exbin.bined.operation.swing.RemoveDataOperation
-
- All Implemented Interfaces:
org.exbin.bined.operation.BinaryDataOperation
@ParametersAreNonnullByDefault public class RemoveDataOperation extends CodeAreaOperation
Operation for deleting child block.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.exbin.bined.operation.swing.CodeAreaOperation
CodeAreaOperation.ExecutionType
-
-
Field Summary
-
Fields inherited from class org.exbin.bined.operation.swing.CodeAreaOperation
backPosition, codeArea
-
-
Constructor Summary
Constructors Constructor Description RemoveDataOperation(org.exbin.bined.swing.CodeAreaCore codeArea, long position, int codeOffset, long length)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecute()Performs operation on given document.CodeAreaOperationexecuteWithUndo()Performs operation on given document and returns undo operation.CodeAreaOperationTypegetType()Returns type of the operation.-
Methods inherited from class org.exbin.bined.operation.swing.CodeAreaOperation
dispose, execute, getBackPosition, getCaption, getCodeArea, setBackPosition
-
-
-
-
Method Detail
-
getType
@Nonnull public CodeAreaOperationType getType()
Description copied from class:CodeAreaOperationReturns type of the operation.- Specified by:
getTypein classCodeAreaOperation- Returns:
- operation type
-
execute
public void execute() throws org.exbin.bined.operation.BinaryDataOperationExceptionDescription copied from class:CodeAreaOperationPerforms operation on given document.- Specified by:
executein interfaceorg.exbin.bined.operation.BinaryDataOperation- Overrides:
executein classCodeAreaOperation- Throws:
org.exbin.bined.operation.BinaryDataOperationException- for operation handling issues
-
executeWithUndo
@Nullable public CodeAreaOperation executeWithUndo() throws org.exbin.bined.operation.BinaryDataOperationException
Description copied from class:CodeAreaOperationPerforms operation on given document and returns undo operation.- Specified by:
executeWithUndoin interfaceorg.exbin.bined.operation.BinaryDataOperation- Overrides:
executeWithUndoin classCodeAreaOperation- Returns:
- undo operation or null if not available
- Throws:
org.exbin.bined.operation.BinaryDataOperationException- for operation handling issues
-
-