Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcletavernie2011-11-09 15:13:29 +0000
committercletavernie2011-11-09 15:13:29 +0000
commitb64b63012b1ef2c0d5a7ffd7d6e0df7794311fab (patch)
treebb10db136a7aaa6e5c65fd6db5cce6add3b7f665 /plugins/customization/org.eclipse.papyrus.customization.properties.generation/transforms/profile2datacontext.qvto
parenta05ab388944236edcd11d7af98a844cc71bb313e (diff)
downloadorg.eclipse.papyrus-b64b63012b1ef2c0d5a7ffd7d6e0df7794311fab.tar.gz
org.eclipse.papyrus-b64b63012b1ef2c0d5a7ffd7d6e0df7794311fab.tar.xz
org.eclipse.papyrus-b64b63012b1ef2c0d5a7ffd7d6e0df7794311fab.zip
362162: [Architecture - Refactoring] The plug-ins should be renamed to match their layer's qualified name
https://bugs.eclipse.org/bugs/show_bug.cgi?id=362162
Diffstat (limited to 'plugins/customization/org.eclipse.papyrus.customization.properties.generation/transforms/profile2datacontext.qvto')
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.generation/transforms/profile2datacontext.qvto4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/transforms/profile2datacontext.qvto b/plugins/customization/org.eclipse.papyrus.customization.properties.generation/transforms/profile2datacontext.qvto
index dea7a41ea40..1ae2d6d7522 100644
--- a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/transforms/profile2datacontext.qvto
+++ b/plugins/customization/org.eclipse.papyrus.customization.properties.generation/transforms/profile2datacontext.qvto
@@ -24,7 +24,7 @@ mapping Profile::toContext() : c:Context, root:DataContextRoot{
elements := self.packagedElement->select(e | e.oclIsKindOf(Stereotype))->map toDataContextElement().element
->union(self.packagedElement->select(e | e.oclIsKindOf(Package))->map toDataContextPackage());
modelElementFactory := pRoot.rootObjects()[PropertiesRoot].environments.modelElementFactories
- ->any(e | e.factoryClass = 'org.eclipse.papyrus.properties.uml.modelelement.StereotypeModelElementFactory');
+ ->any(e | e.factoryClass = 'org.eclipse.papyrus.views.properties.uml.modelelement.StereotypeModelElementFactory');
};
}
@@ -94,7 +94,7 @@ query Stereotype::getContext() : PropertyContext::Context {
mapping Stereotype::toConstraint(view : View) : SimpleConstraint{
name := "is" + view.name.replace(' ', '');
display := view;
- constraintType := pRoot.objectsOfType(PropertiesRoot).environments.constraintTypes->any(e | e.constraintClass = 'org.eclipse.papyrus.properties.uml.constraints.HasStereotypeConstraint');
+ constraintType := pRoot.objectsOfType(PropertiesRoot).environments.constraintTypes->any(e | e.constraintClass = 'org.eclipse.papyrus.views.properties.uml.constraints.HasStereotypeConstraint');
var stereotypeName := object ValueProperty {
name := 'stereotypeName';
value := self.qualifiedName;

Back to the top