- implemented framework which links an input element to viewers/editors which are...
[taxeditor.git] / eu.etaxonomy.taxeditor.store / plugin.xml
index df4e937eadc91785948a448c794f0bb765d08c5f..95573ca219a15b86831d400deb29e099142f6e4c 100644 (file)
@@ -1,6 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <?eclipse version="3.2"?>
 <plugin>
+   <extension-point id="eu.etaxonomy.taxeditor.store.cdmViewer" name="Cdm Viewer" schema="schema/eu.etaxonomy.taxeditor.store.cdmViewer.exsd"/>
    <extension
          point="org.eclipse.ui.preferencePages">
       <page
             </command>
             <command
                   commandId="org.eclipse.ui.views.showView"
-                  label="%command.label.1"
+                  id="org.eclipse.ui.views.showView.supplemental"
+                     label="%command.label.1"
                   style="push">
                <parameter
                      name="org.eclipse.ui.views.showView.viewId"
                      value="eu.etaxonomy.taxeditor.view.supplementalData">
                </parameter>
             </command>
-               <command
+            <!-- Originally used by validation framework, currently not in use -->
+       <!--        <command
                         id="org.eclipse.ui.views.showView.problems"
                     commandId="org.eclipse.ui.views.showView"
                     label="Problems"
                        name="org.eclipse.ui.views.showView.viewId"
                        value="org.eclipse.ui.views.ProblemView">
                  </parameter>
-              </command>
+              </command>  -->
             <separator
                   name="eu.etaxonomy.taxeditor.store.showViewMenu.internal"
                   visible="true">
                commandId="eu.etaxonomy.taxeditor.editor.handler.openDerivateView"
                label="Open in Derivate Editor"
                style="push">
+            <visibleWhen
+                  checkEnabled="true">
+               <with
+                     variable="selection">
+                  <count
+                        value="+">
+                  </count>
+               </with>
+            </visibleWhen>
          </command>
       </menuContribution>
    </extension>