Model Validation
Validation framework
APP4MC contains a flexible framework based on standard EMF validations.
The main plugins:
- org.eclipse.app4mc.validation.core
- Basic interfaces and helper classes to organize and execute validations.
- org.eclipse.app4mc.validation.ui
- User interface components: profile selection dialog, marker helper.
- org.eclipse.app4mc.amalthea.validations
- AMALTHEA standard profile and validations
Validations
Validations have to implement the IValidation interface. Additional information is specified with annotations:
Example:
Profiles
Profiles have to implement the IProfile interface. Details are specified with the following annotations:
- @Profile
- @ProfileGroup
- @ValidationGroup
Example: