Project

General

Profile

« Previous | Next » 

Revision d3a48462

Added by Patrick Plitzner over 6 years ago

ref #6925 Refactor application model IDs and placeholders

View differences:

eu.etaxonomy.taxeditor.application/Application.e4xmi
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">
6 6
        <children xsi:type="basic:PartSashContainer" xmi:id="_-by0QMClEeeY5_oZn4Cc5g" elementId="eu.etaxonomy.taxeditor.application.partsashcontainer.main" horizontal="true">
7
          <children xsi:type="advanced:Placeholder" xmi:id="_v34F4Mt8EeeH8Je1S3sVOw" elementId="eu.etaxonomy.taxeditor.application.placeholder.1" ref="_sDi4oMt8EeeH8Je1S3sVOw"/>
7
          <children xsi:type="basic:PartStack" xmi:id="_NRrNcMupEeeLbtry0vbE_g" elementId="taxonomic.navigation"/>
8 8
          <children xsi:type="basic:PartSashContainer" xmi:id="_pnErUMCpEee1wcT3n47ovA" elementId="eu.etaxonomy.taxeditor.application.partsashcontainer.edit">
9
            <children xsi:type="advanced:Placeholder" xmi:id="_Q0xFEMt6EeeH8Je1S3sVOw" elementId="eu.etaxonomy.taxeditor.application.placeholder.0" ref="_sHGYEMCpEee1wcT3n47ovA"/>
10
            <children xsi:type="advanced:Placeholder" xmi:id="_ZsPmoMt7EeeH8Je1S3sVOw" elementId="eu.etaxonomy.taxeditor.application.placeholder.9" ref="_zrZP8MCpEee1wcT3n47ovA"/>
9
            <children xsi:type="advanced:Placeholder" xmi:id="_UfsTUMupEeeLbtry0vbE_g" elementId="eu.etaxonomy.taxeditor.application.placeholder.0" ref="_R45QMMupEeeLbtry0vbE_g"/>
10
            <children xsi:type="basic:PartStack" xmi:id="_PzPLQMupEeeLbtry0vbE_g" elementId="taxonomic.data"/>
11 11
          </children>
12 12
          <children xsi:type="basic:PartSashContainer" xmi:id="_306DAMCpEee1wcT3n47ovA" elementId="eu.etaxonomy.taxeditor.application.partsashcontainer.info">
13
            <children xsi:type="advanced:Placeholder" xmi:id="__B-jcMt6EeeH8Je1S3sVOw" elementId="eu.etaxonomy.taxeditor.application.placeholder.3" ref="_9OXbAMCpEee1wcT3n47ovA"/>
14
            <children xsi:type="advanced:Placeholder" xmi:id="_DL9QkMt7EeeH8Je1S3sVOw" elementId="eu.etaxonomy.taxeditor.application.placeholder.4" toBeRendered="false" ref="_9mSy0MCpEee1wcT3n47ovA"/>
13
            <children xsi:type="basic:PartStack" xmi:id="_YGIOgMupEeeLbtry0vbE_g" elementId="taxonomic.details"/>
14
            <children xsi:type="basic:PartStack" xmi:id="_ZvTy0MupEeeLbtry0vbE_g" elementId="taxonomic.supplemental" toBeRendered="false"/>
15 15
          </children>
16 16
        </children>
17 17
      </children>
18 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">
19 19
        <children xsi:type="basic:PartSashContainer" xmi:id="_dvQ2wMrkEeewfqnfrNoNfg" elementId="eu.etaxonomy.taxeditor.application.partsashcontainer.polytomous.main" horizontal="true">
20
          <children xsi:type="basic:PartStack" xmi:id="_QNMAUMt9EeeH8Je1S3sVOw" elementId="stack.polytomous.navigation"/>
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">
22
            <children xsi:type="advanced:Placeholder" xmi:id="_4o0B8Mt6EeeH8Je1S3sVOw" elementId="eu.etaxonomy.taxeditor.application.placeholder.2" ref="_sHGYEMCpEee1wcT3n47ovA"/>
22
            <children xsi:type="advanced:Placeholder" xmi:id="_4o0B8Mt6EeeH8Je1S3sVOw" elementId="eu.etaxonomy.taxeditor.application.placeholder.2" ref="_R45QMMupEeeLbtry0vbE_g"/>
23 23
          </children>
24 24
          <children xsi:type="basic:PartSashContainer" xmi:id="_9HU0oMt6EeeH8Je1S3sVOw" elementId="eu.etaxonomy.taxeditor.application.partsashcontainer.1">
25
            <children xsi:type="advanced:Placeholder" xmi:id="_EmGTUMt7EeeH8Je1S3sVOw" elementId="eu.etaxonomy.taxeditor.application.placeholder.5" ref="_9OXbAMCpEee1wcT3n47ovA"/>
26
            <children xsi:type="advanced:Placeholder" xmi:id="_FawDYMt7EeeH8Je1S3sVOw" elementId="eu.etaxonomy.taxeditor.application.placeholder.6" toBeRendered="false" ref="_9mSy0MCpEee1wcT3n47ovA"/>
25
            <children xsi:type="basic:PartStack" xmi:id="_i3yaQMupEeeLbtry0vbE_g" elementId="polytomous.details"/>
26
            <children xsi:type="basic:PartStack" xmi:id="_kgPl0MupEeeLbtry0vbE_g" elementId="polytomous.supplemental" toBeRendered="false"/>
27 27
          </children>
28 28
        </children>
29 29
      </children>
30 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">
31 31
        <children xsi:type="basic:PartSashContainer" xmi:id="_TTetwMt7EeeH8Je1S3sVOw" elementId="eu.etaxonomy.taxeditor.application.partsashcontainer.2" horizontal="true">
32
          <children xsi:type="advanced:Placeholder" xmi:id="_zb7bcMt8EeeH8Je1S3sVOw" elementId="eu.etaxonomy.taxeditor.application.placeholder.13" ref="_sDi4oMt8EeeH8Je1S3sVOw"/>
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">
34
            <children xsi:type="advanced:Placeholder" xmi:id="_V_HNkMt7EeeH8Je1S3sVOw" elementId="eu.etaxonomy.taxeditor.application.placeholder.8" ref="_sHGYEMCpEee1wcT3n47ovA"/>
35
            <children xsi:type="advanced:Placeholder" xmi:id="_bB6ZEMt7EeeH8Je1S3sVOw" elementId="eu.etaxonomy.taxeditor.application.placeholder.10" ref="_zrZP8MCpEee1wcT3n47ovA"/>
34
            <children xsi:type="advanced:Placeholder" xmi:id="_V_HNkMt7EeeH8Je1S3sVOw" elementId="eu.etaxonomy.taxeditor.application.placeholder.8" ref="_R45QMMupEeeLbtry0vbE_g"/>
35
            <children xsi:type="basic:PartStack" xmi:id="_0j4BgMupEeeLbtry0vbE_g" elementId="specimen.data"/>
36 36
          </children>
37 37
          <children xsi:type="basic:PartSashContainer" xmi:id="_gy2c8Mt7EeeH8Je1S3sVOw" elementId="eu.etaxonomy.taxeditor.application.partsashcontainer.4">
38
            <children xsi:type="advanced:Placeholder" xmi:id="_hkf8UMt7EeeH8Je1S3sVOw" elementId="eu.etaxonomy.taxeditor.application.placeholder.11" ref="_9OXbAMCpEee1wcT3n47ovA"/>
39
            <children xsi:type="advanced:Placeholder" xmi:id="_ihX0QMt7EeeH8Je1S3sVOw" elementId="eu.etaxonomy.taxeditor.application.placeholder.12" toBeRendered="false" ref="_9mSy0MCpEee1wcT3n47ovA"/>
38
            <children xsi:type="basic:PartStack" xmi:id="_85RmMMupEeeLbtry0vbE_g" elementId="specimen.details"/>
39
            <children xsi:type="basic:PartStack" xmi:id="_-6sEUMupEeeLbtry0vbE_g" elementId="specimen.supplemental" toBeRendered="false"/>
40 40
          </children>
41 41
        </children>
42 42
      </children>
43 43
    </children>
44 44
    <mainMenu xmi:id="__eR6EMCnEeeY5_oZn4Cc5g" elementId="eu.etaxonomy.taxeditor.application.menu.main"/>
45
    <sharedElements xsi:type="basic:PartStack" xmi:id="_sHGYEMCpEee1wcT3n47ovA" elementId="stack.editors"/>
46
    <sharedElements xsi:type="basic:PartStack" xmi:id="_9OXbAMCpEee1wcT3n47ovA" elementId="stack.details"/>
