Project

General

Profile

root / branches / 3.8-sc50 / model / sources / emeraude / extEmeraude.extdef @ 4204

1
<?xml version="1.0"?>
2
<sm:extDefinition xmlns:sm="http://www.utc.fr/ics/scenari/v3/modeling" xmlns:sc="http://www.utc.fr/ics/scenari/v3/core" keyExt="OpaleExtEmeraude" name=";Module linéaire Émeraude" majorVersion="3" mediumVersion="8" minorVersion="009">
3
	<sm:parentWspDef sc:refUri="/opale/opale.wspdef"/>
4
	<sm:publicClasses>
5
		<sm:group name=";Supports" displayMode="open" sortKey="010sup" groupId="grpRoot">
6
			<sm:class sc:refUri="/emeraude/model/root/webRootA.model" access="readWrite" sortKey="015webRootA">
7
				<sm:mainView>
8
					<sm:formEditorTab name=";Édition" display="visible" formEditorKey=""/>
9
					<sm:blocksTab name=";Publications Web" label=";Web" display="visible" idInView="tabWeb">
10
						<sm:generatorsBlock name=";Publications Web" idInView="bkGenWeb" displayMode="lockedOpen">
11
							<sm:genBox idInView="genAuroraAW">
12
								<sm:generator sc:refUri="/aurora/web/activity/auroraAW.generator"/>
13
							</sm:genBox>
14
						</sm:generatorsBlock>
15
					</sm:blocksTab>
16
					<sm:blocksTab name=";Publications SCORM" label=";SCORM" display="visible" idInView="tabScorm">
17
						<sm:generatorsBlock name=";Publications SCORM" idInView="bkGenScorm" displayMode="lockedOpen">
18
							<sm:genBox idInView="genAuroraAUS">
19
								<sm:generator sc:refUri="/aurora/scorm/uniSCO/activity/auroraAUS.generator"/>
20
								<sm:deployment sc:refUri="/aurora/scorm/uniSCO/activity/genDeploy/packScorm12A.genDeploy"/>
21
								<sm:deployment sc:refUri="/aurora/scorm/uniSCO/activity/genDeploy/packScorm2k4A.genDeploy"/>
22
							</sm:genBox>
23
						</sm:generatorsBlock>
24
					</sm:blocksTab>
25
					<sm:blocksTab name=";Informations techniques" label=";Infos." display="extra" idInView="tabInfo">
26
						<sm:technicalInfoBlock name=";Informations techniques" idInView="bkTech" displayMode="lockedOpen"/>
27
					</sm:blocksTab>
28
					<sm:textEditorTab name=";Édition texte" label=";Texte" display="extra"/>
29
				</sm:mainView>
30
				<sm:insertPublications>
31
					<sm:generator sc:refUri="/aurora/web/activity/auroraAW.generator"/>
32
					<sm:generator sc:refUri="/aurora/scorm/uniSCO/activity/auroraAUS.generator">
33
						<sm:subGenerator sc:refUri="/aurora/scorm/uniSCO/activity/genDeploy/packScorm12A.genDeploy">
34
							<sm:properties>
35
								<sm:genProperty id="passingScore@stored" label=";Seuil de réussite (%)" defaultValue="80" required="false">
36
									<sm:openHtmlInput type="number">
37
										<sm:openHtmlInputAtt key="min" value="0"/>
38
										<sm:openHtmlInputAtt key="max" value="100"/>
39
									</sm:openHtmlInput>
40
								</sm:genProperty>
41
							</sm:properties>
42
						</sm:subGenerator>
43
						<sm:subGenerator sc:refUri="/aurora/scorm/uniSCO/activity/genDeploy/packScorm2k4A.genDeploy">
44
							<sm:properties>
45
								<sm:genProperty id="passingScore@stored" label=";Seuil de réussite (%)" defaultValue="80" required="false">
46
									<sm:openHtmlInput type="number">
47
										<sm:openHtmlInputAtt key="min" value="0"/>
48
										<sm:openHtmlInputAtt key="max" value="100"/>
49
									</sm:openHtmlInput>
50
								</sm:genProperty>
51
							</sm:properties>
52
						</sm:subGenerator>
53
					</sm:generator>
54
				</sm:insertPublications>
55
				<sm:mainXmlEditor>
56
					<sm:editor sc:refUri="/wui/edClassic.editor"/>
57
				</sm:mainXmlEditor>
58
			</sm:class>
59
			<sm:class sc:refUri="/emeraude/model/root/odRootA.model" access="readWrite" sortKey="025odRootA">
60
				<sm:mainView>
61
					<sm:formEditorTab name=";Édition" idInView="tabEdit" display="visible" formEditorKey=""/>
