Project

General

Profile

« Previous | Next » 

Revision 7f8351e8

Added by Patrick Plitzner over 8 years ago

Do not show taxon navigator menu entries when nothing is selected

View differences:

eu.etaxonomy.taxeditor.navigation/plugin.xml
87 87
                  commandId="eu.etaxonomy.taxeditor.navigation.command.create.taxonNode"
88 88
                  label="%command.label.2"
89 89
                  style="push">
90
               <visibleWhen
91
                     checkEnabled="true">
92
                  <with
93
                        variable="selection">
94
                     <count
95
                           value="+">
96
                     </count>
97
                  </with>
98
               </visibleWhen>
90 99
            </command>
91 100
            <separator
92 101
                  name="eu.etaxonomy.navigation.menu.new.separator1"
......
275 284
                           definitionId="isSynonymNode">
276 285
                     </reference>
277 286
                  </not>
287
                  <with
288
                        variable="selection">
289
                     <count
290
                           value="+">
291
                     </count>
292
                  </with>
278 293
               </and>
279 294
            </visibleWhen>
280 295
         </command>

Also available in: Unified diff