|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IValidationStateUpdater
Allows to update the violations for a given validation state (and thus for a given diagram).
Violations may be updated using addViolation(ViolationDescriptor)
and #removeViolation(ViolationDescriptor)
methods.
commitChanges()
method should be used to commit the updated state
and notify the listeners about the update. If changes are invalid for some reason, discardChanges()
method
may be used to revert all the changes and invalidate the updater.
ValidationState#startUpdate(boolean)
Method Summary | |
---|---|
void |
addViolation(ViolationDescriptor violation)
|
void |
commitChanges()
Completes the update and reports changes. |
void |
discardChanges()
Reverts all the changes. |
Method Detail |
---|
void addViolation(ViolationDescriptor violation)
void commitChanges()
void discardChanges()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |