Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'examples/org.eclipse.jet.ec2008.swtgen.codebehind/templates/control/setGridData.jet')
-rw-r--r--examples/org.eclipse.jet.ec2008.swtgen.codebehind/templates/control/setGridData.jet30
1 files changed, 0 insertions, 30 deletions
diff --git a/examples/org.eclipse.jet.ec2008.swtgen.codebehind/templates/control/setGridData.jet b/examples/org.eclipse.jet.ec2008.swtgen.codebehind/templates/control/setGridData.jet
deleted file mode 100644
index c7ee4c0..0000000
--- a/examples/org.eclipse.jet.ec2008.swtgen.codebehind/templates/control/setGridData.jet
+++ /dev/null
@@ -1,30 +0,0 @@
-<%!
-/* Copyright 2008 IBM Corp. All rights reserved. This source code is made available under the terms of the Eclipse Public License, v1.0. */
-%>
- <java:import>org.eclipse.jface.layout.GridDataFactory</java:import>.defaultsFor(<c:get select="$control/@name"/>)
-<c:iterate select="$control/gridData/*" var="data">
-<c:choose>
-<c:when test="$data/self::align">
- .align(SWT.<c:get select="$data/@hAlign"/>, SWT.<c:get select="$data/@vAlign"/>)
-</c:when>
-<c:when test="$data/self::exclude">
- .exclude(true)
-</c:when>
-<c:when test="$data/self::grab">
- .grab(<c:get select="$data/@horizontal"/>, <c:get select="$data/@vertical"/>)
-</c:when>
-<c:when test="$data/self::hint">
- .hint(<c:get select="$data/@xHint"/>, <c:get select="$data/@yHint"/>)
-</c:when>
-<c:when test="$data/self::indent">
- .indent(<c:get select="$data/@hIndent"/>, <c:get select="$data/@vIndent"/>)
-</c:when>
-<c:when test="$data/self::minSize">
- .minSize(<c:get select="$data/@minX"/>, <c:get select="$data/@minY"/>)
-</c:when>
-<c:when test="$data/self::span">
- .span(<c:get select="$data/@hSpan"/>, <c:get select="$data/@vSpan"/>)
-</c:when>
-</c:choose>
-</c:iterate>
- .applyTo(<c:get select="$control/@name"/>);

Back to the top