Project

General

Profile

« Previous | Next » 

Revision 92ac65d5

Added by Patrick Plitzner about 6 years ago

ref #6925 Use own application model but still launch e3 product

View differences:

eu.etaxonomy.taxeditor.application/Application.e4xmi
1 1
<?xml version="1.0" encoding="ASCII"?>
2
<application:Application xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:advanced="http://www.eclipse.org/ui/2010/UIModel/application/ui/advanced" xmlns:application="http://www.eclipse.org/ui/2010/UIModel/application" xmlns:basic="http://www.eclipse.org/ui/2010/UIModel/application/ui/basic" xmlns:menu="http://www.eclipse.org/ui/2010/UIModel/application/ui/menu" xmi:id="_8ht78MCfEeeY5_oZn4Cc5g" elementId="eu.etaxonomy.taxeditor.application.application">
2
<application:Application xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:advanced="http://www.eclipse.org/ui/2010/UIModel/application/ui/advanced" xmlns:application="http://www.eclipse.org/ui/2010/UIModel/application" xmlns:basic="http://www.eclipse.org/ui/2010/UIModel/application/ui/basic" xmi:id="_8ht78MCfEeeY5_oZn4Cc5g" elementId="eu.etaxonomy.taxeditor.application.application">
3 3
  <children xsi:type="basic:TrimmedWindow" xmi:id="_-pVL4MCjEeeY5_oZn4Cc5g" elementId="eu.etaxonomy.taxeditor.application.trimmedwindow.edittaxonomiceditor" selectedElement="_9JeQwMClEeeY5_oZn4Cc5g" label="EDIT Taxonomic Editor" iconURI="platform:/plugin/eu.etaxonomy.taxeditor.application/icons/256color_16x16.gif">
4 4
    <children xsi:type="advanced:PerspectiveStack" xmi:id="_9JeQwMClEeeY5_oZn4Cc5g" elementId="eu.etaxonomy.taxeditor.application.perspectivestack.0" selectedElement="_9wi30MClEeeY5_oZn4Cc5g">
5 5
      <children xsi:type="advanced:Perspective" xmi:id="_9wi30MClEeeY5_oZn4Cc5g" elementId="eu.etaxonomy.taxeditor.application.perspective.taxonomic" selectedElement="_-by0QMClEeeY5_oZn4Cc5g" label="Taxonomic" iconURI="platform:/plugin/eu.etaxonomy.taxeditor.application/icons/256color_16x16.gif">
......
15 15
          </children>
16 16
        </children>
17 17
      </children>
18
      <children xsi:type="advanced:Perspective" xmi:id="_ZcWQEMrkEeewfqnfrNoNfg" elementId="eu.etaxonomy.taxeditor.application.perspective.polytomous" label="Polytomous" iconURI="platform:/plugin/eu.etaxonomy.taxeditor.store/icons/hierarchical.gif">
18
      <children xsi:type="advanced:Perspective" xmi:id="_ZcWQEMrkEeewfqnfrNoNfg" elementId="eu.etaxonomy.taxeditor.application.perspective.polytomous" toBeRendered="false" label="Polytomous" iconURI="platform:/plugin/eu.etaxonomy.taxeditor.store/icons/hierarchical.gif">
19 19
        <children xsi:type="basic:PartSashContainer" xmi:id="_dvQ2wMrkEeewfqnfrNoNfg" elementId="eu.etaxonomy.taxeditor.application.partsashcontainer.polytomous.main" horizontal="true">
20 20
          <children xsi:type="basic:PartStack" xmi:id="_QNMAUMt9EeeH8Je1S3sVOw" elementId="polytomous.navigation"/>
21 21
          <children xsi:type="basic:PartSashContainer" xmi:id="_2HvzYMt6EeeH8Je1S3sVOw" elementId="eu.etaxonomy.taxeditor.application.partsashcontainer.0">
......
27 27
          </children>
28 28
        </children>
29 29
      </children>
30
      <children xsi:type="advanced:Perspective" xmi:id="_ORYF0Mt7EeeH8Je1S3sVOw" elementId="eu.etaxonomy.taxeditor.application.perspective.specimen" label="Specimen" iconURI="platform:/plugin/eu.etaxonomy.taxeditor.application/icons/specimen_derivate-16x16-32.png">
30
      <children xsi:type="advanced:Perspective" xmi:id="_ORYF0Mt7EeeH8Je1S3sVOw" elementId="eu.etaxonomy.taxeditor.application.perspective.specimen" toBeRendered="false" label="Specimen" iconURI="platform:/plugin/eu.etaxonomy.taxeditor.application/icons/specimen_derivate-16x16-32.png">
31 31
        <children xsi:type="basic:PartSashContainer" xmi:id="_TTetwMt7EeeH8Je1S3sVOw" elementId="eu.etaxonomy.taxeditor.application.partsashcontainer.2" horizontal="true">
32 32
          <children xsi:type="basic:PartStack" xmi:id="_xcQwUMupEeeLbtry0vbE_g" elementId="specimen.navigation"/>
