Project

General

Profile

« Previous | Next » 

Revision 4fb56759

Added by Patrick Plitzner almost 7 years ago

ref #6566 Migrate "Show View" entries

View differences:

eu.etaxonomy.taxeditor.bulkeditor/plugin.xml
227 227
      </menuContribution>
228 228
      <menuContribution
229 229
            allPopups="false"
230
            locationURI="menu:eu.etaxonomy.taxeditor.menu.showView?after=org.eclipse.ui.views.showView.supplemental">
230
            locationURI="menu:eu.etaxonomy.taxeditor.menu.showView?after=eu.etaxonomy.taxeditor.store.showViewMenu.supplemental">
231 231
         <command
232 232
               commandId="eu.etaxonomy.taxeditor.openReferencingObjectsViewFromMenu"
233 233
               label="%command.label.OPEN_REFERENCING_OBJECTS_VIEW"
eu.etaxonomy.taxeditor.store/fragment.e4xmi
1 1
<?xml version="1.0" encoding="ASCII"?>
2
<fragment:ModelFragments xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:basic="http://www.eclipse.org/ui/2010/UIModel/application/descriptor/basic" xmlns:commands="http://www.eclipse.org/ui/2010/UIModel/application/commands" xmlns:fragment="http://www.eclipse.org/ui/2010/UIModel/fragment" xmlns:menu="http://www.eclipse.org/ui/2010/UIModel/application/ui/menu" xmi:id="_OhwnQCTfEeeiN5lBIuqN3g">
2
<fragment:ModelFragments xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:basic="http://www.eclipse.org/ui/2010/UIModel/application/descriptor/basic" xmlns:commands="http://www.eclipse.org/ui/2010/UIModel/application/commands" xmlns:fragment="http://www.eclipse.org/ui/2010/UIModel/fragment" xmlns:menu="http://www.eclipse.org/ui/2010/UIModel/application/ui/menu" xmlns:ui="http://www.eclipse.org/ui/2010/UIModel/application/ui" xmi:id="_OhwnQCTfEeeiN5lBIuqN3g">
3 3
  <imports xsi:type="commands:Command" xmi:id="_bnVKsCZxEeeQLpuomSmVoQ" elementId="eu.etaxonomy.taxeditor.command.openPart"/>
4 4
  <fragments xsi:type="fragment:StringModelFragment" xmi:id="_xVa1wCXXEeex9MwMOgUeWw" featurename="descriptors" parentElementId="org.eclipse.e4.legacy.ide.application">
5 5
    <elements xsi:type="basic:PartDescriptor" xmi:id="_2xmxoCXXEeex9MwMOgUeWw" elementId="eu.etaxonomy.taxeditor.store.partdescriptor.sessionsView" label="%view.name.SESSIONS" closeable="true" contributionURI="bundleclass://eu.etaxonomy.taxeditor.store/eu.etaxonomy.taxeditor.view.sessions.SessionsViewPart"/>
6 6
  </fragments>
7 7
  <fragments xsi:type="fragment:StringModelFragment" xmi:id="_3rW8wCXaEeex9MwMOgUeWw" featurename="children" parentElementId="eu.etaxonomy.taxeditor.workbench.menu.window">
8 8
    <elements xsi:type="menu:Menu" xmi:id="_RaxPUCXdEeex9MwMOgUeWw" elementId="eu.etaxonomy.taxeditor.menu.showViewXX" label="%menu.label">
9
      <children xsi:type="menu:HandledMenuItem" xmi:id="_jFskQCZyEeeQLpuomSmVoQ" elementId="eu.etaxonomy.taxeditor.store.handledmenuitem.viewnamesessions" label="%view.name.SESSIONS" command="_bnVKsCZxEeeQLpuomSmVoQ">
9
      <children xsi:type="menu:HandledMenuItem" xmi:id="_K6sowCaGEeeTEd_pKXBflg" elementId="eu.etaxonomy.taxeditor.store.showViewMenu.details" label="%command.label.0" command="_bnVKsCZxEeeQLpuomSmVoQ">
10
        <visibleWhen xsi:type="ui:CoreExpression" xmi:id="_Qi6uICaJEeeTEd_pKXBflg" coreExpressionId="isCdmStoreConnected"/>
