Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/org.eclipse.gmf.graphdef.codegen/templates/top/staticFields.jetinc')
-rw-r--r--plugins/org.eclipse.gmf.graphdef.codegen/templates/top/staticFields.jetinc12
1 files changed, 12 insertions, 0 deletions
diff --git a/plugins/org.eclipse.gmf.graphdef.codegen/templates/top/staticFields.jetinc b/plugins/org.eclipse.gmf.graphdef.codegen/templates/top/staticFields.jetinc
new file mode 100644
index 000000000..2ddbf7166
--- /dev/null
+++ b/plugins/org.eclipse.gmf.graphdef.codegen/templates/top/staticFields.jetinc
@@ -0,0 +1,12 @@
+<%
+//input: [oeg].graphdef.codegen GraphDefDispatcher dispatcher
+for (Iterator allFields = dispatcher.getStaticFieldsManager().allFields(); allFields.hasNext();) {
+ StaticFieldsManager.StaticField next = (StaticFieldsManager.StaticField)allFields.next(); %>
+
+ /**
+ * @generated
+ */
+ public static final <%=next.getType()%> <%=next.getName()%> = <%=next.getValue()%>;
+<%
+}
+%>

Back to the top