Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoratikhomirov2006-05-02 07:44:15 -0400
committeratikhomirov2006-05-02 07:44:15 -0400
commitd10419d8617a229fbcc45f3a0358566d8a4aaf75 (patch)
tree4e9903d690354a25a05f88b4183c3039d11fc849 /plugins/org.eclipse.gmf.graphdef.codegen/templates/new
parentd1df87d283ceb73df7175d9266c9742a262c26c1 (diff)
downloadorg.eclipse.gmf-tooling-d10419d8617a229fbcc45f3a0358566d8a4aaf75.tar.gz
org.eclipse.gmf-tooling-d10419d8617a229fbcc45f3a0358566d8a4aaf75.tar.xz
org.eclipse.gmf-tooling-d10419d8617a229fbcc45f3a0358566d8a4aaf75.zip
[mgolubev] #139139 Compilation error in the generated diagram code if DiagramLabel points to the deep Label
Add getters/setters for each figure that is being used by any diagram element
Diffstat (limited to 'plugins/org.eclipse.gmf.graphdef.codegen/templates/new')
-rw-r--r--plugins/org.eclipse.gmf.graphdef.codegen/templates/new/LayoutData.javajet2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/org.eclipse.gmf.graphdef.codegen/templates/new/LayoutData.javajet b/plugins/org.eclipse.gmf.graphdef.codegen/templates/new/LayoutData.javajet
index b96640d3f..5fca8b7ec 100644
--- a/plugins/org.eclipse.gmf.graphdef.codegen/templates/new/LayoutData.javajet
+++ b/plugins/org.eclipse.gmf.graphdef.codegen/templates/new/LayoutData.javajet
@@ -13,4 +13,6 @@ final Figure figureInstance = argsBundle.getFigure();
if (gmfLayoutData != null && figureInstance.eContainer() instanceof Figure && ((Figure) figureInstance.eContainer()).getLayout() != null) {%>
<%=dispatcher.dispatch(gmfLayoutData, argsBundle)%>
+<%} else {%>
+ Object <%=argsBundle.getConstraintVariableName()%> = null;
<%}%>

Back to the top