Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'examples/org.eclipse.jet.ec2008.swtgen.codebehind/templates/control/table/initControl.jet')
-rw-r--r--examples/org.eclipse.jet.ec2008.swtgen.codebehind/templates/control/table/initControl.jet13
1 files changed, 13 insertions, 0 deletions
diff --git a/examples/org.eclipse.jet.ec2008.swtgen.codebehind/templates/control/table/initControl.jet b/examples/org.eclipse.jet.ec2008.swtgen.codebehind/templates/control/table/initControl.jet
new file mode 100644
index 0000000..2b0064c
--- /dev/null
+++ b/examples/org.eclipse.jet.ec2008.swtgen.codebehind/templates/control/table/initControl.jet
@@ -0,0 +1,13 @@
+<%!
+/* Copyright 2008 IBM Corp. All rights reserved. This source code is made available under the terms of the Eclipse Public License, v1.0. */
+%>
+<%-- table --%>
+<c:if test="$control/@enabled">
+ <c:get select="$control/@name"/>.setEnabled(<c:get select="$control/@enabled"/>);
+</c:if>
+<c:if test="$control/@headerVisible">
+ <c:get select="$control/@name"/>.setHeaderVisible(<c:get select="$control/@headerVisible"/>);
+</c:if>
+<c:if test="$control/@linesVisible = 'true'">
+ <c:get select="$control/@name"/>.setLinesVisible(<c:get select="$control/@linesVisible"/>);
+</c:if>

Back to the top