Project

General

Profile

« Previous | Next » 

Revision b93817a3

Added by Patrick Plitzner about 9 years ago

  • refactored cdmViewer extension point to be more generic

View differences:

eu.etaxonomy.taxeditor.store/schema/eu.etaxonomy.taxeditor.store.cdmViewer.exsd
15 15
         <appInfo>
16 16
            <meta.element />
17 17
         </appInfo>
18
         <documentation>
19
            Extensions must provide and ICdmViewer which maps input elements to viewers which are able to display information for them.
20
         </documentation>
18 21
      </annotation>
19 22
      <complexType>
20
         <sequence minOccurs="1" maxOccurs="unbounded">
21
            <element ref="cdmViewer"/>
23
         <sequence>
24
            <element ref="cdmViewer" minOccurs="1" maxOccurs="unbounded"/>
22 25
         </sequence>
23 26
         <attribute name="point" type="string" use="required">
24 27
            <annotation>
......
55 58
      </annotation>
56 59
      <complexType>
57 60
         <sequence>
58
            <element ref="input"/>
59 61
         </sequence>
60 62
         <attribute name="class" type="string" use="required">
61 63
            <annotation>
......
70 72
      </complexType>
71 73
   </element>
72 74

  
73
   <element name="input">
74
      <annotation>
75
         <documentation>
76
            The input element which can be shown by the cdmViewer.
77
         </documentation>
78
      </annotation>
79
      <complexType>
80
         <sequence>
81
            <element ref="part"/>
82
         </sequence>
83
         <attribute name="class" type="string" use="required">
84
            <annotation>
85
               <documentation>
86
                  The class of the input element.
87
               </documentation>
88
               <appInfo>
89
                  <meta.attribute kind="java"/>
90
               </appInfo>
91
            </annotation>
92
         </attribute>
93
      </complexType>
94
   </element>
95

  
96
   <element name="part">
97
      <annotation>
98
         <documentation>
99
            The part which can be opened for the given input.
100
         </documentation>
101
      </annotation>
102
      <complexType>
103
         <attribute name="class" type="string" use="required">
104
            <annotation>
105
               <documentation>
106
                  The class of the part.
107
               </documentation>
108
               <appInfo>
109
                  <meta.attribute kind="java"/>
110
               </appInfo>
111
            </annotation>
112
         </attribute>
113
         <attribute name="name" type="string">
114
            <annotation>
115
               <documentation>
116
                  The name of the part.
117
               </documentation>
118
            </annotation>
119
         </attribute>
120
      </complexType>
121
   </element>
122

  
123 75
   <annotation>
124 76
      <appInfo>
125 77
         <meta.section type="since"/>

Also available in: Unified diff