public class UMLProfileConstraintProvider extends LoadableConstraintProvider
Pending improvement of the EMFv API:
Two ConstraintProviders should be specified for the one Category for the org.eclipse.emf.validation.constraintProviders extension point.
The first ConstraintProvider default-classed XmlConstraintProvider may have a single placeholder constraint that provides the initial content of the Model Validation Constraints Preference page.
The second ConstraintProvider deriving from LoadableConstraintProvider should have a Path-languaged constraint with an XML path parameter locating the model source of the loadable constraints. These will be loaded by the first validation run and repopulate the Preference page with their content.
See org.eclipse.ocl.examples.xtext.tests/plugin.xml for an example.
|Constructor and Description|
Copyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.