ref #6595 Remove e3 popup menu
authorPatrick Plitzner <p.plitzner@bgbm.org>
Wed, 27 Sep 2017 06:47:38 +0000 (08:47 +0200)
committerPatrick Plitzner <p.plitzner@bgbm.org>
Wed, 27 Sep 2017 06:47:38 +0000 (08:47 +0200)
eu.etaxonomy.taxeditor.editor/plugin.xml

index 67a26b21f3b20dbf030b982cc520f01d1a95bd59..9879b4b0ef51d41aa95b1a4e036b9ad2d37402a3 100644 (file)
                style="push">
          </command>
       </menuContribution>
-      <menuContribution
-            locationURI="popup:eu.etaxonomy.taxeditor.editor.taxon.name">
-         <menu
-               label="%menu.label">
-            <command
-                  commandId="eu.etaxonomy.taxeditor.editor.name.createHeterotypicSynoym"
-                  label="%command.label.9"
-                  style="push">
-               <visibleWhen>
-                  <reference
-                        definitionId="isAcceptedTaxon">
-                  </reference>
-               </visibleWhen>
-            </command>
-            <command
-                  commandId="eu.etaxonomy.taxeditor.editor.name.createHomotypicSynoym"
-                  label="%command.label.10"
-                  style="push">
-               <visibleWhen>
-                  <reference
-                        definitionId="isAcceptedTaxon">
-                  </reference>
-               </visibleWhen>
-            </command>
-            <command
-                  commandId="eu.etaxonomy.taxeditor.editor.name.createSynonymInHomotypicalGroup"
-                  label="%command.label.11"
-                  style="push">
-               <visibleWhen>
-                  <reference
-                        definitionId="isSynonym">
-                  </reference>
-               </visibleWhen>
-            </command>
-            <separator
-                  name="separator1"
-                  visible="true">
-            </separator>
-           <command
-                  commandId="eu.etaxonomy.taxeditor.editor.name.createMisapplication"
-                  label="%command.label.49"
-                  style="push">
-               <visibleWhen>
-                  <or>
-                     <reference
-                           definitionId="isAcceptedTaxon">
-                     </reference>
-                     <reference
-                           definitionId="isMisapplication">
-                     </reference>
-                  </or>
-               </visibleWhen>
-            </command>
-         </menu>
-        <!--<command
-               commandId="eu.etaxonomy.taxeditor.editor.name.changeAcceptedToSynonym"
-               label="Change Accepted Taxon to Synonym"
-               style="push">
-            <visibleWhen
-                  checkEnabled="true">
-               <reference
-                     definitionId="isAcceptedAndHasNoHomotypicSynonyms">
-               </reference>
-            </visibleWhen
-                <visibleWhen>                  
-                     <or>
-                        <reference
-                              definitionId="isAcceptedTaxon">
-                        </reference>
-                        <reference
-                              definitionId="isMisapplication">
-                        </reference>
-                     </or>                  
-               </visibleWhen>
-         </command>-->
-         <menu
-               label="%menu.label.0">
-            <command
-                  commandId="eu.etaxonomy.taxeditor.editor.name.changeToAcceptedTaxon"
-                  label="%command.label.12"
-                  style="push">
-               <visibleWhen>
-               <and>
-                  <not>
-                     <or>
-                        <reference
-                              definitionId="isAcceptedTaxon">
-                        </reference>
-                        <reference
-                              definitionId="isMisapplication">
-                        </reference>
-                     </or>
-                     </not>
-                       <reference
-                              definitionId="isNotHomotypicSynonymOfAcceptedTaxon">
-                        </reference>
-                  </and>
-               </visibleWhen>
-            </command>
-            <command
-                  commandId="eu.etaxonomy.taxeditor.editor.name.changeToSynonym"
-                  label="%command.label.13"
-                  style="push">
-               <visibleWhen>
-                  <not>
-                     <or>
-                        <reference
-                              definitionId="isAcceptedTaxon">
-                        </reference>
-                        <reference
-                              definitionId="isSynonym">
-                        </reference>
-                     </or>
-                  </not>
-               </visibleWhen>
-            </command>
-            <command
-                  commandId="eu.etaxonomy.taxeditor.editor.name.changeToMisapplication"
-                  label="%command.label.14"
-                  style="push">
-               <visibleWhen>
-                  <not>
-                     <or>
-                        <reference
-                              definitionId="isAcceptedTaxon">
-                        </reference>
-                        <reference
-                              definitionId="isMisapplication">
-                        </reference>
-                     </or>
-                  </not>
-               </visibleWhen>
-            </command>
-         </menu>
-         <separator
-               name="taxeditor-editor.separator1"
-               visible="true">
-         </separator>
-         <command
-               commandId="eu.etaxonomy.taxeditor.editor.name.delete"
-               label="%command.label.15"
-               style="push">
-            <visibleWhen>
-               <or>
-                  <reference
-                        definitionId="isSynonym">
-                  </reference>
-                  <reference
-                        definitionId="isMisapplication">
-                  </reference>
-                  <reference
-                        definitionId="isConceptRelation">
-                  </reference>
-               </or>
-            </visibleWhen>
-         </command>
-         <command
-               commandId="eu.etaxonomy.taxeditor.editor.name.deleteAllEmptyNames"
-               label="%command.label.16"
-               style="push">
-            <visibleWhen>
-               <reference
-                     definitionId="hasEmptyNames">
-               </reference>
-            </visibleWhen>
-         </command>
-         <separator
-               name="taxeditor-editor.separator2"
-               visible="true">
-         </separator>
-        <!-- <dynamic
-               class="eu.etaxonomy.taxeditor.editor.name.handler.GroupBasionymContributionItem"
-               id="taxeditor-editor.dynamic.setBasionym">
-            <visibleWhen>
-               <or>
-                  <reference
-                        definitionId="isAcceptedTaxon">
-                  </reference>
-                  <reference
-                        definitionId="isSynonym">
-                  </reference>
-               </or>
-            </visibleWhen>
-         </dynamic>-->
-         <command
-               commandId="eu.etaxonomy.taxeditor.editor.name.swapSynonymAndAccepted"
-               label="%command.label.17"
-               style="push">
-            <visibleWhen>
-               <reference
-                     definitionId="isSynonym">
-               </reference>
-            </visibleWhen>
-         </command>
-          <command
-               commandId="eu.etaxonomy.taxeditor.editor.name.setAsBasionym"
-               label="%command.label.57"
-               style="push">
-            <visibleWhen>
-              <reference
-                     definitionId="isSynonymInHomotypicalGroupWithMoreSynonyms">
-               </reference>
-           </visibleWhen>
-         </command>
-         <command
-                  commandId="eu.etaxonomy.taxeditor.editor.name.moveSynonymToAnotherAcceptedTaxon"
-                  label="%command.label.56"
-                  style="push">
-               <visibleWhen>
-                  <and>
-                   <reference
-                         definitionId="isSynonym">
-                   </reference>
-                   <reference
-                         definitionId="isNotHomotypicSynonymOfAcceptedTaxon">
-                   </reference>
-                   </and>
-                </visibleWhen>
-          </command>
-         <separator
-               name="taxeditor-editor.separator3"
-               visible="true">
-         </separator>
-         <command
-               commandId="org.eclipse.ui.views.showView"
-               label="%command.label.18"
-               style="push">
-            <parameter
-                  name="org.eclipse.ui.views.showView.viewId"
-                  value="eu.etaxonomy.taxeditor.view.detail">
-            </parameter>
-         </command>
-         <separator
-               name="taxeditor-editor.separator4"
-               visible="true">
-         </separator>
-         <command
-               commandId="org.eclipse.ui.file.save"
-               label="%command.label.19"
-               style="push">
-         </command>
-      </menuContribution>
       <menuContribution
             locationURI="popup:eu.etaxonomy.taxeditor.editor.key.polytomous">
          <command