62
					<sm:blocksTab name=";Publications Papier" label=";Papier" display="visible" idInView="tabPub">
63
						<sm:generatorsBlock name=";Publications Papier" idInView="bkGenOd" displayMode="lockedOpen">
64
							<sm:genBox idInView="genPaperLight">
65
								<sm:generator sc:refUri="/academic/gen/paper/paperLight.generator"/>
66
							</sm:genBox>
67
						</sm:generatorsBlock>
68
					</sm:blocksTab>
69
					<sm:blocksTab name=";Informations techniques" label=";Infos." display="visible" idInView="tabInfo">
70
						<sm:technicalInfoBlock name=";Informations techniques" idInView="bkTech" displayMode="lockedOpen"/>
71
					</sm:blocksTab>
72
					<sm:textEditorTab name=";Édition texte" label=";Texte" idInView="tabTxt" display="extra"/>
73
				</sm:mainView>
74
				<sm:insertPublications>
75
					<sm:generator sc:refUri="/academic/gen/paper/paperLight.generator"/>
76
				</sm:insertPublications>
77
				<sm:mainXmlEditor>
78
					<sm:editor sc:refUri="/wui/edClassic.editor"/>
79
				</sm:mainXmlEditor>
80
			</sm:class>
81
			<sm:class sc:refUri="/emeraude/model/root/presRootA.model" access="readWrite" sortKey="035presRootA">
82
				<sm:mainView>
83
					<sm:formEditorTab name=";Édition" display="visible" formEditorKey=""/>
84
					<sm:blocksTab name=";Publications Diaporama" label=";Diapo." display="visible" idInView="tabPub">
85
						<sm:generatorsBlock name=";Publications Diaporama" idInView="bkGenPres" displayMode="lockedOpen">
86
							<sm:genBox idInView="genAuroraAD">
87
								<sm:generator sc:refUri="/aurora/pres/activity/auroraAD.generator"/>
88
							</sm:genBox>
89
						</sm:generatorsBlock>
90
					</sm:blocksTab>
91
					<sm:blocksTab name=";Aperçu Diaporama" label=";Aperçu" display="visible" idInView="tabPrePres">
92
						<sm:displayingBlock name=";Aperçu Diaporama" idInView="bkPrePres" displayMode="lockedOpen">
93
							<sm:toolbar skinMenu="yes" homeButton="yes" openButton="yes" copyButton="yes" reloadButton="yes" navButtons="yes"/>
94
							<sm:interactiveGenerator sc:refUri="/aurora/pres/activity/pre/auroraADpre.generator"/>
95
						</sm:displayingBlock>
96
					</sm:blocksTab>
97
					<sm:blocksTab name=";Informations techniques" label=";Infos." display="extra" idInView="tabInfo">
98
						<sm:technicalInfoBlock name=";Informations techniques" idInView="bkTech" displayMode="lockedOpen"/>
99
					</sm:blocksTab>
100
					<sm:textEditorTab name=";Édition texte" label=";Texte" display="extra"/>
101
				</sm:mainView>
102
				<sm:insertPublications>
103
					<sm:generator sc:refUri="/aurora/pres/activity/auroraAD.generator"/>
104
				</sm:insertPublications>
105
				<sm:insertMainviewSubTabs>
106
					<sm:interactiveGeneratorTab label=";Aperçu">
107
						<sm:generator sc:refUri="/aurora/pres/activity/pre/auroraADpre.generator"/>
108
						<sm:icon sc:refUri="/wui/edit/_res/_ico/sld.svg"/>
109
					</sm:interactiveGeneratorTab>
110
				</sm:insertMainviewSubTabs>
111
				<sm:mainXmlEditor>
112
					<sm:editor sc:refUri="/wui/edClassic.editor"/>
113
				</sm:mainXmlEditor>
114
			</sm:class>
115
		</sm:group>
116
		<sm:class sc:refUri="/emeraude/model/activity/activity.model" access="readWrite" sortKey="025activity">
117
			<sm:mainView>
118
				<sm:formEditorTab name=";Édition" idInView="tabEdit" display="visible" formEditorKey=""/>
119
				<sm:blocksTab name=";Aperçu Web" label=";Aperçu" display="visible" idInView="tabPreAurora">
120
					<sm:displayingBlock name=";Prévisualisation Web Aurora" idInView="bkPreAurora" displayMode="lockedOpen">
121
						<sm:toolbar skinMenu="yes" homeButton="yes" openButton="yes" copyButton="yes" reloadButton="yes" navButtons="yes"/>
122
						<sm:interactiveGenerator sc:refUri="/aurora/web/pre/auroraWpre.generator"/>
123
					</sm:displayingBlock>
124
				</sm:blocksTab>