47
    <sharedElements xsi:type="basic:PartStack" xmi:id="_9mSy0MCpEee1wcT3n47ovA" elementId="stack.supplemental"/>
48
    <sharedElements xsi:type="basic:PartStack" xmi:id="_zrZP8MCpEee1wcT3n47ovA" elementId="stack.data"/>
49
    <sharedElements xsi:type="basic:PartStack" xmi:id="_sDi4oMt8EeeH8Je1S3sVOw" elementId="stack.navigation"/>
45
    <sharedElements xsi:type="advanced:Area" xmi:id="_R45QMMupEeeLbtry0vbE_g" elementId="taxeditor.editors" selectedElement="_ZQKRUMusEeeLbtry0vbE_g">
46
      <children xsi:type="basic:PartStack" xmi:id="_ZQKRUMusEeeLbtry0vbE_g" elementId="stack.editor"/>
47
    </sharedElements>
50 48
    <trimBars xmi:id="_GyNiEMClEeeY5_oZn4Cc5g" elementId="eu.etaxonomy.taxeditor.application.trimbar.top"/>
51 49
    <trimBars xmi:id="_WpqYMMLwEee0N85Mii-Chg" elementId="eu.etaxonomy.taxeditor.application.trimbar.bottom" side="Bottom"/>
52 50
  </children>
eu.etaxonomy.taxeditor.bulkeditor/fragment.e4xmi
109 109
      </menus>
110 110
    </elements>
111 111
  </fragments>
112
   <fragments xsi:type="fragment:StringModelFragment" xmi:id="_NE4fEIKhEee80qfpLNk7uw" featurename="children" parentElementId="eu.etaxonomy.taxeditor.menu.showView" positionInList="after:eu.etaxonomy.taxeditor.workbench.menuseparator.editing">
112
  <fragments xsi:type="fragment:StringModelFragment" xmi:id="_NE4fEIKhEee80qfpLNk7uw" featurename="children" parentElementId="eu.etaxonomy.taxeditor.menu.showView" positionInList="after:eu.etaxonomy.taxeditor.workbench.menuseparator.editing">
113 113
    <elements xsi:type="menu:HandledMenuItem" xmi:id="_NE4fEYKhEee80qfpLNk7uw" elementId="eu.etaxonomy.taxeditor.store.showViewMenu.referencingobjects" label="%view.name" iconURI="" tooltip="%view.name">
114 114
      <visibleWhen xsi:type="ui:CoreExpression" xmi:id="_2ldaQIZGEee-VvuRyq44pQ" coreExpressionId="isCdmStoreConnected"/>
115 115
      <command href="../eu.etaxonomy.taxeditor.store/fragment.e4xmi#_bnVKsCZxEeeQLpuomSmVoQ"/>
......
121 121
    <elements xsi:type="commands:Handler" xmi:id="_HKAv8JRkEeeDJ72ZvUwCLA" elementId="eu.etaxonomy.taxeditor.bulkeditor.e4.handler.OpenBulkEditorHandlerE4" contributionURI="bundleclass://eu.etaxonomy.taxeditor.bulkeditor/eu.etaxonomy.taxeditor.bulkeditor.e4.handler.OpenBulkEditorHandlerE4" command="_Kc-ToCAzEeeepOgM49meig"/>
122 122
    <elements xsi:type="commands:Handler" xmi:id="_gBvyILVsEeelkfEvQajThw" elementId="eu.etaxonomy.taxeditor.bulkeditor.handler.defaultHandler.OpenBulkEditorForIdentifiableEntityE4" contributionURI="bundleclass://eu.etaxonomy.taxeditor.bulkeditor/eu.etaxonomy.taxeditor.bulkeditor.handler.defaultHandler.OpenBulkEditorForIdentifiableEntityE4" command="_hh5p4K9kEeejfdQ69MxTUA"/>
123 123
  </fragments>
124
  <fragments xsi:type="fragment:StringModelFragment" xmi:id="_RaDGQMLQEeev9_rmnyo1RA" featurename="children" parentElementId="eu.etaxonomy.taxeditor.application.partstack.taxonomic.editors">
125
    <elements xsi:type="advanced:Placeholder" xmi:id="_VlDHEMLQEeev9_rmnyo1RA" elementId="bulkeditor.editor" toBeRendered="false" ref="_HrG7wMLQEeev9_rmnyo1RA"/>
124
  <fragments xsi:type="fragment:StringModelFragment" xmi:id="_pNyZYMuxEeeIUZ_CoTN6NQ" featurename="children" parentElementId="stack.editor">
125
    <elements xsi:type="advanced:Placeholder" xmi:id="_rI3mAMuxEeeIUZ_CoTN6NQ" elementId="bulkeditor.editor" toBeRendered="false" ref="_HrG7wMLQEeev9_rmnyo1RA"/>
126 126
  </fragments>
127 127
</fragment:ModelFragments>
eu.etaxonomy.taxeditor.editor/fragment.e4xmi
158 158
    <elements xsi:type="menu:MenuSeparator" xmi:id="_lyGloK21EeeykrJkROy5EA" elementId="eu.etaxonomy.taxeditor.editor.menuseparator.21"/>
159 159
    <elements xsi:type="menu:HandledMenuItem" xmi:id="_ZkTzEK21EeeykrJkROy5EA" elementId="eu.etaxonomy.taxeditor.editor.handledmenuitem.commandlabel48" label="%command.label.48" command="_61IwAK20EeeykrJkROy5EA"/>
160 160
  </fragments>
161
  <fragments xsi:type="fragment:StringModelFragment" xmi:id="_-r3NAMLIEeev9_rmnyo1RA" featurename="children" parentElementId="stack.data">
162
    <elements xsi:type="basic_1:Part" xmi:id="_J-qW8MLJEeev9_rmnyo1RA" elementId="eu.etaxonomy.taxeditor.editor.view.descriptive.e4.FactualDataPartE4" contributionURI="bundleclass://eu.etaxonomy.taxeditor.editor/eu.etaxonomy.taxeditor.editor.view.descriptive.e4.FactualDataPartE4" label="%view.name" iconURI="platform:/plugin/eu.etaxonomy.taxeditor.editor/icons/address-book-new.png">
163
      <handlers xmi:id="_nxGRoIGyEeehlNPrK_b5JA" elementId="eu.etaxonomy.taxeditor.editor.view.descriptive.e4.handler.CreateDescriptionHandler" contributionURI="bundleclass://eu.etaxonomy.taxeditor.editor/eu.etaxonomy.taxeditor.editor.view.descriptive.e4.handler.CreateDescriptionHandlerE4" command="_gE3lwIGyEeehlNPrK_b5JA"/>
164
      <handlers xmi:id="_mOjHgIG3EeehlNPrK_b5JA" elementId="eu.etaxonomy.taxeditor.editor.view.descriptive.e4.handler.MoveDescriptionToOtherTaxonHandler" contributionURI="bundleclass://eu.etaxonomy.taxeditor.editor/eu.etaxonomy.taxeditor.editor.view.descriptive.e4.handler.MoveDescriptionToOtherTaxonHandlerE4" command="_Al6c0IG4EeehlNPrK_b5JA"/>
165
      <handlers xmi:id="_aaq0UIG4EeehlNPrK_b5JA" elementId="eu.etaxonomy.taxeditor.editor.view.descriptive.e4.handler.MoveDescriptionElementsHandler" contributionURI="bundleclass://eu.etaxonomy.taxeditor.editor/eu.etaxonomy.taxeditor.editor.view.descriptive.e4.handler.MoveDescriptionElementsHandlerE4" command="_QJzBcIG4EeehlNPrK_b5JA"/>
166
      <handlers xmi:id="_DgC2MIG5EeehlNPrK_b5JA" elementId="eu.etaxonomy.taxeditor.editor.view.descriptive.e4.handler.DeleteHandler" contributionURI="bundleclass://eu.etaxonomy.taxeditor.editor/eu.etaxonomy.taxeditor.editor.view.descriptive.e4.handler.DeleteHandlerE4" command="_AqgMcIG5EeehlNPrK_b5JA"/>
167
      <handlers xmi:id="_o7njgIy0EeeQaL4TL8oz7Q" elementId="eu.etaxonomy.taxeditor.editor.view.descriptive.e4.handler.CreateDescriptionElementHandlerE4" contributionURI="bundleclass://eu.etaxonomy.taxeditor.editor/eu.etaxonomy.taxeditor.editor.view.descriptive.e4.handler.CreateDescriptionElementHandlerE4" command="_8ccfgIHXEeehlNPrK_b5JA"/>
