Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoratikhomirov2006-02-06 17:21:39 -0500
committeratikhomirov2006-02-06 17:21:39 -0500
commit192b15753755a5c87fa73705ab2b4269aa77662d (patch)
tree927782e5cab2910450ce93ac30dc64d5214b2e17 /plugins/org.eclipse.gmf.graphdef.codegen/templates/new/Figure.javajet
parentab3cbec7ac30ebc2acac1565d3a11e5de969c32b (diff)
downloadorg.eclipse.gmf-tooling-192b15753755a5c87fa73705ab2b4269aa77662d.tar.gz
org.eclipse.gmf-tooling-192b15753755a5c87fa73705ab2b4269aa77662d.tar.xz
org.eclipse.gmf-tooling-192b15753755a5c87fa73705ab2b4269aa77662d.zip
refactor - moved EmitterFactory/Dispatcher infrastructure to gmf.common to enable its use in oeg.codegen
Diffstat (limited to 'plugins/org.eclipse.gmf.graphdef.codegen/templates/new/Figure.javajet')
-rw-r--r--plugins/org.eclipse.gmf.graphdef.codegen/templates/new/Figure.javajet8
1 files changed, 4 insertions, 4 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 0c380c210..eecabf0fd 100644
--- a/plugins/org.eclipse.gmf.graphdef.codegen/templates/new/Figure.javajet
+++ b/plugins/org.eclipse.gmf.graphdef.codegen/templates/new/Figure.javajet
@@ -1,11 +1,11 @@
<%@ jet package="org.eclipse.gmf.graphdef.codegen.templates" class="NewFigureGenerator"
- imports="org.eclipse.gmf.gmfgraph.* org.eclipse.gmf.common.codegen.* org.eclipse.gmf.graphdef.codegen.Dispatcher"%>
+ imports="org.eclipse.gmf.gmfgraph.* org.eclipse.gmf.graphdef.codegen.GraphDefDispatcher"%>
<%
-Dispatcher.Args args = (Dispatcher.Args) argument;
+GraphDefDispatcher.Args args = (GraphDefDispatcher.Args) argument;
final Figure figureInstance = args.getFigure();
final String figureVarName = args.getVariableName();
-final ImportAssistant importManager = args.getImportManager();
-final String figureClassName = importManager.getImportedName((String) args.getFQNSwitch().doSwitch(figureInstance));
+final GraphDefDispatcher dispatcher = args.getDispatcher();
+final String figureClassName = dispatcher.getImportManager().getImportedName((String) dispatcher.getFQNSwitch().doSwitch(figureInstance));
// PRODUCES instance AND (!) initializes attributes
%>

Back to the top