Class InsertDataCommand
- java.lang.Object
-
- org.exbin.bined.operation.BinaryDataAbstractCommand
-
- org.exbin.bined.operation.swing.command.CodeAreaCommand
-
- org.exbin.bined.operation.swing.command.OpCodeAreaCommand
-
- org.exbin.bined.operation.swing.command.InsertDataCommand
-
- All Implemented Interfaces:
org.exbin.bined.operation.BinaryDataCommand
@ParametersAreNonnullByDefault public class InsertDataCommand extends OpCodeAreaCommand
Command for inserting data.
-
-
Field Summary
-
Fields inherited from class org.exbin.bined.operation.swing.command.OpCodeAreaCommand
operation, operationPerformed
-
Fields inherited from class org.exbin.bined.operation.swing.command.CodeAreaCommand
codeArea
-
-
Constructor Summary
Constructors Constructor Description InsertDataCommand(org.exbin.bined.swing.CodeAreaCore codeArea, long position, org.exbin.auxiliary.paged_data.EditableBinaryData data)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CodeAreaCommandTypegetType()Returns type of the command.voidredo()voidundo()-
Methods inherited from class org.exbin.bined.operation.swing.command.OpCodeAreaCommand
canUndo, dispose, getOperation, setOperation
-
Methods inherited from class org.exbin.bined.operation.swing.command.CodeAreaCommand
getCaption
-
-
-
-
Method Detail
-
getType
@Nonnull public CodeAreaCommandType getType()
Description copied from class:CodeAreaCommandReturns type of the command.- Specified by:
getTypein classCodeAreaCommand- Returns:
- command type
-
redo
public void redo() throws org.exbin.bined.operation.BinaryDataOperationException- Specified by:
redoin interfaceorg.exbin.bined.operation.BinaryDataCommand- Overrides:
redoin classOpCodeAreaCommand- Throws:
org.exbin.bined.operation.BinaryDataOperationException
-
undo
public void undo() throws org.exbin.bined.operation.BinaryDataOperationException- Specified by:
undoin interfaceorg.exbin.bined.operation.BinaryDataCommand- Overrides:
undoin classOpCodeAreaCommand- Throws:
org.exbin.bined.operation.BinaryDataOperationException
-
-