Updated version in pom / project files to taxeditor version : 4.11.3 and cdmlib versi...
[taxeditor.git] / eu.etaxonomy.taxeditor.navigation / plugin.xml
index ae9c03803438947e472be088d81b5312d27a5874..83845a7d1d80122dfed1c761bd65a59544b806eb 100644 (file)
          </run>
       </application>
    </extension>
-   <extension
-         point="org.eclipse.ui.views">
-      <view
-            allowMultiple="true"
-            class="eu.etaxonomy.taxeditor.navigation.search.SearchResultView"
-            icon="icons/system-search.png"
-            id="eu.etaxonomy.taxeditor.navigation.search.searchResultView"
-            name="%view.name"
-            restorable="false">
-      </view>
-      <view
-            allowMultiple="false"
-            class="eu.etaxonomy.taxeditor.navigation.key.polytomous.PolytomousKeyViewPart"
-            id="eu.etaxonomy.taxeditor.navigation.key.polytomous.polytomousKeyViewPart"
-            name="%view.name.1"
-            restorable="true">
-      </view>
-   </extension>
    <extension
          point="org.eclipse.ui.menus">
       <menuContribution
             </visibleWhen>
          </dynamic>
       </menuContribution>
-      <menuContribution
-            locationURI="menu:eu.etaxonomy.taxeditor.menu.showView?before=eu.etaxonomy.taxeditor.editor.showViewMenu">
-         <command
-               commandId="org.eclipse.ui.views.showView"
-               label="%command.label.0"
-               style="push">
-            <parameter
-                  name="org.eclipse.ui.views.showView.viewId"
-                  value="eu.etaxonomy.taxeditor.navigation.key.polytomous.polytomousKeyViewPart">
-            </parameter>
-            <visibleWhen
-                  checkEnabled="true">
-               <reference
-                     definitionId="isCdmStoreConnected">
-               </reference>
-            </visibleWhen>
-         </command>
-      </menuContribution>
-      <menuContribution
-            locationURI="popup:eu.etaxonomy.taxeditor.navigation.search.searchResultView">
-         <dynamic
-               class="eu.etaxonomy.taxeditor.view.CdmViewerContextMenu"
-               id="eu.etaxonomy.taxeditor.navigation.cdmViewerContextMenu">
-         </dynamic>
-         <separator
-               name="eu.etaxonomy.taxeditor.navigation.separator2">
-         </separator>
-      </menuContribution>
-      <menuContribution
-            locationURI="menu:eu.etaxonomy.navigation.menu.new">
-         <command
-               commandId="eu.etaxonomy.taxeditor.navigation.command.create.taxonNode"
-               label="%command.label.13"
-               style="push">
-            <visibleWhen
-                  checkEnabled="true">
-               <reference
-                     definitionId="isCdmStoreConnected">
-               </reference>
-            </visibleWhen>
-         </command>
-         <separator
-               name="eu.etaxonomy.navigation.menu.new.separator1"
-               visible="true">
-         </separator>
-         <command
-               commandId="eu.etaxonomy.taxeditor.navigation.create.classification"
-               id="eu.etaxonomy.taxeditor.navigation.create.classificationHandler"
-               label="%command.label.14"
-               style="push">
-            <visibleWhen
-                  checkEnabled="true">
-               <reference
-                     definitionId="isCdmStoreConnected">
-               </reference>
-            </visibleWhen>
-         </command>
-      </menuContribution>
-      <menuContribution
-            locationURI="popup:eu.etaxonomy.taxeditor.navigation.key.polytomous.polytomousKeyViewPart">
-         <command
-               commandId="eu.etaxonomy.taxeditor.navigation.key.polytomous.newKey"
-               label="%command.label.15"
-               style="push">
-         </command>
-         <dynamic
-               class="eu.etaxonomy.taxeditor.view.CdmViewerContextMenu"
-               id="eu.etaxonomy.taxeditor.navigation.polytomous.cdmViewerContextMenu">
-         </dynamic>
-         <command
-               commandId="eu.etaxonomy.taxeditor.navigation.key.polytomous.editNodes"
-               label="%command.label.16"
-               style="push">
-         </command>
-         <menu
-               label="%menu.label.0">
-            <command
-                  commandId="eu.etaxonomy.taxeditor.navigation.key.polytomous.refreshKeyList"
-                  label="%command.label.17"
-                  style="push">
-            </command>
-            <command
-                  commandId="eu.etaxonomy.taxeditor.navigation.key.polytomous.refreshKeyNodes"
-                  label="%command.label.18"
-                  style="push">
-            </command>
-         </menu>
-         <separator
-               name="eu.etaxonomy.eu.polytomousKeyView.separator2"
-               visible="true">
-         </separator>
-         <command
-               commandId="eu.etaxonomy.taxeditor.navigation.key.polytomous.command.delete"
-               label="%command.label.19"
-               style="push">
-         </command>
-         
-      </menuContribution>
-   </extension>
-   <extension
-         point="org.eclipse.ui.commands">
-      <command
-            defaultHandler="eu.etaxonomy.taxeditor.navigation.key.polytomous.handler.NewPolytomousKeyHandler"
-            id="eu.etaxonomy.taxeditor.navigation.key.polytomous.newKey"
-            name="%command.name.6">
-      </command>
-      <command
-            defaultHandler="eu.etaxonomy.taxeditor.navigation.key.polytomous.handler.EditPolytomousKeyNodesHandler"
-            id="eu.etaxonomy.taxeditor.navigation.key.polytomous.editNodes"
-            name="%command.name.7">
-      </command>
-      <command
-            defaultHandler="eu.etaxonomy.taxeditor.navigation.key.polytomous.handler.RefreshPolytomousKeyListHandler"
-            id="eu.etaxonomy.taxeditor.navigation.key.polytomous.refreshKeyList"
-            name="%command.name.8">
-      </command>
-      <command
-            defaultHandler="eu.etaxonomy.taxeditor.navigation.key.polytomous.handler.RefreshPolytomousKeyNodesHandler"
-            id="eu.etaxonomy.taxeditor.navigation.key.polytomous.refreshKeyNodes"
-            name="%command.name.9">
-      </command>
-      <command
-            defaultHandler="eu.etaxonomy.taxeditor.navigation.key.polytomous.handler.DeleteHandler"
-            id="eu.etaxonomy.taxeditor.navigation.key.polytomous.command.delete"
-            name="%command.name.11">
-      </command>
    </extension>
