Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormgolubev2012-09-11 17:20:24 +0000
committermgolubev2012-09-11 17:20:24 +0000
commit7c87f21558e49e37890efb905d7988b57cd32fb5 (patch)
treeea489d4bc68a6850ebc4f0972e5ea1429c2f8ddb
parent4ba7df176e37ed882b345ec1a6b7a35544ba1ce5 (diff)
downloadorg.eclipse.gmf-tooling-7c87f21558e49e37890efb905d7988b57cd32fb5.tar.gz
org.eclipse.gmf-tooling-7c87f21558e49e37890efb905d7988b57cd32fb5.tar.xz
org.eclipse.gmf-tooling-7c87f21558e49e37890efb905d7988b57cd32fb5.zip
[388330] - no top level elements under diagram files in generated
navigator
-rw-r--r--plugins/org.eclipse.gmf.codegen/templates/xpt/navigator/Utils.qvto2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/org.eclipse.gmf.codegen/templates/xpt/navigator/Utils.qvto b/plugins/org.eclipse.gmf.codegen/templates/xpt/navigator/Utils.qvto
index 00d1e755b..115ba9f1f 100644
--- a/plugins/org.eclipse.gmf.codegen/templates/xpt/navigator/Utils.qvto
+++ b/plugins/org.eclipse.gmf.codegen/templates/xpt/navigator/Utils.qvto
@@ -51,7 +51,7 @@ helper getNavigatorReference(groupName : String, childReferences : Sequence(gmfg
helper getChildReferencesFrom(navigator : gmfgen::GenNavigator, parent : gmfgen::GenCommonBase) : Sequence(gmfgen::GenNavigatorChildReference) {
return if parent.oclIsUndefined()
- then Sequence{}
+ then navigator.childReferences->select(r | r.parent.oclIsUndefined())->asSequence()
else navigator.childReferences->select(r | undefinedAsFalse(parent.visualID = r.parent.visualID))->asSequence()
endif
}

Back to the top