Class EditDataCommand
- java.lang.Object
-
- org.exbin.bined.operation.BinaryDataAbstractCommand
-
- org.exbin.bined.operation.swing.command.CodeAreaCommand
-
- org.exbin.bined.operation.swing.command.EditDataCommand
-
- All Implemented Interfaces:
org.exbin.bined.operation.BinaryDataCommand
- Direct Known Subclasses:
EditCodeDataCommand,EditCharDataCommand
@ParametersAreNonnullByDefault public abstract class EditDataCommand extends CodeAreaCommand
Command for editing data in text mode.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classEditDataCommand.EditCommandType
-
Field Summary
-
Fields inherited from class org.exbin.bined.operation.swing.command.CodeAreaCommand
codeArea
-
-
Constructor Summary
Constructors Constructor Description EditDataCommand(org.exbin.bined.swing.CodeAreaCore codeArea)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description booleancanUndo()abstract EditDataCommand.EditCommandTypegetCommandType()CodeAreaCommandTypegetType()Returns type of the command.abstract booleanwasReverted()Returns true if command was already used for undo action.-
Methods inherited from class org.exbin.bined.operation.swing.command.CodeAreaCommand
getCaption
-
Methods inherited from class org.exbin.bined.operation.BinaryDataAbstractCommand
dispose, execute, getExecutionTime, use
-
-
-
-
Method Detail
-
getType
@Nonnull public CodeAreaCommandType getType()
Description copied from class:CodeAreaCommandReturns type of the command.- Specified by:
getTypein classCodeAreaCommand- Returns:
- command type
-
canUndo
public boolean canUndo()
-
getCommandType
@Nonnull public abstract EditDataCommand.EditCommandType getCommandType()
-
wasReverted
public abstract boolean wasReverted()
Returns true if command was already used for undo action.- Returns:
- true if undo step performed
-
-