-   <extension
-         point="org.eclipse.ui.handlers">
-      <handler
-            class="eu.etaxonomy.taxeditor.navigation.navigator.handler.DeleteHandler"
-            commandId="eu.etaxonomy.taxeditor.navigation.navigator.command.delete">
-         <activeWhen>
-            <with
-                  variable="activePartId">
-               <equals
-                     value="eu.etaxonomy.taxeditor.navigation.navigator">
-               </equals>
-            </with>
-         </activeWhen>
-      </handler>
-      <handler
-            class="eu.etaxonomy.taxeditor.navigation.key.polytomous.handler.DeleteHandler"
-            commandId="eu.etaxonomy.taxeditor.navigation.key.polytomous.command.delete">
-         <activeWhen>
-            <with
-                  variable="activePartId">
-               <equals
-                     value="eu.etaxonomy.taxeditor.navigation.key.polytomous.polytomousKeyViewPart">
-               </equals>
-            </with>
-         </activeWhen>
-      </handler>
-      <handler
-            class="eu.etaxonomy.taxeditor.navigation.key.polytomous.handler.RemotingDeletePolytomousKeyHandler"
-            commandId="eu.etaxonomy.taxeditor.navigation.key.polytomous.command.delete">
-         <activeWhen>
-            <reference
-                  definitionId="isRemoting">
-            </reference>
-         </activeWhen>
-      </handler>
-      <handler
-            class="eu.etaxonomy.taxeditor.navigation.key.polytomous.handler.RemotingUpdatePolytomousKeyAllNodesHandler"
-            commandId="eu.etaxonomy.taxeditor.navigation.key.polytomous.refreshKeyNodes">
-         <activeWhen>
-            <reference
-                  definitionId="isRemoting">
-            </reference>
-         </activeWhen>
-      </handler>
-      <handler
-            class="eu.etaxonomy.taxeditor.navigation.key.polytomous.handler.RemotingEditPolytomousKeyNodesHandler"
-            commandId="eu.etaxonomy.taxeditor.navigation.key.polytomous.editNodes">
-         <activeWhen>
-            <reference
-                  definitionId="isRemoting">
-            </reference>
-         </activeWhen>
-      </handler>
-      <handler
-            class="eu.etaxonomy.taxeditor.handler.defaultHandler.OpenReferencingObjectsView"
-            commandId="eu.etaxonomy.taxeditor.openReferencingObjectsView">
-         <activeWhen>
-            <with
-                  variable="activePartId">
-               <equals
-                     value="eu.etaxonomy.taxeditor.navigation.navigator">
-               </equals>
-            </with>
-         </activeWhen>
-      </handler>
-   </extension>  
    <extension
          point="org.eclipse.ui.navigator.navigatorContent">
       <navigatorContent
                property="eu.etaxonomy.taxeditor.preference.CdmStorePropertyTester.isStandAlone">
          </test>
       </definition>
+      <definition
+            id="isCdmStoreConnectedAndShowExperimental">
+         <and>
+            <reference
+                  definitionId="isShowExperimentalFeatures">
+            </reference>
+            <reference
+                  definitionId="isCdmStoreConnected">
+            </reference>
+         </and>
+      </definition>
    </extension>
    <extension
          id="eu.etaxonomy.taxeditor.navigation.workbench.model"