blob: 09d7732357d5df802d6b37c2762746545a615a7a [file] [log] [blame]
h2. Model Validation
h3. 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
h3. Validations
Validations have to implement the IValidation interface. Additional information is specified with annotations:
* @Validation
Example:
!../pictures/validation/code_validation_1.png!
h3. Profiles
Profiles have to implement the IProfile interface. Details are specified with the following annotations:
* @Profile
* @ProfileGroup
* @ValidationGroup
Example:
!../pictures/validation/code_profile_1.png!
!../pictures/validation/code_profile_2.png!