Class InsertDataCommand

  • All Implemented Interfaces:
    org.exbin.bined.operation.BinaryDataCommand

    @ParametersAreNonnullByDefault
    public class InsertDataCommand
    extends OpCodeAreaCommand
    Command for inserting data.
    • Constructor Detail

      • InsertDataCommand

        public InsertDataCommand​(org.exbin.bined.swing.CodeAreaCore codeArea,
                                 long position,
                                 org.exbin.auxiliary.paged_data.EditableBinaryData data)
    • Method Detail

      • redo

        public void redo()
                  throws org.exbin.bined.operation.BinaryDataOperationException
        Specified by:
        redo in interface org.exbin.bined.operation.BinaryDataCommand
        Overrides:
        redo in class OpCodeAreaCommand
        Throws:
        org.exbin.bined.operation.BinaryDataOperationException
      • undo

        public void undo()
                  throws org.exbin.bined.operation.BinaryDataOperationException
        Specified by:
        undo in interface org.exbin.bined.operation.BinaryDataCommand
        Overrides:
        undo in class OpCodeAreaCommand
        Throws:
        org.exbin.bined.operation.BinaryDataOperationException