summaryrefslogtreecommitdiff
path: root/etc/toolbox_skeleton_preferences.xsl
diff options
context:
space:
mode:
authorrupak2020-01-21 15:20:25 +0530
committerrupak2020-01-21 15:20:25 +0530
commit36aca8aaaee5cf8cb5452268fd07c0b558b000a3 (patch)
tree97a39a1561849978ea3d45228d3a51c74bc46ac0 /etc/toolbox_skeleton_preferences.xsl
parent777c4c1cc8e7d2632149bd87b79e60fd2f0e7e50 (diff)
downloadFOSSEE-Communication-Systems-Toolbox-36aca8aaaee5cf8cb5452268fd07c0b558b000a3.tar.gz
FOSSEE-Communication-Systems-Toolbox-36aca8aaaee5cf8cb5452268fd07c0b558b000a3.tar.bz2
FOSSEE-Communication-Systems-Toolbox-36aca8aaaee5cf8cb5452268fd07c0b558b000a3.zip
created a scilab toolbox structure
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