Project

General

Profile

root / branches / sc50-v2.0 / sources2-0-011 / academic / model / _edt / metaData / langM.xed @ 322

1
<?xml version="1.0"?>
2
<sm:freeXed xmlns:sm="http://www.utc.fr/ics/scenari/v3/modeling" xmlns:se="http://www.utc.fr/ics/scenari/v3/editing" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" code="op_langM">
3
	<sm:normalInternalizedEditor id="op_langM"/>
4
	<sm:hideHeaderInternalizedEditor id="op_langM"/>
5
	<sm:namespaceToDeclare prefix="op" ns="utc.fr:ics/opale3"/>
6
	<sm:namespaceToDeclare prefix="sp" ns="http://www.utc.fr/ics/scenari/v3/primitive"/>
7
	<sm:namespaceToDeclare prefix="xul" ns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"/>
8
	<se:editor se:namespaces="true">
9
		<se:lib>
10
			<hiddenElement se:id="op_langM" se:bind="element" se:declareNs="sp op sc" se:title="Propriété de langue" se:name="op:langM">
11
				<childs>
12
					<se:ref se:refid="s_content"/>
13
				</childs>
14
			</hiddenElement>
15
			<hiddenElement se:id="op_langM:hideHeader" se:bind="element" se:declareNs="sp op sc" se:title="Propriété de langue" se:name="op:langM">
16
				<childs>
17
					<se:ref se:refid="s_content"/>
18
				</childs>
19
			</hiddenElement>
20
			<se:template se:id="s_content">
21
				<element se:bind="element" class="property" startAt="80" se:title="Langue (code)" se:name="sp:code" se:card="?" orientation="horizontal">
22
					<childs>
23
						<contentElement se:bind="text" class="property">
24
							<textInput trim="true" notnull="true" frenchPonct="false" filterRegExp="^[a-z]{2}(-[A-Z]{2})*$" autocompleteProviderXPath="../xul:fixedProvider"/>
25
							<fixedProvider>
26
								<fpItem value="ar"/>
27
								<fpItem value="de"/>
28
								<fpItem value="el"/>
29
								<fpItem value="en"/>
30
								<fpItem value="es"/>
31
								<fpItem value="fi"/>
32
								<fpItem value="fr"/>
33
								<fpItem value="hu"/>
34
								<fpItem value="it"/>
35
								<fpItem value="ja"/>
36
								<fpItem value="la"/>
37
								<fpItem value="nl"/>
38
								<fpItem value="pt"/>
39
								<fpItem value="ro"/>
40
								<fpItem value="ru"/>
41
								<fpItem value="zh"/>
42
							</fixedProvider>
43
						</contentElement>
44
						<description style="color:silver;font-style: italic;">Code de langue ISO639 ou RFC1766 de la forme "en" ou "pt-BR".</description>
45
					</childs>
46
				</element>
47
			</se:template>
48
		</se:lib>
49
	</se:editor>
50
</sm:freeXed>
(2-2/4)