exampleComponents.xml 4.43 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
<?xml version="1.0" encoding="UTF-8"?>
<cep
    xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
    xmlns='http://camitk.imag.fr/cepcoreschema'
    xsi:schemaLocation='http://camitk.imag.fr/cepcoreschema ../Cep.xsd'>
    <name>Example of Tinman with Components</name>
    <contact>
        <email>Celine.Fouard@imag.fr</email>
    </contact>
    <description>Tinman Test file containing several kinds of Component Extensions.</description>
cfouard's avatar
cfouard committed
11
    <copyright><![CDATA[/* ****************************************************************************
12
13
14
15
16
17
18
19
20
21
22
23
$USERDEF_LICENCE_BEGIN$
CamiTK - Computer Assisted Medical Intervention ToolKit
(c) 2001-2013 UJF-Grenoble 1, CNRS, TIMC-IMAG UMR 5525 (GMCAO)
        
Visit http://camitk.imag.fr for more information
        
This file is part of CamiTK.
        
$CEP_NAME$ is under the following licence:
A specific private licence, just to test Tinman licence managing
        
$USERDEF_LICENCE_END$
cfouard's avatar
cfouard committed
24
*************************************************************************** */
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
    ]]></copyright>
    
    <componentExtensions>
        <componentExtension>
            <name>Example with no file suffix</name>
            <description>
                This component tests the ability of Tinman to create and make 
                compilable and executable component extensions which do not
                handle any file suffix (components should then be created from actions).
            </description>
            <components>
                <component>
                    <name>my own cube</name>
                    <description>A Mesh Cube</description>
                    <representation>Mesh</representation>
                    <properties>
41
42
                        <parameter name="size"  type="int" defaultValue="5" description="An integer."/>
                        <parameter name="color" type="QColor" description="A QColor."/>
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
                    </properties>
                </component>
            </components>
        </componentExtension>
        <componentExtension>
            <name>Example with one file suffix</name>
            <description>Simple Mixed component extension handling .example files</description>
            <components>
                <component>
                    <name>Tinman Example File</name>
                    <description>
                        Simple component handling .example files with no representation.
                    </description>
                    <representation>None</representation>
                    <fileSuffix>example</fileSuffix>
                </component>
            </components>
        </componentExtension>

        <componentExtension>
            <name>Example with several file suffixes</name>
            <description>Simple Mixed component extension handling .example files</description>
            <components>
                <component>
                    <name>Tinman A File</name>
                    <description>
                        Simple component handling .a files with an image representation.
                    </description>
                    <representation>Image</representation>
                    <properties>
73
                        <parameter name="aa"  type="int" defaultValue="2" description="An integer."/>
74
75
76
77
78
79
80
81
82
83
                    </properties>
                    <fileSuffix>a</fileSuffix>
                </component>
                <component>
                    <name>Tinman B File</name>
                    <description>
                        Simple component handling .b files with a Mesh representation.
                    </description>
                    <representation>Image</representation>
                    <properties>
84
                        <parameter name="bb"  type="bool" description="A boolean."/>
85
86
87
88
89
90
91
92
93
94
                    </properties>
                    <fileSuffix>b</fileSuffix>
                </component>
                <component>
                    <name>Tinman C File</name>
                    <description>
                        Simple component handling .c files with no representation.
                    </description>
                    <representation>None</representation>
                    <properties>
95
                        <parameter name="cc"  type="double" defaultValue="3.8" description="A double."/>
96
97
98
99
100
101
102
103
                    </properties>
                    <fileSuffix>c</fileSuffix>
                </component>
            </components>
        </componentExtension>
    </componentExtensions>

</cep>