Project

General

Profile

Revision 1b6fc97e

ID1b6fc97e1609b5ec875018ec41af92649649074b
Parent a56c8dc5
Child cb08d659

Added by Patrick Plitzner about 5 years ago

fix #5988 Add Checklist Editor to generic "Open in..." menu

View differences:

eu.etaxonomy.taxeditor.editor/plugin.xml
1232 1232
         </activeWhen>
1233 1233
      </handler>
1234 1234
      <handler
1235
            class="eu.etaxonomy.taxeditor.editor.handler.OpenChecklistEditorHandler"
1236
            commandId="eu.etaxonomy.taxeditor.editor.handler.OpenChecklistEditorHandler">
1237
      </handler>
1238
      <handler
1239 1235
            class="eu.etaxonomy.taxeditor.editor.view.derivate.handler.DeleteDerivateHandler"
1240 1236
            commandId="org.eclipse.ui.edit.delete">
1241 1237
         <activeWhen>
......
1305 1301
            </with>
1306 1302
         </activeWhen>
1307 1303
      </handler>
1304
      <handler
1305
            class="eu.etaxonomy.taxeditor.editor.handler.OpenChecklistEditorHandler"
1306
            commandId="eu.etaxonomy.taxeditor.editor.handler.OpenChecklistViewHandler">
1307
         <activeWhen>
1308
            <and>
1309
               <reference
1310
                     definitionId="isChecklistEditorEnabled">
1311
               </reference>
1312
               <or>
1313
                  <reference
1314
                        definitionId="isTaxonNode">
1315
                  </reference>
1316
                  <reference
1317
                        definitionId="isClassification">
1318
                  </reference>
1319
               </or>
1320
            </and>
1321
         </activeWhen>
1322
      </handler>
1308 1323
   </extension>
1309 1324
   <extension
1310 1325
         name="%extension.name"
......
1597 1612
            name="%command.name.34">
1598 1613
      </command>
1599 1614
       <command
1600
             defaultHandler="eu.etaxonomy.taxeditor.editor.handler.OpenChecklistEditorHandler"
1601 1615
             id="eu.etaxonomy.taxeditor.editor.handler.OpenChecklistViewHandler"
1602 1616
             name="%command.name.38">
1617
          <commandParameter
1618
                id="eu.etaxonomy.taxeditor.editor.handler.OpenChecklistViewHandler.uuid"
1619
                name="taxonNodeUuid"
1620
                optional="true"
1621
                typeId="eu.etaxonomy.taxeditor.uuidParameterType">
1622
          </commandParameter>
1603 1623
       </command>
1604 1624
      <command
1605 1625
            categoryId="eu.etaxonomy.taxeditor.editor.new.category"
......
2008 2028
            selection="eu.etaxonomy.cdm.model.taxon.TaxonNode"
2009 2029
            viewerName="%viewCommandMapping.viewerName.SPECIMEN_EDITOR">
2010 2030
      </viewCommandMapping>
2031
      <viewCommandMapping
2032
            commandId="eu.etaxonomy.taxeditor.editor.handler.OpenChecklistViewHandler"
2033
            selection="eu.etaxonomy.cdm.model.taxon.ITaxonTreeNode"
2034
            viewerName="%viewCommandMapping.viewerName.CHECKLIST_EDITOR">
2035
      </viewCommandMapping>
2011 2036
    </extension>
2012 2037
</plugin>

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)