blob: 3317c04ea5e68ede28be9f159ba81a454f3b0f2a [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.2"?>
<plugin>
<extension point="org.eclipse.emf.validation.constraintProviders">
<category
id="org.eclipse.papyrus.designer.validation.constraints/org.eclipse.papyrus.designer.deployment.validation.constraints"
name="Transformation and deployment related validation rules">
<![CDATA[Transformation and deployment related validation rules]]>
</category>
<constraintProvider mode="Batch">
<package namespaceUri="http://www.eclipse.org/uml2/4.0.0/UML"/>
<package namespaceUri="http://www.eclipse.org/uml2/5.0.0/UML"/>
<constraints
categories="org.eclipse.papyrus.designer.validation.constraints/org.eclipse.papyrus.designer.deployment.validation.constraints">
<constraint
class="org.eclipse.papyrus.designer.deployment.validation.constraints.InstanceSpecificationSlotForAllProperties"
id="org.eclipse.papyrus.designer.deployment.validation.constraints.InstanceSpecificationSlotForAllProperties_ID"
lang="Java"
mode="Batch"
name="Do instances cover all configuration properties?"
severity="WARNING"
statusCode="1">
<message>
&quot;Designer: {0}&quot;
</message>
<description>
Is there a slot for all properties of a component within an instance specification?
</description>
<target
class="InstanceSpecification">
</target>
</constraint>
<constraint
class="org.eclipse.papyrus.designer.deployment.validation.constraints.ConfigurationAttributeNotSet"
id="org.eclipse.papyrus.designer.deployment.validation.constraints.ConfigurationAttributeNotSet_ID"
lang="Java"
mode="Batch"
name="Is there a slot for all configuration properties?"
severity="WARNING"
statusCode="1">
<message>
"Designer: {0}"
</message>
<description>
Check whether configuration attributes have a value in the deployment plans
</description>
<target
class="Slot">
</target>
</constraint>
<constraint
class="org.eclipse.papyrus.designer.deployment.validation.constraints.AggregationKindValid"
id="org.eclipse.papyrus.designer.deployment.validation.constraints.AggregationKindValid_ID"
lang="Java"
mode="Batch"
name="Is aggregation kind consistent with Singleton information?"
severity="WARNING"
statusCode="1">
<message>
&quot;Designer: {0}&quot;
</message>
<description>
Check whether aggregation kind is consistent with singleton information
</description>
<target
class="Property">
</target>
</constraint>
<constraint
class="org.eclipse.papyrus.designer.deployment.validation.constraints.TemplateRefWithoutBinding"
id="org.eclipse.papyrus.designer.components.validation.constraints.TemplateRefWithoutBinding_ID"
lang="Java"
mode="Batch"
name="Is a type from the template signature used outside the template?"
severity="ERROR"
statusCode="1">
<message>
"Designer: {0}"
</message>
<description>
Check whether a template parameter is referenced out of scope
</description>
<target
class="TypedElement">
</target>
</constraint>
</constraints>
</constraintProvider>
</extension>
<extension point="org.eclipse.emf.validation.constraintBindings">
<clientContext
default="false"
id="org.eclipse.papyrus.designer.deployment.validation.context">
<selector class="org.eclipse.papyrus.designer.deployment.validation.ValidationDelegateClientSelector"/>
</clientContext>
<binding context="org.eclipse.papyrus.designer.deployment.validation.context">
<category ref="org.eclipse.papyrus.designer.deployment.validation.constraints"/>
</binding>
</extension>
</plugin>