File: actionAndComponentUsingViewerExtension.xml

package info (click to toggle)
camitk 6.0.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 389,496 kB
  • sloc: cpp: 103,476; sh: 2,448; python: 1,618; xml: 984; makefile: 128; perl: 84; sed: 20
file content (54 lines) | stat: -rw-r--r-- 2,661 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
<cep xmlns="http://camitk.imag.fr/cepcoreschema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://camitk.imag.fr/cepcoreschema Cep.xsd">
  <name>A CEP with one action and one component that required a viewer extension</name>
  <contact>
    <email>Emmanuel.Promayon@univ-grenoble-alpes.fr</email>
  </contact>
  <description>This CEP contains a new type of component and an action that can do something with it where both require the medicalimageviewer viewer extension.
This test the link between an action and a component defined in the same CEP as well as the dependency to a viewer.</description>
  <actionExtensions>
    <actionExtension>
      <name>Test Actions</name>
      <description>This extension description is really useless.</description>
      <actions>
        <action>
          <name>Test Action</name>
          <description>This description is void.</description>
          <component>TestMeshBasedComponent</component>
          <classification>
            <family>Testing CepGenerator</family>
          </classification>
          <parameters>
            <parameter defaultValue="100.0" description="Testing double" editable="true" name="testDouble" type="double" unit=""/>
          </parameters>
        </action>
      </actions>
      <dependencies>
        <dependency name="testcomponents" type="component"/>
        <dependency name="medicalimageviewer" type="viewer"/>
      </dependencies>
    </actionExtension>
  </actionExtensions>
  <componentExtensions>
    <componentExtension>
      <name>Test components</name>
      <description>This extension description a new / specific component</description>
      <components>
        <component>
          <name>TestMeshBasedComponent</name>
          <description>My description is useless...</description>
          <representation>Mesh</representation>
          <properties>
            <parameter defaultValue="false" description="Testing bools" editable="true" name="testBool" type="bool" unit=""/>
            <parameter defaultValue="QColor(255, 255, 255, 255)" description="Testing color" editable="true" name="testColor" type="QColor" unit=""/>
            <parameter defaultValue="QVector3D(0.0, 0.0, 0.0)" description="test 3D vector" editable="true" name="testVector3D" type="QVector3D" unit=""/>
          </properties>
          <fileSuffix>specific</fileSuffix>
        </component>
        <dependencies>
          <dependency name="medicalimageviewer" type="viewer"/>
        </dependencies>
      </components>
    </componentExtension>
  </componentExtensions>
</cep>