Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcletavernie2012-06-28 07:52:17 +0000
committercletavernie2012-06-28 07:52:17 +0000
commit79691d6e590faa894d3fbfc5eaf35b08aae54c04 (patch)
tree973701adc2a9146c8a133a03170afd60d70ce578 /plugins/customization/org.eclipse.papyrus.customization.properties.generation
parentc42e2a2ce68bee54af60a770a491d1f650f98aa1 (diff)
downloadorg.eclipse.papyrus-79691d6e590faa894d3fbfc5eaf35b08aae54c04.tar.gz
org.eclipse.papyrus-79691d6e590faa894d3fbfc5eaf35b08aae54c04.tar.xz
org.eclipse.papyrus-79691d6e590faa894d3fbfc5eaf35b08aae54c04.zip
335332: [Property View] Papyrus shall provide an extensible property view runtime
https://bugs.eclipse.org/bugs/show_bug.cgi?id=335332
Diffstat (limited to 'plugins/customization/org.eclipse.papyrus.customization.properties.generation')
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.generation/transforms/ecore2datacontext.qvto4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/transforms/ecore2datacontext.qvto b/plugins/customization/org.eclipse.papyrus.customization.properties.generation/transforms/ecore2datacontext.qvto
index 9f724796df7..4d2edc29468 100644
--- a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/transforms/ecore2datacontext.qvto
+++ b/plugins/customization/org.eclipse.papyrus.customization.properties.generation/transforms/ecore2datacontext.qvto
@@ -55,7 +55,7 @@ abstract mapping EClassifier::toDataContextElement() : element : DataContextElem
mapping EClass::toDataContextElement() : element : DataContextElement, viewSingle : View, viewMultiple : View inherits EClassifier::toDataContextElement{
element.properties := self.eStructuralFeatures->map toProperty();
- element.supertypes := self.eSuperTypes->select(e | not e.oclIsKindOf(Ecore::EModelElement))->map toDataContextElement().element;
+ element.supertypes := self.eSuperTypes.map toDataContextElement().element;
viewSingle.name := 'Single '+self.name;
viewSingle.automaticContext := true;
@@ -75,7 +75,7 @@ mapping EClass::toDataContextElement() : element : DataContextElement, viewSingl
mapping EClass::toConstraint(view : View) : SimpleConstraint {
name := "is" + view.name.replace(' ', '');
display := view;
- constraintType := pRoot.objectsOfType(PropertiesRoot).environments.constraintTypes->any(e | e.constraintClass = 'org.eclipse.papyrus.views.properties.constraints.EMFInstanceOfConstraint');
+ constraintType := pRoot.objectsOfType(PropertiesRoot).environments.constraintTypes->any(e | e.constraintClass = 'org.eclipse.papyrus.infra.constraints.constraints.EMFInstanceOfConstraint');
var className := object ValueProperty {
name := 'className';
value := self.name;

Back to the top