Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormistria2011-10-28 14:00:52 +0000
committermistria2011-10-28 14:00:52 +0000
commit35605874e776134a68b56de02e048f65914091e8 (patch)
tree233183c71eb155169469f92f84af9ed26de8df0c
parent0242d4345f0391d77a11abd3e3db0d3d8fa4011d (diff)
downloadorg.eclipse.gmf-tooling-35605874e776134a68b56de02e048f65914091e8.tar.gz
org.eclipse.gmf-tooling-35605874e776134a68b56de02e048f65914091e8.tar.xz
org.eclipse.gmf-tooling-35605874e776134a68b56de02e048f65914091e8.zip
Bug 351172:
Committed Ralph's patch
-rw-r--r--plugins/org.eclipse.gmf.codegen/templates/xpt/providers/extensions.xpt5
1 files changed, 4 insertions, 1 deletions
diff --git a/plugins/org.eclipse.gmf.codegen/templates/xpt/providers/extensions.xpt b/plugins/org.eclipse.gmf.codegen/templates/xpt/providers/extensions.xpt
index af2507aab..b6241b594 100644
--- a/plugins/org.eclipse.gmf.codegen/templates/xpt/providers/extensions.xpt
+++ b/plugins/org.eclipse.gmf.codegen/templates/xpt/providers/extensions.xpt
@@ -64,7 +64,10 @@
«FOREACH topLevelNodes AS n-»
<object class="«n.getEditPartQualifiedClassName()»" id="«n.getUniqueIdentifier()»"/>
«ENDFOREACH-»
- <context elements="«getUniqueIdentifier()»,«FOREACH topLevelNodes AS n SEPARATOR ','»«n.getUniqueIdentifier()»«ENDFOREACH»"/>
+«FOREACH childNodes AS n-»
+ <object class="«n.getEditPartQualifiedClassName()»" id="«n.getUniqueIdentifier()»"/>
+«ENDFOREACH-»
+ <context elements="«getUniqueIdentifier()»,«FOREACH topLevelNodes AS n SEPARATOR ','»«n.getUniqueIdentifier()»«ENDFOREACH»,«FOREACH childNodes AS n SEPARATOR ','»«n.getUniqueIdentifier()»«ENDFOREACH»"/>
</modelingAssistantProvider>
</extension>

Back to the top