Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'examples/org.eclipse.jet.ec2008.swtgen.codebehind/templates/control/tableColumn/initControl.jet')
-rw-r--r--examples/org.eclipse.jet.ec2008.swtgen.codebehind/templates/control/tableColumn/initControl.jet19
1 files changed, 19 insertions, 0 deletions
diff --git a/examples/org.eclipse.jet.ec2008.swtgen.codebehind/templates/control/tableColumn/initControl.jet b/examples/org.eclipse.jet.ec2008.swtgen.codebehind/templates/control/tableColumn/initControl.jet
new file mode 100644
index 0000000..4e56208
--- /dev/null
+++ b/examples/org.eclipse.jet.ec2008.swtgen.codebehind/templates/control/tableColumn/initControl.jet
@@ -0,0 +1,19 @@
+<%!
+/* Copyright 2008 IBM Corp. All rights reserved. This source code is made available under the terms of the Eclipse Public License, v1.0. */
+%>
+<%-- tableColumn --%>
+<c:if test="$control/@text">
+ <c:get select="$control/@name"/>.setText("<c:get select="$control/@text"/>");
+</c:if>
+<c:if test="$control/@toolTipText">
+ <c:get select="$control/@name"/>.setToolTipText("<c:get select="$control/@toolTipText"/>");
+</c:if>
+<c:if test="$control/@width">
+ <c:get select="$control/@name"/>.setWidth(<c:get select="$control/@width"/>);
+</c:if>
+<c:if test="$control/@moveable">
+ <c:get select="$control/@name"/>.setMoveable(<c:get select="$control/@moveable"/>);
+</c:if>
+<c:if test="$control/@resizeable">
+ <c:get select="$control/@name"/>.setResizeable(<c:get select="$control/@resizeable"/>);
+</c:if>

Back to the top