- implemented framework which links an input element to viewers/editors which are...
[taxeditor.git] / eu.etaxonomy.taxeditor.store / plugin.xml
index 58b9538aeb7ba543ae85a84732bc993395c09394..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
             name="%page.name.22">
       </page>
       <page
-            category="eu.etaxonomy.taxeditor.preferences.general"
-            class="eu.etaxonomy.taxeditor.preference.LanguagePreferencePage"
+            category="eu.etaxonomy.taxeditor.preference.defaultlanguagepditorpreferencePage"
+            class="eu.etaxonomy.taxeditor.preference.LanguageRepresentationPreferencePage"
             id="eu.etaxonomy.taxeditor.preferences.language"
             name="%page.name.23">
       </page>
       </page>
       <page
             category="eu.etaxonomy.taxeditor.preferences.general"
-            class="eu.etaxonomy.taxeditor.preference.DefaultLanguageEditorPreferencePage"
+            class="eu.etaxonomy.taxeditor.preference.LanguageEditorPreferencePage"
             id="eu.etaxonomy.taxeditor.preference.defaultlanguagepditorpreferencePage"
             name="%page.name.30">
       </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>
+            <!-- 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"
+                    style="push">
+                 <parameter
+                       name="org.eclipse.ui.views.showView.viewId"
+                       value="org.eclipse.ui.views.ProblemView">
+                 </parameter>
+              </command>  -->
             <separator
                   name="eu.etaxonomy.taxeditor.store.showViewMenu.internal"
                   visible="true">
             </visibleWhen>
          </command>
       </menuContribution>
+      <menuContribution
+            allPopups="false"
+            locationURI="popup:eu.etaxonomy.taxeditor.view.derivateSearch.DerivateSearchView">
+         <command
+               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>
    <extension
          point="org.eclipse.ui.handlers">
          </activeWhen>
       </handler>
    </extension>
-   <extension
-         point="org.eclipse.ui.commands">
-      <command
-            defaultHandler="eu.etaxonomy.taxeditor.view.datasource.handler.ChangeConnectionHandler"
-            id="eu.etaxonomy.taxeditor.datasource.connect"
-            name="Connect">
-      </command>
-   </extension>
    <extension
          name="Popup Menu Commands"
          point="org.eclipse.ui.commands">
             id="eu.etaxonomy.taxeditor.store.open.OpenDistributionEditorWizardHandler"
             name="Open Distribution Editor Wizard">
       </command>
+      <command
+            defaultHandler="eu.etaxonomy.taxeditor.view.datasource.handler.ChangeConnectionHandler"
+            id="eu.etaxonomy.taxeditor.datasource.connect"
+            name="Connect">
+      </command>
    </extension>
    <extension
          point="org.eclipse.ui.importWizards">