Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/org.eclipse.gmf.graphdef.codegen/templates/new/Layout.javajet')
-rw-r--r--plugins/org.eclipse.gmf.graphdef.codegen/templates/new/Layout.javajet21
1 files changed, 0 insertions, 21 deletions
diff --git a/plugins/org.eclipse.gmf.graphdef.codegen/templates/new/Layout.javajet b/plugins/org.eclipse.gmf.graphdef.codegen/templates/new/Layout.javajet
deleted file mode 100644
index e298ae16c..000000000
--- a/plugins/org.eclipse.gmf.graphdef.codegen/templates/new/Layout.javajet
+++ /dev/null
@@ -1,21 +0,0 @@
-<%@ jet package="org.eclipse.gmf.graphdef.codegen.templates" class="NewLayoutGenerator"
- imports="org.eclipse.gmf.gmfgraph.* org.eclipse.gmf.graphdef.codegen.*"%>
-<%
-GraphDefDispatcher.LayoutArgs argsBundle = (GraphDefDispatcher.LayoutArgs) argument;
-final FigureMarker figureMarker = argsBundle.getFigure();
-final String figureVarName = argsBundle.getVariableName();
-final String layouterVarName = argsBundle.getManagerVariableName();
-final GraphDefDispatcher dispatcher = argsBundle.getDispatcher();
-%>
-
-<%
-Layout gmfLayout= figureMarker.getLayout();
-if (gmfLayout != null){
- final String layouterImplClass = dispatcher.getFQNSwitch().get(gmfLayout, dispatcher.getImportManager());
-%>
- <%=layouterImplClass%> <%=layouterVarName%> = new <%=layouterImplClass%>();
- <%=argsBundle.getDispatcher().dispatch(gmfLayout, argsBundle)%>
- <%=figureVarName%>.setLayoutManager(<%=layouterVarName%>);
-<%
-}
-%>

Back to the top