33 33
          <children xsi:type="basic:PartSashContainer" xmi:id="_Vfc2EMt7EeeH8Je1S3sVOw" elementId="eu.etaxonomy.taxeditor.application.partsashcontainer.3">
......
40 40
          </children>
41 41
        </children>
42 42
      </children>
43
      <children xsi:type="advanced:Perspective" xmi:id="_ZGbWcAs6Eei3kN0puDKnHA" elementId="eu.etaxonomy.taxeditor.application.perspective.workingset" label="Working Set" iconURI="platform:/plugin/eu.etaxonomy.taxeditor.editor/icons/ws_icon.gif">
43
      <children xsi:type="advanced:Perspective" xmi:id="_ZGbWcAs6Eei3kN0puDKnHA" elementId="eu.etaxonomy.taxeditor.application.perspective.workingset" toBeRendered="false" label="Working Set" iconURI="platform:/plugin/eu.etaxonomy.taxeditor.editor/icons/ws_icon.gif">
44 44
        <children xsi:type="basic:PartSashContainer" xmi:id="_-EaFIAs6Eei3kN0puDKnHA" elementId="eu.etaxonomy.taxeditor.application.partsashcontainer.6" horizontal="true">
45 45
          <children xsi:type="basic:PartSashContainer" xmi:id="_2KVxkAs6Eei3kN0puDKnHA" elementId="eu.etaxonomy.taxeditor.application.partsashcontainer.5">
46 46
            <children xsi:type="basic:PartStack" xmi:id="_4I5I8As6Eei3kN0puDKnHA" elementId="workingset.wsNavigation"/>
......
55 55
    <sharedElements xsi:type="advanced:Area" xmi:id="_R45QMMupEeeLbtry0vbE_g" elementId="taxeditor.editors" selectedElement="_ZQKRUMusEeeLbtry0vbE_g">
56 56
      <children xsi:type="basic:PartStack" xmi:id="_ZQKRUMusEeeLbtry0vbE_g" elementId="stack.editor"/>
57 57
    </sharedElements>
58
    <trimBars xmi:id="_GyNiEMClEeeY5_oZn4Cc5g" elementId="eu.etaxonomy.taxeditor.application.trimbar.top"/>
59 58
    <trimBars xmi:id="_WpqYMMLwEee0N85Mii-Chg" elementId="eu.etaxonomy.taxeditor.application.trimbar.bottom" side="Bottom"/>
59
    <trimBars xmi:id="_owuDAB0rEei8Eq5CgDDwDA" elementId="org.eclipse.ui.main.toolbar"/>
60 60
  </children>
61
  <trimContributions xmi:id="_L4iCkMrgEeewfqnfrNoNfg" elementId="eu.etaxonomy.taxeditor.application.trimcontribution.perspectiveSwitch" parentId="eu.etaxonomy.taxeditor.application.trimbar.top" positionInParent="">
62
    <children xsi:type="menu:ToolControl" xmi:id="__Jp_YMrjEeewfqnfrNoNfg" elementId="eu.etaxonomy.taxeditor.application.toolcontrol.perspective.space" contributionURI="bundleclass://eu.etaxonomy.taxeditor.application/eu.etaxonomy.taxeditor.SpacerControl">
63
      <tags>stretch</tags>
64
    </children>
65
    <children xsi:type="menu:ToolBar" xmi:id="_L4iCksrgEeewfqnfrNoNfg" elementId="eu.etaxonomy.taxeditor.application.toolbar.perspectiveSwitch">
66
      <children xsi:type="menu:ToolControl" xmi:id="_L4iCk8rgEeewfqnfrNoNfg" elementId="eu.etaxonomy.taxeditor.perspective.PerspectiveSwitch" contributionURI="bundleclass://eu.etaxonomy.taxeditor.application/eu.etaxonomy.taxeditor.perspective.PerspectiveSwitch"/>
67
    </children>
68
  </trimContributions>
69 61
  <addons xmi:id="_8ht78cCfEeeY5_oZn4Cc5g" elementId="org.eclipse.e4.core.commands.service" contributionURI="bundleclass://org.eclipse.e4.core.commands/org.eclipse.e4.core.commands.CommandServiceAddon"/>
70 62
  <addons xmi:id="_8ht78sCfEeeY5_oZn4Cc5g" elementId="org.eclipse.e4.ui.contexts.service" contributionURI="bundleclass://org.eclipse.e4.ui.services/org.eclipse.e4.ui.services.ContextServiceAddon"/>
71 63
  <addons xmi:id="_8ht788CfEeeY5_oZn4Cc5g" elementId="org.eclipse.e4.ui.bindings.service" contributionURI="bundleclass://org.eclipse.e4.ui.bindings/org.eclipse.e4.ui.bindings.BindingServiceAddon"/>
eu.etaxonomy.taxeditor.application/plugin.xml
18 18
         point="org.eclipse.ui.perspectives">
19 19
      <perspective
20 20
            class="eu.etaxonomy.taxeditor.perspective.Taxonomic"