168
      <handlers xmi:id="_xJ3XUIy0EeeQaL4TL8oz7Q" elementId="eu.etaxonomy.taxeditor.editor.view.descriptive.e4.handler.ToggleShowOnlyIndividualAssociationsHandlerE4" contributionURI="bundleclass://eu.etaxonomy.taxeditor.editor/eu.etaxonomy.taxeditor.editor.view.descriptive.e4.handler.ToggleShowOnlyIndividualAssociationsHandlerE4" command="_4eDWoIy0EeeQaL4TL8oz7Q"/>
169
      <handlers xmi:id="_Te6qAIy3EeeQaL4TL8oz7Q" elementId="eu.etaxonomy.taxeditor.editor.factualData.saveHandler" contributionURI="bundleclass://eu.etaxonomy.taxeditor.workbench/eu.etaxonomy.taxeditor.workbench.SaveHandler" command="_majwMEaQEeeXMc6kSYO7Xg"/>
170
      <handlers xmi:id="_Epa7oJMpEeeR4YRjNqCKeA" elementId="eu.etaxonomy.taxeditor.editor.view.derivate.handler.OpenDerivativeEditorForDescriptionElement" contributionURI="bundleclass://eu.etaxonomy.taxeditor.editor/eu.etaxonomy.taxeditor.editor.view.derivate.handler.OpenDerivativeEditorForDescriptionElement" command="_j2cfsJMmEeeR4YRjNqCKeA"/>
171
      <menus xsi:type="menu:PopupMenu" xmi:id="_HxxDt4GxEeehlNPrK_b5JA" elementId="eu.etaxonomy.taxeditor.editor.popupmenu.factualDataView">
172
        <visibleWhen xsi:type="ui:CoreExpression" xmi:id="_bMfdYIG5EeehlNPrK_b5JA" coreExpressionId="isCdmStoreConnected"/>
173
        <children xsi:type="menu:HandledMenuItem" xmi:id="_jvmnkIGxEeehlNPrK_b5JA" elementId="eu.etaxonomy.taxeditor.editor.handledmenuitem.factualData.addDescription" label="%command.label.27" command="_gE3lwIGyEeehlNPrK_b5JA"/>
174
        <children xsi:type="menu:DynamicMenuContribution" xmi:id="_2t3BgIHWEeehlNPrK_b5JA" elementId="eu.etaxonomy.taxeditor.editor.view.descriptive.e4.handler.DynamicFeatureMenuE4" contributionURI="bundleclass://eu.etaxonomy.taxeditor.editor/eu.etaxonomy.taxeditor.editor.view.descriptive.e4.handler.DynamicFeatureMenuE4"/>
175
        <children xsi:type="menu:MenuSeparator" xmi:id="_ij_wEIGxEeehlNPrK_b5JA" elementId="eu.etaxonomy.taxeditor.editor.menuseparator.8"/>
176
        <children xsi:type="menu:HandledMenuItem" xmi:id="_mgmvkIGxEeehlNPrK_b5JA" elementId="eu.etaxonomy.taxeditor.editor.factualData.moveDescriptionToTaxon" label="%command.label.28" command="_Al6c0IG4EeehlNPrK_b5JA">
177
          <visibleWhen xsi:type="ui:CoreExpression" xmi:id="_BZrDwIGyEeehlNPrK_b5JA" coreExpressionId="isDescription"/>
178
        </children>
179
        <children xsi:type="menu:HandledMenuItem" xmi:id="_m00sEIGxEeehlNPrK_b5JA" elementId="eu.etaxonomy.taxeditor.editor.factualData.moveDescriptionElement" label="%command.label.29" command="_QJzBcIG4EeehlNPrK_b5JA"/>
180
        <children xsi:type="menu:MenuSeparator" xmi:id="_nRINkIGxEeehlNPrK_b5JA" elementId="eu.etaxonomy.taxeditor.editor.menuseparator.9"/>
181
        <children xsi:type="menu:DynamicMenuContribution" xmi:id="_4KNqkIGxEeehlNPrK_b5JA" elementId="eu.etaxonomy.taxeditor.editor.factual.dynamicmenucontribution.cdmViewer" contributionURI="bundleclass://eu.etaxonomy.taxeditor.store/eu.etaxonomy.taxeditor.view.CdmViewerContextMenuE4"/>
182
        <children xsi:type="menu:MenuSeparator" xmi:id="_pOAxAIGxEeehlNPrK_b5JA" elementId="eu.etaxonomy.taxeditor.editor.menuseparator.10"/>
183
        <children xsi:type="menu:HandledMenuItem" xmi:id="_rLS9EIGxEeehlNPrK_b5JA" elementId="eu.etaxonomy.taxeditor.editor.factualData.delete" label="%command.label.30" command="_AqgMcIG5EeehlNPrK_b5JA"/>
184
      </menus>
185
      <toolbar xmi:id="_Q4eHYMLJEeev9_rmnyo1RA" elementId="eu.etaxonomy.taxeditor.editor.toolbar.2">
186
        <children xsi:type="menu:HandledToolItem" xmi:id="_t7kbEL2jEeeyWfw0n8-ICQ" elementId="eu.etaxonomy.taxeditor.editor.handledtoolitem.factual.showIndividualAssociations" label="%command.name.41" iconURI="platform:/plugin/eu.etaxonomy.taxeditor.editor/icons/link_obj.gif" type="Check" command="_4eDWoIy0EeeQaL4TL8oz7Q"/>
187
        <children xsi:type="menu:HandledToolItem" xmi:id="_1ltxYL2lEeeyWfw0n8-ICQ" elementId="eu.etaxonomy.taxeditor.editor.factual.handledtoolitem.collapse" label="Collapse" iconURI="platform:/plugin/eu.etaxonomy.taxeditor.store/icons/collapseall.gif" command="_0WYQcL2lEeeyWfw0n8-ICQ"/>
188
        <children xsi:type="menu:HandledToolItem" xmi:id="_xqBkML4vEeewU62zpvPllA" elementId="eu.etaxonomy.taxeditor.editor.factual.handledtoolitem.expand" label="Expand" iconURI="platform:/plugin/eu.etaxonomy.taxeditor.store/icons/expandAll.jpg" command="_vDKPoL4vEeewU62zpvPllA"/>
189
      </toolbar>
190
    </elements>
161
  <fragments xsi:type="fragment:StringModelFragment" xmi:id="_-r3NAMLIEeev9_rmnyo1RA" featurename="children" parentElementId="taxonomic.data">
191 162
    <elements xsi:type="advanced:Placeholder" xmi:id="_5iB9sMLOEeev9_rmnyo1RA" elementId="eu.etaxonomy.taxeditor.editor.view.media.e4.MediaViewPartE4" toBeRendered="false" ref="_p3L1cMLOEeev9_rmnyo1RA"/>
192 163
    <elements xsi:type="advanced:Placeholder" xmi:id="_z1bVUMLQEeev9_rmnyo1RA" elementId="eu.etaxonomy.taxeditor.editor.view.concept.e4.ConceptViewPartE4" toBeRendered="false" ref="_o35QwMLQEeev9_rmnyo1RA"/>
193 164
    <elements xsi:type="advanced:Placeholder" xmi:id="_gacG0MLREeev9_rmnyo1RA" elementId="eu.etaxonomy.taxeditor.editor.view.uses" toBeRendered="false" ref="_6VAA0MLQEeev9_rmnyo1RA"/>
194 165
    <elements xsi:type="advanced:Placeholder" xmi:id="_kma_EMLREeev9_rmnyo1RA" elementId="eu.etaxonomy.taxeditor.editor.view.concept.graph.e4.ConceptGraphViewE4" toBeRendered="false" ref="_DlPdIMLREeev9_rmnyo1RA"/>
166
    <elements xsi:type="advanced:Placeholder" xmi:id="_94IlsMuqEeeLbtry0vbE_g" elementId="eu.etaxonomy.taxeditor.editor.view.descriptive.e4.FactualDataPartE4" ref="_uw6u8cuqEeeLbtry0vbE_g"/>
195 167
  </fragments>
196 168
  <fragments xsi:type="fragment:StringModelFragment" xmi:id="_03FY4MLLEeev9_rmnyo1RA" featurename="sharedElements" parentElementId="eu.etaxonomy.taxeditor.application.trimmedwindow.edittaxonomiceditor">
197 169
    <elements xsi:type="basic_1:Part" xmi:id="_3oyrgMLLEeev9_rmnyo1RA" elementId="eu.etaxonomy.taxeditor.editor.name.e4.TaxonNameEditorE4" contributionURI="bundleclass://eu.etaxonomy.taxeditor.editor/eu.etaxonomy.taxeditor.editor.name.e4.TaxonNameEditorE4" label="%editor.name.0" iconURI="platform:/plugin/eu.etaxonomy.taxeditor.editor/icons/edit_16x16.gif" closeable="true">
