Project

General

Profile

« Previous | Next » 

Revision 517ffc77

Added by Patrick Plitzner over 8 years ago

Set Visibility according to CdmStore connection

View differences:

eu.etaxonomy.taxeditor.editor/plugin.xml
242 242
               commandId="eu.etaxonomy.taxeditor.editor.command.new.name"
243 243
               label="%command.label.46"
244 244
               style="push">
245
            <visibleWhen
246
                  checkEnabled="true">
247
               <reference
248
                     definitionId="isCdmStoreConnected">
249
               </reference>
250
            </visibleWhen>
245 251
         </command>
246 252
         <command
247 253
               commandId="eu.etaxonomy.taxeditor.editor.command.new.reference"
248 254
               label="%command.label.47"
249 255
               style="push">
256
            <visibleWhen
257
                  checkEnabled="true">
258
               <reference
259
                     definitionId="isCdmStoreConnected">
260
               </reference>
261
            </visibleWhen>
250 262
         </command>
251 263
         <command
252 264
               commandId="eu.etaxonomy.taxeditor.editor.command.new.team"
253 265
               label="%command.label.1"
254 266
               style="push">
267
            <visibleWhen
268
                  checkEnabled="true">
269
               <reference
270
                     definitionId="isCdmStoreConnected">
271
               </reference>
272
            </visibleWhen>
255 273
         </command>
256 274
         <command
257 275
               commandId="eu.etaxonomy.taxeditor.editor.command.new.person"
258 276
               label="%command.label.2"
259 277
               style="push">
278
            <visibleWhen
279
                  checkEnabled="true">
280
               <reference
281
                     definitionId="isCdmStoreConnected">
282
               </reference>
283
            </visibleWhen>
260 284
         </command>
261 285
         <separator
262 286
               name="eu.etaxonomy.navigation.menu.new.separator2"
......
266 290
               commandId="eu.etaxonomy.taxeditor.editor.command.new.specimen"
267 291
               label="%command.label.3"
268 292
               style="push">
293
            <visibleWhen
294
                  checkEnabled="true">
295
               <reference
296
                     definitionId="isCdmStoreConnected">
297
               </reference>
298
            </visibleWhen>
269 299
         </command>
270 300
         <separator
271 301
               name="eu.etaxonomy.navigation.menu.new.separator3"
......
275 305
               commandId="eu.etaxonomy.taxeditor.editor.command.new.datasource"
276 306
               label="%command.label.48"
277 307
               style="push">
308
            <visibleWhen
309
                  checkEnabled="true">
310
               <reference
311
                     definitionId="isCdmStoreConnected">
312
               </reference>
313
            </visibleWhen>
278 314
         </command>
279 315
      </menuContribution>
280 316
      <menuContribution
......
291 327
                  name="org.eclipse.ui.views.showView.viewId"
292 328
                  value="eu.etaxonomy.taxeditor.editor.view.descriptive">
293 329
            </parameter>
330
            <visibleWhen
331
                  checkEnabled="true">
332
               <reference
333
                     definitionId="isCdmStoreConnected">
334
               </reference>
335
            </visibleWhen>
294 336
         </command>
295 337
         <command
296 338
               commandId="org.eclipse.ui.views.showView"
......
300 342
                  name="org.eclipse.ui.views.showView.viewId"
301 343
                  value="eu.etaxonomy.taxeditor.editor.view.media">
302 344
            </parameter>
345
            <visibleWhen
346
                  checkEnabled="true">
347
               <reference
348
                     definitionId="isCdmStoreConnected">
349
               </reference>
350
            </visibleWhen>
303 351
         </command>
304 352
         <command
305 353
               commandId="org.eclipse.ui.views.showView"
......
309 357
                  name="org.eclipse.ui.views.showView.viewId"
310 358
                  value="eu.etaxonomy.taxeditor.editor.view.concept">
311 359
            </parameter>
360
            <visibleWhen
361
                  checkEnabled="true">
362
               <reference
363
                     definitionId="isCdmStoreConnected">
364
               </reference>
365
            </visibleWhen>
312 366
         </command>
313 367
         <command
314 368
               commandId="org.eclipse.ui.views.showView"
......
319 373
                  value="eu.etaxonomy.taxeditor.editor.view.concept.graph">
320 374
            </parameter>
321 375
            <visibleWhen
322
                  checkEnabled="false">
323
               <reference
324
                     definitionId="isShowExperimentalFeatures">
325
               </reference>
376
                  checkEnabled="true">
377
               <and>
378
                  <reference
379
                        definitionId="isShowExperimentalFeatures">
380
                  </reference>
381
                  <reference
382
                        definitionId="isCdmStoreConnected">
383
                  </reference>
384
               </and>
326 385
            </visibleWhen>
327 386
         </command>
328 387
      </menuContribution>
......
332 391
               commandId="eu.etaxonomy.taxeditor.editor.command.openParent"
333 392
               label="%command.label.8"
334 393
               style="push">
394
            <visibleWhen
395
                  checkEnabled="true">
396
               <reference
397
                     definitionId="isCdmStoreConnected">
398
               </reference>
399
            </visibleWhen>
335 400
         </command>
336 401
      </menuContribution>
337 402
      <menuContribution
......
996 1061
                  name="org.eclipse.ui.views.showView.viewId"
997 1062
                  value="eu.etaxonomy.taxeditor.editor.view.validation.problems">
998 1063
            </parameter>
1064
            <visibleWhen
1065
                  checkEnabled="true">
1066
               <reference
1067
                     definitionId="isCdmStoreConnected">
1068
               </reference>
1069
            </visibleWhen>
999 1070
         </command>
1000 1071
      </menuContribution>
1001 1072
   </extension>

Also available in: Unified diff