125
				<sm:blocksTab name=";Informations techniques" label=";Infos." display="extra" idInView="tabInfo">
126
					<sm:technicalInfoBlock name=";Informations techniques" idInView="bkTech" displayMode="lockedOpen"/>
127
				</sm:blocksTab>
128
				<sm:textEditorTab name=";Édition texte" label=";Texte" idInView="tabTxt" display="extra"/>
129
			</sm:mainView>
130
			<sm:insertMainviewSubTabs>
131
				<sm:interactiveGeneratorTab label=";Aperçu">
132
					<sm:classSelector>
133
						<sm:signature matchRegExp="(@op_activity)\b.*"/>
134
					</sm:classSelector>
135
					<sm:generator sc:refUri="/aurora/web/pre/auroraWpre.generator"/>
136
					<sm:icon sc:refUri="/wui/edit/_res/_ico/comments.svg"/>
137
				</sm:interactiveGeneratorTab>
138
			</sm:insertMainviewSubTabs>
139
			<sm:mainXmlEditor>
140
				<sm:editor sc:refUri="/wui/edClassic.editor"/>
141
			</sm:mainXmlEditor>
142
			<sm:hiddenEditors>
143
				<sm:editor sc:refUri="/wui/correct/edCorrect.editor"/>
144
			</sm:hiddenEditors>
145
		</sm:class>
146
	</sm:publicClasses>
147
	<sm:wspFront>
148
		<sm:wspsPlugin>
149
			<sm:document sc:refUri="/emeraude/model/activity/activity.model">
150
				<sm:support sc:refUri="/emeraude/model/root/webRootA.model" linkDocPartCode="activity">
151
					<sm:editor sc:refUri="/wui/edClassic.editor"/>
152
				</sm:support>
153
				<sm:support sc:refUri="/emeraude/model/root/presRootA.model" linkDocPartCode="activity">
154
					<sm:editor sc:refUri="/wui/edClassic.editor"/>
155
				</sm:support>
156
			</sm:document>
157
		</sm:wspsPlugin>
158
	</sm:wspFront>
159
	<sm:migration>
160
		<sm:update sc:refUri="/emeraude/migr/migrFromEmeraude1.1.xxx.doss">
161
			<sm:from key="emeraude" majorVersion="1" mediumVersion="1" minorVersion="000" scenariVersion="3.7"/>
162
			<sm:to key="OpaleExtEmeraude" majorVersion="3" mediumVersion="8" minorVersion="000" scenariVersion="5.0"/>
163
		</sm:update>
164
		<sm:update sc:refUri="/emeraude/migr/migrFromEmeraude1.2.xxx.doss">
165
			<sm:from key="emeraude" majorVersion="1" mediumVersion="2" minorVersion="000" scenariVersion="4.0"/>
166
			<sm:to key="OpaleExtEmeraude" majorVersion="3" mediumVersion="8" minorVersion="000" scenariVersion="5.0"/>
167
		</sm:update>
168
		<sm:update sc:refUri="/emeraude/migr/migrFromEmeraude1.3.xxx.doss">
169
			<sm:from key="emeraude" majorVersion="1" mediumVersion="3" minorVersion="000" scenariVersion="4.1"/>
170
			<sm:to key="OpaleExtEmeraude" majorVersion="3" mediumVersion="8" minorVersion="000" scenariVersion="5.0"/>
171
		</sm:update>
172
	</sm:migration>
173
	<sm:free>
174
		<sm:front>
175
			<sm:freeUiOverlay targetUri="chrome://scenariWsp/content/desks/wspDesk/extTarget.js" xml:space="preserve">Components.utils.import("chrome://scenariCommons/content/commons.jsm");
176
Components.utils.import("chrome://scenariCore/content/widgets/jsForm/jsForm.jsm");
177

    
178
// # Paramétrage des options SCORM
179

    
180
try{
181
	// SCORM2004 et SCORM1.2 eval : ajout du seuil de réussite
182
	var vPassingScore= new jsForm.TextInputArea("passingScore@stored")
183
									.setLabel("Seuil de réussite (%)")
184
									.setRequired(false)
185
									.setType('number')//nécessite Gecko29; TODO : affecter min et max
186
									.setPattern('[0-9]{1,3}')
187
									.setDefaultValue(80);
188
	extPoints.addToList("genDeploy:packScorm2k4A:params", 'passingScore@stored', 101, vPassingScore, 10);
189
	extPoints.addToList("genDeploy:packScorm12A:params", 'passingScore@stored', 101, vPassingScore, 10);
190
	
191
}catch(e){log.debug(e)}</sm:freeUiOverlay>
192
		</sm:front>
193
	</sm:free>
194
</sm:extDefinition>
(1-1/3)