Project

General

Profile

« Previous | Next » 

Revision 4fb56759

Added by Patrick Plitzner about 7 years ago

ref #6566 Migrate "Show View" entries

View differences:

eu.etaxonomy.taxeditor.store/plugin.xml
320 320
   </extension>
321 321
   <extension
322 322
         point="org.eclipse.ui.menus">
323
      <menuContribution
324
            locationURI="menu:eu.etaxonomy.taxeditor.workbench.menu.window?before=eu.etaxonomy.taxeditor.application.windowMenu.last">
325
         <menu
326
               id="eu.etaxonomy.taxeditor.menu.showView"
327
               label="%menu.label">
328
            <command
329
                  commandId="org.eclipse.ui.views.showView"
330
                  id="eu.etaxonomy.taxeditor.store.showViewMenu.details"
331
                  label="%command.label.0"
332
                  style="push">
333
               <parameter
334
                     name="org.eclipse.ui.views.showView.viewId"
335
                     value="eu.etaxonomy.taxeditor.view.detail">
336
               </parameter>
337
               <visibleWhen
338
                     checkEnabled="true">
339
                  <reference
340
                        definitionId="isCdmStoreConnected">
341
                  </reference>
342
               </visibleWhen>
343
            </command>
344
            <command
345
                  commandId="org.eclipse.ui.views.showView"
346
                  id="org.eclipse.ui.views.showView.supplemental"
347
	              label="%command.label.1"
348
                  style="push">
349
               <parameter
350
                     name="org.eclipse.ui.views.showView.viewId"
351
                     value="eu.etaxonomy.taxeditor.view.supplementalData">
352
               </parameter>
353
               <visibleWhen
354
                     checkEnabled="true">
355
                  <reference
356
                        definitionId="isCdmStoreConnected">
357
                  </reference>
358
               </visibleWhen>
359
            </command>
360
            <!-- Originally used by validation framework, currently not in use -->
361
	<!--        <command
362
	        	 id="org.eclipse.ui.views.showView.problems"
363
	             commandId="org.eclipse.ui.views.showView"
364
	             label="Problems"
365
	             style="push">
366
	          <parameter
367
	                name="org.eclipse.ui.views.showView.viewId"
368
	                value="org.eclipse.ui.views.ProblemView">
369
	          </parameter>
370
	       </command>  -->
371
            <separator
372
                  name="eu.etaxonomy.taxeditor.store.showViewMenu.internal"
373
                  visible="true">
374
            </separator>
375
            <command
376
                  commandId="org.eclipse.ui.views.showView"
377
                  label="%command.label.2"
378
                  style="push">
379
               <parameter
380
                     name="org.eclipse.ui.views.showView.viewId"
381
                     value="eu.etaxonomy.taxeditor.view.datasource">
382
               </parameter>
383
            </command>
384
            <command
385
                  commandId="org.eclipse.ui.views.showView"
386
                  label="%command.label.3"
387
                  style="push">
388
               <parameter
389
                     name="org.eclipse.ui.views.showView.viewId"
390
                     value="org.eclipse.pde.runtime.LogView">
391
               </parameter>
392
            </command>
393
            <command
394
                  commandId="org.eclipse.ui.views.showView"
395
                  label="%command.label.4"
396
                  style="push">
397
               <parameter
398
                     name="org.eclipse.ui.views.showView.viewId"
399
                     value="eu.etaxonomy.taxeditor.reporting.viewPart">
400
               </parameter>
401
               <visibleWhen
402
                     checkEnabled="true">
403
                  <and>
404
                     <reference
405
                           definitionId="isShowExperimentalFeatures">
406
                     </reference>
407
                     <reference
408
                           definitionId="isCdmStoreConnected">
409
                     </reference>
410
                  </and>
411
               </visibleWhen>
412
            </command>
413
            <command
414
                  commandId="org.eclipse.ui.views.showView"
415
                  label="%command.label.SESSION"
416
                  style="push">
417
               <parameter
418
                     name="org.eclipse.ui.views.showView.viewId"
419
                     value="eu.etaxonomy.taxeditor.view.sessions.SessionsViewPart">
420
               </parameter>
421
               <visibleWhen
422
                     checkEnabled="true">
423
                  <reference
424
                        definitionId="isCdmStoreConnected">
425
                  </reference>
426
               </visibleWhen>
427
            </command>
428
         </menu>
429
      </menuContribution>
430 323
      <menuContribution 
431 324
         allPopups="false" 
432 325
                 locationURI="menu:eu.etaxonomy.taxeditor.workbench.menu.window?before=eu.etaxonomy.taxeditor.application.windowMenu.last"> 

Also available in: Unified diff