Project

General

Profile

« Previous | Next » 

Revision 1445

migration 3.6.003

View differences:

mml.model
1
<?xml version="1.0" encoding="UTF-8"?>
2
<!--
3
 * LICENCE[[
4
 * Version: MPL 1.1/GPL 2.0/LGPL 2.1/CeCILL 2.O 
5
 *
6
 * The contents of this file are subject to the Mozilla Public License Version 
7
 * 1.1 (the "License"); you may not use this file except in compliance with 
8
 * the License. You may obtain a copy of the License at http://www.mozilla.org/MPL/ 
9
 * 
10
 * Software distributed under the License is distributed on an "AS IS" basis, 
11
 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License 
12
 * for the specific language governing rights and limitations under the 
13
 * License. 
14
 * 
15
 * The Original Code is kelis.fr code. 
16
 * 
17
 * The Initial Developer of the Original Code is 
18
 * antoine.pourchez@kelis.fr on behalf of USTL / SEMM (http://semm.univ-lille1.fr)
19
 * 
20
 * Portions created by the Initial Developer are Copyright (C) 2005 
21
 * the Initial Developer. All Rights Reserved. 
22
 * 
23
 * Contributor(s): 
24
 * 
25
 * 
26
 * Alternatively, the contents of this file may be used under the terms of 
27
 * either of the GNU General Public License Version 2 or later (the "GPL"), 
28
 * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), 
29
 * or the CeCILL Licence Version 2.0 (http://www.cecill.info/licences.en.html), 
30
 * in which case the provisions of the GPL, the LGPL or the CeCILL are applicable 
31
 * instead of those above. If you wish to allow use of your version of this file 
32
 * only under the terms of either the GPL or the LGPL, and not to allow others 
33
 * to use your version of this file under the terms of the MPL, indicate your 
34
 * decision by deleting the provisions above and replace them with the notice 
35
 * and other provisions required by the GPL or the LGPL. If you do not delete 
36
 * the provisions above, a recipient may use your version of this file under 
37
 * the terms of any one of the MPL, the GPL, the LGPL or the CeCILL.
38
 * ]]LICENCE
39
 -->
40
<sm:freePrim xmlns:sc="http://www.utc.fr/ics/scenari/v3/core" xmlns:sm="http://www.utc.fr/ics/scenari/v3/modeling" codeModel="mml" isInternalizable="no" name="Equation mathématique MathML" primitiveSignature="@sm_binaryPrim#Class:Content:Public#Glimpse:Img">
41
	<sm:namespaceToDeclare prefix="math" ns="http://www.w3.org/1998/Math/MathML"/>
42
	<sm:links/>
43
	<sm:storageSheet>
44
		<sm:standAloneItem>
45
			<sm:ss sc:refUri="/math/mml/_res/model/bs.txt" encoding="ISO-8859-1"/>
46
		</sm:standAloneItem>
47
	</sm:storageSheet>
48
	<sm:editionSheet>
49
		<sm:standAloneItem>
50
			<sm:icon sc:refUri="/math/mml/_res/model/ico.doss"/>
51
			<sm:registerModelInPack>	vModel = new ModelBase(
52
		"[![agent=//codeModel]!]",
53
		"[![agent=//iconFolderPath]!]",
54
		"[![agent=//nameModelInJs]!]",
55
		"[![agent=//mainview.xul;arguments=act:]!]",
56
		 "[![agent=//prefixChromeUrl]!]/mml/preview.xul",
57
		 "facet=glimpse"
58
		 ); 
59
	vPack.registerModel(vModel); 
60
</sm:registerModelInPack>
61
			<sm:creatorItemInPack> vCreator = new CreatorItem3 (
62
                        this, 
63
                        "[![agent=//codeModel]!]",
64
                        "[![agent=//codeModel]!]", 
65
                        "[![agent=//nameModelInJs]!]",
66
                        "[![agent=//iconFolderPath]!]/icovalid.png", 
67
                        null, 
68
                        ".mml", 
69
                        "string", 
70
                        '&lt;?xml version="1.0" encoding="ISO-8859-1"?&gt;\n&lt;!DOCTYPE math PUBLIC "-//W3C//DTD MathML 2.0//EN"  "http://www.w3.org/TR/MathML2/dtd/mathml2.dtd"&gt;\n&lt;math&gt;&lt;/math&gt;',
71
                         "math{optionalCounter}",
72
                        "" );
73
                </sm:creatorItemInPack>
74
			<sm:mainView sc:refUri="/math/mml/_res/model/mainview.txt"/>
75
		</sm:standAloneItem>
76
		<sm:staticFile sc:refUri="/math/mml/_res/model/preview.xul" destPath="preview.xul"/>
77
	</sm:editionSheet>
1
<?xml version="1.0" encoding="UTF-8"?><!--
2
 * LICENCE[[
3
 * Version: MPL 1.1/GPL 2.0/LGPL 2.1/CeCILL 2.O 
4
 *
5
 * The contents of this file are subject to the Mozilla Public License Version 
6
 * 1.1 (the "License"); you may not use this file except in compliance with 
7
 * the License. You may obtain a copy of the License at http://www.mozilla.org/MPL/ 
8
 * 
9
 * Software distributed under the License is distributed on an "AS IS" basis, 
10
 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License 
11
 * for the specific language governing rights and limitations under the 
12
 * License. 
13
 * 
14
 * The Original Code is kelis.fr code. 
15
 * 
16
 * The Initial Developer of the Original Code is 
17
 * antoine.pourchez@kelis.fr on behalf of USTL / SEMM (http://semm.univ-lille1.fr)
18
 * 
19
 * Portions created by the Initial Developer are Copyright (C) 2005 
20
 * the Initial Developer. All Rights Reserved. 
21
 * 
22
 * Contributor(s): 
23
 * 
24
 * 
25
 * Alternatively, the contents of this file may be used under the terms of 
26
 * either of the GNU General Public License Version 2 or later (the "GPL"), 
27
 * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), 
28
 * or the CeCILL Licence Version 2.0 (http://www.cecill.info/licences.en.html), 
29
 * in which case the provisions of the GPL, the LGPL or the CeCILL are applicable 
30
 * instead of those above. If you wish to allow use of your version of this file 
31
 * only under the terms of either the GPL or the LGPL, and not to allow others 
32
 * to use your version of this file under the terms of the MPL, indicate your 
33
 * decision by deleting the provisions above and replace them with the notice 
34
 * and other provisions required by the GPL or the LGPL. If you do not delete 
35
 * the provisions above, a recipient may use your version of this file under 
36
 * the terms of any one of the MPL, the GPL, the LGPL or the CeCILL.
37
 * ]]LICENCE
38
 --><sm:freePrim xmlns:sm="http://www.utc.fr/ics/scenari/v3/modeling" xmlns:sc="http://www.utc.fr/ics/scenari/v3/core" codeModel="mml" isInternalizable="no" name=";Equation mathématique MathML" primitiveSignature="@sm_binaryPrim#Class:Content:Public#Glimpse:Img">
39
	<sm:namespaceToDeclare name="math" ns="http://www.w3.org/1998/Math/MathML"/>
40
	<sm:links/>
41
	<sm:storageSheet>
42
		<sm:standAloneItem>
43
			<sm:ss sc:refUri="/math/mml/_res/model/bs.txt" encoding="ISO-8859-1"/>
44
		</sm:standAloneItem>
45
	</sm:storageSheet>
46
	<sm:editionSheet>
47
		<sm:standAloneItem>
48
			<sm:icon sc:refUri="/math/mml/_res/model/ico.doss"/>
49
			<sm:registerModelInPack>	vModel = new ModelBase(
50
		"[![agent=//codeModel]!]",
51
		"[![agent=//iconFolderPath]!]",
52
		"[![agent=//nameModelInJs]!]",
53
		"[![agent=//mainview.xul;arguments=act:]!]",
54
		 "[![agent=//prefixChromeUrl]!]/mml/preview.xul",
55
		 "facet=glimpse"
56
		 ); 
57
	vPack.registerModel(vModel); 
58
</sm:registerModelInPack>
59
			<sm:creatorItemInPack> vCreator = new CreatorItem3 (
60
                        this, 
61
                        "[![agent=//codeModel]!]",
62
                        "[![agent=//codeModel]!]", 
63
                        "[![agent=//nameModelInJs]!]",
64
                        "[![agent=//iconFolderPath]!]/icovalid.png", 
65
                        null, 
66
                        ".mml", 
67
                        "string", 
68
                        '&lt;?xml version="1.0" encoding="ISO-8859-1"?&gt;\n&lt;!DOCTYPE math PUBLIC "-//W3C//DTD MathML 2.0//EN"  "http://www.w3.org/TR/MathML2/dtd/mathml2.dtd"&gt;\n&lt;math&gt;&lt;/math&gt;',
69
                         "math{optionalCounter}",
70
                        "" );
71
                </sm:creatorItemInPack>
72
			<sm:mainView sc:refUri="/math/mml/_res/model/mainview.txt"/>
73
		</sm:standAloneItem>
74
		<sm:staticFile sc:refUri="/math/mml/_res/model/preview.xul" destPath="preview.xul"/>
75
	</sm:editionSheet>
78 76
</sm:freePrim>

Also available in: Unified diff