Project

General

Profile

Download (2.57 KB) Statistics
| Branch: | Tag: | Revision:
1
<?xml version="1.0" encoding="UTF-8"?>
2
<?eclipse version="3.4"?>
3
<plugin>
4
      <extension
5
            point="org.eclipse.ui.menus">
6
         <menuContribution
7
               locationURI="toolbar:org.eclipse.ui.main.toolbar?after=eu.etaxonomy.taxeditor.navigation.search.toolbar">
8
            <toolbar
9
                  id="eu.etaxonomy.taxeditor.molecular.alignmentToolbar">
10
               <command
11
                     commandId="eu.etaxonomy.taxeditor.molecular.AlignmentEditor.toggleInsertOverwrite"
12
                     label="%command.TOGGLE_INSERT_OVERWRITE"
13
                     style="push">
14
                  <visibleWhen
15
                        checkEnabled="true">
16
                     <with
17
                           variable="activePartId">
18
                        <equals
19
                              value="eu.etaxonomy.taxeditor.molecular.AlignmentEditor">
20
                        </equals>
21
                     </with>
22
                  </visibleWhen>
23
               </command>
24
               <command
25
                     commandId="eu.etaxonomy.taxeditor.molecular.AlignmentEditor.toggleLeftRightInsertion"
26
                     icon="icons/pherogram-insert-left-16x16.png"
27
                     style="push">
28
                  <visibleWhen
29
                        checkEnabled="true">
30
                     <with
31
                           variable="activePartId">
32
                        <equals
33
                              value="eu.etaxonomy.taxeditor.molecular.AlignmentEditor">
34
                        </equals>
35
                     </with>
36
                  </visibleWhen>
37
               </command>
38
            </toolbar>
39
         </menuContribution>
40
      </extension>
41
      <extension
42
            id="id1"
43
            point="org.eclipse.e4.workbench.model">
44
         <fragment
45
               apply="always"
46
               uri="fragment.e4xmi">
47
         </fragment>
48
      </extension>
49
      <extension
50
            point="org.eclipse.core.expressions.definitions">
51
         <definition
52
               id="isAlignmentEditor">
53
            <with
54
                  variable="activePartId">
55
               <equals
56
                     value="eu.etaxonomy.taxeditor.molecular.editor.e4.AlignmentEditorE4">
57
               </equals>
58
            </with>
59
         </definition>
60
         <definition
61
               id="isPherogramView">
62
            <with
63
                  variable="activePartId">
64
               <equals
65
                     value="eu.etaxonomy.taxeditor.molecular.editor.e4.PherogramPartE4">
66
               </equals>
67
            </with>
68
         </definition>
69
      </extension>
70
      
71
</plugin>
(6-6/7)