merge-update from trunk
[taxeditor.git] / eu.etaxonomy.taxeditor.molecular / plugin.xml
index 4216fd92a51856b14de71af97999faa256986508..20e8acae07575ffcc7db6bcccae830f87b360c9b 100644 (file)
                id="eu.etaxonomy.taxeditor.molecular.pherogramComponent.changeQualityOutput"
                name="Change quality output">
          </command>
-         <command
-               defaultHandler="eu.etaxonomy.taxeditor.molecular.handler.OpenAlignmentEditorHandler"
-               id="eu.etaxonomy.taxeditor.molecular.OpenAlignmentEditor"
-               name="Open Alignment Editor">
-         </command>
          <command
                id="eu.etaxonomy.taxeditor.molecular.AlignmentEditor.loadPherogram"
                name="Load Pherogram">
                      icon="icons/pherogram-insert-left-16x16.png"
                      style="push">
                   <visibleWhen
-                        checkEnabled="false">
+                        checkEnabled="true">
                      <with
                            variable="activePartId">
                         <equals
          <menuContribution
                allPopups="false"
                locationURI="menu:org.eclipse.ui.main.menu">
-            <menu
-                  label="View">
-               <menu
-                     label="Pherogram">
-                  <command
-                        commandId="eu.etaxonomy.taxeditor.molecular.pherogramComponent.changeQualityOutput"
-                        style="push">
-                  </command>
-                  <command
-                        commandId="eu.etaxonomy.taxeditor.molecular.pherogramComponent.toggleShowProbabilities"
-                        style="push">
-                  </command>
-                  <command
-                        commandId="eu.etaxonomy.taxeditor.molecular.pherogramComponent.toggleShowBaseCallLines"
-                        style="push">
-                  </command>
-                  <visibleWhen
-                        checkEnabled="true">
-                     <with
-                           variable="activePartId">
-                        <or>
-                           <equals
-                                 value="eu.etaxonomy.taxeditor.molecular.AlignmentEditor">
-                           </equals>
-                           <equals
-                                 value="eu.etaxonomy.taxeditor.molecular.PherogramView">
-                           </equals>
-                        </or>
-                     </with>
-                  </visibleWhen>
-               </menu>
-            </menu>
             <menu
                   label="Alignment Editor">
                <command
                   </with>
                </visibleWhen>
             </menu>
+            <menu
+                  label="Pherogram View">
+               <command
+                     commandId="eu.etaxonomy.taxeditor.molecular.pherogramComponent.changeQualityOutput"
+                     style="push">
+               </command>
+               <command
+                     commandId="eu.etaxonomy.taxeditor.molecular.pherogramComponent.toggleShowProbabilities"
+                     style="push">
+               </command>
+               <command
+                     commandId="eu.etaxonomy.taxeditor.molecular.pherogramComponent.toggleShowBaseCallLines"
+                     style="push">
+               </command>
+               <visibleWhen
+                     checkEnabled="true">
+                  <with
+                        variable="activePartId">
+                     <equals
+                           value="eu.etaxonomy.taxeditor.molecular.PherogramView">
+                     </equals>
+                  </with>
+               </visibleWhen>
+            </menu>
          </menuContribution>
          <menuContribution
                locationURI="popup:eu.etaxonomy.taxeditor.editor.view.derivate.DerivateView?before=eu.etaxonomy.taxeditor.editor.view.derivate.DerivateContextMenu">