Project

General

Profile

« Previous | Next » 

Revision a5e0f609

Added by Patrick Plitzner almost 9 years ago

Fix menu contributions

View differences:

eu.etaxonomy.taxeditor.molecular/plugin.xml
116 116
         <menuContribution
117 117
               allPopups="false"
118 118
               locationURI="menu:org.eclipse.ui.main.menu">
119
            <menu
120
                  label="View">
121
               <menu
122
                     label="Pherogram">
123
                  <command
124
                        commandId="eu.etaxonomy.taxeditor.molecular.pherogramComponent.changeQualityOutput"
125
                        style="push">
126
                  </command>
127
                  <command
128
                        commandId="eu.etaxonomy.taxeditor.molecular.pherogramComponent.toggleShowProbabilities"
129
                        style="push">
130
                  </command>
131
                  <command
132
                        commandId="eu.etaxonomy.taxeditor.molecular.pherogramComponent.toggleShowBaseCallLines"
133
                        style="push">
134
                  </command>
135
                  <visibleWhen
136
                        checkEnabled="true">
137
                     <with
138
                           variable="activePartId">
139
                        <or>
140
                           <equals
141
                                 value="eu.etaxonomy.taxeditor.molecular.AlignmentEditor">
142
                           </equals>
143
                           <equals
144
                                 value="eu.etaxonomy.taxeditor.molecular.PherogramView">
145
                           </equals>
146
                        </or>
147
                     </with>
148
                  </visibleWhen>
149
               </menu>
150
            </menu>
151 119
            <menu
152 120
                  label="Alignment Editor">
153 121
               <command
......
177 145
                     commandId="eu.etaxonomy.taxeditor.molecular.AlignmentEditor.updateConsensus"
178 146
                     style="push">
179 147
               </command>
180
               <!--visibleWhen
148
               <visibleWhen
181 149
                     checkEnabled="true">
182 150
                  <with
183 151
                        variable="activePartId">
......
185 153
                           value="eu.etaxonomy.taxeditor.molecular.AlignmentEditor">
186 154
                     </equals>
187 155
                  </with>
188
               </visibleWhen-->
156
               </visibleWhen>
157
            </menu>
158
            <menu
159
                  label="Pherogram View">
160
               <command
161
                     commandId="eu.etaxonomy.taxeditor.molecular.pherogramComponent.changeQualityOutput"
162
                     style="push">
163
               </command>
164
               <command
165
                     commandId="eu.etaxonomy.taxeditor.molecular.pherogramComponent.toggleShowProbabilities"
166
                     style="push">
167
               </command>
168
               <command
169
                     commandId="eu.etaxonomy.taxeditor.molecular.pherogramComponent.toggleShowBaseCallLines"
170
                     style="push">
171
               </command>
172
               <visibleWhen
173
                     checkEnabled="true">
174
                  <with
175
                        variable="activePartId">
176
                     <equals
177
                           value="eu.etaxonomy.taxeditor.molecular.PherogramView">
178
                     </equals>
179
                  </with>
180
               </visibleWhen>
189 181
            </menu>
190 182
         </menuContribution>
191 183
         <menuContribution

Also available in: Unified diff