......
375 347
      </menus>
376 348
    </elements>
377 349
    <elements xsi:type="basic_1:Part" xmi:id="_aRnHYMLREeev9_rmnyo1RA" elementId="eu.etaxonomy.taxeditor.editor.group.authority.e4.CdmAuthorityEditorE4" contributionURI="bundleclass://eu.etaxonomy.taxeditor.editor/eu.etaxonomy.taxeditor.editor.group.authority.e4.CdmAuthorityEditorE4" label="%editor.name.4" closeable="true"/>
350
    <elements xsi:type="basic_1:Part" xmi:id="_uw6u8cuqEeeLbtry0vbE_g" elementId="eu.etaxonomy.taxeditor.editor.view.descriptive.e4.FactualDataPartE4" contributionURI="bundleclass://eu.etaxonomy.taxeditor.editor/eu.etaxonomy.taxeditor.editor.view.descriptive.e4.FactualDataPartE4" label="%view.name" iconURI="platform:/plugin/eu.etaxonomy.taxeditor.editor/icons/address-book-new.png">
351
      <handlers xmi:id="_uw6u8suqEeeLbtry0vbE_g" elementId="eu.etaxonomy.taxeditor.editor.view.descriptive.e4.handler.CreateDescriptionHandler" contributionURI="bundleclass://eu.etaxonomy.taxeditor.editor/eu.etaxonomy.taxeditor.editor.view.descriptive.e4.handler.CreateDescriptionHandlerE4" command="_gE3lwIGyEeehlNPrK_b5JA"/>
352
      <handlers xmi:id="_uw6u88uqEeeLbtry0vbE_g" elementId="eu.etaxonomy.taxeditor.editor.view.descriptive.e4.handler.MoveDescriptionToOtherTaxonHandler" contributionURI="bundleclass://eu.etaxonomy.taxeditor.editor/eu.etaxonomy.taxeditor.editor.view.descriptive.e4.handler.MoveDescriptionToOtherTaxonHandlerE4" command="_Al6c0IG4EeehlNPrK_b5JA"/>
353
      <handlers xmi:id="_uw6u9MuqEeeLbtry0vbE_g" elementId="eu.etaxonomy.taxeditor.editor.view.descriptive.e4.handler.MoveDescriptionElementsHandler" contributionURI="bundleclass://eu.etaxonomy.taxeditor.editor/eu.etaxonomy.taxeditor.editor.view.descriptive.e4.handler.MoveDescriptionElementsHandlerE4" command="_QJzBcIG4EeehlNPrK_b5JA"/>
354
      <handlers xmi:id="_uw6u9cuqEeeLbtry0vbE_g" elementId="eu.etaxonomy.taxeditor.editor.view.descriptive.e4.handler.DeleteHandler" contributionURI="bundleclass://eu.etaxonomy.taxeditor.editor/eu.etaxonomy.taxeditor.editor.view.descriptive.e4.handler.DeleteHandlerE4" command="_AqgMcIG5EeehlNPrK_b5JA"/>
355
      <handlers xmi:id="_uw6u9suqEeeLbtry0vbE_g" elementId="eu.etaxonomy.taxeditor.editor.view.descriptive.e4.handler.CreateDescriptionElementHandlerE4" contributionURI="bundleclass://eu.etaxonomy.taxeditor.editor/eu.etaxonomy.taxeditor.editor.view.descriptive.e4.handler.CreateDescriptionElementHandlerE4" command="_8ccfgIHXEeehlNPrK_b5JA"/>
356
      <handlers xmi:id="_uw6u98uqEeeLbtry0vbE_g" elementId="eu.etaxonomy.taxeditor.editor.view.descriptive.e4.handler.ToggleShowOnlyIndividualAssociationsHandlerE4" contributionURI="bundleclass://eu.etaxonomy.taxeditor.editor/eu.etaxonomy.taxeditor.editor.view.descriptive.e4.handler.ToggleShowOnlyIndividualAssociationsHandlerE4" command="_4eDWoIy0EeeQaL4TL8oz7Q"/>
357
      <handlers xmi:id="_uw6u-MuqEeeLbtry0vbE_g" elementId="eu.etaxonomy.taxeditor.editor.factualData.saveHandler" contributionURI="bundleclass://eu.etaxonomy.taxeditor.workbench/eu.etaxonomy.taxeditor.workbench.SaveHandler" command="_majwMEaQEeeXMc6kSYO7Xg"/>
358
      <handlers xmi:id="_uw6u-cuqEeeLbtry0vbE_g" elementId="eu.etaxonomy.taxeditor.editor.view.derivate.handler.OpenDerivativeEditorForDescriptionElement" contributionURI="bundleclass://eu.etaxonomy.taxeditor.editor/eu.etaxonomy.taxeditor.editor.view.derivate.handler.OpenDerivativeEditorForDescriptionElement" command="_j2cfsJMmEeeR4YRjNqCKeA"/>
359
      <menus xsi:type="menu:PopupMenu" xmi:id="_uw6u-suqEeeLbtry0vbE_g" elementId="eu.etaxonomy.taxeditor.editor.popupmenu.factualDataView">
360
        <visibleWhen xsi:type="ui:CoreExpression" xmi:id="_uw6u-8uqEeeLbtry0vbE_g" coreExpressionId="isCdmStoreConnected"/>
361
        <children xsi:type="menu:HandledMenuItem" xmi:id="_uw6u_MuqEeeLbtry0vbE_g" elementId="eu.etaxonomy.taxeditor.editor.handledmenuitem.factualData.addDescription" label="%command.label.27" command="_gE3lwIGyEeehlNPrK_b5JA"/>
362
        <children xsi:type="menu:DynamicMenuContribution" xmi:id="_uw6u_cuqEeeLbtry0vbE_g" elementId="eu.etaxonomy.taxeditor.editor.view.descriptive.e4.handler.DynamicFeatureMenuE4" contributionURI="bundleclass://eu.etaxonomy.taxeditor.editor/eu.etaxonomy.taxeditor.editor.view.descriptive.e4.handler.DynamicFeatureMenuE4"/>
363
        <children xsi:type="menu:MenuSeparator" xmi:id="_uw6u_suqEeeLbtry0vbE_g" elementId="eu.etaxonomy.taxeditor.editor.menuseparator.8"/>
364
        <children xsi:type="menu:HandledMenuItem" xmi:id="_uw6u_8uqEeeLbtry0vbE_g" elementId="eu.etaxonomy.taxeditor.editor.factualData.moveDescriptionToTaxon" label="%command.label.28" command="_Al6c0IG4EeehlNPrK_b5JA">
365
          <visibleWhen xsi:type="ui:CoreExpression" xmi:id="_uw6vAMuqEeeLbtry0vbE_g" coreExpressionId="isDescription"/>
366
        </children>
367
        <children xsi:type="menu:HandledMenuItem" xmi:id="_uw6vAcuqEeeLbtry0vbE_g" elementId="eu.etaxonomy.taxeditor.editor.factualData.moveDescriptionElement" label="%command.label.29" command="_QJzBcIG4EeehlNPrK_b5JA"/>
368
        <children xsi:type="menu:MenuSeparator" xmi:id="_uw6vAsuqEeeLbtry0vbE_g" elementId="eu.etaxonomy.taxeditor.editor.menuseparator.9"/>
369
        <children xsi:type="menu:DynamicMenuContribution" xmi:id="_uw6vA8uqEeeLbtry0vbE_g" elementId="eu.etaxonomy.taxeditor.editor.factual.dynamicmenucontribution.cdmViewer" contributionURI="bundleclass://eu.etaxonomy.taxeditor.store/eu.etaxonomy.taxeditor.view.CdmViewerContextMenuE4"/>
370
        <children xsi:type="menu:MenuSeparator" xmi:id="_uw6vBMuqEeeLbtry0vbE_g" elementId="eu.etaxonomy.taxeditor.editor.menuseparator.10"/>
371
        <children xsi:type="menu:HandledMenuItem" xmi:id="_uw6vBcuqEeeLbtry0vbE_g" elementId="eu.etaxonomy.taxeditor.editor.factualData.delete" label="%command.label.30" command="_AqgMcIG5EeehlNPrK_b5JA"/>
372
      </menus>
373
      <toolbar xmi:id="_uw6vBsuqEeeLbtry0vbE_g" elementId="eu.etaxonomy.taxeditor.editor.toolbar.2">
