merge-update from trunk
[taxeditor.git] / eu.etaxonomy.taxeditor.editor / plugin.xml
index 85830b21f62e07e66cbf8712eac30375d6993efa..90254eae65b947e6dc43b11b8ee6cf88f9afc98e 100644 (file)
             id="eu.etaxonomy.taxeditor.editor.view.checklist.ChecklistEditor"
             name="%editor.name.8">
       </editor>
+      <editor
+            class="eu.etaxonomy.taxeditor.editor.molecular.AlignmentEditor"
+            default="false"
+            id="eu.etaxonomy.taxeditor.editor.molecular.AlignmentEditor"
+            name="Alignment Editor">
+      </editor>
    </extension>
       <extension
             point="org.eclipse.ui.views">
                </reference>
             </visibleWhen>
          </command>
+         <command
+               commandId="eu.etaxonomy.taxeditor.editor.handler.OpenAlignmentEditor"
+               label="Alignment Editor"
+               style="push">
+         </command>
       </menuContribution>
       <menuContribution
             locationURI="menu:org.eclipse.ui.main.menu.navigate">
                class="eu.etaxonomy.taxeditor.editor.view.derivate.contextMenu.DerivateViewContextMenu"
                id="eu.etaxonomy.taxeditor.editor.view.derivate.DerivateContextMenu">
          </dynamic>
+         <command
+               commandId="org.eclipse.ui.edit.delete"
+               label="Delete"
+               style="push">
+         </command>
       </menuContribution>
       <menuContribution
             locationURI="popup:eu.etaxonomy.taxeditor.editor.view.dataimport.SpecimenImportEditor">
                commandId="taxeditor-editor.useExistingImage"
                label="%command.label.50"
                style="push">
-            <visibleWhen
-                  checkEnabled="false">
+            <visibleWhen>
                <reference
                      definitionId="isImageGallery">
                </reference>
       <handler
             class="eu.etaxonomy.taxeditor.editor.handler.OpenChecklistEditorHandler"
             commandId="eu.etaxonomy.taxeditor.editor.handler.OpenChecklistEditorHandler">
+      </handler>
+            <handler
+            class="eu.etaxonomy.taxeditor.editor.handler.LoadPherogramHandler"
+            commandId="eu.etaxonomy.taxeditor.editor.molecular.AlignmentEditor.loadPherogram">
+         <activeWhen>
+            <with
+                  variable="activePartId">
+               <equals
+                     value="eu.etaxonomy.taxeditor.editor.molecular.AlignmentEditor">
+               </equals>
+            </with>
+         </activeWhen>
+      </handler>
+      <handler
+            class="eu.etaxonomy.taxeditor.editor.handler.AddAHandler"
+            commandId="eu.etaxonomy.taxeditor.editor.molecular.AlignmentEditor.addA">
+         <activeWhen>
+            <with
+                  variable="activePartId">
+               <equals
+                     value="eu.etaxonomy.taxeditor.editor.molecular.AlignmentEditor">
+               </equals>
+            </with>
+         </activeWhen>
+      </handler>
+      <handler
+            class="eu.etaxonomy.taxeditor.editor.view.derivate.handler.DeleteDerivateHandler"
+            commandId="org.eclipse.ui.edit.delete">
+         <activeWhen>
+            <with
+                  variable="activePartId">
+               <equals
+                     value="eu.etaxonomy.taxeditor.editor.view.derivate.DerivateView">
+               </equals>
+            </with>
+         </activeWhen>
       </handler>
    </extension>
    <extension
              defaultHandler="eu.etaxonomy.taxeditor.editor.handler.OpenChecklistEditorHandler"
              id="eu.etaxonomy.taxeditor.editor.handler.OpenChecklistViewHandler"
              name="%command.name.38">
-       </command>
+      </command>
       <command
             categoryId="eu.etaxonomy.taxeditor.editor.new.category"
             defaultHandler="eu.etaxonomy.taxeditor.view.datasource.handler.CreateDataSourceHandler"
             id="eu.etaxonomy.taxeditor.editor.command.new.datasource"
             name="%command.name.39">
       </command>
+      <command
+            defaultHandler="eu.etaxonomy.taxeditor.editor.handler.OpenAlignmentEditor"
+            id="eu.etaxonomy.taxeditor.editor.handler.OpenAlignmentEditor"
+            name="Open Alignment Editor">
+      </command>
+      <command
+            id="eu.etaxonomy.taxeditor.editor.molecular.AlignmentEditor.addA"
+            name="Add A">
+      </command>
+      <command
+            id="eu.etaxonomy.taxeditor.editor.molecular.AlignmentEditor.loadPherogram"
+            name="Load Pherogram">
+      </command>
+
    </extension>
    <extension
          point="org.eclipse.core.expressions.definitions">
             id="eu.etaxonomy.taxeditor.bindings.scheme.default"
             name="%scheme.name">
       </scheme>
+      <key
+            commandId="eu.etaxonomy.taxeditor.editor.molecular.AlignmentEditor.addA"
+            schemeId="eu.etaxonomy.taxeditor.bindings.scheme.default"
+            sequence="A">
+      </key>
+      <key
+            commandId="eu.etaxonomy.taxeditor.editor.molecular.AlignmentEditor.loadPherogram"
+            schemeId="eu.etaxonomy.taxeditor.bindings.scheme.default"
+            sequence="O">
+      </key>
    </extension>
     <extension
          point="org.eclipse.ui.importWizards">