Project

General

Profile

« Previous | Next » 

Revision 250453cf

Added by Patrick Plitzner over 8 years ago

Generalize extension point for opening object in taxeditor

View differences:

eu.etaxonomy.taxeditor.store/schema/eu.etaxonomy.taxeditor.store.cdmViewer.exsd
21 21
      </annotation>
22 22
      <complexType>
23 23
         <sequence>
24
            <element ref="cdmViewer" minOccurs="1" maxOccurs="unbounded"/>
24
            <element ref="cdmViewer" minOccurs="0" maxOccurs="unbounded"/>
25
            <element ref="viewCommandMapping" minOccurs="0" maxOccurs="unbounded"/>
25 26
         </sequence>
26 27
         <attribute name="point" type="string" use="required">
27 28
            <annotation>
......
72 73
      </complexType>
73 74
   </element>
74 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

  
75 113
   <annotation>
76 114
      <appInfo>
77 115
         <meta.section type="since"/>

Also available in: Unified diff