source: cats/ISOcat/trunk/mod-ISOcat-interface-gi/interface/JSXAPPS/ISOcat/components/DCSViewer.xml @ 5276

Last change on this file since 5276 was 5276, checked in by Menzo Windhouwer, 10 years ago

M components/DCSViewer.xml
M components/ExplorerView.xml
M components/DataCategoryBasket.xml
M components/appCanvas.xml

  • set some overflow to hidden
File size: 18.0 KB
Line 
1<serialization jsxversion="3.9" xmlns="urn:tibco.com/v3.0">
2  <name></name>
3  <icon></icon>
4  <description></description>
5  <onBeforeDeserialize></onBeforeDeserialize>
6  <onAfterDeserialize><![CDATA[jsx3.require("org.isocat.gui.DCSViewer");
7
8objDCSViewer = new org.isocat.gui.DCSViewer(objJSX);
9]]></onAfterDeserialize>
10  <object type="jsx3.gui.Block">
11    <variants jsxoverflow="2" jsxrelativeposition="0" jsxleft="0" jsxtop="0" jsxloadtype="4"></variants>
12    <strings jsxname="DCSViewer" jsxwidth="100%" jsxheight="100%" jsxdisplay="" jsxvisibility=""></strings>
13    <object type="jsx3.gui.LayoutGrid">
14      <variants jsxrelativeposition="0" jsxleft="0" jsxtop="0" jsxoverflow="2"></variants>
15      <strings jsxname="layout (--)" jsxrows="28px,*" jsxwidth="100%" jsxheight="100%" jsxstyleoverride="overflow:hidden;"></strings>
16      <object type="jsx3.gui.Block">
17        <variants jsxoverflow="2"></variants>
18        <strings jsxname="pane" jsxwidth="100%" jsxheight="100%"></strings>
19        <dynamics jsxborder="@Outset"></dynamics>
20        <object type="jsx3.gui.LayoutGrid">
21          <variants jsxrelativeposition="0" jsxleft="0" jsxtop="0" jsxoverflow="2"></variants>
22          <strings jsxname="toolbar" jsxcols="60,*,60" jsxwidth="100%" jsxheight="100%"></strings>
23          <object type="jsx3.gui.Block">
24            <variants jsxoverflow="2"></variants>
25            <strings jsxname="pane" jsxwidth="100%" jsxheight="100%"></strings>
26            <dynamics jsxborder="@No jsxborder"></dynamics>
27            <object type="jsx3.gui.WindowBar">
28              <variants jsxbartype="1"></variants>
29              <strings jsxname="specificToolBar"></strings>
30              <dynamics jsxborder="@No jsxborder"></dynamics>
31            </object>
32          </object>
33          <object type="jsx3.gui.Block">
34            <variants jsxoverflow="2"></variants>
35            <strings jsxname="pane" jsxwidth="100%" jsxheight="100%" jsxrelativeposition="1" jsxcolor=""></strings>
36            <object type="jsx3.gui.WindowBar">
37              <variants jsxbartype="1"></variants>
38              <strings jsxname="titleToolBar"></strings>
39              <dynamics jsxborder="@No jsxborder"></dynamics>
40              <object type="jsx3.gui.Block">
41                <variants jsxrelativeposition="1" jsxoverflow="2"></variants>
42                <strings jsxname="label" jsxmargin="6 4 4 4" jsxtagname="div" jsxtextalign="center" jsxwidth="100%" jsxstyleoverride="white-space:nowrap;"></strings>
43              </object>
44            </object>
45          </object>
46          <object type="jsx3.gui.Block">
47            <variants jsxoverflow="2"></variants>
48            <strings jsxname="pane" jsxwidth="100%" jsxheight="100%" jsxpadding="" jsxmargin=""></strings>
49            <dynamics jsxborder="@No jsxborder"></dynamics>
50            <object type="jsx3.gui.WindowBar">
51              <variants jsxbartype="1"></variants>
52              <strings jsxname="genericToolBar" jsxtextalign="right"></strings>
53              <dynamics jsxborder="@No jsxborder"></dynamics>
54              <object type="jsx3.gui.ToolbarButton">
55                <variants jsxstate="0" jsxtype="1"></variants>
56                <strings jsxname="treeButton"></strings>
57                <dynamics jsximage="action icon: DCS tree view" jsxtip="action tooltip: DCS tree view"></dynamics>
58                <events jsxchange="this.getAncestorOfName('DCSViewer').controller.tree(this.getState()==jsx3.gui.ToolbarButton.STATEON);"></events>
59              </object>
60              <object type="jsx3.gui.ToolbarButton">
61                <variants></variants>
62                <strings jsxname="reloadButton"></strings>
63                <dynamics jsximage="action icon: reload DCS" jsxtip="action tooltip: reload DCS"></dynamics>
64                <events jsxexecute="this.getAncestorOfName('DCSViewer').controller.reload();"></events>
65              </object>
66            </object>
67          </object>
68        </object>
69      </object>
70      <object type="jsx3.gui.Block">
71        <variants jsxoverflow="2"></variants>
72        <strings jsxname="pane" jsxwidth="100%" jsxheight="100%"></strings>
73        <dynamics jsxborder="@Outset"></dynamics>
74        <object type="jsx3.gui.Block">
75          <variants jsxoverflow="2"></variants>
76          <strings jsxname="block" jsxwidth="100%" jsxheight="100%" jsxrelativeposition="1"></strings>
77          <object type="jsx3.gui.Matrix">
78            <variants jsxpagingmodel="3" jsxselectionmodel="2" jsxxmlbind="1" jsxxmlasync="0" jsxrowsperpanel="25"></variants>
79            <strings jsxname="DataCategorySelectionView" jsxbodyborder="1px solid #dfdfef" jsxheaderborder="1px solid #dfdfef" jsxbgcolor="white" jsxsortpath="name" jsxsorttype="text" jsxsortdirection="ascending" jsxrenderingmodel="shallow" jsxicon="" jsxmenu="_jsx_1_2ef_cm"></strings>
80            <events jsxselect="this.getAncestorOfName(&quot;DCSViewer&quot;).controller.handleSelect(strRECORDID);" jsxdrop="this.getAncestorOfName(&quot;DCSViewer&quot;).controller.handleDrop(objSOURCE,strDRAGIDS);"></events>
81            <xslparameters jsx_rowbg1="#ffffff" jsx_rowbg2="#efefff"></xslparameters>
82            <object type="jsx3.gui.Matrix.Column">
83              <variants jsxsort="0"></variants>
84              <strings jsxwidth="0" jsxname="tree" jsxtext="" jsxpadding="2" jsxcellpadding="3" jsxpath="void" jsxformathandler="this.getAncestorOfName(&quot;DCSViewer&quot;).controller.formatRow"></strings>
85              <dynamics jsxborder="@Outset" jsxbg="@Bevel TopDown" jsxbgcolor="@Solid Disabled"></dynamics>
86            </object>
87            <object type="jsx3.gui.Matrix.Column">
88              <variants jsxwidth="20" jsxsort="0" jsxresize="0"></variants>
89              <strings jsxname="del" jsxpadding="3" jsxcellpadding="1" jsxvaluetemplate="@empty" jsxformathandler="function(objDiv, strCDFKey, objMatrix, objMatrixColumn, intRowNumber, objServer) { if(strCDFKey == &quot;jsxautorow&quot;) { objDiv.innerHTML = '&lt;div&gt;&amp;#160;&lt;/div&gt;'; } }" jsxpath="void"></strings>
90              <dynamics jsxborder="@Outset" jsxbg="@Bevel TopDown" jsxbgcolor="@Solid Disabled" jsxtip="action tooltip: remove DC"></dynamics>
91              <object type="jsx3.gui.ImageButton">
92                <variants jsxstate="0" jsxwidth="16" jsxheight="16" jsxenabled="1" jsxprefetch="1" jsxtype="0"></variants>
93                <strings jsxname="imageButtonMask"></strings>
94                <dynamics jsximage="action icon: remove DC" jsxtip="action tooltip: remove DC"></dynamics>
95                <events jsxexecute="this.getAncestorOfName(&quot;DCSViewer&quot;).controller.handleDelete(this.emGetSession().recordId);"></events>
96              </object>
97            </object>
98            <object type="jsx3.gui.Matrix.Column">
99              <variants jsxwidth="20" jsxsort="0" jsxresize="0"></variants>
100              <strings jsxname="view" jsxpadding="3" jsxcellpadding="1" jsxvaluetemplate="@empty" jsxpath="void" jsxdisplay="none"></strings>
101              <dynamics jsxborder="@Outset" jsxbg="@Bevel TopDown" jsxbgcolor="@Solid Disabled" jsxtip="action tooltip: view DC"></dynamics>
102              <object type="jsx3.gui.ImageButton">
103                <variants jsxstate="0" jsxwidth="16" jsxheight="16" jsxenabled="1" jsxprefetch="1" jsxtype="0"></variants>
104                <strings jsxname="imageButtonMask"></strings>
105                <dynamics jsximage="action icon: view DC" jsxtip="action tooltip: view DC"></dynamics>
106                <events jsxexecute="this.getAncestorOfName(&quot;DCSViewer&quot;).controller.handleView(this.emGetSession().recordId);"></events>
107              </object>
108            </object>
109            <object type="jsx3.gui.Matrix.Column">
110              <variants></variants>
111              <strings jsxname="vote" jsxwidth="100" jsxpadding="2" jsxcellpadding="3 0 0 4" jsxvaluetemplate="@empty" jsxformathandler="@lookup" jsxpath="vote" jsxdisplay="none"></strings>
112              <dynamics jsxborder="@Outset" jsxbg="@Bevel TopDown" jsxbgcolor="@Solid Disabled"></dynamics>
113              <object type="jsx3.gui.Select">
114                <variants jsxrelativeposition="0" jsxleft="0" jsxtop="0"></variants>
115                <strings jsxname="selectMask" jsxxml="" jsxdisplay="none" jsxxmlurl="xml/vote.xml"></strings>
116                <events jsxchange="" jsxselect="this.getAncestorOfName(&quot;DCSViewer&quot;).controller.handleVote(this.emGetSession().recordId);"></events>
117              </object>
118            </object>
119            <object type="jsx3.gui.Matrix.Column">
120              <variants jsxwidth="75"></variants>
121              <strings jsxname="votes" jsxtext="" jsxpadding="2" jsxcellpadding="3" jsxpath="votes" jsxtip="The number of accept votes for this Data Category out of the total votes (until now)." jsxformathandler="this.getAncestorOfName(&quot;DCSViewer&quot;).controller.formatRow" jsxdisplay="none" jsxdatatype="text" jsxcelltextalign="left"></strings>
122              <dynamics jsxborder="@Outset" jsxbg="@Bevel TopDown" jsxbgcolor="@Solid Disabled" jsxcellcursor="@Hand"></dynamics>
123            </object>
124            <object type="jsx3.gui.Matrix.Column">
125              <variants jsxwidth="50"></variants>
126              <strings jsxname="rank" jsxtext="Rank" jsxpadding="2" jsxcellpadding="3" jsxpath="rank" jsxtip="The rank of the Data Category in a search result" jsxformathandler="this.getAncestorOfName(&quot;DCSViewer&quot;).controller.formatRow" jsxdisplay="none" jsxdatatype="number" jsxcelltextalign="right"></strings>
127              <dynamics jsxborder="@Outset" jsxbg="@Bevel TopDown" jsxbgcolor="@Solid Disabled" jsxcellcursor="@Hand"></dynamics>
128            </object>
129            <object type="jsx3.gui.Matrix.Column">
130              <variants jsxwidth="50" jsxresize="1"></variants>
131              <strings jsxname="id" jsxtext="#" jsxpadding="2" jsxcellpadding="2" jsxpath="id" jsxdatatype="number" jsxtextalign="left" jsxcelltextalign="right" jsxtip="The id of the Data Category" jsxformathandler="this.getAncestorOfName(&quot;DCSViewer&quot;).controller.formatRow"></strings>
132              <dynamics jsxborder="@Outset" jsxbg="@Bevel TopDown" jsxbgcolor="@Solid Disabled" jsxcellcursor="@Hand"></dynamics>
133            </object>
134            <object type="jsx3.gui.Matrix.Column">
135              <variants jsxwidth="122"></variants>
136              <strings jsxname="identifier" jsxtext="Identifier" jsxpadding="2" jsxcellpadding="3" jsxpath="identifier" jsxtip="The identifier of the Data Category" jsxformathandler="this.getAncestorOfName(&quot;DCSViewer&quot;).controller.formatRow" jsxdisplay="none"></strings>
137              <dynamics jsxborder="@Outset" jsxbg="@Bevel TopDown" jsxbgcolor="@Solid Disabled" jsxcellcursor="@Hand"></dynamics>
138            </object>
139            <object type="jsx3.gui.Matrix.Column">
140              <variants jsxwidth="200"></variants>
141              <strings jsxname="name" jsxtext="Name" jsxpadding="2" jsxcellpadding="3" jsxpath="name" jsxtip="The name of the Data Category" jsxformathandler="this.getAncestorOfName(&quot;DCSViewer&quot;).controller.formatRow"></strings>
142              <dynamics jsxborder="@Outset" jsxbg="@Bevel TopDown" jsxbgcolor="@Solid Disabled" jsxcellcursor="@Hand"></dynamics>
143            </object>
144            <object type="jsx3.gui.Matrix.Column">
145              <variants jsxwidth="50"></variants>
146              <strings jsxname="version" jsxtext="Version" jsxpadding="2" jsxcellpadding="3" jsxpath="version" jsxtip="The version of the Data Category" jsxformathandler="this.getAncestorOfName(&quot;DCSViewer&quot;).controller.formatRow"></strings>
147              <dynamics jsxborder="@Outset" jsxbg="@Bevel TopDown" jsxbgcolor="@Solid Disabled" jsxcellcursor="@Hand"></dynamics>
148            </object>
149            <object type="jsx3.gui.Matrix.Column">
150              <variants></variants>
151              <strings jsxname="administration_status" jsxwidth="*" jsxtext="Administration status" jsxpadding="2" jsxcellpadding="3" jsxpath="administration_status" jsxtip="The administration status of the Data Category" jsxvaluetemplate="&lt;xsl:template xmlns:xsl=&quot;http://www.w3.org/1999/XSL/Transform&quot;&gt;&#xA;    &lt;xsl:param name=&quot;jsx_row_number&quot;/&gt;&#xA; &lt;xsl:variable name=&quot;val&quot; select=&quot;{0}&quot;/&gt;&#xA;  &lt;xsl:choose&gt;&#xA;         &lt;xsl:when test=&quot;$val='private' or $val='accepted'&quot;&gt;&#xA;                        &lt;span style=&quot;color:green;&quot;&gt;&lt;xsl:value-of select=&quot;$val&quot;/&gt;&lt;/span&gt;&#xA;              &lt;/xsl:when&gt;&#xA;          &lt;xsl:when test=&quot;$val='rejected-TDG' or $val='rejected-DCRB' or $val='deleted'&quot;&gt;&#xA;                    &lt;span style=&quot;color:red;&quot;&gt;&lt;xsl:value-of select=&quot;$val&quot;/&gt;&lt;/span&gt;&#xA;                &lt;/xsl:when&gt;&#xA;          &lt;xsl:when test=&quot;$val='external'&quot;&gt;&#xA;                  &lt;span&gt;&lt;xsl:value-of select=&quot;$val&quot;/&gt;&lt;/span&gt;&#xA;             &lt;/xsl:when&gt;&#xA;  &lt;xsl:otherwise&gt;&#xA;                      &lt;span style=&quot;color:orange;&quot;&gt;&lt;xsl:value-of select=&quot;$val&quot;/&gt;&lt;/span&gt;&#xA;             &lt;/xsl:otherwise&gt;&#xA;     &lt;/xsl:choose&gt;&#xA;&lt;/xsl:template&gt;" jsxformathandler="this.getAncestorOfName(&quot;DCSViewer&quot;).controller.formatRow"></strings>
152              <dynamics jsxborder="@Outset" jsxbg="@Bevel TopDown" jsxbgcolor="@Solid Disabled" jsxcellcursor="@Hand"></dynamics>
153            </object>
154            <object type="jsx3.gui.Matrix.Column">
155              <variants></variants>
156              <strings jsxname="registration_status" jsxwidth="*" jsxtext="Registration status" jsxpadding="2" jsxcellpadding="3" jsxpath="registration_status" jsxtip="The registration status of the Data Category" jsxvaluetemplate="&lt;xsl:template xmlns:xsl=&quot;http://www.w3.org/1999/XSL/Transform&quot;&gt;&#xA;    &lt;xsl:param name=&quot;jsx_row_number&quot;/&gt;&#xA; &lt;xsl:variable name=&quot;val&quot; select=&quot;{0}&quot;/&gt;&#xA;  &lt;xsl:choose&gt;&#xA;         &lt;xsl:when test=&quot;$val='candidate'&quot;&gt;&#xA;                 &lt;span style=&quot;color:orange;&quot;&gt;&lt;xsl:value-of select=&quot;$val&quot;/&gt;&lt;/span&gt;&#xA;             &lt;/xsl:when&gt;&#xA;          &lt;xsl:when test=&quot;$val='standard' or $val='private'&quot;&gt;&#xA;                        &lt;span style=&quot;color:green;&quot;&gt;&lt;xsl:value-of select=&quot;$val&quot;/&gt;&lt;/span&gt;&#xA;              &lt;/xsl:when&gt;&#xA;          &lt;xsl:when test=&quot;$val='deprecated' or $val='superseded'&quot;&gt;&#xA;                   &lt;span style=&quot;color:red;&quot;&gt;&lt;xsl:value-of select=&quot;$val&quot;/&gt;&lt;/span&gt;&#xA;                &lt;/xsl:when&gt;&#xA;          &lt;xsl:otherwise&gt;&#xA;                      &lt;xsl:value-of select=&quot;$val&quot;/&gt;&#xA;              &lt;/xsl:otherwise&gt;&#xA;     &lt;/xsl:choose&gt;&#xA;&lt;/xsl:template&gt;" jsxformathandler="this.getAncestorOfName(&quot;DCSViewer&quot;).controller.formatRow"></strings>
157              <dynamics jsxborder="@Outset" jsxbg="@Bevel TopDown" jsxbgcolor="@Solid Disabled" jsxcellcursor="@Hand"></dynamics>
158            </object>
159            <object type="jsx3.gui.Matrix.Column">
160              <variants jsxwidth="40"></variants>
161              <strings jsxname="check" jsxtext="Check" jsxvaluetemplate="@image" jsxpadding="3" jsxcellpadding="1" jsxpath="check_img" jsxtip="The result of the latest check of the Data Category specification" jsxtextalign="center" jsxformathandler="this.getAncestorOfName(&quot;DCSViewer&quot;).controller.formatRow"></strings>
162              <dynamics jsxborder="@Outset" jsxbg="@Bevel TopDown" jsxbgcolor="@Solid Disabled"></dynamics>
163            </object>
164            <object type="jsx3.gui.Matrix.Column">
165              <variants></variants>
166              <strings jsxname="type" jsxwidth="*" jsxtext="Type" jsxpadding="2" jsxcellpadding="3" jsxpath="type" jsxtip="The type of the Data Category" jsxformathandler="this.getAncestorOfName(&quot;DCSViewer&quot;).controller.formatRow"></strings>
167              <dynamics jsxborder="@Outset" jsxbg="@Bevel TopDown" jsxbgcolor="@Solid Disabled" jsxcellcursor="@Hand"></dynamics>
168            </object>
169            <object type="jsx3.gui.Matrix.Column">
170              <variants></variants>
171              <strings jsxname="owner" jsxwidth="*" jsxtext="Owned by" jsxpadding="2" jsxcellpadding="3" jsxpath="owner" jsxtip="The owner of the Data Category" jsxformathandler="this.getAncestorOfName(&quot;DCSViewer&quot;).controller.formatRow"></strings>
172              <dynamics jsxborder="@Outset" jsxbg="@Bevel TopDown" jsxbgcolor="@Solid Disabled" jsxcellcursor="@Hand"></dynamics>
173            </object>
174            <object type="jsx3.gui.Matrix.Column">
175              <variants></variants>
176              <strings jsxname="scope" jsxwidth="*" jsxtext="Scope" jsxpadding="2" jsxcellpadding="3" jsxpath="scope" jsxtip="The scope of the Data Category" jsxformathandler="this.getAncestorOfName(&quot;DCSViewer&quot;).controller.formatRow"></strings>
177              <dynamics jsxborder="@Outset" jsxbg="@Bevel TopDown" jsxbgcolor="@Solid Disabled" jsxcellcursor="@Hand"></dynamics>
178            </object>
179          </object>
180        </object>
181        <object type="jsx3.gui.Block">
182          <variants jsxrelativeposition="0" jsxoverflow="3" jsxzindex="9" jsxleft="0" jsxtop="0"></variants>
183          <strings jsxheight="100%" jsxwidth="100%" jsxname="overlay" jsxvisibility="" jsxdisplay=""></strings>
184          <dynamics jsxbgcolor="@Transparent BG" jsxborder="@No jsxborder"></dynamics>
185          <object type="jsx3.gui.Block">
186            <variants jsxrelativeposition="0" jsxoverflow="2" jsxzindex="99" jsxleft="0" jsxtop="0" jsxwidth="609"></variants>
187            <strings jsxname="ebg" jsxheight="0" jsxdisplay="" jsxtextalign="center" jsxstyleoverride="opacity:0.8;filter:alpha(opacity=80);" jsxvisibility="" jsxbgcolor="white"></strings>
188          </object>
189          <object type="jsx3.gui.Block">
190            <variants jsxoverflow="1" jsxrelativeposition="0" jsxzindex="999" jsxleft="0" jsxtop="0"></variants>
191            <strings jsxheight="100%" jsxname="main" jsxdisplay="" jsxwidth="100%" jsxtext="" jsxvisibility=""></strings>
192            <dynamics jsxborder="@No jsxborder" jsxbgcolor="@Transparent BG"></dynamics>
193          </object>
194        </object>
195      </object>
196    </object>
197  </object>
198</serialization>
Note: See TracBrowser for help on using the repository browser.