summaryrefslogtreecommitdiff
path: root/etc/toolbox_skeleton_preferences.xsl
diff options
context:
space:
mode:
Diffstat (limited to 'etc/toolbox_skeleton_preferences.xsl')
-rw-r--r--etc/toolbox_skeleton_preferences.xsl39
1 files changed, 39 insertions, 0 deletions
diff --git a/etc/toolbox_skeleton_preferences.xsl b/etc/toolbox_skeleton_preferences.xsl
new file mode 100644
index 0000000..3d57d0d
--- /dev/null
+++ b/etc/toolbox_skeleton_preferences.xsl
@@ -0,0 +1,39 @@
+<?xml version='1.0' encoding='utf-8'?>
+<xsl:stylesheet version ="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+
+ <xsl:import href="$SCI/modules/preferences/src/xslt/XCommon.xsl"/>
+
+ <xsl:template match="toolbox_skeleton" mode="tooltip">Environment</xsl:template>
+ <xsl:template match="toolbox_skeleton">
+ <VSpace height="25"/>
+ <Title text="Environment">
+ <HBox>
+ Foo:
+ <xsl:call-template name="Select">
+ <xsl:with-param name="among">
+ <option foo="bar"/>
+ <option foo="barbar"/>
+ <option foo="barbarbar"/>
+ </xsl:with-param>
+ </xsl:call-template>
+ </HBox>
+ </Title>
+ </xsl:template>
+
+ <xsl:template match="save">
+ <VSpace height="25"/>
+ <Title text="Save">
+ <HBox>
+ <Checkbox listener="ActionListener">
+ <xsl:if test="@bar='true'">
+ <xsl:attribute name="checked">checked</xsl:attribute>
+ </xsl:if>
+ <actionPerformed set="bar" value="true">
+ <xsl:call-template name="context"/>
+ </actionPerformed>
+ </Checkbox>
+ Save:
+ </HBox>
+ </Title>
+ </xsl:template>
+</xsl:stylesheet> \ No newline at end of file