Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorashatalin2006-03-29 07:56:04 -0500
committerashatalin2006-03-29 07:56:04 -0500
commit59c06b7b5b3781480d874c81224d0917baade95f (patch)
tree8bbf13d307c260e12dad1da56da55caac3c408c7 /plugins/org.eclipse.gmf.graphdef.codegen/templates/attr
parenta7870a082c04b3c4379fe1ee806b7d5d3fd6881c (diff)
downloadorg.eclipse.gmf-tooling-59c06b7b5b3781480d874c81224d0917baade95f.tar.gz
org.eclipse.gmf-tooling-59c06b7b5b3781480d874c81224d0917baade95f.tar.xz
org.eclipse.gmf-tooling-59c06b7b5b3781480d874c81224d0917baade95f.zip
[mgolubev] #133290 customAttributes is not being dispatched.
Diffstat (limited to 'plugins/org.eclipse.gmf.graphdef.codegen/templates/attr')
-rw-r--r--plugins/org.eclipse.gmf.graphdef.codegen/templates/attr/CustomFigure.javajet10
1 files changed, 10 insertions, 0 deletions
diff --git a/plugins/org.eclipse.gmf.graphdef.codegen/templates/attr/CustomFigure.javajet b/plugins/org.eclipse.gmf.graphdef.codegen/templates/attr/CustomFigure.javajet
new file mode 100644
index 000000000..cc599b288
--- /dev/null
+++ b/plugins/org.eclipse.gmf.graphdef.codegen/templates/attr/CustomFigure.javajet
@@ -0,0 +1,10 @@
+<%@ jet package="org.eclipse.gmf.graphdef.codegen.templates" class="CustomFigureAttrGenerator"
+ imports="org.eclipse.gmf.gmfgraph.* org.eclipse.gmf.graphdef.codegen.GraphDefDispatcher"%>
+<%
+GraphDefDispatcher.Args args = (GraphDefDispatcher.Args) argument;
+final CustomFigure figureInstance = (CustomFigure) args.getFigure();
+final String figureVarName = args.getVariableName();
+final GraphDefDispatcher dispatcher = args.getDispatcher();
+%>
+<%=dispatcher.dispatch("customAttributes", new Object[] {figureInstance, dispatcher, figureVarName})%>
+<%=dispatcher.dispatch("Figure", args)%>

Back to the top