Package com.iizigo.text.prop
Class ValidateKStringPropSubOperation
java.lang.Object
com.iizigo.text.prop.ValidateKStringPropSubOperation
- All Implemented Interfaces:
IComplexSubOperation
Sub operation for rename property.
- Author:
- Christopher Mindus
Constructor Summary
ConstructorDescriptionValidateKStringPropSubOperation
(ContainerParticipant cnr, KStringProp prop, boolean on) Validates or invalidates a KStringStringProp sub operation.Method Summary
Modifier and TypeMethodDescriptionvoid
redo
(ComplexOperation oper) Redoes the operation.toString()
Formats to string.void
undo
(ComplexOperation oper) Undoes the operation.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.iizigo.editor.complex.IComplexSubOperation
canRedo, canUndo
Constructor Details
ValidateKStringPropSubOperation
Validates or invalidates a KStringStringProp sub operation.- Parameters:
cnr
- The target container.prop
- The property to validate or invalidate.on
- Validation flag.
Method Details
undo
Undoes the operation.- Specified by:
undo
in interfaceIComplexSubOperation
- Throws:
PropException
- For property errors.
redo
Redoes the operation.- Specified by:
redo
in interfaceIComplexSubOperation
- Throws:
PropException
- For property errors.
toString
Formats to string.