11
        <parameters xmi:id="_h2OecCaIEeeTEd_pKXBflg" elementId="eu.etaxonomy.taxeditor.store.showView.parameter.sessionView" name="eu.etaxonomy.taxeditor.workbench.commandparameter.partName" value="eu.etaxonomy.taxeditor.view.detail"/>
12
      </children>
13
      <children xsi:type="menu:HandledMenuItem" xmi:id="_TlufMCaGEeeTEd_pKXBflg" elementId="eu.etaxonomy.taxeditor.store.showViewMenu.supplemental" label="%command.label.1" command="_bnVKsCZxEeeQLpuomSmVoQ">
14
        <visibleWhen xsi:type="ui:CoreExpression" xmi:id="_SwGXYCaJEeeTEd_pKXBflg" coreExpressionId="isCdmStoreConnected"/>
15
        <parameters xmi:id="_pebl8CaIEeeTEd_pKXBflg" elementId="eu.etaxonomy.taxeditor.store.showView.parameter.sessionView" name="eu.etaxonomy.taxeditor.workbench.commandparameter.partName" value="eu.etaxonomy.taxeditor.view.supplementalData"/>
16
      </children>
17
      <children xsi:type="menu:MenuSeparator" xmi:id="_sI4r8CaGEeeTEd_pKXBflg" elementId="eu.etaxonomy.taxeditor.store.menuseparator.0"/>
18
      <children xsi:type="menu:HandledMenuItem" xmi:id="_0Dn4cCaHEeeTEd_pKXBflg" elementId="eu.etaxonomy.taxeditor.store.showViewMenu.datasource" label="%command.label.2" command="_bnVKsCZxEeeQLpuomSmVoQ">
19
        <parameters xmi:id="_54in8CaIEeeTEd_pKXBflg" elementId="eu.etaxonomy.taxeditor.store.showView.parameter.sessionView" name="eu.etaxonomy.taxeditor.workbench.commandparameter.partName" value="eu.etaxonomy.taxeditor.view.datasource"/>
20
      </children>
21
      <children xsi:type="menu:HandledMenuItem" xmi:id="_1riRcCaHEeeTEd_pKXBflg" elementId="eu.etaxonomy.taxeditor.store.showViewMenu.logView" toBeRendered="false" visible="false" label="%command.label.3" command="_bnVKsCZxEeeQLpuomSmVoQ">
22
        <parameters xmi:id="_9VpA8CaIEeeTEd_pKXBflg" elementId="eu.etaxonomy.taxeditor.store.showView.parameter.sessionView" name="eu.etaxonomy.taxeditor.workbench.commandparameter.partName" value="org.eclipse.pde.runtime.LogView"/>
23
      </children>
24
      <children xsi:type="menu:HandledMenuItem" xmi:id="_3DcfkCaHEeeTEd_pKXBflg" elementId="eu.etaxonomy.taxeditor.store.showViewMenu.reporting" label="%command.label.4" command="_bnVKsCZxEeeQLpuomSmVoQ">
25
        <visibleWhen xsi:type="ui:CoreExpression" xmi:id="_UrBzACaJEeeTEd_pKXBflg" coreExpressionId="isCdmStoreConnected"/>
26
        <parameters xmi:id="_-z-nMCaIEeeTEd_pKXBflg" elementId="eu.etaxonomy.taxeditor.store.showView.parameter.sessionView" name="eu.etaxonomy.taxeditor.workbench.commandparameter.partName" value="eu.etaxonomy.taxeditor.reporting.viewPart"/>
27
      </children>
28
      <children xsi:type="menu:HandledMenuItem" xmi:id="_jFskQCZyEeeQLpuomSmVoQ" elementId="eu.etaxonomy.taxeditor.store.showViewMenu.sessions" label="%view.name.SESSIONS" command="_bnVKsCZxEeeQLpuomSmVoQ">
29
        <visibleWhen xsi:type="ui:CoreExpression" xmi:id="_W-C-gCaJEeeTEd_pKXBflg" coreExpressionId="isCdmStoreConnected"/>
10 30
        <parameters xmi:id="_BylIUCZzEeeQLpuomSmVoQ" elementId="eu.etaxonomy.taxeditor.store.showView.parameter.sessionView" name="eu.etaxonomy.taxeditor.workbench.commandparameter.partName" value="eu.etaxonomy.taxeditor.store.partdescriptor.sessionsView"/>
11 31
      </children>
12 32
    </elements>
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