Package com.iizigo.editor.complex
Interface IComplexSubOperation
- All Known Implementing Classes:
ValidateKStringPropSubOperation
public interface IComplexSubOperation
Interface for all sub-operations in the complex operation.- Author:
- Christopher Mindus
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default boolean
canRedo(ComplexOperation oper)
Checks for undo possible.default boolean
canUndo(ComplexOperation oper)
Checks for undo possible.void
redo(ComplexOperation oper)
Redoes the operation.void
undo(ComplexOperation oper)
Undoes the operation.
Method Detail
undo
void undo(ComplexOperation oper) throws PropException
Undoes the operation.- Throws:
PropException
- For property errors.
redo
void redo(ComplexOperation oper) throws PropException
Redoes the operation.- Throws:
PropException
- For property errors.
canUndo
default boolean canUndo(ComplexOperation oper) throws PropException
Checks for undo possible.- Throws:
PropException
- For property errors.
canRedo
default boolean canRedo(ComplexOperation oper) throws PropException
Checks for undo possible.- Throws:
PropException
- For property errors.