Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoratikhomirov2006-02-15 09:44:26 -0500
committeratikhomirov2006-02-15 09:44:26 -0500
commited546bf950368f714ec119305262c3fe2bf6eae1 (patch)
tree28ed04de293110e5f221ff35895a8abe2b607b8a /plugins/org.eclipse.gmf.graphdef.codegen/templates/new
parentbcde3e55601c71bba82a19b2f2cdc83a8c8566f3 (diff)
downloadorg.eclipse.gmf-tooling-ed546bf950368f714ec119305262c3fe2bf6eae1.tar.gz
org.eclipse.gmf-tooling-ed546bf950368f714ec119305262c3fe2bf6eae1.tar.xz
org.eclipse.gmf-tooling-ed546bf950368f714ec119305262c3fe2bf6eae1.zip
[mgolubev] #127252 layout support
Diffstat (limited to 'plugins/org.eclipse.gmf.graphdef.codegen/templates/new')
-rw-r--r--plugins/org.eclipse.gmf.graphdef.codegen/templates/new/Figure.javajet2
-rw-r--r--plugins/org.eclipse.gmf.graphdef.codegen/templates/new/Layout.javajet2
2 files changed, 2 insertions, 2 deletions
diff --git a/plugins/org.eclipse.gmf.graphdef.codegen/templates/new/Figure.javajet b/plugins/org.eclipse.gmf.graphdef.codegen/templates/new/Figure.javajet
index 39bff0a20..493aeb620 100644
--- a/plugins/org.eclipse.gmf.graphdef.codegen/templates/new/Figure.javajet
+++ b/plugins/org.eclipse.gmf.graphdef.codegen/templates/new/Figure.javajet
@@ -11,4 +11,4 @@ final String figureClassName = dispatcher.getImportManager().getImportedName((St
%>
<%=figureClassName%> <%=figureVarName%> = new <%=figureClassName%>();
<%=args.getDispatcher().dispatch(figureInstance, args)%>
-<%=args.getDispatcher().dispatch("createLayout", dispatcher.createLayoutArgs(args))%>
+<%=args.getDispatcher().dispatch("createLayout", dispatcher.getLayoutArgsFor(args))%>
diff --git a/plugins/org.eclipse.gmf.graphdef.codegen/templates/new/Layout.javajet b/plugins/org.eclipse.gmf.graphdef.codegen/templates/new/Layout.javajet
index ac8bd568b..e4c1b82b2 100644
--- a/plugins/org.eclipse.gmf.graphdef.codegen/templates/new/Layout.javajet
+++ b/plugins/org.eclipse.gmf.graphdef.codegen/templates/new/Layout.javajet
@@ -4,7 +4,7 @@
GraphDefDispatcher.LayoutArgs argsBundle = (GraphDefDispatcher.LayoutArgs) argument;
final FigureMarker figureMarker = argsBundle.getFigure();
final String figureVarName = argsBundle.getVariableName();
-final String layouterVarName = argsBundle.getLayoutVariableName();
+final String layouterVarName = argsBundle.getManagerVariableName();
final GraphDefDispatcher dispatcher = argsBundle.getDispatcher();
%>

Back to the top