Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/org.eclipse.gmf.graphdef.codegen/templates/new/LayoutData.javajet')
-rw-r--r--plugins/org.eclipse.gmf.graphdef.codegen/templates/new/LayoutData.javajet18
1 files changed, 0 insertions, 18 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
deleted file mode 100644
index 5fca8b7ec..000000000
--- a/plugins/org.eclipse.gmf.graphdef.codegen/templates/new/LayoutData.javajet
+++ /dev/null
@@ -1,18 +0,0 @@
-<%@ jet package="org.eclipse.gmf.graphdef.codegen.templates" class="NewLayoutDataGenerator"
- imports="org.eclipse.gmf.gmfgraph.* org.eclipse.gmf.graphdef.codegen.*"%>
-<%
-// NOTE: this code expects that constrainted figure is already added to its parent
-
-GraphDefDispatcher.LayoutArgs argsBundle = (GraphDefDispatcher.LayoutArgs) argument;
-final GraphDefDispatcher dispatcher = argsBundle.getDispatcher();
-final LayoutData gmfLayoutData = argsBundle.getData();
-final Figure figureInstance = argsBundle.getFigure();
-
-// merely makes sure layoutData present
-// and parent figure got chance to have layout initialized
-
-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