21
            icon="icons/edit_16x16.gif"
21 22
            id="eu.etaxonomy.taxeditor.application.perspective.taxonomic"
22 23
            name="%perspective.name">
23 24
      </perspective>
......
45 46
      </perspective>
46 47
      <perspective
47 48
            class="eu.etaxonomy.taxeditor.perspective.WorkingSetPerspective"
49
            icon="icons/ws_icon.gif"
48 50
            id="eu.etaxonomy.taxeditor.perspective.WorkingSetPerspective"
49 51
            name="Working Set">
50 52
      </perspective>
......
123 125
       id="eu_etaxonomy_taxeditor_product"
124 126
       point="org.eclipse.core.runtime.products">
125 127
    <product
126
          application="org.eclipse.e4.ui.workbench.swt.E4Application"
128
          application="eu.etaxonomy.taxeditor.application.application"
127 129
          name="EDIT Taxonomic Editor">
128 130
       <property
129 131
             name="appName"
......
161 163
             name="modelResourceHandler"
162 164
             value="bundleclass://eu.etaxonomy.taxeditor.application/eu.etaxonomy.taxeditor.ModelResourceHandler">
163 165
       </property>
166
       <property
167
             name="applicationXMI"
168
             value="eu.etaxonomy.taxeditor.application/Application.e4xmi">
169
       </property>
164 170
       <property
165 171
             name="preferenceCustomization"
166 172
             value="plugin_customization.ini">
eu.etaxonomy.taxeditor.navigation/fragment.e4xmi
161 161
      </toolbar>
162 162
    </elements>
163 163
  </fragments>
164
  <fragments xsi:type="fragment:StringModelFragment" xmi:id="_KEPdoMrkEeewfqnfrNoNfg" featurename="children" parentElementId="eu.etaxonomy.taxeditor.application.trimcontribution.perspectiveSwitch" positionInList="after:eu.etaxonomy.taxeditor.workbench.menu.toolbar.0">
164
  <fragments xsi:type="fragment:StringModelFragment" xmi:id="_KEPdoMrkEeewfqnfrNoNfg" featurename="children" parentElementId="org.eclipse.ui.main.toolbar" positionInList="after:eu.etaxonomy.taxeditor.workbench.menu.toolbar.0">
165 165
    <elements xsi:type="menu:ToolControl" xmi:id="_7kZI4CTfEeeiN5lBIuqN3g" elementId="eu.etaxonomy.taxeditor.navigation.toolcontrol.search_bar" contributionURI="bundleclass://eu.etaxonomy.taxeditor.navigation/eu.etaxonomy.taxeditor.navigation.search.SearchBar"/>
166 166
  </fragments>
167 167
  <fragments xsi:type="fragment:StringModelFragment" xmi:id="_wITZ8JIVEeeJAdt8ZUxyaw" featurename="children" parentElementId="eu.etaxonomy.taxeditor.menu.showView" positionInList="before:eu.etaxonomy.taxeditor.workbench.menuseparator.navigation">
eu.etaxonomy.taxeditor.workbench/fragment.e4xmi
118 118
      <children xsi:type="menu:ToolControl" xmi:id="_oKE68MLwEee0N85Mii-Chg" elementId="eu.etaxonomy.taxeditor.workbench.StatusBar" contributionURI="bundleclass://eu.etaxonomy.taxeditor.workbench/eu.etaxonomy.taxeditor.workbench.StatusBar"/>
119 119
    </elements>
120 120
  </fragments>
121
  <fragments xsi:type="fragment:StringModelFragment" xmi:id="_2ZfKQMrjEeewfqnfrNoNfg" featurename="children" parentElementId="eu.etaxonomy.taxeditor.application.trimcontribution.perspectiveSwitch" positionInList="first">
121
  <fragments xsi:type="fragment:StringModelFragment" xmi:id="_2ZfKQMrjEeewfqnfrNoNfg" featurename="children" parentElementId="org.eclipse.ui.main.toolbar" positionInList="first">
122 122
    <elements xsi:type="menu:ToolBar" xmi:id="_KDVngB92EeeIA_2gwq7JKg" elementId="eu.etaxonomy.taxeditor.workbench.menu.toolbar.0">
123 123
      <children xsi:type="menu:HandledToolItem" xmi:id="_KvxPsB92EeeIA_2gwq7JKg" elementId="eu.etaxonomy.taxeditor.workbench.menu.toolbar.new" label="%command.label.21" iconURI="platform:/plugin/org.eclipse.ui/icons/full/etool16/new_wiz.png" command="_hooiQB7QEeeC-JvycL9ysA"/>
124 124
      <children xsi:type="menu:HandledToolItem" xmi:id="_hnQUcFp0Eee4PsIXei-TMg" elementId="eu.etaxonomy.taxeditor.workbench.menu.toolbar.save" label="%command.label.22" iconURI="platform:/plugin/eu.etaxonomy.taxeditor.store/icons/save_edit.gif" command="_X-56IFp0Eee4PsIXei-TMg"/>

Also available in: Unified diff