374
        <children xsi:type="menu:HandledToolItem" xmi:id="_uw6vB8uqEeeLbtry0vbE_g" elementId="eu.etaxonomy.taxeditor.editor.handledtoolitem.factual.showIndividualAssociations" label="%command.name.41" iconURI="platform:/plugin/eu.etaxonomy.taxeditor.editor/icons/link_obj.gif" type="Check" command="_4eDWoIy0EeeQaL4TL8oz7Q"/>
375
        <children xsi:type="menu:HandledToolItem" xmi:id="_uw6vCMuqEeeLbtry0vbE_g" elementId="eu.etaxonomy.taxeditor.editor.factual.handledtoolitem.collapse" label="Collapse" iconURI="platform:/plugin/eu.etaxonomy.taxeditor.store/icons/collapseall.gif" command="_0WYQcL2lEeeyWfw0n8-ICQ"/>
376
        <children xsi:type="menu:HandledToolItem" xmi:id="_uw6vCcuqEeeLbtry0vbE_g" elementId="eu.etaxonomy.taxeditor.editor.factual.handledtoolitem.expand" label="Expand" iconURI="platform:/plugin/eu.etaxonomy.taxeditor.store/icons/expandAll.jpg" command="_vDKPoL4vEeewU62zpvPllA"/>
377
      </toolbar>
378
    </elements>
379
  </fragments>
380
  <fragments xsi:type="fragment:StringModelFragment" xmi:id="_uw6u8MuqEeeLbtry0vbE_g" featurename="children" parentElementId="specimen.data">
381
    <elements xsi:type="advanced:Placeholder" xmi:id="_5u7UoMuqEeeLbtry0vbE_g" elementId="eu.etaxonomy.taxeditor.editor.view.descriptive.e4.FactualDataPartE4" ref="_uw6u8cuqEeeLbtry0vbE_g"/>
382
    <elements xsi:type="advanced:Placeholder" xmi:id="_uw6vCsuqEeeLbtry0vbE_g" elementId="eu.etaxonomy.taxeditor.editor.view.media.e4.MediaViewPartE4" toBeRendered="false" ref="_p3L1cMLOEeev9_rmnyo1RA"/>
383
    <elements xsi:type="advanced:Placeholder" xmi:id="_uw6vC8uqEeeLbtry0vbE_g" elementId="eu.etaxonomy.taxeditor.editor.view.concept.e4.ConceptViewPartE4" toBeRendered="false" ref="_o35QwMLQEeev9_rmnyo1RA"/>
384
    <elements xsi:type="advanced:Placeholder" xmi:id="_uw6vDMuqEeeLbtry0vbE_g" elementId="eu.etaxonomy.taxeditor.editor.view.uses" toBeRendered="false" ref="_6VAA0MLQEeev9_rmnyo1RA"/>
385
    <elements xsi:type="advanced:Placeholder" xmi:id="_uw6vDcuqEeeLbtry0vbE_g" elementId="eu.etaxonomy.taxeditor.editor.view.concept.graph.e4.ConceptGraphViewE4" toBeRendered="false" ref="_DlPdIMLREeev9_rmnyo1RA"/>
378 386
  </fragments>
379
  <fragments xsi:type="fragment:StringModelFragment" xmi:id="_IIk3sMLMEeev9_rmnyo1RA" featurename="children" parentElementId="stack.editors">
380
    <elements xsi:type="advanced:Placeholder" xmi:id="_L7o5oMLMEeev9_rmnyo1RA" elementId="eu.etaxonomy.taxeditor.editor.name.e4.TaxonNameEditorE4" toBeRendered="false" ref="_3oyrgMLLEeev9_rmnyo1RA"/>
381
    <elements xsi:type="advanced:Placeholder" xmi:id="_ztkrwMLOEeev9_rmnyo1RA" elementId="eu.etaxonomy.taxeditor.editor.view.derivate.DerivateView" toBeRendered="false" ref="_ervQsMLOEeev9_rmnyo1RA"/>
382
    <elements xsi:type="advanced:Placeholder" xmi:id="_nIFqkMLREeev9_rmnyo1RA" elementId="eu.etaxonomy.taxeditor.editor.view.checklist.e4.ChecklistEditorE4" toBeRendered="false" ref="_JCo58MLREeev9_rmnyo1RA"/>
383
    <elements xsi:type="advanced:Placeholder" xmi:id="_p009oMLREeev9_rmnyo1RA" elementId="eu.etaxonomy.taxeditor.editor.key.polytomous.e4.PolytomousKeyGraphEditorE4" toBeRendered="false" ref="_OQhUEMLREeev9_rmnyo1RA"/>
384
    <elements xsi:type="advanced:Placeholder" xmi:id="_spbMMMLREeev9_rmnyo1RA" elementId="eu.etaxonomy.taxeditor.editor.key.polytomous.e4.PolytomousKeyListEditorE4" toBeRendered="false" ref="_UnOXcMLREeev9_rmnyo1RA"/>
385
    <elements xsi:type="advanced:Placeholder" xmi:id="_vOPSUMLREeev9_rmnyo1RA" elementId="eu.etaxonomy.taxeditor.editor.group.authority.e4.CdmAuthorityEditorE4" toBeRendered="false" ref="_aRnHYMLREeev9_rmnyo1RA"/>
387
  <fragments xsi:type="fragment:StringModelFragment" xmi:id="_SKs4QMuxEeeIUZ_CoTN6NQ" featurename="children" parentElementId="stack.editor">
388
    <elements xsi:type="advanced:Placeholder" xmi:id="_UkINwMuxEeeIUZ_CoTN6NQ" elementId="eu.etaxonomy.taxeditor.editor.name.e4.TaxonNameEditorE4" toBeRendered="false" ref="_3oyrgMLLEeev9_rmnyo1RA"/>
389
    <elements xsi:type="advanced:Placeholder" xmi:id="_WzY6oMuxEeeIUZ_CoTN6NQ" elementId="eu.etaxonomy.taxeditor.editor.view.derivate.DerivateView" toBeRendered="false" ref="_ervQsMLOEeev9_rmnyo1RA"/>
390
    <elements xsi:type="advanced:Placeholder" xmi:id="_dCuxwMuxEeeIUZ_CoTN6NQ" elementId="eu.etaxonomy.taxeditor.editor.view.checklist.e4.ChecklistEditorE4" toBeRendered="false" ref="_JCo58MLREeev9_rmnyo1RA"/>
391
    <elements xsi:type="advanced:Placeholder" xmi:id="_hH4CMMuxEeeIUZ_CoTN6NQ" elementId="eu.etaxonomy.taxeditor.editor.key.polytomous.e4.PolytomousKeyGraphEditorE4" toBeRendered="false" ref="_OQhUEMLREeev9_rmnyo1RA"/>
392
    <elements xsi:type="advanced:Placeholder" xmi:id="_jtZS8MuxEeeIUZ_CoTN6NQ" elementId="eu.etaxonomy.taxeditor.editor.key.polytomous.e4.PolytomousKeyListEditorE4" toBeRendered="false" ref="_UnOXcMLREeev9_rmnyo1RA"/>
393
    <elements xsi:type="advanced:Placeholder" xmi:id="_lsvUgMuxEeeIUZ_CoTN6NQ" elementId="eu.etaxonomy.taxeditor.editor.group.authority.e4.CdmAuthorityEditorE4" toBeRendered="false" ref="_aRnHYMLREeev9_rmnyo1RA"/>
386 394
  </fragments>
387 395
</fragment:ModelFragments>
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/EditorUtil.java
126 126
            }
127 127
        }
128 128
        MPart part = partService.createPart(NAME_EDITOR_ID);
129
            MPartStack partStack = WorkbenchUtility.getPartStack(eu.etaxonomy.taxeditor.application.AppModelId.PARTSTACK_STACK_EDITORS, application, modelService);
130
            partStack.getChildren().add(part);
129
        MPartStack area = WorkbenchUtility.getEditorArea(application, modelService);
130
            area.getChildren().add(part);
131 131
            part = partService.showPart(part, PartState.ACTIVATE);
