Project

General

Profile

Download (4.53 KB) Statistics
| Branch: | Tag: | Revision:
1
<?xml version='1.0' encoding='UTF-8'?>
2
<!-- Schema file written by PDE -->
3
<schema targetNamespace="eu.etaxonomy.taxeditor.store" xmlns="http://www.w3.org/2001/XMLSchema">
4
<annotation>
5
      <appInfo>
6
         <meta.schema plugin="eu.etaxonomy.taxeditor.store" id="eu.etaxonomy.taxeditor.store.cdmViewer" name="Cdm Viewer"/>
7
      </appInfo>
8
      <documentation>
9
         [Enter description of this extension point.]
10
      </documentation>
11
   </annotation>
12

    
13
   <element name="extension">
14
      <annotation>
15
         <appInfo>
16
            <meta.element />
17
         </appInfo>
18
         <documentation>
19
            Extensions must provide an ICdmViewer which maps input elements to viewers which are able to display information for them.
20
         </documentation>
21
      </annotation>
22
      <complexType>
23
         <sequence>
24
            <element ref="cdmViewer" minOccurs="0" maxOccurs="unbounded"/>
25
            <element ref="viewCommandMapping" minOccurs="0" maxOccurs="unbounded"/>
26
         </sequence>
27
         <attribute name="point" type="string" use="required">
28
            <annotation>
29
               <documentation>
30
                  
31
               </documentation>
32
            </annotation>
33
         </attribute>
34
         <attribute name="id" type="string">
35
            <annotation>
36
               <documentation>
37
                  
38
               </documentation>
39
            </annotation>
40
         </attribute>
41
         <attribute name="att" type="string">
42
            <annotation>
43
               <documentation>
44
                  
45
               </documentation>
46
               <appInfo>
47
                  <meta.attribute kind="java"/>
48
               </appInfo>
49
            </annotation>
50
         </attribute>
51
      </complexType>
52
   </element>
53

    
54
   <element name="cdmViewer">
55
      <annotation>
56
         <documentation>
57
            A Cdm Viewer knows what viewer or editor can show which input.
58
         </documentation>
59
      </annotation>
60
      <complexType>
61
         <sequence>
62
         </sequence>
63
         <attribute name="class" type="string" use="required">
64
            <annotation>
65
               <documentation>
66
                  The class of the viewer.
67
               </documentation>
68
               <appInfo>
69
                  <meta.attribute kind="java" basedOn=":eu.etaxonomy.taxeditor.view.ICdmViewer"/>
70
               </appInfo>
71
            </annotation>
72
         </attribute>
73
      </complexType>
74
   </element>
75

    
76
   <element name="viewCommandMapping">
77
      <annotation>
78
         <documentation>
79
            Maps a viewing class, like editors or views, to a command which opens it.
80
         </documentation>
81
      </annotation>
82
      <complexType>
83
         <attribute name="commandId" type="string" use="required">
84
            <annotation>
85
               <documentation>
86
                  The command which opens the viewer to show the selected object
87
               </documentation>
88
               <appInfo>
89
                  <meta.attribute kind="identifier" basedOn="org.eclipse.ui.commands/command/@id"/>
90
               </appInfo>
91
            </annotation>
92
         </attribute>
93
         <attribute name="viewerName" type="string">
94
            <annotation>
95
               <documentation>
96
                  The name of the viewer which shows the selected element
97
               </documentation>
98
            </annotation>
99
         </attribute>
100
         <attribute name="selection" type="string" use="required">
101
            <annotation>
102
               <documentation>
103
                  The class of the selected element
104
               </documentation>
105
               <appInfo>
106
                  <meta.attribute kind="java"/>
107
               </appInfo>
108
            </annotation>
109
         </attribute>
110
      </complexType>
111
   </element>
112

    
113
   <annotation>
114
      <appInfo>
115
         <meta.section type="since"/>
116
      </appInfo>
117
      <documentation>
118
         [Enter the first release in which this extension point appears.]
119
      </documentation>
120
   </annotation>
121

    
122
   <annotation>
123
      <appInfo>
124
         <meta.section type="examples"/>
125
      </appInfo>
126
      <documentation>
127
         [Enter extension point usage example here.]
128
      </documentation>
129
   </annotation>
130

    
131
   <annotation>
132
      <appInfo>
133
         <meta.section type="apiinfo"/>
134
      </appInfo>
135
      <documentation>
136
         [Enter API information here.]
137
      </documentation>
138
   </annotation>
139

    
140
   <annotation>
141
      <appInfo>
142
         <meta.section type="implementation"/>
143
      </appInfo>
144
      <documentation>
145
         [Enter information about supplied implementation of this extension point.]
146
      </documentation>
147
   </annotation>
148

    
149

    
150
</schema>
    (1-1/1)