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 class
EditDataCommand.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 boolean
canUndo()
abstract EditDataCommand.EditCommandType
getCommandType()
CodeAreaCommandType
getType()
Returns type of the command.abstract boolean
wasReverted()
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:CodeAreaCommand
Returns type of the command.- Specified by:
getType
in 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
-
-