Package com.iizigo.editor.complex
Interface IComplexSubOperation
- All Known Implementing Classes:
ValidateKStringPropSubOperation
public interface IComplexSubOperationInterface 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 booleancanRedo(ComplexOperation oper)Checks for undo possible.default booleancanUndo(ComplexOperation oper)Checks for undo possible.voidredo(ComplexOperation oper)Redoes the operation.voidundo(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.