root/trunk/Wsp_Modeling/es/content/uiWidget/crossRefTableUiWidget/xml.xed.xml @ 6854

Revision 6854, 14.3 KB (checked in by sam, 4 years ago)

Ticket #40 - crossRefTableUiWidget : stylage impossible de sm:WTooltip

Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<!--
3/*
4 * LICENCE[[
5 * Version: MPL 1.1/GPL 2.0/LGPL 2.1/CeCILL 2.O
6 *
7 * The contents of this file are subject to the Mozilla Public License Version
8 * 1.1 (the "License"); you may not use this file except in compliance with
9 * the License. You may obtain a copy of the License at http://www.mozilla.org/MPL/
10 *
11 * Software distributed under the License is distributed on an "AS IS" basis,
12 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
13 * for the specific language governing rights and limitations under the
14 * License.
15 *
16 * The Original Code is kelis.fr code.
17 *
18 * The Initial Developer of the Original Code is
19 * sylvain.spinelli@kelis.fr
20 *
21 * Portions created by the Initial Developer are Copyright (C) 2006
22 * the Initial Developer. All Rights Reserved.
23 *
24 * Contributor(s):
25 *
26 *
27 * Alternatively, the contents of this file may be used under the terms of
28 * either of the GNU General Public License Version 2 or later (the "GPL"),
29 * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
30 * or the CeCILL Licence Version 2.0 (http://www.cecill.info/licences.en.html),
31 * in which case the provisions of the GPL, the LGPL or the CeCILL are applicable
32 * instead of those above. If you wish to allow use of your version of this file
33 * only under the terms of either the GPL, the LGPL or the CeCILL, and not to allow
34 * others to use your version of this file under the terms of the MPL, indicate
35 * your decision by deleting the provisions above and replace them with the notice
36 * and other provisions required by the GPL, the LGPL or the CeCILL. If you do not
37 * delete the provisions above, a recipient may use your version of this file under
38 * the terms of any one of the MPL, the GPL, the LGPL or the CeCILL.
39 * ]]LICENCE
40 */
41-->
42<!DOCTYPE window [
43  <!ENTITY % appExtCommon SYSTEM "chrome://sc3packmodeling1/locale/common/widgets.dtd">
44  %appExtCommon;
45]>
46<se:editor      xmlns="http://www.w3.org/1999/xhtml"
47                        xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
48                        xmlns:sm="http://www.utc.fr/ics/scenari/v3/modeling"
49                        xmlns:se="http://www.utc.fr/ics/scenari/v3/editing"
50                        xmlns:sc="http://www.utc.fr/ics/scenari/v3/core"
51                        se:namespaces="true">
52        <se:lib>
53                <xul:attribute se:id="axis" se:bind="attribute" se:name="axis">
54                        <xul:wordsInput trim="true" validRegExp="^[a-zA-Z0-9]*$" autocompleteProviderXPath="id('axis')"/>
55                </xul:attribute>
56                <xul:attribute se:id="attCommonClass"  se:bind="attribute" se:name="sm:commonClass">
57                        <xul:wordsInput/>
58                </xul:attribute>
59               
60                <xul:textnode se:id="Textnode" se:bind="text" se:show="ifExist">
61                        <xul:textpanelInput removable="true" filterspaces="false"/>
62                </xul:textnode>
63                <xul:element se:id="img" se:name="img" se:bind="element" forcefilled="true">
64                        <xul:atts>
65                                <xul:ptritem se:bind="attribute" se:name="sc:refUri" class="xmlview" notnull="true" regexpSgn=".*#Image\b.*"/>
66                                <xul:attribute se:bind="attribute" se:name="alt">
67                                        <xul:wordsInput/>
68                                </xul:attribute>
69                                <se:ref se:refid="attCommonClass"/>
70                                <xul:attribute se:bind="attribute" se:show="ifExist">
71                                        <xul:wordsInput/>
72                                </xul:attribute>
73                        </xul:atts>
74                </xul:element>
75                <se:template se:id="genEltAtts">
76                        <se:ref se:refid="attCommonClass"/>
77                        <xul:attribute se:bind="attribute" se:show="ifExist">
78                                <xul:wordsInput/>
79                        </xul:attribute>
80                        <!--
81                        <xul:genattr se:bind="attribute" se:show="ifExist">
82                                <xul:wordsInput/>
83                        </xul:genattr>
84                        <xul:insertAttr se:bind="current"/>
85                        -->
86                </se:template>
87        </se:lib>
88        <xul:xmlview se:bind="document">
89                <xul:wspInputHistoryProvider code="axisXhtml" id="axis"/>
90                <xul:element se:name="sm:crossRefTableUiWidget" se:bind="element" se:declareNs="sc sm" insert="collapsed">
91                        <xul:atts>
92                                <xul:attribute se:name="code"  se:bind="attribute" se:mandat="true">
93                                        <xul:wordsInput trim="true" notnull="true"/>
94                                </xul:attribute>
95                                <xul:attribute se:name="info" se:bind="attribute">
96                                        <xul:wordsInput trim="true"/>
97                                </xul:attribute>
98                        </xul:atts>
99                        <xul:childs>
100                                <xul:element se:name="sm:refEntries" se:bind="element">
101                                        <xul:atts>
102                                                <xul:attribute se:name="key" se:bind="attribute" se:mandat="true">
103                                                        <xul:wordsInput trim="true" notnull="true"/>
104                                                </xul:attribute>
105                                        </xul:atts>
106                                        <xul:childs>
107                                                <xul:element se:name="sm:callableModel" se:bind="element" se:card="+"
108                                                        tooltipTag="Modèles correspondant aux entrées de la table.">
109                                                        <xul:atts>
110                                                                <xul:ptritem se:bind="plugin" se:attributes="sc:refUri" class="xmlview" notnull="true" regexpSgn=".*#Class\b[\w:]*:Content.*"/>
111                                                        </xul:atts>
112                                                </xul:element>
113                                                <xul:insert se:bind="current"/>
114                                        </xul:childs>
115                                </xul:element>
116                                <xul:element se:name="sm:sortEntries" se:bind="element" se:card="?">
117                                        <xul:childs>
118                                                <xul:alternativeAlone se:bind="choice" se:defaultChild="-1" se:card="?">
119                                                        <xul:element se:name="sm:alphaNonCaseSensitive" se:bind="element">
120                                                                <xul:childs>
121                                                                        <xul:alternativeAlone se:bind="choice">
122                                                                                <xul:element se:name="sm:callEntryTitle" se:id="sm:callEntryTitle" se:bind="element" forcefilled="true">
123                                                                                        <xul:atts>
124                                                                                                <xul:attribute se:name="type" se:bind="attribute" se:mandat="true">
125                                                                                                        <xul:choiceInput notnull="true">
126                                                                                                                <xul:ciItem label="shortTitleText"/>
127                                                                                                                <xul:ciItem label="fullTitleText"/>
128                                                                                                        </xul:choiceInput>
129                                                                                                </xul:attribute>
130                                                                                                <se:ref se:refid="axis"/>
131                                                                                        </xul:atts>
132                                                                                </xul:element>
133                                                                                <xul:element se:name="sm:callEntryContent" se:id="sm:callEntryContent" se:bind="element" forcefilled="true">
134                                                                                        <xul:atts>
135                                                                                                <se:ref se:refid="axis"/>
136                                                                                        </xul:atts>
137                                                                                </xul:element>
138                                                                        </xul:alternativeAlone>
139                                                                </xul:childs>
140                                                        </xul:element>
141                                                </xul:alternativeAlone>
142                                        </xul:childs>
143                                </xul:element>
144                                <xul:element se:name="sm:filterEntries" se:bind="element" se:card="?">
145                                        <xul:childs>
146                                                <xul:element se:name="sm:callersFromDescendants" se:bind="element" se:card="?" se:show="ifExist" forcefilled="true"
147                                                        tooltipTag="Entrées référencées dans les pages issues du contenu en cours ou d'un contenu descendant.">
148                                                        <xul:atts>
149                                                                <se:ref se:refid="axis"/>
150                                                        </xul:atts>
151                                                </xul:element>
152                                                <xul:insert se:bind="current"/>
153                                        </xul:childs>
154                                </xul:element>
155                                <xul:element se:name="sm:content" se:bind="element">
156                                        <xul:childs>
157                                                <se:choice se:id="choiceContent" se:card="*" se:show="ifExist">
158                                                        <xul:element se:name="sm:forEntry" se:bind="element">
159                                                                <xul:childs>
160                                                                        <se:choice se:id="choiceEntry" se:card="*" se:show="ifExist">
161                                                                                <se:ref se:refid="sm:callEntryTitle"/>
162                                                                                <se:ref se:refid="sm:callEntryContent"/>
163                                                                                <xul:element se:name="sm:forCaller" se:bind="element">
164                                                                                        <xul:childs>
165                                                                                                <se:choice se:id="choiceCaller" se:card="*" se:show="ifExist">
166                                                                                                        <xul:element se:name="sm:titlePageCaller" se:id="sm:titlePageCaller" se:bind="element" forcefilled="true"/>
167                                                                                                        <xul:element se:name="sm:WLinkCaller" se:bind="element">
168                                                                                                                <xul:atts>
169                                                                                                                        <se:ref se:refid="attCommonClass" se:name="commonClass"/>
170                                                                                                                </xul:atts>
171                                                                                                                <xul:childs>
172                                                                                                                        <xul:element se:name="sm:label" se:bind="element">
173                                                                                                                                <xul:childs>
174                                                                                                                                        <se:choice se:id="choiceLabelCaller" se:card="*" se:show="ifExist">
175                                                                                                                                                <se:ref se:refid="sm:titlePageCaller"/>
176                                                                                                                                                <se:ref se:refid="img"/>
177                                                                                                                                                <xul:genelt forcefilled="true" se:bind="element">
178                                                                                                                                                        <xul:atts>
179                                                                                                                                                                <se:ref se:refid="genEltAtts"/>
180                                                                                                                                                        </xul:atts>
181                                                                                                                                                        <xul:childs>
182                                                                                                                                                                <se:ref se:refid="choiceLabelCaller"/>
183                                                                                                                                                                <xul:insert se:bind="current"/>
184                                                                                                                                                        </xul:childs>
185                                                                                                                                                </xul:genelt>
186                                                                                                                                                <se:ref se:refid="Textnode"/>
187                                                                                                                                        </se:choice>
188                                                                                                                                        <xul:insert se:bind="current"/>
189                                                                                                                                </xul:childs>
190                                                                                                                        </xul:element>
191                                                                                                                        <xul:element se:name="sm:labelTitle" se:id="sm:labelTitle_caller" se:bind="element" se:card="?" tooltipTag="&common.widgets.wLink.labelTitle;">
192                                                                                                                                <xul:childs>
193                                                                                                                                        <se:choice se:card="*" se:show="ifExist">
194                                                                                                                                                <se:ref se:refid="sm:titlePageCaller"/>
195                                                                                                                                                <se:ref se:refid="Textnode"/>
196                                                                                                                                        </se:choice>
197                                                                                                                                        <xul:insert se:bind="current"/>
198                                                                                                                                </xul:childs>
199                                                                                                                        </xul:element>
200                                                                                                                        <xul:element se:name="sm:link" se:bind="element">
201                                                                                                                                <xul:atts>
202                                                                                                                                        <xul:attribute se:name="target" se:bind="attribute">
203                                                                                                                                                <xul:choiceInput>
204                                                                                                                                                        <xul:ciItem label="newWindow"/>
205                                                                                                                                                        <xul:ciItem label="namedWindow"/>
206                                                                                                                                                        <xul:ciItem label="sameWindow"/>
207                                                                                                                                                </xul:choiceInput>
208                                                                                                                                        </xul:attribute>
209                                                                                                                                        <xul:attribute se:name="windowName" se:bind="attribute">
210                                                                                                                                                <xul:wordsInput trim="true"/>
211                                                                                                                                        </xul:attribute>
212                                                                                                                                        <xul:attribute se:bind="attribute" se:name="windowOptions">
213                                                                                                                                                <xul:wordsInput/>
214                                                                                                                                        </xul:attribute>
215                                                                                                                                </xul:atts>
216                                                                                                                        </xul:element>
217                                                                                                                </xul:childs>
218                                                                                                        </xul:element>
219                                                                                                        <xul:element se:name="sm:WTooltip" se:bind="element">
220                                                                                                                <xul:atts>
221                                                                                                                        <se:ref se:refid="attCommonClass" se:name="commonClass"/>
222                                                                                                                </xul:atts>
223                                                                                                                <xul:childs>
224                                                                                                                        <xul:element se:name="sm:label" se:id="ttChildren_forCall" se:bind="element">
225                                                                                                                                <xul:childs>
226                                                                                                                                        <se:ref se:refid="choiceCaller"/>
227                                                                                                                                        <xul:insert se:bind="current"/>
228                                                                                                                                </xul:childs>
229                                                                                                                        </xul:element>
230                                                                                                                        <se:ref se:refid="sm:labelTitle_caller"/>
231                                                                                                                        <xul:element se:name="sm:tooltip" se:bind="element" forcefilled="true">
232                                                                                                                                <xul:atts>
233                                                                                                                                        <xul:attribute se:name="trigger" se:bind="attribute">
234                                                                                                                                                <xul:choiceInput>
235                                                                                                                                                        <xul:ciItem label="onmouseover"/>
236                                                                                                                                                        <xul:ciItem label="onclick"/>
237                                                                                                                                                </xul:choiceInput>
238                                                                                                                                        </xul:attribute>
239                                                                                                                                        <xul:attribute se:name="displayOptions" se:bind="attribute">
240                                                                                                                                                <xul:wordsInput trim="true"/>
241                                                                                                                                        </xul:attribute>
242                                                                                                                                </xul:atts>
243                                                                                                                                <xul:childs>
244                                                                                                                                        <se:ref se:name="sm:ttTitle" se:refid="ttChildren_forCall" se:card="?"/>
245                                                                                                                                        <se:ref se:name="sm:ttContent" se:refid="ttChildren_forCall" se:card="?"/>
246                                                                                                                                </xul:childs>
247                                                                                                                        </xul:element>
248                                                                                                                </xul:childs>
249                                                                                                        </xul:element>
250                                                                                                        <se:ref se:refid="img"/>
251                                                                                                        <xul:genelt forcefilled="true" se:bind="element">
252                                                                                                                <xul:atts>
253                                                                                                                        <se:ref se:refid="genEltAtts"/>
254                                                                                                                </xul:atts>
255                                                                                                                <xul:childs>
256                                                                                                                        <se:ref se:refid="choiceCaller"/>
257                                                                                                                        <xul:insert se:bind="current"/>
258                                                                                                                </xul:childs>
259                                                                                                        </xul:genelt>
260                                                                                                        <se:ref se:refid="Textnode"/>
261                                                                                                </se:choice>
262                                                                                                <xul:insert se:bind="current"/>
263                                                                                        </xul:childs>
264                                                                                </xul:element>
265                                                                                <xul:element se:name="sm:WTooltip" se:bind="element">
266                                                                                        <xul:atts>
267                                                                                                <se:ref se:refid="attCommonClass" se:name="commonClass"/>
268                                                                                        </xul:atts>
269                                                                                        <xul:childs>
270                                                                                                <xul:element se:name="sm:label" se:id="ttChildren_forEnt" se:bind="element">
271                                                                                                        <xul:childs>
272                                                                                                                <se:ref se:refid="choiceEntry"/>
273                                                                                                                <xul:insert se:bind="current"/>
274                                                                                                        </xul:childs>
275                                                                                                </xul:element>
276                                                                                                <xul:element se:name="sm:labelTitle" se:bind="element" se:card="?" tooltipTag="&common.widgets.wLink.labelTitle;">
277                                                                                                        <xul:childs>
278                                                                                                                <se:choice se:card="*" se:show="ifExist">
279                                                                                                                        <se:ref se:refid="sm:callEntryTitle"/>
280                                                                                                                        <se:ref se:refid="Textnode"/>
281                                                                                                                </se:choice>
282                                                                                                                <xul:insert se:bind="current"/>
283                                                                                                        </xul:childs>
284                                                                                                </xul:element>
285                                                                                                <xul:element se:name="sm:tooltip" se:bind="element" forcefilled="true">
286                                                                                                        <xul:atts>
287                                                                                                                <xul:attribute se:name="trigger" se:bind="attribute">
288                                                                                                                        <xul:choiceInput>
289                                                                                                                                <xul:ciItem label="onmouseover"/>
290                                                                                                                                <xul:ciItem label="onclick"/>
291                                                                                                                        </xul:choiceInput>
292                                                                                                                </xul:attribute>
293                                                                                                                <xul:attribute se:name="displayOptions" se:bind="attribute">
294                                                                                                                        <xul:wordsInput trim="true"/>
295                                                                                                                </xul:attribute>
296                                                                                                        </xul:atts>
297                                                                                                        <xul:childs>
298                                                                                                                <se:ref se:name="sm:ttTitle" se:refid="ttChildren_forEnt" se:card="?"/>
299                                                                                                                <se:ref se:name="sm:ttContent" se:refid="ttChildren_forEnt" se:card="?"/>
300                                                                                                        </xul:childs>
301                                                                                                </xul:element>
302                                                                                        </xul:childs>
303                                                                                </xul:element>
304                                                                                <se:ref se:refid="img"/>
305                                                                                <xul:genelt forcefilled="true" se:bind="element">
306                                                                                        <xul:atts>
307                                                                                                <se:ref se:refid="genEltAtts"/>
308                                                                                        </xul:atts>
309                                                                                        <xul:childs>
310                                                                                                <se:ref se:refid="choiceEntry"/>
311                                                                                                <xul:insert se:bind="current"/>
312                                                                                        </xul:childs>
313                                                                                </xul:genelt>
314                                                                                <se:ref se:refid="Textnode"/>
315                                                                        </se:choice>
316                                                                        <xul:insert se:bind="current"/>
317                                                                </xul:childs>
318                                                        </xul:element>
319                                                        <se:ref se:refid="img"/>
320                                                        <xul:genelt forcefilled="true" se:bind="element">
321                                                                <xul:atts>
322                                                                        <se:ref se:refid="genEltAtts"/>
323                                                                </xul:atts>
324                                                                <xul:childs>
325                                                                        <se:ref se:refid="choiceContent"/>
326                                                                        <xul:insert se:bind="current"/>
327                                                                </xul:childs>
328                                                        </xul:genelt>
329                                                        <se:ref se:refid="Textnode"/>
330                                                </se:choice>
331                                                <xul:insert se:bind="current"/>
332                                        </xul:childs>
333                                </xul:element>
334                        </xul:childs>
335                </xul:element>
336        </xul:xmlview>
337</se:editor>
Note: See TracBrowser for help on using the browser.