Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormistria2011-10-28 13:08:12 +0000
committermistria2011-10-28 13:08:12 +0000
commit0242d4345f0391d77a11abd3e3db0d3d8fa4011d (patch)
tree90ff47ea0d980fa8761bb053157d41b6db07b7f3
parent764dc1e5398bfb82137c25984b342344ffe7d8b6 (diff)
downloadorg.eclipse.gmf-tooling-0242d4345f0391d77a11abd3e3db0d3d8fa4011d.tar.gz
org.eclipse.gmf-tooling-0242d4345f0391d77a11abd3e3db0d3d8fa4011d.tar.xz
org.eclipse.gmf-tooling-0242d4345f0391d77a11abd3e3db0d3d8fa4011d.zip
Committed Ralph's patch for bug 354467
-rw-r--r--plugins/org.eclipse.gmf.bridge/transforms/Map2Gen.qvto7
1 files changed, 4 insertions, 3 deletions
diff --git a/plugins/org.eclipse.gmf.bridge/transforms/Map2Gen.qvto b/plugins/org.eclipse.gmf.bridge/transforms/Map2Gen.qvto
index cb27d57a1..9a61b3773 100644
--- a/plugins/org.eclipse.gmf.bridge/transforms/Map2Gen.qvto
+++ b/plugins/org.eclipse.gmf.bridge/transforms/Map2Gen.qvto
@@ -115,9 +115,10 @@ helper setupElementType(inout genLink : GMFGEN::GenLink) {
if genLink.modelFacet.oclIsUndefined() then genLink.elementType := object GMFGEN::NotationType {}
else if genLink.modelFacet.oclIsKindOf(GMFGEN::TypeModelFacet) then
genLink.elementType := genLink.modelFacet.oclAsType(GMFGEN::TypeModelFacet).metaClass.getOrCreateRuntimeMetamodelType()
- else -- ref-based link; specialize null
- genLink.elementType := object GMFGEN::SpecializationType {}
- endif
+ else{ -- ref-based link; specialize null
+ genLink.elementType := object GMFGEN::SpecializationType {};
+ genLink.elementType.displayName := genLink.modelFacet.oclAsType(FeatureLinkModelFacet).metaFeature.ecoreFeature.name.firstToUpper();}
+ endif
endif;
return;
}

Back to the top