Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoratikhomirov2006-02-06 22:21:39 +0000
committeratikhomirov2006-02-06 22:21:39 +0000
commit192b15753755a5c87fa73705ab2b4269aa77662d (patch)
tree927782e5cab2910450ce93ac30dc64d5214b2e17 /plugins/org.eclipse.gmf.graphdef.codegen/templates/attr/Polyline.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/attr/Polyline.javajet')
-rw-r--r--plugins/org.eclipse.gmf.graphdef.codegen/templates/attr/Polyline.javajet8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/org.eclipse.gmf.graphdef.codegen/templates/attr/Polyline.javajet b/plugins/org.eclipse.gmf.graphdef.codegen/templates/attr/Polyline.javajet
index 497789253..2fc5a5704 100644
--- a/plugins/org.eclipse.gmf.graphdef.codegen/templates/attr/Polyline.javajet
+++ b/plugins/org.eclipse.gmf.graphdef.codegen/templates/attr/Polyline.javajet
@@ -1,11 +1,11 @@
<%@ jet package="org.eclipse.gmf.graphdef.codegen.templates" class="PolylineAttrGenerator"
- imports="org.eclipse.gmf.gmfgraph.* org.eclipse.gmf.common.codegen.* org.eclipse.gmf.graphdef.codegen.Dispatcher"%>
+ imports="org.eclipse.gmf.gmfgraph.* org.eclipse.gmf.common.codegen.* org.eclipse.gmf.graphdef.codegen.GraphDefDispatcher"%>
<%
-Dispatcher.Args args = (Dispatcher.Args) argument;
+GraphDefDispatcher.Args args = (GraphDefDispatcher.Args) argument;
final Polyline figureInstance = (Polyline) args.getFigure();
final String figureVarName = args.getVariableName();
-final ImportAssistant importManager = args.getImportManager();
-final Dispatcher dispatcher = args.getDispatcher();
+final GraphDefDispatcher dispatcher = args.getDispatcher();
+final ImportAssistant importManager = dispatcher.getImportManager();
%>
<%=dispatcher.dispatch("Shape", args)%>
<%if (!figureInstance.getTemplate().isEmpty()) {

Back to the top