</annotation>
<complexType>
<sequence>
- <element ref="cdmViewer" minOccurs="1" maxOccurs="unbounded"/>
+ <element ref="viewCommandMapping" minOccurs="0" maxOccurs="unbounded"/>
</sequence>
<attribute name="point" type="string" use="required">
<annotation>
</complexType>
</element>
- <element name="cdmViewer">
+ <element name="viewCommandMapping">
<annotation>
<documentation>
- A Cdm Viewer knows what viewer or editor can show which input.
+ Maps a viewing class, like editors or views, to a command which opens it.
</documentation>
</annotation>
<complexType>
- <sequence>
- </sequence>
- <attribute name="class" type="string" use="required">
+ <attribute name="commandId" type="string" use="required">
+ <annotation>
+ <documentation>
+ The command which opens the viewer to show the selected object
+ </documentation>
+ <appInfo>
+ <meta.attribute kind="identifier" basedOn="org.eclipse.ui.commands/command/@id"/>
+ </appInfo>
+ </annotation>
+ </attribute>
+ <attribute name="viewerName" type="string">
<annotation>
<documentation>
- The class of the viewer.
+ The name of the viewer which shows the selected element
</documentation>
<appInfo>
- <meta.attribute kind="java" basedOn=":eu.etaxonomy.taxeditor.view.ICdmViewer"/>
+ <meta.attribute translatable="true"/>
+ </appInfo>
+ </annotation>
+ </attribute>
+ <attribute name="selection" type="string" use="required">
+ <annotation>
+ <documentation>
+ The class of the selected element
+ </documentation>
+ <appInfo>
+ <meta.attribute kind="java"/>
</appInfo>
</annotation>
</attribute>