Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpelder2008-04-04 11:43:21 -0400
committerpelder2008-04-04 11:43:21 -0400
commit9d67d93fdb4ff179a560b13caa8b8ca06e27c4a7 (patch)
tree346b91143ef88a4c180f76050115e278e494cfd1 /examples/org.eclipse.jet.ec2008.swtgen.codebehind/templates/wizardPage/codeBehind.java.jet
parent085f82498792c69132e00c5d677b0569096866fc (diff)
downloadorg.eclipse.jet-9d67d93fdb4ff179a560b13caa8b8ca06e27c4a7.tar.gz
org.eclipse.jet-9d67d93fdb4ff179a560b13caa8b8ca06e27c4a7.tar.xz
org.eclipse.jet-9d67d93fdb4ff179a560b13caa8b8ca06e27c4a7.zip
[225768] Add releng examples created at EclipseCon to JET Examples
Diffstat (limited to 'examples/org.eclipse.jet.ec2008.swtgen.codebehind/templates/wizardPage/codeBehind.java.jet')
-rw-r--r--examples/org.eclipse.jet.ec2008.swtgen.codebehind/templates/wizardPage/codeBehind.java.jet39
1 files changed, 39 insertions, 0 deletions
diff --git a/examples/org.eclipse.jet.ec2008.swtgen.codebehind/templates/wizardPage/codeBehind.java.jet b/examples/org.eclipse.jet.ec2008.swtgen.codebehind/templates/wizardPage/codeBehind.java.jet
new file mode 100644
index 0000000..aa9e02d
--- /dev/null
+++ b/examples/org.eclipse.jet.ec2008.swtgen.codebehind/templates/wizardPage/codeBehind.java.jet
@@ -0,0 +1,39 @@
+<%!
+/* Copyright 2008 IBM Corp. All rights reserved. This source code is made available under the terms of the Eclipse Public License, v1.0. */
+%>
+<java:merge/>
+/*
+ * Generated by <%= context.getJETBundleId() %> from <c:get select="$org.eclipse.jet.resource.fullPath"/>.
+ * This class will not be modified by the transformation
+ */
+package <c:get select="$wizardPage/@package"/>;
+<java:importsLocation package="{$wizardPage/@package}"/>
+
+/**
+ *
+ */
+public class <c:get select="$wizardPage/@codeBehindClass"/> implements <c:get select="$wizardPage/@class"/>.CodeBehind {
+
+ private <c:get select="$wizardPage/@class"/> wizardPage;
+
+ /* (non-Javadoc)
+ * @see <c:get select="$wizardPage/@package"/>.<c:get select="$wizardPage/@class"/>.CodeBehind#setWizardPage(<c:get select="$wizardPage/@package"/>.<c:get select="$wizardPage/@class"/>)
+ */
+ public void setWizardPage(<c:get select="$wizardPage/@class"/> wizardPage) {
+ this.wizardPage = wizardPage;
+ }
+
+ /* (non-Javadoc)
+ * @see <c:get select="$wizardPage/@package"/>.<c:get select="$wizardPage/@class"/>.CodeBehind#doInitControls()
+ */
+ public void doInitControls() {
+ // TODO Generated init method
+ }
+
+<c:iterate select="$wizardPage/control/event" var="event">
+ public void <c:get select="$event/@delegateMethod"/>(<java:import><c:get select="$event/@eventClass"/></java:import> e) {
+ // TODO Generated event handler
+ }
+
+</c:iterate>
+}

Back to the top