132 132

  
133 133
        TaxonNameEditorE4 editor = (TaxonNameEditorE4) part.getObject();
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/view/checklist/e4/handler/OpenChecklistEditorHandlerE4.java
69 69

  
70 70
	private void openChecklistEditor(ChecklistEditorInput input, EPartService partService) {
71 71
		MPart part = partService.createPart(AppModelId.PARTDESCRIPTOR_EU_ETAXONOMY_TAXEDITOR_EDITOR_VIEW_CHECKLIST_E4_CHECKLISTEDITORE4);
72
		MPartStack editorAreaPartStack = WorkbenchUtility.getPartStack(eu.etaxonomy.taxeditor.application.AppModelId.PARTSTACK_STACK_EDITORS, application, modelService);
73
		if(editorAreaPartStack!=null){
74
		    editorAreaPartStack.getChildren().add(part);
72
		MPartStack editorArea = WorkbenchUtility.getEditorArea(application, modelService);
73
		if(editorArea!=null){
74
		    editorArea.getChildren().add(part);
75 75
		}
76 76
		part = partService.showPart(part, PartState.ACTIVATE);
77 77
		ChecklistEditorE4 checklistEditor = (ChecklistEditorE4) part.getObject();
eu.etaxonomy.taxeditor.molecular/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" xmlns:ui="http://www.eclipse.org/ui/2010/UIModel/application/ui" 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:advanced="http://www.eclipse.org/ui/2010/UIModel/application/ui/advanced" xmlns:basic="http://www.eclipse.org/ui/2010/UIModel/application/descriptor/basic" xmlns:basic_1="http://www.eclipse.org/ui/2010/UIModel/application/ui/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="_q2vnsKUDEeejf7ggYkp-TA" elementId="org.eclipse.ui.edit.copy"/>
4 4
  <imports xsi:type="commands:Command" xmi:id="_rlhZQKUDEeejf7ggYkp-TA" elementId="org.eclipse.ui.edit.cut"/>
5 5
  <imports xsi:type="commands:Command" xmi:id="_tLkxEKUDEeejf7ggYkp-TA" elementId="org.eclipse.ui.edit.paste"/>
......
66 66
      <children xsi:type="menu:HandledMenuItem" xmi:id="_93JasKT8Eeejf7ggYkp-TA" elementId="eu.etaxonomy.taxeditor.molecular.handledmenuitem.mainmenu.pherogrameditor.toggleBaseCallLines" label="%command.name.TOGGLE_SHOW_BASE_CALL_LINES" command="_j-w84KT7Eeejf7ggYkp-TA"/>
67 67
    </elements>
68 68
  </fragments>
69
  <fragments xsi:type="fragment:StringModelFragment" xmi:id="_t4X5MMuxEeeIUZ_CoTN6NQ" featurename="children" parentElementId="stack.editor">
70
    <elements xsi:type="advanced:Placeholder" xmi:id="_v2bhUMuxEeeIUZ_CoTN6NQ" elementId="eu.etaxonomy.taxeditor.molecular.editor.e4.AlignmentEditorE4" toBeRendered="false" ref="_zdV9oMuxEeeIUZ_CoTN6NQ"/>
71
  </fragments>
72
  <fragments xsi:type="fragment:StringModelFragment" xmi:id="_wnXPAMuxEeeIUZ_CoTN6NQ" featurename="sharedElements" parentElementId="eu.etaxonomy.taxeditor.application.trimmedwindow.edittaxonomiceditor">
73
    <elements xsi:type="basic_1:Part" xmi:id="_zdV9oMuxEeeIUZ_CoTN6NQ" elementId="eu.etaxonomy.taxeditor.molecular.editor.e4.AlignmentEditorE4" contributionURI="bundleclass://eu.etaxonomy.taxeditor.molecular/eu.etaxonomy.taxeditor.molecular.editor.e4.AlignmentEditorE4" label="%editor.ALIGNMENT_EDITOR" closeable="true"/>
74
  </fragments>
69 75
</fragment:ModelFragments>
eu.etaxonomy.taxeditor.navigation/fragment.e4xmi
164 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">
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
  <fragments xsi:type="fragment:StringModelFragment" xmi:id="_kn9-gMrlEeewfqnfrNoNfg" featurename="children" parentElementId="stack.navigation">
167
  <fragments xsi:type="fragment:StringModelFragment" xmi:id="_kn9-gMrlEeewfqnfrNoNfg" featurename="children" parentElementId="taxonomic.navigation">
168 168
    <elements xsi:type="advanced:Placeholder" xmi:id="_F3tZ8MCrEee1wcT3n47ovA" elementId="eu.etaxonomy.taxeditor.navigation.search.e4.SearchResultViewE4" toBeRendered="false" ref="_C9u8IMCrEee1wcT3n47ovA"/>
169
    <elements xsi:type="advanced:Placeholder" xmi:id="_ASALcMt8EeeH8Je1S3sVOw" elementId="eu.etaxonomy.taxeditor.navigation.placeholder.1" ref="_s9YqYMCqEee1wcT3n47ovA"/>
169
    <elements xsi:type="advanced:Placeholder" xmi:id="_ASALcMt8EeeH8Je1S3sVOw" elementId="eu.etaxonomy.taxeditor.navigation.navigator" ref="_s9YqYMCqEee1wcT3n47ovA"/>
170 170
  </fragments>
171
  <fragments xsi:type="fragment:StringModelFragment" xmi:id="_TwpgAMt9EeeH8Je1S3sVOw" featurename="children" parentElementId="stack.polytomous.navigation">
171
  <fragments xsi:type="fragment:StringModelFragment" xmi:id="_TwpgAMt9EeeH8Je1S3sVOw" featurename="children" parentElementId="polytomous.navigation">
172 172
    <elements xsi:type="advanced:Placeholder" xmi:id="_1cLikMrlEeeYpp5eKCnHGg" elementId="eu.etaxonomy.taxeditor.navigation.placeholder.0" ref="_3rvxcMrlEeeYpp5eKCnHGg"/>
173
    <elements xsi:type="advanced:Placeholder" xmi:id="_hedk8MurEeeLbtry0vbE_g" elementId="eu.etaxonomy.taxeditor.navigation.search.e4.SearchResultViewE4" toBeRendered="false" ref="_C9u8IMCrEee1wcT3n47ovA"/>
174
  </fragments>
175
  <fragments xsi:type="fragment:StringModelFragment" xmi:id="_iUCiEMurEeeLbtry0vbE_g" featurename="children" parentElementId="specimen.navigation">
176
    <elements xsi:type="advanced:Placeholder" xmi:id="_iUCiEcurEeeLbtry0vbE_g" elementId="eu.etaxonomy.taxeditor.navigation.search.e4.SearchResultViewE4" toBeRendered="false" ref="_C9u8IMCrEee1wcT3n47ovA"/>
177
    <elements xsi:type="advanced:Placeholder" xmi:id="_iUCiEsurEeeLbtry0vbE_g" elementId="eu.etaxonomy.taxeditor.navigation.navigator" ref="_s9YqYMCqEee1wcT3n47ovA"/>
173 178
  </fragments>
174 179
</fragment:ModelFragments>
eu.etaxonomy.taxeditor.store/fragment.e4xmi
179 179
      <parameters xmi:id="_mNW72rMnEeeMU61m8yqdaA" elementId="eu.etaxonomy.taxeditor.store.showView.parameter.sessionView" name="eu.etaxonomy.taxeditor.workbench.commandparameter.partName" value="eu.etaxonomy.taxeditor.view.datasource"/>
180 180
    </elements>
181 181
  </fragments>
182
  <fragments xsi:type="fragment:StringModelFragment" xmi:id="_XaJrsMLJEeev9_rmnyo1RA" featurename="children" parentElementId="stack.details">
183
    <elements xsi:type="basic_1:Part" xmi:id="_c-Z-cMLJEeev9_rmnyo1RA" elementId="eu.etaxonomy.taxeditor.view.e4.details.DetailsPartE4" contributionURI="bundleclass://eu.etaxonomy.taxeditor.store/eu.etaxonomy.taxeditor.view.e4.details.DetailsPartE4" label="%view.name.4" iconURI="platform:/plugin/eu.etaxonomy.taxeditor.store/icons/accessories-text-editor.png"/>
182
  <fragments xsi:type="fragment:StringModelFragment" xmi:id="_XaJrsMLJEeev9_rmnyo1RA" featurename="children" parentElementId="taxonomic.details">
183
    <elements xsi:type="advanced:Placeholder" xmi:id="_AmlI8MurEeeLbtry0vbE_g" elementId="eu.etaxonomy.taxeditor.view.e4.details.DetailsPartE4" ref="_c-Z-cMLJEeev9_rmnyo1RA"/>
184 184
  </fragments>
185
  <fragments xsi:type="fragment:StringModelFragment" xmi:id="_ipMXAMLJEeev9_rmnyo1RA" featurename="children" parentElementId="stack.supplemental">
186
    <elements xsi:type="basic_1:Part" xmi:id="_kWeYMMLJEeev9_rmnyo1RA" elementId="eu.etaxonomy.taxeditor.view.e4.supplementaldata.SupplementalDataPartE4" contributionURI="bundleclass://eu.etaxonomy.taxeditor.store/eu.etaxonomy.taxeditor.view.e4.supplementaldata.SupplementalDataPartE4" label="%view.name.3"/>
185
  <fragments xsi:type="fragment:StringModelFragment" xmi:id="_ipMXAMLJEeev9_rmnyo1RA" featurename="children" parentElementId="taxonomic.supplemental">
186
    <elements xsi:type="advanced:Placeholder" xmi:id="_FLv9QMurEeeLbtry0vbE_g" elementId="eu.etaxonomy.taxeditor.view.e4.supplementaldata.SupplementalDataPartE4" toBeRendered="false" ref="_kWeYMMLJEeev9_rmnyo1RA"/>
187 187
  </fragments>
188 188
  <fragments xsi:type="fragment:StringModelFragment" xmi:id="_8E7Q4MLREeev9_rmnyo1RA" featurename="sharedElements" parentElementId="eu.etaxonomy.taxeditor.application.trimmedwindow.edittaxonomiceditor">
189 189
    <elements xsi:type="basic_1:Part" xmi:id="_-bLWkMLREeev9_rmnyo1RA" elementId="eu.etaxonomy.taxeditor.featuretree.e4.FeatureTreeEditor" contributionURI="bundleclass://eu.etaxonomy.taxeditor.store/eu.etaxonomy.taxeditor.featuretree.e4.FeatureTreeEditor" label="%partdescriptor.label.featureTreeEditor" closeable="true">
......
215 215
        <children xsi:type="menu:HandledMenuItem" xmi:id="_W94ssIdQEeecZ4F2Y9Z0Og" elementId="eu.etaxonomy.taxeditor.store.handledmenuitem.commandlabel14" label="%command.label.14" command="_Z_XgsIdQEeecZ4F2Y9Z0Og"/>
216 216
      </menus>
217 217
    </elements>
218
    <elements xsi:type="basic_1:Part" xmi:id="_c-Z-cMLJEeev9_rmnyo1RA" elementId="eu.etaxonomy.taxeditor.view.e4.details.DetailsPartE4" contributionURI="bundleclass://eu.etaxonomy.taxeditor.store/eu.etaxonomy.taxeditor.view.e4.details.DetailsPartE4" label="%view.name.4" iconURI="platform:/plugin/eu.etaxonomy.taxeditor.store/icons/accessories-text-editor.png"/>
219
    <elements xsi:type="basic_1:Part" xmi:id="_kWeYMMLJEeev9_rmnyo1RA" elementId="eu.etaxonomy.taxeditor.view.e4.supplementaldata.SupplementalDataPartE4" contributionURI="bundleclass://eu.etaxonomy.taxeditor.store/eu.etaxonomy.taxeditor.view.e4.supplementaldata.SupplementalDataPartE4" label="%view.name.3"/>
220
  </fragments>
221
  <fragments xsi:type="fragment:StringModelFragment" xmi:id="_IivHMMurEeeLbtry0vbE_g" featurename="children" parentElementId="specimen.details">
222
    <elements xsi:type="advanced:Placeholder" xmi:id="_IivHMcurEeeLbtry0vbE_g" elementId="eu.etaxonomy.taxeditor.view.e4.details.DetailsPartE4" ref="_c-Z-cMLJEeev9_rmnyo1RA"/>
223
  </fragments>
224
  <fragments xsi:type="fragment:StringModelFragment" xmi:id="_JAlg0MurEeeLbtry0vbE_g" featurename="children" parentElementId="specimen.supplemental">
225
    <elements xsi:type="advanced:Placeholder" xmi:id="_JAlg0curEeeLbtry0vbE_g" elementId="eu.etaxonomy.taxeditor.view.e4.supplementaldata.SupplementalDataPartE4" toBeRendered="false" ref="_kWeYMMLJEeev9_rmnyo1RA"/>
226
  </fragments>
227
  <fragments xsi:type="fragment:StringModelFragment" xmi:id="_RN78wMurEeeLbtry0vbE_g" featurename="children" parentElementId="polytomous.details">
228
    <elements xsi:type="advanced:Placeholder" xmi:id="_RN78wcurEeeLbtry0vbE_g" elementId="eu.etaxonomy.taxeditor.view.e4.details.DetailsPartE4" ref="_c-Z-cMLJEeev9_rmnyo1RA"/>
229
  </fragments>
230
  <fragments xsi:type="fragment:StringModelFragment" xmi:id="_Rj-eMMurEeeLbtry0vbE_g" featurename="children" parentElementId="polytomous.supplemental">
231
    <elements xsi:type="advanced:Placeholder" xmi:id="_Rj-eMcurEeeLbtry0vbE_g" elementId="eu.etaxonomy.taxeditor.view.e4.supplementaldata.SupplementalDataPartE4" toBeRendered="false" ref="_kWeYMMLJEeev9_rmnyo1RA"/>
218 232
  </fragments>
219
  <fragments xsi:type="fragment:StringModelFragment" xmi:id="_O3UY4MLSEeev9_rmnyo1RA" featurename="children" parentElementId="stack.editors">
220
    <elements xsi:type="advanced:Placeholder" xmi:id="_SkdZAMLSEeev9_rmnyo1RA" elementId="eu.etaxonomy.taxeditor.featuretree.e4.FeatureTreeEditor" toBeRendered="false" ref="_-bLWkMLREeev9_rmnyo1RA"/>
221
    <elements xsi:type="advanced:Placeholder" xmi:id="_JNnooMLWEee0N85Mii-Chg" elementId="eu.etaxonomy.taxeditor.editor.definedTerm" toBeRendered="false" ref="_FDThIMLSEeev9_rmnyo1RA"/>
233
  <fragments xsi:type="fragment:StringModelFragment" xmi:id="_6ruP4MuxEeeIUZ_CoTN6NQ" featurename="children" parentElementId="stack.editor">
234
    <elements xsi:type="advanced:Placeholder" xmi:id="_9WhpQMuxEeeIUZ_CoTN6NQ" elementId="eu.etaxonomy.taxeditor.featuretree.e4.FeatureTreeEditor" toBeRendered="false" ref="_-bLWkMLREeev9_rmnyo1RA"/>
235
    <elements xsi:type="advanced:Placeholder" xmi:id="__ocBgMuxEeeIUZ_CoTN6NQ" elementId="eu.etaxonomy.taxeditor.editor.definedTerm" toBeRendered="false" ref="_FDThIMLSEeev9_rmnyo1RA"/>
222 236
  </fragments>
223 237
</fragment:ModelFragments>
eu.etaxonomy.taxeditor.workbench/src/main/java/eu/etaxonomy/taxeditor/application/AppModelId.java
9 9
	public static final String ADDON_ORG_ECLIPSE_E4_UI_WORKBENCH_CONTEXTS_MODEL = "org.eclipse.e4.ui.workbench.contexts.model";
10 10
	public static final String ADDON_ORG_ECLIPSE_E4_UI_WORKBENCH_HANDLER_MODEL = "org.eclipse.e4.ui.workbench.handler.model";
11 11
	public static final String APPLICATION_EU_ETAXONOMY_TAXEDITOR_APPLICATION_APPLICATION = "eu.etaxonomy.taxeditor.application.application";
12
	public static final String AREA_TAXEDITOR_EDITORS = "taxeditor.editors";
12 13
	public static final String MENU_EU_ETAXONOMY_TAXEDITOR_APPLICATION_MENU_MAIN = "eu.etaxonomy.taxeditor.application.menu.main";
13 14
	public static final String PARTSASHCONTAINER_EU_ETAXONOMY_TAXEDITOR_APPLICATION_PARTSASHCONTAINER_0 = "eu.etaxonomy.taxeditor.application.partsashcontainer.0";
14 15
	public static final String PARTSASHCONTAINER_EU_ETAXONOMY_TAXEDITOR_APPLICATION_PARTSASHCONTAINER_1 = "eu.etaxonomy.taxeditor.application.partsashcontainer.1";
......
19 20
	public static final String PARTSASHCONTAINER_EU_ETAXONOMY_TAXEDITOR_APPLICATION_PARTSASHCONTAINER_INFO = "eu.etaxonomy.taxeditor.application.partsashcontainer.info";
20 21
	public static final String PARTSASHCONTAINER_EU_ETAXONOMY_TAXEDITOR_APPLICATION_PARTSASHCONTAINER_MAIN = "eu.etaxonomy.taxeditor.application.partsashcontainer.main";
21 22
	public static final String PARTSASHCONTAINER_EU_ETAXONOMY_TAXEDITOR_APPLICATION_PARTSASHCONTAINER_POLYTOMOUS_MAIN = "eu.etaxonomy.taxeditor.application.partsashcontainer.polytomous.main";
22
	public static final String PARTSTACK_STACK_DATA = "stack.data";
23
	public static final String PARTSTACK_STACK_DETAILS = "stack.details";
24
	public static final String PARTSTACK_STACK_EDITORS = "stack.editors";
25
	public static final String PARTSTACK_STACK_NAVIGATION = "stack.navigation";
26
	public static final String PARTSTACK_STACK_POLYTOMOUS_NAVIGATION = "stack.polytomous.navigation";
27
	public static final String PARTSTACK_STACK_SUPPLEMENTAL = "stack.supplemental";
23
	public static final String PARTSTACK_POLYTOMOUS_DETAILS = "polytomous.details";
24
	public static final String PARTSTACK_POLYTOMOUS_NAVIGATION = "polytomous.navigation";
25
	public static final String PARTSTACK_POLYTOMOUS_SUPPLEMENTAL = "polytomous.supplemental";
26
	public static final String PARTSTACK_SPECIMEN_DATA = "specimen.data";
27
	public static final String PARTSTACK_SPECIMEN_DETAILS = "specimen.details";
28
	public static final String PARTSTACK_SPECIMEN_NAVIGATION = "specimen.navigation";
29
	public static final String PARTSTACK_SPECIMEN_SUPPLEMENTAL = "specimen.supplemental";
30
	public static final String PARTSTACK_STACK_EDITOR = "stack.editor";
31
	public static final String PARTSTACK_TAXONOMIC_DATA = "taxonomic.data";
32
	public static final String PARTSTACK_TAXONOMIC_DETAILS = "taxonomic.details";
33
	public static final String PARTSTACK_TAXONOMIC_NAVIGATION = "taxonomic.navigation";
34
	public static final String PARTSTACK_TAXONOMIC_SUPPLEMENTAL = "taxonomic.supplemental";
28 35
	public static final String PERSPECTIVESTACK_EU_ETAXONOMY_TAXEDITOR_APPLICATION_PERSPECTIVESTACK_0 = "eu.etaxonomy.taxeditor.application.perspectivestack.0";
29 36
	public static final String PERSPECTIVE_EU_ETAXONOMY_TAXEDITOR_APPLICATION_PERSPECTIVE_POLYTOMOUS = "eu.etaxonomy.taxeditor.application.perspective.polytomous";
30 37
	public static final String PERSPECTIVE_EU_ETAXONOMY_TAXEDITOR_APPLICATION_PERSPECTIVE_SPECIMEN = "eu.etaxonomy.taxeditor.application.perspective.specimen";
31 38
	public static final String PERSPECTIVE_EU_ETAXONOMY_TAXEDITOR_APPLICATION_PERSPECTIVE_TAXONOMIC = "eu.etaxonomy.taxeditor.application.perspective.taxonomic";
32 39
	public static final String PLACEHOLDER_EU_ETAXONOMY_TAXEDITOR_APPLICATION_PLACEHOLDER_0 = "eu.etaxonomy.taxeditor.application.placeholder.0";
33
	public static final String PLACEHOLDER_EU_ETAXONOMY_TAXEDITOR_APPLICATION_PLACEHOLDER_1 = "eu.etaxonomy.taxeditor.application.placeholder.1";
34
	public static final String PLACEHOLDER_EU_ETAXONOMY_TAXEDITOR_APPLICATION_PLACEHOLDER_10 = "eu.etaxonomy.taxeditor.application.placeholder.10";
35
	public static final String PLACEHOLDER_EU_ETAXONOMY_TAXEDITOR_APPLICATION_PLACEHOLDER_11 = "eu.etaxonomy.taxeditor.application.placeholder.11";
36
	public static final String PLACEHOLDER_EU_ETAXONOMY_TAXEDITOR_APPLICATION_PLACEHOLDER_12 = "eu.etaxonomy.taxeditor.application.placeholder.12";
37
	public static final String PLACEHOLDER_EU_ETAXONOMY_TAXEDITOR_APPLICATION_PLACEHOLDER_13 = "eu.etaxonomy.taxeditor.application.placeholder.13";
38 40
	public static final String PLACEHOLDER_EU_ETAXONOMY_TAXEDITOR_APPLICATION_PLACEHOLDER_2 = "eu.etaxonomy.taxeditor.application.placeholder.2";
39
	public static final String PLACEHOLDER_EU_ETAXONOMY_TAXEDITOR_APPLICATION_PLACEHOLDER_3 = "eu.etaxonomy.taxeditor.application.placeholder.3";
40
	public static final String PLACEHOLDER_EU_ETAXONOMY_TAXEDITOR_APPLICATION_PLACEHOLDER_4 = "eu.etaxonomy.taxeditor.application.placeholder.4";
41
	public static final String PLACEHOLDER_EU_ETAXONOMY_TAXEDITOR_APPLICATION_PLACEHOLDER_5 = "eu.etaxonomy.taxeditor.application.placeholder.5";
42
	public static final String PLACEHOLDER_EU_ETAXONOMY_TAXEDITOR_APPLICATION_PLACEHOLDER_6 = "eu.etaxonomy.taxeditor.application.placeholder.6";
43 41
	public static final String PLACEHOLDER_EU_ETAXONOMY_TAXEDITOR_APPLICATION_PLACEHOLDER_8 = "eu.etaxonomy.taxeditor.application.placeholder.8";
44
	public static final String PLACEHOLDER_EU_ETAXONOMY_TAXEDITOR_APPLICATION_PLACEHOLDER_9 = "eu.etaxonomy.taxeditor.application.placeholder.9";
45 42
	public static final String TOOLBAR_EU_ETAXONOMY_TAXEDITOR_APPLICATION_TOOLBAR_PERSPECTIVESWITCH = "eu.etaxonomy.taxeditor.application.toolbar.perspectiveSwitch";
46 43
	public static final String TOOLCONTROL_EU_ETAXONOMY_TAXEDITOR_APPLICATION_TOOLCONTROL_PERSPECTIVE_SPACE = "eu.etaxonomy.taxeditor.application.toolcontrol.perspective.space";
47 44
	public static final String TOOLCONTROL_EU_ETAXONOMY_TAXEDITOR_PERSPECTIVE_PERSPECTIVESWITCH = "eu.etaxonomy.taxeditor.perspective.PerspectiveSwitch";
eu.etaxonomy.taxeditor.workbench/src/main/java/eu/etaxonomy/taxeditor/workbench/OpenPartHandler.java
40 40
        }
41 41
        part = partService.showPart(part, PartState.ACTIVATE);
42 42
        if(part.getObject() instanceof IE4SavablePart){
43
            MPartStack editorAreaPartStack = WorkbenchUtility.getPartStack(eu.etaxonomy.taxeditor.application.AppModelId.PARTSTACK_STACK_EDITORS, application, modelService);
44
            if(editorAreaPartStack!=null){
45
                editorAreaPartStack.getChildren().add(part);
43
            MPartStack editorArea = WorkbenchUtility.getEditorArea(application, modelService);
44
            if(editorArea!=null){
45
                editorArea.getChildren().add(part);
46 46
            }
47 47
            part = partService.showPart(part, PartState.VISIBLE);
48 48
        }
eu.etaxonomy.taxeditor.workbench/src/main/java/eu/etaxonomy/taxeditor/workbench/WorkbenchUtility.java
15 15
import org.eclipse.e4.ui.model.application.ui.basic.MPartStack;
16 16
import org.eclipse.e4.ui.workbench.modeling.EModelService;
17 17

  
18
import eu.etaxonomy.taxeditor.application.AppModelId;
18 19
import eu.etaxonomy.taxeditor.workbench.part.IE4SavablePart;
19 20
import eu.etaxonomy.taxeditor.workbench.part.ISelectionElementEditingPart;
20 21

  
......
54 55
        return null;
55 56
    }
56 57

  
58
    public static MPartStack getEditorArea(MApplication application, EModelService modelService){
59
        if(application!=null){
60
            List<MPartStack> areas = modelService.findElements(application, AppModelId.PARTSTACK_STACK_EDITOR, MPartStack.class, null);
61
            if(!areas.isEmpty()){
62
                return areas.iterator().next();
63
            }
64
        }
65
        return null;
66
    }
67

  
57 68

  
58 69
    public static MPartStack getPartStack(String stackId, MApplication application, EModelService modelService){
59 70
        if(application!=null){

Also available in: Unified diff