Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristoph Keimel2014-06-12 06:40:45 -0400
committerChristoph Keimel2014-06-12 06:45:57 -0400
commit923555e8b35a79be1767e71ed5dcef41b96261b7 (patch)
tree52c7566eb283e2918bacc0dde33a4808e151edc3 /testcases
parent28cd88a6a591423e17ecb0fe8e234ac615a17986 (diff)
downloadorg.eclipse.efxclipse-923555e8b35a79be1767e71ed5dcef41b96261b7.tar.gz
org.eclipse.efxclipse-923555e8b35a79be1767e71ed5dcef41b96261b7.tar.xz
org.eclipse.efxclipse-923555e8b35a79be1767e71ed5dcef41b96261b7.zip
Bug 436369 - Create a simple service to restart the application with a
cleared persisted state Added test handlers and part to o.e.fx.testcases.e4 Signed-off-by: Christoph Keimel <c.keimel@emsw.de> Change-Id: I69fb4206c29f0b5d78530e3ecfab33ef47e24e06
Diffstat (limited to 'testcases')
-rwxr-xr-xtestcases/org.eclipse.fx.testcases.e4/Application.e4xmi450
-rwxr-xr-xtestcases/org.eclipse.fx.testcases.e4/org.eclipse.fx.testcases.e4.product12
-rw-r--r--testcases/org.eclipse.fx.testcases.e4/src/org/eclipse/fx/testcases/e4/handlers/CleanRestartHandler.java23
-rwxr-xr-xtestcases/org.eclipse.fx.testcases.e4/src/org/eclipse/fx/testcases/e4/handlers/ExitHandler.java6
-rwxr-xr-xtestcases/org.eclipse.fx.testcases.e4/src/org/eclipse/fx/testcases/e4/handlers/RestartHandler.java11
-rw-r--r--testcases/org.eclipse.fx.testcases.e4/src/org/eclipse/fx/testcases/e4/parts/StartCountPart.java42
6 files changed, 308 insertions, 236 deletions
diff --git a/testcases/org.eclipse.fx.testcases.e4/Application.e4xmi b/testcases/org.eclipse.fx.testcases.e4/Application.e4xmi
index 7c78b7ea6..3127aeba6 100755
--- a/testcases/org.eclipse.fx.testcases.e4/Application.e4xmi
+++ b/testcases/org.eclipse.fx.testcases.e4/Application.e4xmi
@@ -1,223 +1,227 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<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="_A7QWkOL-EeGP-5z69KadAQ" elementId="org.eclipse.e4.ide.application" bindingContexts="_A7QWkeL-EeGP-5z69KadAQ">
- <children xsi:type="basic:TrimmedWindow" xmi:id="_A7QWoOL-EeGP-5z69KadAQ" label="org.eclipse.fx.testcases.e4" x="0" y="0" width="1024" height="800">
- <persistedState key="fx.stage.decoration" value="platform:/plugin/org.eclipse.fx.testcases.e4/org/eclipse/fx/testcases/e4/decoration/TopArea.fxml"/>
- <persistedState key="efx.window.fullscreen" value="false"/>
- <children xsi:type="advanced:PerspectiveStack" xmi:id="_mK1iIO6wEeG4lfn-YKJbJw" elementId="org.eclipse.fx.testcases.e4.perspectivestack.0">
- <children xsi:type="advanced:Perspective" xmi:id="_m-PVAO6wEeG4lfn-YKJbJw" elementId="org.eclipse.fx.testcases.e4.perspective.0" label="P 0">
- <tags>EFX_LC:bundleclass://org.eclipse.fx.testcases.e4/org.eclipse.fx.testcases.e4.lifecycle.LifeCycle</tags>
- <children xsi:type="basic:PartSashContainer" xmi:id="_A7Q9oOL-EeGP-5z69KadAQ" horizontal="true">
- <children xsi:type="basic:Part" xmi:id="_A7Q9oeL-EeGP-5z69KadAQ" containerData="10" contributionURI="bundleclass://org.eclipse.fx.testcases.e4/org.eclipse.fx.testcases.e4.parts.ControlPanel" label="Control Stack" iconURI="">
- <tags>Part-Toolbar-FullSpan</tags>
- <tags>Part-ToolBarMenu-Bottom</tags>
- <menus xsi:type="menu:PopupMenu" xmi:id="_l9uLYCTjEeKY8NYIo6jIvQ" elementId="org.eclipse.fx.testcases.e4.popupmenu.0">
- <children xsi:type="menu:HandledMenuItem" xmi:id="_oWARYCTjEeKY8NYIo6jIvQ" elementId="org.eclipse.fx.testcases.e4.handledmenuitem.7" label="Switch Perspective 2" command="_kCbZQO6yEeG4lfn-YKJbJw">
- <parameters xmi:id="_tPAAoCTjEeKY8NYIo6jIvQ" elementId="" name="org.eclipse.fx.testcases.e4.command.2.perspective" value="org.eclipse.fx.testcases.e4.perspective.2"/>
- </children>
- </menus>
- <toolbar xmi:id="_FMzQEIEGEeKxavJ0U4_mHQ" elementId="org.eclipse.fx.testcases.e4.toolbar.0">
- <children xsi:type="menu:DirectToolItem" xmi:id="_GVO3wIEGEeKxavJ0U4_mHQ" elementId="org.eclipse.fx.testcases.e4.directtoolitem.5" label="Hello World" contributionURI="bundleclass://org.eclipse.fx.testcases.e4/org.eclipse.fx.testcases.e4.handlers.DiHandler2"/>
- </toolbar>
- </children>
- <children xsi:type="basic:PartStack" xmi:id="_A7Q9ouL-EeGP-5z69KadAQ" elementId="content.stack" containerData="70">
- <children xsi:type="basic:Part" xmi:id="_ZHcNwOL-EeGP-5z69KadAQ" elementId="org.eclipse.fx.testcases.e4.part.0" contributionURI="bundleclass://org.eclipse.fx.testcases.e4/org.eclipse.fx.testcases.e4.parts.ContentPanel" label="C0" iconURI="platform:/plugin/org.eclipse.fx.testcases.e4/icons/folder.png" closeable="true">
- <tags>Part-ToolBarMenu-Floating</tags>
- <tags>Part-Toolbar-FullSpan</tags>
- <tags>EFX_LC:bundleclass://org.eclipse.fx.testcases.e4/org.eclipse.fx.testcases.e4.lifecycle.LifeCycle</tags>
- <menus xmi:id="_dsz2oIEQEeKxavJ0U4_mHQ" elementId="org.eclipse.fx.testcases.e4.menu.4">
- <tags>ViewMenu</tags>
- <children xsi:type="menu:DirectMenuItem" xmi:id="_h8rwYIEQEeKxavJ0U4_mHQ" elementId="org.eclipse.fx.testcases.e4.directmenuitem.5" label="View Menu 1" contributionURI="bundleclass://org.eclipse.fx.testcases.e4/org.eclipse.fx.testcases.e4.handlers.DiHandler2"/>
- </menus>
- <toolbar xmi:id="_eiPY4IEHEeKxavJ0U4_mHQ" elementId="org.eclipse.fx.testcases.e4.toolbar.2">
- <children xsi:type="menu:DirectToolItem" xmi:id="_fH640IEHEeKxavJ0U4_mHQ" elementId="org.eclipse.fx.testcases.e4.directtoolitem.6" label="Bl" contributionURI="bundleclass://org.eclipse.fx.testcases.e4/org.eclipse.fx.testcases.e4.handlers.DiHandler2"/>
- </toolbar>
- </children>
- <children xsi:type="basic:Part" xmi:id="_cjVs4OL-EeGP-5z69KadAQ" elementId="org.eclipse.fx.testcases.e4.part.1" contributionURI="bundleclass://org.eclipse.fx.testcases.e4/org.eclipse.fx.testcases.e4.parts.ContentPanel" label="C1">
- <tags>Part-ToolBarMenu-Floating</tags>
- <toolbar xmi:id="_QPi6AIHxEeKxavJ0U4_mHQ" elementId="org.eclipse.fx.testcases.e4.toolbar.4">
- <children xsi:type="menu:DirectToolItem" xmi:id="_QxE5wIHxEeKxavJ0U4_mHQ" elementId="org.eclipse.fx.testcases.e4.directtoolitem.8" label="DI" contributionURI="bundleclass://org.eclipse.fx.testcases.e4/org.eclipse.fx.testcases.e4.handlers.DiHandler2"/>
- </toolbar>
- </children>
- <children xsi:type="basic:Part" xmi:id="_f5-RgOL-EeGP-5z69KadAQ" elementId="org.eclipse.fx.testcases.e4.part.2" toBeRendered="false" contributionURI="bundleclass://org.eclipse.fx.testcases.e4/org.eclipse.fx.testcases.e4.parts.ContentPanel" label="C2" closeable="true"/>
- <children xsi:type="basic:Part" xmi:id="_jRKPwOL-EeGP-5z69KadAQ" elementId="org.eclipse.fx.testcases.e4.part.3" contributionURI="bundleclass://org.eclipse.fx.testcases.e4/org.eclipse.fx.testcases.e4.parts.ContentPanel" label="C3" closeable="true"/>
- <children xsi:type="advanced:Placeholder" xmi:id="_ddQGkPW5EeG7tr8qKhf17Q" elementId="org.eclipse.fx.testcases.e4.placeholder.0" ref="_T4J0kPW5EeG7tr8qKhf17Q"/>
- <children xsi:type="basic:Part" xmi:id="_7H_jwBmWEeOe294q4QTZJg" elementId="org.eclipse.fx.testcases.e4.part.15" contributionURI="bundleclass://org.eclipse.fx.testcases.e4/org.eclipse.fx.testcases.e4.parts.TestPane" label="VBox Pane">
- <tags>Container:VBox</tags>
- </children>
- <children xsi:type="basic:Part" xmi:id="_UXm2oI3yEeOEhJYRfEsdog" elementId="org.eclipse.fx.testcases.e4.part.17" contributionURI="bundleclass://org.eclipse.fx.testcases.e4/org.eclipse.fx.testcases.e4.parts.TestFXMLBuilder" label="FXMLLoader" closeable="true"/>
- <children xsi:type="basic:Part" xmi:id="_NbT9cI3zEeOEhJYRfEsdog" elementId="org.eclipse.fx.testcases.e4.part.18" contributionURI="bundleclass://org.eclipse.fx.testcases.e4/org.eclipse.fx.testcases.e4.parts.TestExtendedFXMLBuilder" label="ExtendedFXMLLoader"/>
- <children xsi:type="basic:Part" xmi:id="__dr90LpZEeOpi709HEnsKw" elementId="org.eclipse.fx.testcases.e4.part.20" contributionURI="bundleclass://org.eclipse.fx.testcases.e4/org.eclipse.fx.testcases.e4.parts.Test_431338" label="Test_431338"/>
- </children>
- <children xsi:type="basic:Part" xmi:id="_txxY4OMsEeGP-5z69KadAQ" elementId="org.eclipse.fx.testcases.e4.part.4" toBeRendered="false" containerData="10" contributionURI="bundleclass://org.eclipse.fx.testcases.e4/org.eclipse.fx.testcases.e4.parts.ContentPanel" label="C4"/>
- <children xsi:type="basic:Part" xmi:id="_-czbgLpMEeOpi709HEnsKw" elementId="org.eclipse.fx.testcases.e4.part.19" containerData="10" contributionURI="bundleclass://org.eclipse.fx.testcases.e4/org.eclipse.fx.testcases.e4.parts.Test_431391" label="Label Test"/>
- </children>
- </children>
- <children xsi:type="advanced:Perspective" xmi:id="_uIi_kO6wEeG4lfn-YKJbJw" elementId="org.eclipse.fx.testcases.e4.perspective.1" label="P 1">
- <children xsi:type="basic:PartSashContainer" xmi:id="_wbAKYO6wEeG4lfn-YKJbJw" elementId="org.eclipse.fx.testcases.e4.partsashcontainer.0">
- <children xsi:type="basic:Part" xmi:id="_xEsAkO6wEeG4lfn-YKJbJw" elementId="org.eclipse.fx.testcases.e4.part.5" contributionURI="bundleclass://org.eclipse.fx.testcases.e4/org.eclipse.fx.testcases.e4.parts.ContentPanel" label="C5" tooltip=""/>
- <children xsi:type="basic:Part" xmi:id="_xntOEO6wEeG4lfn-YKJbJw" elementId="org.eclipse.fx.testcases.e4.part.6" contributionURI="bundleclass://org.eclipse.fx.testcases.e4/org.eclipse.fx.testcases.e4.parts.ContentPanel" label="C6"/>
- <children xsi:type="advanced:Placeholder" xmi:id="_cRNfUPW7EeG7tr8qKhf17Q" elementId="org.eclipse.fx.testcases.e4.placeholder.0" ref="_T4J0kPW5EeG7tr8qKhf17Q"/>
- </children>
- </children>
- <children xsi:type="advanced:Perspective" xmi:id="_EQ6_wCTGEeKdCOcPGN2T3w" elementId="org.eclipse.fx.testcases.e4.perspective.2" label="P 2">
- <children xsi:type="advanced:Area" xmi:id="_EWB3UCTIEeKY8NYIo6jIvQ" elementId="org.eclipse.fx.testcases.e4.area.0" horizontal="true">
- <children xsi:type="advanced:Placeholder" xmi:id="_IJx1wCTIEeKY8NYIo6jIvQ" elementId="org.eclipse.fx.testcases.e4.placeholder.1" ref="_T4J0kPW5EeG7tr8qKhf17Q"/>
- <children xsi:type="advanced:Placeholder" xmi:id="_KaEdYCTIEeKY8NYIo6jIvQ" elementId="org.eclipse.fx.testcases.e4.placeholder.2" ref="_wH3xYCTGEeKdCOcPGN2T3w"/>
- </children>
- </children>
- <children xsi:type="advanced:Perspective" xmi:id="_KhnNsCZmEeKqs9jU_V83wg" elementId="org.eclipse.fx.testcases.e4.perspective.3" label="P 3">
- <children xsi:type="basic:PartSashContainer" xmi:id="_N8CGICZmEeKqs9jU_V83wg" elementId="org.eclipse.fx.testcases.e4.partsashcontainer.2" horizontal="true">
- <tags>fx_fixedLayout</tags>
- <children xsi:type="basic:Part" xmi:id="_Tp95UCZmEeKqs9jU_V83wg" elementId="org.eclipse.fx.testcases.e4.part.10" contributionURI="bundleclass://org.eclipse.fx.testcases.e4/org.eclipse.fx.testcases.e4.parts.ContentPanel" label="Part 10">
- <persistedState key="fx_layout_width" value="300"/>
- <tags>content_a</tags>
- <menus xmi:id="_xwNwMIE0EeKxavJ0U4_mHQ" elementId="org.eclipse.fx.testcases.e4.menu.5">
- <tags>ViewMenu</tags>
- <children xsi:type="menu:DirectMenuItem" xmi:id="_y7B9gIE0EeKxavJ0U4_mHQ" elementId="org.eclipse.fx.testcases.e4.directmenuitem.6" label="Di" contributionURI="bundleclass://org.eclipse.fx.testcases.e4/org.eclipse.fx.testcases.e4.handlers.DiHandler2"/>
- </menus>
- <toolbar xmi:id="_83m7YIE0EeKxavJ0U4_mHQ" elementId="org.eclipse.fx.testcases.e4.toolbar.3">
- <children xsi:type="menu:DirectToolItem" xmi:id="_9hPHMIE0EeKxavJ0U4_mHQ" elementId="org.eclipse.fx.testcases.e4.directtoolitem.7" label="DI" contributionURI="bundleclass://org.eclipse.fx.testcases.e4/org.eclipse.fx.testcases.e4.handlers.DiHandler2"/>
- </toolbar>
- </children>
- <children xsi:type="basic:Part" xmi:id="_uiO8QCZmEeKqs9jU_V83wg" elementId="org.eclipse.fx.testcases.e4.part.11" contributionURI="bundleclass://org.eclipse.fx.testcases.e4/org.eclipse.fx.testcases.e4.parts.ContentPanel" label="Part 11">
- <persistedState key="fx_layout_grab_horizontal" value="true"/>
- <persistedState key="fx_layout_grab_vertical" value="true"/>
- <tags>content_b</tags>
- </children>
- </children>
- </children>
- <children xsi:type="advanced:Perspective" xmi:id="_l1lrgCaCEeKqs9jU_V83wg" elementId="org.eclipse.fx.testcases.e4.perspective.4" label="P 4">
- <children xsi:type="basic:PartStack" xmi:id="_n0_-gCaCEeKqs9jU_V83wg" elementId="org.eclipse.fx.testcases.e4.partstack.0">
- <tags>fx_pagination</tags>
- <children xsi:type="basic:Part" xmi:id="_x8MQ8CaCEeKqs9jU_V83wg" elementId="org.eclipse.fx.testcases.e4.part.12" contributionURI="bundleclass://org.eclipse.fx.testcases.e4/org.eclipse.fx.testcases.e4.parts.ContentPanel" label="Part 12"/>
- <children xsi:type="basic:Part" xmi:id="_yVlBUCaCEeKqs9jU_V83wg" elementId="org.eclipse.fx.testcases.e4.part.13" contributionURI="bundleclass://org.eclipse.fx.testcases.e4/org.eclipse.fx.testcases.e4.parts.ContentPanel" label="Part 13"/>
- </children>
- </children>
- <children xsi:type="advanced:Perspective" xmi:id="_9YqNgIfYEeKsYN0U3N_L9Q" elementId="org.eclipse.fx.testcases.e4.perspective.5" label="P5">
- <children xsi:type="basic:Part" xmi:id="__HnCoIfYEeKsYN0U3N_L9Q" elementId="org.eclipse.fx.testcases.e4.part.14" contributionURI="bundleclass://org.eclipse.fx.testcases.e4/org.eclipse.fx.testcases.e4.parts.ContentPanel" label="Panel 14">
- <tags>content_a</tags>
- </children>
- </children>
- </children>
- <mainMenu xmi:id="_W8hHoORZEeGP-5z69KadAQ" elementId="org.eclipse.fx.testcases.e4.menu.0">
- <children xsi:type="menu:Menu" xmi:id="_Xwuy0ORZEeGP-5z69KadAQ" elementId="org.eclipse.fx.testcases.e4.menu.1" label="M1">
- <tags>EFX_LC:bundleclass://org.eclipse.fx.testcases.e4/org.eclipse.fx.testcases.e4.lifecycle.MenuLifecycle</tags>
- <children xsi:type="menu:HandledMenuItem" xmi:id="_f6s64ORqEeGP-5z69KadAQ" elementId="org.eclipse.fx.testcases.e4.handledmenuitem.0" label="Push - HI 0" iconURI="platform:/plugin/org.eclipse.fx.testcases.e4/icons/SampleIcon.fxml" command="_FEZr8OUcEeGP-5z69KadAQ"/>
- <children xsi:type="menu:HandledMenuItem" xmi:id="_lb8V4ORqEeGP-5z69KadAQ" elementId="org.eclipse.fx.testcases.e4.handledmenuitem.1" label="Check - HI 1" type="Check" command="_3PQSEOqiEeGrz8mV_3Gr5A"/>
- <children xsi:type="menu:HandledMenuItem" xmi:id="_pBaAsORqEeGP-5z69KadAQ" elementId="org.eclipse.fx.testcases.e4.handledmenuitem.2" label="Radio - HI 2" type="Radio" command="_FEZr8OUcEeGP-5z69KadAQ"/>
- <children xsi:type="menu:HandledMenuItem" xmi:id="_rnWvQORqEeGP-5z69KadAQ" elementId="org.eclipse.fx.testcases.e4.handledmenuitem.3" label="Radio - HI 3" type="Radio" command="_FEZr8OUcEeGP-5z69KadAQ"/>
- <children xsi:type="menu:Menu" xmi:id="_yWJigORqEeGP-5z69KadAQ" elementId="org.eclipse.fx.testcases.e4.menu.2" label="M1-1">
- <children xsi:type="menu:DirectMenuItem" xmi:id="_1-PqkORqEeGP-5z69KadAQ" elementId="org.eclipse.fx.testcases.e4.directmenuitem.0" label="Push - DI 0" contributionURI="bundleclass://org.eclipse.fx.testcases.e4/org.eclipse.fx.testcases.e4.handlers.DiHandler"/>
- <children xsi:type="menu:DirectMenuItem" xmi:id="_4k8nEORqEeGP-5z69KadAQ" elementId="org.eclipse.fx.testcases.e4.directmenuitem.1" label="Check - DI 1" type="Check" contributionURI="bundleclass://org.eclipse.fx.testcases.e4/org.eclipse.fx.testcases.e4.handlers.DiHandler"/>
- <children xsi:type="menu:DirectMenuItem" xmi:id="_7Pm2gORqEeGP-5z69KadAQ" elementId="org.eclipse.fx.testcases.e4.directmenuitem.2" label="Radio - DI 2" type="Radio" contributionURI="bundleclass://org.eclipse.fx.testcases.e4/org.eclipse.fx.testcases.e4.handlers.DiHandler"/>
- <children xsi:type="menu:DirectMenuItem" xmi:id="_-21b4ORqEeGP-5z69KadAQ" elementId="org.eclipse.fx.testcases.e4.directmenuitem.3" label="Radio - DI 3" type="Radio" contributionURI="bundleclass://org.eclipse.fx.testcases.e4/org.eclipse.fx.testcases.e4.handlers.DiHandler"/>
- </children>
- <children xsi:type="menu:DirectMenuItem" xmi:id="_VdrD0ER8EeKso-cEr7pQbw" elementId="org.eclipse.fx.testcases.e4.directmenuitem.4" label="Event Sending" contributionURI="bundleclass://org.eclipse.fx.testcases.e4/org.eclipse.fx.testcases.e4.handlers.EventSender"/>
- <children xsi:type="menu:DirectMenuItem" xmi:id="_N4FhcIfmEeKsYN0U3N_L9Q" elementId="org.eclipse.fx.testcases.e4.directmenuitem.7" label="Exit" contributionURI="bundleclass://org.eclipse.fx.testcases.e4/org.eclipse.fx.testcases.e4.handlers.ExitHandler"/>
- <children xsi:type="menu:DirectMenuItem" xmi:id="_3n7coIfmEeKsYN0U3N_L9Q" elementId="org.eclipse.fx.testcases.e4.directmenuitem.8" label="Restart" contributionURI="bundleclass://org.eclipse.fx.testcases.e4/org.eclipse.fx.testcases.e4.handlers.RestartHandler"/>
- <children xsi:type="menu:DirectMenuItem" xmi:id="_Y2UZcMg4EeKo1rUjbZCXsQ" elementId="org.eclipse.fx.testcases.e4.directmenuitem.11" label="Dynamic Window" contributionURI="bundleclass://org.eclipse.fx.testcases.e4/org.eclipse.fx.testcases.e4.handlers.DynamicWinHandler"/>
- <children xsi:type="menu:DynamicMenuContribution" xmi:id="_yP8EsOHBEeKlH9jWGqiIew" elementId="org.eclipse.fx.testcases.e4.dynamicmenucontribution.0" label="Test" contributionURI="bundleclass://org.eclipse.fx.testcases.e4/org.eclipse.fx.testcases.e4.contributions.DMContribution"/>
- <children xsi:type="menu:DirectMenuItem" xmi:id="_uPNeUOJ-EeKZGIZ9VF1S7Q" elementId="org.eclipse.fx.testcases.e4.directmenuitem.13" label="Register dynamic lifecycle" contributionURI="bundleclass://org.eclipse.fx.testcases.e4/org.eclipse.fx.testcases.e4.handlers.RegisterDynamicLifecycle"/>
- <children xsi:type="menu:Menu" xmi:id="_KFx14C-JEeOp1Ym1-ovQ6w" elementId="org.eclipse.fx.testcases.e4.menu.7" label="DynSub">
- <children xsi:type="menu:DynamicMenuContribution" xmi:id="_K52XIC-JEeOp1Ym1-ovQ6w" elementId="org.eclipse.fx.testcases.e4.dynamicmenucontribution.1" label="Test2" contributionURI="bundleclass://org.eclipse.fx.testcases.e4/org.eclipse.fx.testcases.e4.contributions.DMContribution"/>
- </children>
- <children xsi:type="menu:DirectMenuItem" xmi:id="_PeGl8E4IEeORU9_aphRSog" elementId="org.eclipse.fx.testcases.e4.directmenuitem.hideshow" visible="false" label="Hide/Show Test"/>
- <children xsi:type="menu:DirectMenuItem" xmi:id="_hyZusGgdEeOUgLXBh1syGQ" elementId="org.eclipse.fx.testcases.e4.directmenuitem.14" label="Open Dialog" contributionURI="bundleclass://org.eclipse.fx.testcases.e4/org.eclipse.fx.testcases.e4.handlers.DialogTest"/>
- </children>
- <children xsi:type="menu:Menu" xmi:id="_d-oDwO6yEeG4lfn-YKJbJw" elementId="org.eclipse.fx.testcases.e4.menu.3" label="Switch">
- <children xsi:type="menu:HandledMenuItem" xmi:id="_jYdPMO6yEeG4lfn-YKJbJw" elementId="org.eclipse.fx.testcases.e4.handledmenuitem.4" label="Perspective 0" command="_kCbZQO6yEeG4lfn-YKJbJw">
- <parameters xmi:id="_cTZbkO6zEeG4lfn-YKJbJw" elementId="" name="org.eclipse.fx.testcases.e4.command.2.perspective" value="org.eclipse.fx.testcases.e4.perspective.0"/>
- </children>
- <children xsi:type="menu:HandledMenuItem" xmi:id="_qMwYEO6zEeG4lfn-YKJbJw" elementId="org.eclipse.fx.testcases.e4.handledmenuitem.5" label="Perspective 1" command="_kCbZQO6yEeG4lfn-YKJbJw">
- <parameters xmi:id="_wqiT0O6zEeG4lfn-YKJbJw" elementId="" name="org.eclipse.fx.testcases.e4.command.2.perspective" value="org.eclipse.fx.testcases.e4.perspective.1"/>
- </children>
- <children xsi:type="menu:HandledMenuItem" xmi:id="_YIzeQCTIEeKY8NYIo6jIvQ" elementId="org.eclipse.fx.testcases.e4.handledmenuitem.6" label="Perspective 2" command="_kCbZQO6yEeG4lfn-YKJbJw">
- <parameters xmi:id="_dtM68CTIEeKY8NYIo6jIvQ" elementId="" name="org.eclipse.fx.testcases.e4.command.2.perspective" value="org.eclipse.fx.testcases.e4.perspective.2"/>
- </children>
- <children xsi:type="menu:HandledMenuItem" xmi:id="_GjUWsCZnEeKqs9jU_V83wg" elementId="org.eclipse.fx.testcases.e4.handledmenuitem.8" label="Perspective 3" command="_kCbZQO6yEeG4lfn-YKJbJw">
- <parameters xmi:id="_HkPoMCZnEeKqs9jU_V83wg" elementId="" name="org.eclipse.fx.testcases.e4.command.2.perspective" value="org.eclipse.fx.testcases.e4.perspective.3"/>
- </children>
- <children xsi:type="menu:HandledMenuItem" xmi:id="_6V3RoCaCEeKqs9jU_V83wg" elementId="org.eclipse.fx.testcases.e4.handledmenuitem.9" label="Perspective 4" command="_kCbZQO6yEeG4lfn-YKJbJw">
- <parameters xmi:id="_7xfiICaCEeKqs9jU_V83wg" elementId="" name="org.eclipse.fx.testcases.e4.command.2.perspective" value="org.eclipse.fx.testcases.e4.perspective.4"/>
- </children>
- <children xsi:type="menu:HandledMenuItem" xmi:id="_MrnaMIfZEeKsYN0U3N_L9Q" elementId="org.eclipse.fx.testcases.e4.handledmenuitem.10" label="Perspective 5" command="_kCbZQO6yEeG4lfn-YKJbJw">
- <parameters xmi:id="_PsE6gIfZEeKsYN0U3N_L9Q" elementId="" name="org.eclipse.fx.testcases.e4.command.2.perspective" value="org.eclipse.fx.testcases.e4.perspective.5"/>
- </children>
- </children>
- <children xsi:type="menu:Menu" xmi:id="_xS050MayEeKo1rUjbZCXsQ" elementId="org.eclipse.fx.testcases.e4.menu.6" label="Multiple close">
- <children xsi:type="menu:DirectMenuItem" xmi:id="_yhjWwMayEeKo1rUjbZCXsQ" elementId="org.eclipse.fx.testcases.e4.directmenuitem.9" label="Close all" iconURI="platform:/plugin/org.eclipse.fx.testcases.e4/css/images/window-close-over.png" contributionURI="bundleclass://org.eclipse.fx.testcases.e4/org.eclipse.fx.testcases.e4.handlers.BatchRemoveHandler"/>
- <children xsi:type="menu:DirectMenuItem" xmi:id="_2R3msMayEeKo1rUjbZCXsQ" elementId="org.eclipse.fx.testcases.e4.directmenuitem.10" label="Close others" iconURI="platform:/plugin/org.eclipse.fx.testcases.e4/css/images/window-close-over.png" contributionURI="bundleclass://org.eclipse.fx.testcases.e4/org.eclipse.fx.testcases.e4.handlers.CloseOthersHandler"/>
- <children xsi:type="menu:DirectMenuItem" xmi:id="_HrhKkOHEEeKlH9jWGqiIew" elementId="org.eclipse.fx.testcases.e4.directmenuitem.12" label="Close perspective" iconURI="platform:/plugin/org.eclipse.fx.testcases.e4/css/images/window-close-over.png" contributionURI="bundleclass://org.eclipse.fx.testcases.e4/org.eclipse.fx.testcases.e4.handlers.ClosePerspectiveHandler"/>
- </children>
- <children xsi:type="menu:Menu" xmi:id="_X6bdoC_uEeOp1Ym1-ovQ6w" elementId="org.eclipse.fx.testcases.e4.menu.8" label="Bla">
- <children xsi:type="menu:HandledMenuItem" xmi:id="_ZWjdYC_uEeOp1Ym1-ovQ6w" elementId="org.eclipse.fx.testcases.e4.handledmenuitem.11" label="CMD 0" command="_FEZr8OUcEeGP-5z69KadAQ"/>
- <children xsi:type="menu:DynamicMenuContribution" xmi:id="_euWogC_uEeOp1Ym1-ovQ6w" elementId="org.eclipse.fx.testcases.e4.dynamicmenucontribution.2" contributionURI="bundleclass://org.eclipse.fx.testcases.e4/org.eclipse.fx.testcases.e4.contributions.DMContribution"/>
- </children>
- </mainMenu>
- <windows xmi:id="_tJumwF5uEeOE9IXWSZlx5Q" elementId="org.eclipse.fx.testcases.e4.window.0" label="Extra Window" x="100" y="100" width="200" height="200">
- <children xsi:type="basic:Part" xmi:id="_i0GJgF6LEeOE9IXWSZlx5Q" elementId="org.eclipse.fx.testcases.e4.part.16" contributionURI="bundleclass://org.eclipse.fx.testcases.e4/org.eclipse.fx.testcases.e4.parts.ExtraWindowPart"/>
- </windows>
- <sharedElements xsi:type="basic:Part" xmi:id="_T4J0kPW5EeG7tr8qKhf17Q" elementId="org.eclipse.fx.testcases.e4.part.7" contributionURI="bundleclass://org.eclipse.fx.testcases.e4/org.eclipse.fx.testcases.e4.parts.ContentPanel" label="C7"/>
- <sharedElements xsi:type="basic:PartSashContainer" xmi:id="_wH3xYCTGEeKdCOcPGN2T3w" elementId="org.eclipse.fx.testcases.e4.partsashcontainer.1">
- <children xsi:type="basic:Part" xmi:id="_wppBsCTGEeKdCOcPGN2T3w" elementId="org.eclipse.fx.testcases.e4.part.8" containerData="1" contributionURI="bundleclass://org.eclipse.fx.testcases.e4/org.eclipse.fx.testcases.e4.parts.ContentPanel" label="P 8"/>
- <children xsi:type="basic:Part" xmi:id="_3AyxACTGEeKdCOcPGN2T3w" elementId="org.eclipse.fx.testcases.e4.part.9" contributionURI="bundleclass://org.eclipse.fx.testcases.e4/org.eclipse.fx.testcases.e4.parts.ContentPanel" label="P 9"/>
- </sharedElements>
- <trimBars xmi:id="_A7Q9o-L-EeGP-5z69KadAQ">
- <children xsi:type="menu:ToolBar" xmi:id="_A7Q9pOL-EeGP-5z69KadAQ" elementId="org.efxclipse.e4.maintoolbar">
- <children xsi:type="menu:HandledToolItem" xmi:id="_fbkNAORYEeGP-5z69KadAQ" elementId="org.eclipse.fx.testcases.e4.handledtoolitem.0" label="Push - HI 0" command="_FEZr8OUcEeGP-5z69KadAQ"/>
- <children xsi:type="menu:HandledToolItem" xmi:id="_gbQvcORYEeGP-5z69KadAQ" elementId="org.eclipse.fx.testcases.e4.handledtoolitem.1" label="Check - HI 1" selected="true" type="Check" command="_3PQSEOqiEeGrz8mV_3Gr5A"/>
- <children xsi:type="menu:HandledToolItem" xmi:id="_suBhkORYEeGP-5z69KadAQ" elementId="org.eclipse.fx.testcases.e4.handledtoolitem.2" label="Radio - HI 2" type="Radio" command="_FEZr8OUcEeGP-5z69KadAQ"/>
- <children xsi:type="menu:HandledToolItem" xmi:id="_3aRo4ORYEeGP-5z69KadAQ" elementId="org.eclipse.fx.testcases.e4.handledtoolitem.3" label="Radio - HI 3" type="Radio" command="_FEZr8OUcEeGP-5z69KadAQ"/>
- <children xsi:type="menu:HandledToolItem" xmi:id="_88IH4ORYEeGP-5z69KadAQ" elementId="org.eclipse.fx.testcases.e4.handledtoolitem.4" label="Split - HI 4" command="_FEZr8OUcEeGP-5z69KadAQ">
- <menu xmi:id="_WI3gUORdEeGcrYrtitkVHQ" elementId="org.eclipse.fx.testcases.e4.menu.0">
- <tags>EFX_LC:bundleclass://org.eclipse.fx.testcases.e4/org.eclipse.fx.testcases.e4.lifecycle.MenuLifecycle</tags>
- <children xsi:type="menu:HandledMenuItem" xmi:id="_9EluEORdEeGcrYrtitkVHQ" elementId="org.eclipse.fx.testcases.e4.handledmenuitem.0" label="ToolItem Menu 1" command="_FEZr8OUcEeGP-5z69KadAQ"/>
- <children xsi:type="menu:HandledMenuItem" xmi:id="_Eei-MOReEeGcrYrtitkVHQ" elementId="org.eclipse.fx.testcases.e4.handledmenuitem.0" label="ToolItem Menu 2"/>
- </menu>
- </children>
- <children xsi:type="menu:ToolControl" xmi:id="_MfBjgNZYEeKlJ9ZUcG3l2Q" elementId="org.eclipse.fx.testcases.e4.toolcontrol.1" contributionURI="bundleclass://org.eclipse.fx.testcases.e4/org.eclipse.fx.testcases.e4.tool.ToolControlSample"/>
- </children>
- <children xsi:type="menu:ToolBar" xmi:id="_kDT7AOZXEeGrz8mV_3Gr5A" elementId="org.eclipse.fx.testcases.e4.toolbar.1">
- <tags>fillspace</tags>
- <children xsi:type="menu:DirectToolItem" xmi:id="_lavA8OZXEeGrz8mV_3Gr5A" elementId="org.eclipse.fx.testcases.e4.directtoolitem.0" label="Push - DI 0" contributionURI="bundleclass://org.eclipse.fx.testcases.e4/org.eclipse.fx.testcases.e4.handlers.DiHandler"/>
- <children xsi:type="menu:DirectToolItem" xmi:id="_okY5gOZXEeGrz8mV_3Gr5A" elementId="org.eclipse.fx.testcases.e4.directtoolitem.1" label="Check - DI 1" type="Check" contributionURI="bundleclass://org.eclipse.fx.testcases.e4/org.eclipse.fx.testcases.e4.handlers.DiHandler"/>
- <children xsi:type="menu:DirectToolItem" xmi:id="_s6sycOZXEeGrz8mV_3Gr5A" elementId="org.eclipse.fx.testcases.e4.directtoolitem.2" label="Radio - DI 2" type="Radio" contributionURI="bundleclass://org.eclipse.fx.testcases.e4/org.eclipse.fx.testcases.e4.handlers.DiHandler"/>
- <children xsi:type="menu:DirectToolItem" xmi:id="_vOWQEOZXEeGrz8mV_3Gr5A" elementId="org.eclipse.fx.testcases.e4.directtoolitem.3" label="Radio - DI 3" type="Radio" contributionURI="bundleclass://org.eclipse.fx.testcases.e4/org.eclipse.fx.testcases.e4.handlers.DiHandler"/>
- <children xsi:type="menu:DirectToolItem" xmi:id="_xaLOcOZXEeGrz8mV_3Gr5A" elementId="org.eclipse.fx.testcases.e4.directtoolitem.4" label="Split - DI 4" contributionURI="bundleclass://org.eclipse.fx.testcases.e4/org.eclipse.fx.testcases.e4.handlers.DiHandler"/>
- </children>
- <children xsi:type="menu:ToolControl" xmi:id="_Na3dgNZUEeKlJ9ZUcG3l2Q" elementId="org.eclipse.fx.testcases.e4.toolcontrol.0" contributionURI="bundleclass://org.eclipse.fx.testcases.e4/org.eclipse.fx.testcases.e4.tool.ToolControlSample"/>
- </trimBars>
- <trimBars xmi:id="_s3Z_EL5SEeOCpM9MHb7gVw" elementId="org.eclipse.fx.testcases.e4.trimbar.0" side="Left">
- <children xsi:type="menu:ToolBar" xmi:id="_upiEAL5SEeOCpM9MHb7gVw" elementId="org.eclipse.fx.testcases.e4.toolbar.5">
- <children xsi:type="menu:DirectToolItem" xmi:id="_ve_FUL5SEeOCpM9MHb7gVw" elementId="org.eclipse.fx.testcases.e4.directtoolitem.9" label="V1" contributionURI="bundleclass://org.eclipse.fx.testcases.e4/org.eclipse.fx.testcases.e4.handlers.DiHandler"/>
- <children xsi:type="menu:DirectToolItem" xmi:id="_w4yJ0L5SEeOCpM9MHb7gVw" elementId="org.eclipse.fx.testcases.e4.directtoolitem.10" label="V2" contributionURI="bundleclass://org.eclipse.fx.testcases.e4/org.eclipse.fx.testcases.e4.handlers.DiHandler"/>
- </children>
- </trimBars>
- </children>
- <handlers xmi:id="_H2FJYOUcEeGP-5z69KadAQ" elementId="org.eclipse.fx.testcases.e4.handler.0" contributionURI="bundleclass://org.eclipse.fx.testcases.e4/org.eclipse.fx.testcases.e4.handlers.Handler0" command="_FEZr8OUcEeGP-5z69KadAQ"/>
- <handlers xmi:id="_0_q1EOqiEeGrz8mV_3Gr5A" elementId="org.eclipse.fx.testcases.e4.handler.0" contributionURI="bundleclass://org.eclipse.fx.testcases.e4/org.eclipse.fx.testcases.e4.handlers.Handler1" command="_3PQSEOqiEeGrz8mV_3Gr5A"/>
- <handlers xmi:id="_otsOgO6yEeG4lfn-YKJbJw" elementId="org.eclipse.fx.testcases.e4.handler.0" contributionURI="bundleclass://org.eclipse.fx.testcases.e4/org.eclipse.fx.testcases.e4.handlers.SwitchPerspectiveHandler" command="_kCbZQO6yEeG4lfn-YKJbJw"/>
- <handlers xmi:id="__UfAcD4rEeKaHfJUGGs7Mw" elementId="org.eclipse.fx.testcases.e4.handler.1" contributionURI="bundleclass://org.eclipse.fx.testcases.e4/org.eclipse.fx.testcases.e4.handlers.FunctionHandler" command="_8Tn3gD4rEeKaHfJUGGs7Mw"/>
- <bindingTables xmi:id="_A7QWm-L-EeGP-5z69KadAQ" bindingContext="_A7QWkeL-EeGP-5z69KadAQ">
- <bindings xmi:id="_XqO-oOUcEeGP-5z69KadAQ" keySequence="CTRL+I" command="_FEZr8OUcEeGP-5z69KadAQ"/>
- <bindings xmi:id="_6h40ID4rEeKaHfJUGGs7Mw" elementId="org.eclipse.fx.testcases.e4.keybinding.0" keySequence="F2" command="_8Tn3gD4rEeKaHfJUGGs7Mw"/>
- </bindingTables>
- <rootContext xmi:id="_A7QWkeL-EeGP-5z69KadAQ" elementId="org.eclipse.ui.contexts.dialogAndWindow" name="In Dialog and Windows">
- <children xmi:id="_A7QWkuL-EeGP-5z69KadAQ" elementId="org.eclipse.ui.contexts.window" name="In Windows"/>
- <children xmi:id="_A7QWk-L-EeGP-5z69KadAQ" elementId="org.eclipse.ui.contexts.dialog" name="In Dialogs"/>
- </rootContext>
- <commands xmi:id="_FEZr8OUcEeGP-5z69KadAQ" elementId="org.eclipse.fx.testcases.e4.command.0" commandName="CMD 0"/>
- <commands xmi:id="_3PQSEOqiEeGrz8mV_3Gr5A" elementId="org.eclipse.fx.testcases.e4.command.1" commandName="CMD 1"/>
- <commands xmi:id="_kCbZQO6yEeG4lfn-YKJbJw" elementId="org.eclipse.fx.testcases.e4.command.2" commandName="Switch Perspective">
- <parameters xmi:id="_mCIAIO6yEeG4lfn-YKJbJw" elementId="org.eclipse.fx.testcases.e4.command.2.perspective" name="Perspective Id" optional="false"/>
- </commands>
- <commands xmi:id="_8Tn3gD4rEeKaHfJUGGs7Mw" elementId="org.eclipse.fx.testcases.e4.command.3" commandName="Function Keybinding"/>
- <addons xmi:id="_A7QWlOL-EeGP-5z69KadAQ" elementId="org.eclipse.e4.core.commands.service" contributionURI="bundleclass://org.eclipse.e4.core.commands/org.eclipse.e4.core.commands.CommandServiceAddon"/>
- <addons xmi:id="_A7QWleL-EeGP-5z69KadAQ" elementId="org.eclipse.e4.ui.contexts.service" contributionURI="bundleclass://org.eclipse.e4.ui.services/org.eclipse.e4.ui.services.ContextServiceAddon"/>
- <addons xmi:id="_A7QWluL-EeGP-5z69KadAQ" elementId="org.eclipse.fx.ui.keybindings.e4.service" contributionURI="bundleclass://org.eclipse.fx.ui.keybindings.e4/org.eclipse.fx.ui.keybindings.e4.BindingServiceAddon"/>
- <addons xmi:id="_A7QWl-L-EeGP-5z69KadAQ" elementId="org.eclipse.e4.ui.workbench.commands.model" contributionURI="bundleclass://org.eclipse.e4.ui.workbench/org.eclipse.e4.ui.internal.workbench.addons.CommandProcessingAddon"/>
- <addons xmi:id="_A7QWmOL-EeGP-5z69KadAQ" elementId="org.eclipse.e4.ui.workbench.contexts.model" contributionURI="bundleclass://org.eclipse.e4.ui.workbench/org.eclipse.e4.ui.internal.workbench.addons.ContextProcessingAddon"/>
- <addons xmi:id="_tQtNQOUbEeGP-5z69KadAQ" elementId="org.eclipse.fx.ui.keybindings.e4.model" contributionURI="bundleclass://org.eclipse.fx.ui.keybindings.e4/org.eclipse.fx.ui.keybindings.e4.BindingProcessingAddon"/>
- <addons xmi:id="_3c-AUL89EeKIBMNbSVZPsw" elementId="org.eclipse.e4.ui.workbench.addons.HandlerProcessingAddon" contributionURI="bundleclass://org.eclipse.e4.ui.workbench/org.eclipse.e4.ui.internal.workbench.addons.HandlerProcessingAddon"/>
- <addons xmi:id="_9h-HsOHDEeKlH9jWGqiIew" elementId="org.eclipse.fx.testcases.e4.addon.0" contributionURI="bundleclass://org.eclipse.fx.ui.lifecycle/org.eclipse.fx.ui.lifecycle.LifecycleAddon"/>
-</application:Application>
+<?xml version="1.0" encoding="UTF-8"?>
+<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="_A7QWkOL-EeGP-5z69KadAQ" elementId="org.eclipse.e4.ide.application" bindingContexts="_A7QWkeL-EeGP-5z69KadAQ">
+ <children xsi:type="basic:TrimmedWindow" xmi:id="_A7QWoOL-EeGP-5z69KadAQ" label="org.eclipse.fx.testcases.e4" x="0" y="0" width="1024" height="800">
+ <persistedState key="fx.stage.decoration" value="platform:/plugin/org.eclipse.fx.testcases.e4/org/eclipse/fx/testcases/e4/decoration/TopArea.fxml"/>
+ <persistedState key="efx.window.fullscreen" value="false"/>
+ <children xsi:type="advanced:PerspectiveStack" xmi:id="_mK1iIO6wEeG4lfn-YKJbJw" elementId="org.eclipse.fx.testcases.e4.perspectivestack.0">
+ <children xsi:type="advanced:Perspective" xmi:id="_m-PVAO6wEeG4lfn-YKJbJw" elementId="org.eclipse.fx.testcases.e4.perspective.0" label="P 0">
+ <tags>EFX_LC:bundleclass://org.eclipse.fx.testcases.e4/org.eclipse.fx.testcases.e4.lifecycle.LifeCycle</tags>
+ <children xsi:type="basic:PartSashContainer" xmi:id="_A7Q9oOL-EeGP-5z69KadAQ" horizontal="true">
+ <children xsi:type="basic:PartSashContainer" xmi:id="_EYg3gPIdEeOji_iSrDmK-Q" elementId="org.eclipse.fx.testcases.e4.partsashcontainer.3" containerData="10">
+ <children xsi:type="basic:Part" xmi:id="_A7Q9oeL-EeGP-5z69KadAQ" containerData="90" contributionURI="bundleclass://org.eclipse.fx.testcases.e4/org.eclipse.fx.testcases.e4.parts.ControlPanel" label="Control Stack" iconURI="">
+ <tags>Part-Toolbar-FullSpan</tags>
+ <tags>Part-ToolBarMenu-Bottom</tags>
+ <menus xsi:type="menu:PopupMenu" xmi:id="_l9uLYCTjEeKY8NYIo6jIvQ" elementId="org.eclipse.fx.testcases.e4.popupmenu.0">
+ <children xsi:type="menu:HandledMenuItem" xmi:id="_oWARYCTjEeKY8NYIo6jIvQ" elementId="org.eclipse.fx.testcases.e4.handledmenuitem.7" label="Switch Perspective 2" command="_kCbZQO6yEeG4lfn-YKJbJw">
+ <parameters xmi:id="_tPAAoCTjEeKY8NYIo6jIvQ" elementId="" name="org.eclipse.fx.testcases.e4.command.2.perspective" value="org.eclipse.fx.testcases.e4.perspective.2"/>
+ </children>
+ </menus>
+ <toolbar xmi:id="_FMzQEIEGEeKxavJ0U4_mHQ" elementId="org.eclipse.fx.testcases.e4.toolbar.0">
+ <children xsi:type="menu:DirectToolItem" xmi:id="_GVO3wIEGEeKxavJ0U4_mHQ" elementId="org.eclipse.fx.testcases.e4.directtoolitem.5" label="Hello World" contributionURI="bundleclass://org.eclipse.fx.testcases.e4/org.eclipse.fx.testcases.e4.handlers.DiHandler2"/>
+ </toolbar>
+ </children>
+ <children xsi:type="basic:Part" xmi:id="_F1HYYPIdEeOji_iSrDmK-Q" elementId="org.eclipse.fx.testcases.e4.part.21" containerData="10" contributionURI="bundleclass://org.eclipse.fx.testcases.e4/org.eclipse.fx.testcases.e4.parts.StartCountPart" label="Start Count"/>
+ </children>
+ <children xsi:type="basic:PartStack" xmi:id="_A7Q9ouL-EeGP-5z69KadAQ" elementId="content.stack" containerData="70">
+ <children xsi:type="basic:Part" xmi:id="_ZHcNwOL-EeGP-5z69KadAQ" elementId="org.eclipse.fx.testcases.e4.part.0" contributionURI="bundleclass://org.eclipse.fx.testcases.e4/org.eclipse.fx.testcases.e4.parts.ContentPanel" label="C0" iconURI="platform:/plugin/org.eclipse.fx.testcases.e4/icons/folder.png" closeable="true">
+ <tags>Part-ToolBarMenu-Floating</tags>
+ <tags>Part-Toolbar-FullSpan</tags>
+ <tags>EFX_LC:bundleclass://org.eclipse.fx.testcases.e4/org.eclipse.fx.testcases.e4.lifecycle.LifeCycle</tags>
+ <menus xmi:id="_dsz2oIEQEeKxavJ0U4_mHQ" elementId="org.eclipse.fx.testcases.e4.menu.4">
+ <tags>ViewMenu</tags>
+ <children xsi:type="menu:DirectMenuItem" xmi:id="_h8rwYIEQEeKxavJ0U4_mHQ" elementId="org.eclipse.fx.testcases.e4.directmenuitem.5" label="View Menu 1" contributionURI="bundleclass://org.eclipse.fx.testcases.e4/org.eclipse.fx.testcases.e4.handlers.DiHandler2"/>
+ </menus>
+ <toolbar xmi:id="_eiPY4IEHEeKxavJ0U4_mHQ" elementId="org.eclipse.fx.testcases.e4.toolbar.2">
+ <children xsi:type="menu:DirectToolItem" xmi:id="_fH640IEHEeKxavJ0U4_mHQ" elementId="org.eclipse.fx.testcases.e4.directtoolitem.6" label="Bl" contributionURI="bundleclass://org.eclipse.fx.testcases.e4/org.eclipse.fx.testcases.e4.handlers.DiHandler2"/>
+ </toolbar>
+ </children>
+ <children xsi:type="basic:Part" xmi:id="_cjVs4OL-EeGP-5z69KadAQ" elementId="org.eclipse.fx.testcases.e4.part.1" contributionURI="bundleclass://org.eclipse.fx.testcases.e4/org.eclipse.fx.testcases.e4.parts.ContentPanel" label="C1">
+ <tags>Part-ToolBarMenu-Floating</tags>
+ <toolbar xmi:id="_QPi6AIHxEeKxavJ0U4_mHQ" elementId="org.eclipse.fx.testcases.e4.toolbar.4">
+ <children xsi:type="menu:DirectToolItem" xmi:id="_QxE5wIHxEeKxavJ0U4_mHQ" elementId="org.eclipse.fx.testcases.e4.directtoolitem.8" label="DI" contributionURI="bundleclass://org.eclipse.fx.testcases.e4/org.eclipse.fx.testcases.e4.handlers.DiHandler2"/>
+ </toolbar>
+ </children>
+ <children xsi:type="basic:Part" xmi:id="_f5-RgOL-EeGP-5z69KadAQ" elementId="org.eclipse.fx.testcases.e4.part.2" toBeRendered="false" contributionURI="bundleclass://org.eclipse.fx.testcases.e4/org.eclipse.fx.testcases.e4.parts.ContentPanel" label="C2" closeable="true"/>
+ <children xsi:type="basic:Part" xmi:id="_jRKPwOL-EeGP-5z69KadAQ" elementId="org.eclipse.fx.testcases.e4.part.3" contributionURI="bundleclass://org.eclipse.fx.testcases.e4/org.eclipse.fx.testcases.e4.parts.ContentPanel" label="C3" closeable="true"/>
+ <children xsi:type="advanced:Placeholder" xmi:id="_ddQGkPW5EeG7tr8qKhf17Q" elementId="org.eclipse.fx.testcases.e4.placeholder.0" ref="_T4J0kPW5EeG7tr8qKhf17Q"/>
+ <children xsi:type="basic:Part" xmi:id="_7H_jwBmWEeOe294q4QTZJg" elementId="org.eclipse.fx.testcases.e4.part.15" contributionURI="bundleclass://org.eclipse.fx.testcases.e4/org.eclipse.fx.testcases.e4.parts.TestPane" label="VBox Pane">
+ <tags>Container:VBox</tags>
+ </children>
+ <children xsi:type="basic:Part" xmi:id="_UXm2oI3yEeOEhJYRfEsdog" elementId="org.eclipse.fx.testcases.e4.part.17" contributionURI="bundleclass://org.eclipse.fx.testcases.e4/org.eclipse.fx.testcases.e4.parts.TestFXMLBuilder" label="FXMLLoader" closeable="true"/>
+ <children xsi:type="basic:Part" xmi:id="_NbT9cI3zEeOEhJYRfEsdog" elementId="org.eclipse.fx.testcases.e4.part.18" contributionURI="bundleclass://org.eclipse.fx.testcases.e4/org.eclipse.fx.testcases.e4.parts.TestExtendedFXMLBuilder" label="ExtendedFXMLLoader"/>
+ <children xsi:type="basic:Part" xmi:id="__dr90LpZEeOpi709HEnsKw" elementId="org.eclipse.fx.testcases.e4.part.20" contributionURI="bundleclass://org.eclipse.fx.testcases.e4/org.eclipse.fx.testcases.e4.parts.Test_431338" label="Test_431338"/>
+ </children>
+ <children xsi:type="basic:Part" xmi:id="_txxY4OMsEeGP-5z69KadAQ" elementId="org.eclipse.fx.testcases.e4.part.4" toBeRendered="false" containerData="10" contributionURI="bundleclass://org.eclipse.fx.testcases.e4/org.eclipse.fx.testcases.e4.parts.ContentPanel" label="C4"/>
+ <children xsi:type="basic:Part" xmi:id="_-czbgLpMEeOpi709HEnsKw" elementId="org.eclipse.fx.testcases.e4.part.19" containerData="10" contributionURI="bundleclass://org.eclipse.fx.testcases.e4/org.eclipse.fx.testcases.e4.parts.Test_431391" label="Label Test"/>
+ </children>
+ </children>
+ <children xsi:type="advanced:Perspective" xmi:id="_uIi_kO6wEeG4lfn-YKJbJw" elementId="org.eclipse.fx.testcases.e4.perspective.1" label="P 1">
+ <children xsi:type="basic:PartSashContainer" xmi:id="_wbAKYO6wEeG4lfn-YKJbJw" elementId="org.eclipse.fx.testcases.e4.partsashcontainer.0">
+ <children xsi:type="basic:Part" xmi:id="_xEsAkO6wEeG4lfn-YKJbJw" elementId="org.eclipse.fx.testcases.e4.part.5" contributionURI="bundleclass://org.eclipse.fx.testcases.e4/org.eclipse.fx.testcases.e4.parts.ContentPanel" label="C5" tooltip=""/>
+ <children xsi:type="basic:Part" xmi:id="_xntOEO6wEeG4lfn-YKJbJw" elementId="org.eclipse.fx.testcases.e4.part.6" contributionURI="bundleclass://org.eclipse.fx.testcases.e4/org.eclipse.fx.testcases.e4.parts.ContentPanel" label="C6"/>
+ <children xsi:type="advanced:Placeholder" xmi:id="_cRNfUPW7EeG7tr8qKhf17Q" elementId="org.eclipse.fx.testcases.e4.placeholder.0" ref="_T4J0kPW5EeG7tr8qKhf17Q"/>
+ </children>
+ </children>
+ <children xsi:type="advanced:Perspective" xmi:id="_EQ6_wCTGEeKdCOcPGN2T3w" elementId="org.eclipse.fx.testcases.e4.perspective.2" label="P 2">
+ <children xsi:type="advanced:Area" xmi:id="_EWB3UCTIEeKY8NYIo6jIvQ" elementId="org.eclipse.fx.testcases.e4.area.0" horizontal="true">
+ <children xsi:type="advanced:Placeholder" xmi:id="_IJx1wCTIEeKY8NYIo6jIvQ" elementId="org.eclipse.fx.testcases.e4.placeholder.1" ref="_T4J0kPW5EeG7tr8qKhf17Q"/>
+ <children xsi:type="advanced:Placeholder" xmi:id="_KaEdYCTIEeKY8NYIo6jIvQ" elementId="org.eclipse.fx.testcases.e4.placeholder.2" ref="_wH3xYCTGEeKdCOcPGN2T3w"/>
+ </children>
+ </children>
+ <children xsi:type="advanced:Perspective" xmi:id="_KhnNsCZmEeKqs9jU_V83wg" elementId="org.eclipse.fx.testcases.e4.perspective.3" label="P 3">
+ <children xsi:type="basic:PartSashContainer" xmi:id="_N8CGICZmEeKqs9jU_V83wg" elementId="org.eclipse.fx.testcases.e4.partsashcontainer.2" horizontal="true">
+ <tags>fx_fixedLayout</tags>
+ <children xsi:type="basic:Part" xmi:id="_Tp95UCZmEeKqs9jU_V83wg" elementId="org.eclipse.fx.testcases.e4.part.10" contributionURI="bundleclass://org.eclipse.fx.testcases.e4/org.eclipse.fx.testcases.e4.parts.ContentPanel" label="Part 10">
+ <persistedState key="fx_layout_width" value="300"/>
+ <tags>content_a</tags>
+ <menus xmi:id="_xwNwMIE0EeKxavJ0U4_mHQ" elementId="org.eclipse.fx.testcases.e4.menu.5">
+ <tags>ViewMenu</tags>
+ <children xsi:type="menu:DirectMenuItem" xmi:id="_y7B9gIE0EeKxavJ0U4_mHQ" elementId="org.eclipse.fx.testcases.e4.directmenuitem.6" label="Di" contributionURI="bundleclass://org.eclipse.fx.testcases.e4/org.eclipse.fx.testcases.e4.handlers.DiHandler2"/>
+ </menus>
+ <toolbar xmi:id="_83m7YIE0EeKxavJ0U4_mHQ" elementId="org.eclipse.fx.testcases.e4.toolbar.3">
+ <children xsi:type="menu:DirectToolItem" xmi:id="_9hPHMIE0EeKxavJ0U4_mHQ" elementId="org.eclipse.fx.testcases.e4.directtoolitem.7" label="DI" contributionURI="bundleclass://org.eclipse.fx.testcases.e4/org.eclipse.fx.testcases.e4.handlers.DiHandler2"/>
+ </toolbar>
+ </children>
+ <children xsi:type="basic:Part" xmi:id="_uiO8QCZmEeKqs9jU_V83wg" elementId="org.eclipse.fx.testcases.e4.part.11" contributionURI="bundleclass://org.eclipse.fx.testcases.e4/org.eclipse.fx.testcases.e4.parts.ContentPanel" label="Part 11">
+ <persistedState key="fx_layout_grab_horizontal" value="true"/>
+ <persistedState key="fx_layout_grab_vertical" value="true"/>
+ <tags>content_b</tags>
+ </children>
+ </children>
+ </children>
+ <children xsi:type="advanced:Perspective" xmi:id="_l1lrgCaCEeKqs9jU_V83wg" elementId="org.eclipse.fx.testcases.e4.perspective.4" label="P 4">
+ <children xsi:type="basic:PartStack" xmi:id="_n0_-gCaCEeKqs9jU_V83wg" elementId="org.eclipse.fx.testcases.e4.partstack.0">
+ <tags>fx_pagination</tags>
+ <children xsi:type="basic:Part" xmi:id="_x8MQ8CaCEeKqs9jU_V83wg" elementId="org.eclipse.fx.testcases.e4.part.12" contributionURI="bundleclass://org.eclipse.fx.testcases.e4/org.eclipse.fx.testcases.e4.parts.ContentPanel" label="Part 12"/>
+ <children xsi:type="basic:Part" xmi:id="_yVlBUCaCEeKqs9jU_V83wg" elementId="org.eclipse.fx.testcases.e4.part.13" contributionURI="bundleclass://org.eclipse.fx.testcases.e4/org.eclipse.fx.testcases.e4.parts.ContentPanel" label="Part 13"/>
+ </children>
+ </children>
+ <children xsi:type="advanced:Perspective" xmi:id="_9YqNgIfYEeKsYN0U3N_L9Q" elementId="org.eclipse.fx.testcases.e4.perspective.5" label="P5">
+ <children xsi:type="basic:Part" xmi:id="__HnCoIfYEeKsYN0U3N_L9Q" elementId="org.eclipse.fx.testcases.e4.part.14" contributionURI="bundleclass://org.eclipse.fx.testcases.e4/org.eclipse.fx.testcases.e4.parts.ContentPanel" label="Panel 14">
+ <tags>content_a</tags>
+ </children>
+ </children>
+ </children>
+ <mainMenu xmi:id="_W8hHoORZEeGP-5z69KadAQ" elementId="org.eclipse.fx.testcases.e4.menu.0">
+ <children xsi:type="menu:Menu" xmi:id="_Xwuy0ORZEeGP-5z69KadAQ" elementId="org.eclipse.fx.testcases.e4.menu.1" label="M1">
+ <tags>EFX_LC:bundleclass://org.eclipse.fx.testcases.e4/org.eclipse.fx.testcases.e4.lifecycle.MenuLifecycle</tags>
+ <children xsi:type="menu:HandledMenuItem" xmi:id="_f6s64ORqEeGP-5z69KadAQ" elementId="org.eclipse.fx.testcases.e4.handledmenuitem.0" label="Push - HI 0" iconURI="platform:/plugin/org.eclipse.fx.testcases.e4/icons/SampleIcon.fxml" command="_FEZr8OUcEeGP-5z69KadAQ"/>
+ <children xsi:type="menu:HandledMenuItem" xmi:id="_lb8V4ORqEeGP-5z69KadAQ" elementId="org.eclipse.fx.testcases.e4.handledmenuitem.1" label="Check - HI 1" type="Check" command="_3PQSEOqiEeGrz8mV_3Gr5A"/>
+ <children xsi:type="menu:HandledMenuItem" xmi:id="_pBaAsORqEeGP-5z69KadAQ" elementId="org.eclipse.fx.testcases.e4.handledmenuitem.2" label="Radio - HI 2" type="Radio" command="_FEZr8OUcEeGP-5z69KadAQ"/>
+ <children xsi:type="menu:HandledMenuItem" xmi:id="_rnWvQORqEeGP-5z69KadAQ" elementId="org.eclipse.fx.testcases.e4.handledmenuitem.3" label="Radio - HI 3" type="Radio" command="_FEZr8OUcEeGP-5z69KadAQ"/>
+ <children xsi:type="menu:Menu" xmi:id="_yWJigORqEeGP-5z69KadAQ" elementId="org.eclipse.fx.testcases.e4.menu.2" label="M1-1">
+ <children xsi:type="menu:DirectMenuItem" xmi:id="_1-PqkORqEeGP-5z69KadAQ" elementId="org.eclipse.fx.testcases.e4.directmenuitem.0" label="Push - DI 0" contributionURI="bundleclass://org.eclipse.fx.testcases.e4/org.eclipse.fx.testcases.e4.handlers.DiHandler"/>
+ <children xsi:type="menu:DirectMenuItem" xmi:id="_4k8nEORqEeGP-5z69KadAQ" elementId="org.eclipse.fx.testcases.e4.directmenuitem.1" label="Check - DI 1" type="Check" contributionURI="bundleclass://org.eclipse.fx.testcases.e4/org.eclipse.fx.testcases.e4.handlers.DiHandler"/>
+ <children xsi:type="menu:DirectMenuItem" xmi:id="_7Pm2gORqEeGP-5z69KadAQ" elementId="org.eclipse.fx.testcases.e4.directmenuitem.2" label="Radio - DI 2" type="Radio" contributionURI="bundleclass://org.eclipse.fx.testcases.e4/org.eclipse.fx.testcases.e4.handlers.DiHandler"/>
+ <children xsi:type="menu:DirectMenuItem" xmi:id="_-21b4ORqEeGP-5z69KadAQ" elementId="org.eclipse.fx.testcases.e4.directmenuitem.3" label="Radio - DI 3" type="Radio" contributionURI="bundleclass://org.eclipse.fx.testcases.e4/org.eclipse.fx.testcases.e4.handlers.DiHandler"/>
+ </children>
+ <children xsi:type="menu:DirectMenuItem" xmi:id="_VdrD0ER8EeKso-cEr7pQbw" elementId="org.eclipse.fx.testcases.e4.directmenuitem.4" label="Event Sending" contributionURI="bundleclass://org.eclipse.fx.testcases.e4/org.eclipse.fx.testcases.e4.handlers.EventSender"/>
+ <children xsi:type="menu:DirectMenuItem" xmi:id="_N4FhcIfmEeKsYN0U3N_L9Q" elementId="org.eclipse.fx.testcases.e4.directmenuitem.7" label="Exit" contributionURI="bundleclass://org.eclipse.fx.testcases.e4/org.eclipse.fx.testcases.e4.handlers.ExitHandler"/>
+ <children xsi:type="menu:DirectMenuItem" xmi:id="_3n7coIfmEeKsYN0U3N_L9Q" elementId="org.eclipse.fx.testcases.e4.directmenuitem.8" label="Restart" contributionURI="bundleclass://org.eclipse.fx.testcases.e4/org.eclipse.fx.testcases.e4.handlers.RestartHandler"/>
+ <children xsi:type="menu:DirectMenuItem" xmi:id="_O6iooPIZEeOjuvJ_FxLtnA" elementId="org.eclipse.fx.testcases.e4.directmenuitem.15" label="Restart with cleared persisted state" contributionURI="bundleclass://org.eclipse.fx.testcases.e4/org.eclipse.fx.testcases.e4.handlers.CleanRestartHandler"/>
+ <children xsi:type="menu:DirectMenuItem" xmi:id="_Y2UZcMg4EeKo1rUjbZCXsQ" elementId="org.eclipse.fx.testcases.e4.directmenuitem.11" label="Dynamic Window" contributionURI="bundleclass://org.eclipse.fx.testcases.e4/org.eclipse.fx.testcases.e4.handlers.DynamicWinHandler"/>
+ <children xsi:type="menu:DynamicMenuContribution" xmi:id="_yP8EsOHBEeKlH9jWGqiIew" elementId="org.eclipse.fx.testcases.e4.dynamicmenucontribution.0" label="Test" contributionURI="bundleclass://org.eclipse.fx.testcases.e4/org.eclipse.fx.testcases.e4.contributions.DMContribution"/>
+ <children xsi:type="menu:DirectMenuItem" xmi:id="_uPNeUOJ-EeKZGIZ9VF1S7Q" elementId="org.eclipse.fx.testcases.e4.directmenuitem.13" label="Register dynamic lifecycle" contributionURI="bundleclass://org.eclipse.fx.testcases.e4/org.eclipse.fx.testcases.e4.handlers.RegisterDynamicLifecycle"/>
+ <children xsi:type="menu:Menu" xmi:id="_KFx14C-JEeOp1Ym1-ovQ6w" elementId="org.eclipse.fx.testcases.e4.menu.7" label="DynSub">
+ <children xsi:type="menu:DynamicMenuContribution" xmi:id="_K52XIC-JEeOp1Ym1-ovQ6w" elementId="org.eclipse.fx.testcases.e4.dynamicmenucontribution.1" label="Test2" contributionURI="bundleclass://org.eclipse.fx.testcases.e4/org.eclipse.fx.testcases.e4.contributions.DMContribution"/>
+ </children>
+ <children xsi:type="menu:DirectMenuItem" xmi:id="_PeGl8E4IEeORU9_aphRSog" elementId="org.eclipse.fx.testcases.e4.directmenuitem.hideshow" visible="false" label="Hide/Show Test"/>
+ <children xsi:type="menu:DirectMenuItem" xmi:id="_hyZusGgdEeOUgLXBh1syGQ" elementId="org.eclipse.fx.testcases.e4.directmenuitem.14" label="Open Dialog" contributionURI="bundleclass://org.eclipse.fx.testcases.e4/org.eclipse.fx.testcases.e4.handlers.DialogTest"/>
+ </children>
+ <children xsi:type="menu:Menu" xmi:id="_d-oDwO6yEeG4lfn-YKJbJw" elementId="org.eclipse.fx.testcases.e4.menu.3" label="Switch">
+ <children xsi:type="menu:HandledMenuItem" xmi:id="_jYdPMO6yEeG4lfn-YKJbJw" elementId="org.eclipse.fx.testcases.e4.handledmenuitem.4" label="Perspective 0" command="_kCbZQO6yEeG4lfn-YKJbJw">
+ <parameters xmi:id="_cTZbkO6zEeG4lfn-YKJbJw" elementId="" name="org.eclipse.fx.testcases.e4.command.2.perspective" value="org.eclipse.fx.testcases.e4.perspective.0"/>
+ </children>
+ <children xsi:type="menu:HandledMenuItem" xmi:id="_qMwYEO6zEeG4lfn-YKJbJw" elementId="org.eclipse.fx.testcases.e4.handledmenuitem.5" label="Perspective 1" command="_kCbZQO6yEeG4lfn-YKJbJw">
+ <parameters xmi:id="_wqiT0O6zEeG4lfn-YKJbJw" elementId="" name="org.eclipse.fx.testcases.e4.command.2.perspective" value="org.eclipse.fx.testcases.e4.perspective.1"/>
+ </children>
+ <children xsi:type="menu:HandledMenuItem" xmi:id="_YIzeQCTIEeKY8NYIo6jIvQ" elementId="org.eclipse.fx.testcases.e4.handledmenuitem.6" label="Perspective 2" command="_kCbZQO6yEeG4lfn-YKJbJw">
+ <parameters xmi:id="_dtM68CTIEeKY8NYIo6jIvQ" elementId="" name="org.eclipse.fx.testcases.e4.command.2.perspective" value="org.eclipse.fx.testcases.e4.perspective.2"/>
+ </children>
+ <children xsi:type="menu:HandledMenuItem" xmi:id="_GjUWsCZnEeKqs9jU_V83wg" elementId="org.eclipse.fx.testcases.e4.handledmenuitem.8" label="Perspective 3" command="_kCbZQO6yEeG4lfn-YKJbJw">
+ <parameters xmi:id="_HkPoMCZnEeKqs9jU_V83wg" elementId="" name="org.eclipse.fx.testcases.e4.command.2.perspective" value="org.eclipse.fx.testcases.e4.perspective.3"/>
+ </children>
+ <children xsi:type="menu:HandledMenuItem" xmi:id="_6V3RoCaCEeKqs9jU_V83wg" elementId="org.eclipse.fx.testcases.e4.handledmenuitem.9" label="Perspective 4" command="_kCbZQO6yEeG4lfn-YKJbJw">
+ <parameters xmi:id="_7xfiICaCEeKqs9jU_V83wg" elementId="" name="org.eclipse.fx.testcases.e4.command.2.perspective" value="org.eclipse.fx.testcases.e4.perspective.4"/>
+ </children>
+ <children xsi:type="menu:HandledMenuItem" xmi:id="_MrnaMIfZEeKsYN0U3N_L9Q" elementId="org.eclipse.fx.testcases.e4.handledmenuitem.10" label="Perspective 5" command="_kCbZQO6yEeG4lfn-YKJbJw">
+ <parameters xmi:id="_PsE6gIfZEeKsYN0U3N_L9Q" elementId="" name="org.eclipse.fx.testcases.e4.command.2.perspective" value="org.eclipse.fx.testcases.e4.perspective.5"/>
+ </children>
+ </children>
+ <children xsi:type="menu:Menu" xmi:id="_xS050MayEeKo1rUjbZCXsQ" elementId="org.eclipse.fx.testcases.e4.menu.6" label="Multiple close">
+ <children xsi:type="menu:DirectMenuItem" xmi:id="_yhjWwMayEeKo1rUjbZCXsQ" elementId="org.eclipse.fx.testcases.e4.directmenuitem.9" label="Close all" iconURI="platform:/plugin/org.eclipse.fx.testcases.e4/css/images/window-close-over.png" contributionURI="bundleclass://org.eclipse.fx.testcases.e4/org.eclipse.fx.testcases.e4.handlers.BatchRemoveHandler"/>
+ <children xsi:type="menu:DirectMenuItem" xmi:id="_2R3msMayEeKo1rUjbZCXsQ" elementId="org.eclipse.fx.testcases.e4.directmenuitem.10" label="Close others" iconURI="platform:/plugin/org.eclipse.fx.testcases.e4/css/images/window-close-over.png" contributionURI="bundleclass://org.eclipse.fx.testcases.e4/org.eclipse.fx.testcases.e4.handlers.CloseOthersHandler"/>
+ <children xsi:type="menu:DirectMenuItem" xmi:id="_HrhKkOHEEeKlH9jWGqiIew" elementId="org.eclipse.fx.testcases.e4.directmenuitem.12" label="Close perspective" iconURI="platform:/plugin/org.eclipse.fx.testcases.e4/css/images/window-close-over.png" contributionURI="bundleclass://org.eclipse.fx.testcases.e4/org.eclipse.fx.testcases.e4.handlers.ClosePerspectiveHandler"/>
+ </children>
+ <children xsi:type="menu:Menu" xmi:id="_X6bdoC_uEeOp1Ym1-ovQ6w" elementId="org.eclipse.fx.testcases.e4.menu.8" label="Bla">
+ <children xsi:type="menu:HandledMenuItem" xmi:id="_ZWjdYC_uEeOp1Ym1-ovQ6w" elementId="org.eclipse.fx.testcases.e4.handledmenuitem.11" label="CMD 0" command="_FEZr8OUcEeGP-5z69KadAQ"/>
+ <children xsi:type="menu:DynamicMenuContribution" xmi:id="_euWogC_uEeOp1Ym1-ovQ6w" elementId="org.eclipse.fx.testcases.e4.dynamicmenucontribution.2" contributionURI="bundleclass://org.eclipse.fx.testcases.e4/org.eclipse.fx.testcases.e4.contributions.DMContribution"/>
+ </children>
+ </mainMenu>
+ <windows xmi:id="_tJumwF5uEeOE9IXWSZlx5Q" elementId="org.eclipse.fx.testcases.e4.window.0" label="Extra Window" x="100" y="100" width="200" height="200">
+ <children xsi:type="basic:Part" xmi:id="_i0GJgF6LEeOE9IXWSZlx5Q" elementId="org.eclipse.fx.testcases.e4.part.16" contributionURI="bundleclass://org.eclipse.fx.testcases.e4/org.eclipse.fx.testcases.e4.parts.ExtraWindowPart"/>
+ </windows>
+ <sharedElements xsi:type="basic:Part" xmi:id="_T4J0kPW5EeG7tr8qKhf17Q" elementId="org.eclipse.fx.testcases.e4.part.7" contributionURI="bundleclass://org.eclipse.fx.testcases.e4/org.eclipse.fx.testcases.e4.parts.ContentPanel" label="C7"/>
+ <sharedElements xsi:type="basic:PartSashContainer" xmi:id="_wH3xYCTGEeKdCOcPGN2T3w" elementId="org.eclipse.fx.testcases.e4.partsashcontainer.1">
+ <children xsi:type="basic:Part" xmi:id="_wppBsCTGEeKdCOcPGN2T3w" elementId="org.eclipse.fx.testcases.e4.part.8" containerData="1" contributionURI="bundleclass://org.eclipse.fx.testcases.e4/org.eclipse.fx.testcases.e4.parts.ContentPanel" label="P 8"/>
+ <children xsi:type="basic:Part" xmi:id="_3AyxACTGEeKdCOcPGN2T3w" elementId="org.eclipse.fx.testcases.e4.part.9" contributionURI="bundleclass://org.eclipse.fx.testcases.e4/org.eclipse.fx.testcases.e4.parts.ContentPanel" label="P 9"/>
+ </sharedElements>
+ <trimBars xmi:id="_A7Q9o-L-EeGP-5z69KadAQ">
+ <children xsi:type="menu:ToolBar" xmi:id="_A7Q9pOL-EeGP-5z69KadAQ" elementId="org.efxclipse.e4.maintoolbar">
+ <children xsi:type="menu:HandledToolItem" xmi:id="_fbkNAORYEeGP-5z69KadAQ" elementId="org.eclipse.fx.testcases.e4.handledtoolitem.0" label="Push - HI 0" command="_FEZr8OUcEeGP-5z69KadAQ"/>
+ <children xsi:type="menu:HandledToolItem" xmi:id="_gbQvcORYEeGP-5z69KadAQ" elementId="org.eclipse.fx.testcases.e4.handledtoolitem.1" label="Check - HI 1" selected="true" type="Check" command="_3PQSEOqiEeGrz8mV_3Gr5A"/>
+ <children xsi:type="menu:HandledToolItem" xmi:id="_suBhkORYEeGP-5z69KadAQ" elementId="org.eclipse.fx.testcases.e4.handledtoolitem.2" label="Radio - HI 2" type="Radio" command="_FEZr8OUcEeGP-5z69KadAQ"/>
+ <children xsi:type="menu:HandledToolItem" xmi:id="_3aRo4ORYEeGP-5z69KadAQ" elementId="org.eclipse.fx.testcases.e4.handledtoolitem.3" label="Radio - HI 3" type="Radio" command="_FEZr8OUcEeGP-5z69KadAQ"/>
+ <children xsi:type="menu:HandledToolItem" xmi:id="_88IH4ORYEeGP-5z69KadAQ" elementId="org.eclipse.fx.testcases.e4.handledtoolitem.4" label="Split - HI 4" command="_FEZr8OUcEeGP-5z69KadAQ">
+ <menu xmi:id="_WI3gUORdEeGcrYrtitkVHQ" elementId="org.eclipse.fx.testcases.e4.menu.0">
+ <tags>EFX_LC:bundleclass://org.eclipse.fx.testcases.e4/org.eclipse.fx.testcases.e4.lifecycle.MenuLifecycle</tags>
+ <children xsi:type="menu:HandledMenuItem" xmi:id="_9EluEORdEeGcrYrtitkVHQ" elementId="org.eclipse.fx.testcases.e4.handledmenuitem.0" label="ToolItem Menu 1" command="_FEZr8OUcEeGP-5z69KadAQ"/>
+ <children xsi:type="menu:HandledMenuItem" xmi:id="_Eei-MOReEeGcrYrtitkVHQ" elementId="org.eclipse.fx.testcases.e4.handledmenuitem.0" label="ToolItem Menu 2"/>
+ </menu>
+ </children>
+ <children xsi:type="menu:ToolControl" xmi:id="_MfBjgNZYEeKlJ9ZUcG3l2Q" elementId="org.eclipse.fx.testcases.e4.toolcontrol.1" contributionURI="bundleclass://org.eclipse.fx.testcases.e4/org.eclipse.fx.testcases.e4.tool.ToolControlSample"/>
+ </children>
+ <children xsi:type="menu:ToolBar" xmi:id="_kDT7AOZXEeGrz8mV_3Gr5A" elementId="org.eclipse.fx.testcases.e4.toolbar.1">
+ <tags>fillspace</tags>
+ <children xsi:type="menu:DirectToolItem" xmi:id="_lavA8OZXEeGrz8mV_3Gr5A" elementId="org.eclipse.fx.testcases.e4.directtoolitem.0" label="Push - DI 0" contributionURI="bundleclass://org.eclipse.fx.testcases.e4/org.eclipse.fx.testcases.e4.handlers.DiHandler"/>
+ <children xsi:type="menu:DirectToolItem" xmi:id="_okY5gOZXEeGrz8mV_3Gr5A" elementId="org.eclipse.fx.testcases.e4.directtoolitem.1" label="Check - DI 1" type="Check" contributionURI="bundleclass://org.eclipse.fx.testcases.e4/org.eclipse.fx.testcases.e4.handlers.DiHandler"/>
+ <children xsi:type="menu:DirectToolItem" xmi:id="_s6sycOZXEeGrz8mV_3Gr5A" elementId="org.eclipse.fx.testcases.e4.directtoolitem.2" label="Radio - DI 2" type="Radio" contributionURI="bundleclass://org.eclipse.fx.testcases.e4/org.eclipse.fx.testcases.e4.handlers.DiHandler"/>
+ <children xsi:type="menu:DirectToolItem" xmi:id="_vOWQEOZXEeGrz8mV_3Gr5A" elementId="org.eclipse.fx.testcases.e4.directtoolitem.3" label="Radio - DI 3" type="Radio" contributionURI="bundleclass://org.eclipse.fx.testcases.e4/org.eclipse.fx.testcases.e4.handlers.DiHandler"/>
+ <children xsi:type="menu:DirectToolItem" xmi:id="_xaLOcOZXEeGrz8mV_3Gr5A" elementId="org.eclipse.fx.testcases.e4.directtoolitem.4" label="Split - DI 4" contributionURI="bundleclass://org.eclipse.fx.testcases.e4/org.eclipse.fx.testcases.e4.handlers.DiHandler"/>
+ </children>
+ <children xsi:type="menu:ToolControl" xmi:id="_Na3dgNZUEeKlJ9ZUcG3l2Q" elementId="org.eclipse.fx.testcases.e4.toolcontrol.0" contributionURI="bundleclass://org.eclipse.fx.testcases.e4/org.eclipse.fx.testcases.e4.tool.ToolControlSample"/>
+ </trimBars>
+ <trimBars xmi:id="_s3Z_EL5SEeOCpM9MHb7gVw" elementId="org.eclipse.fx.testcases.e4.trimbar.0" side="Left">
+ <children xsi:type="menu:ToolBar" xmi:id="_upiEAL5SEeOCpM9MHb7gVw" elementId="org.eclipse.fx.testcases.e4.toolbar.5">
+ <children xsi:type="menu:DirectToolItem" xmi:id="_ve_FUL5SEeOCpM9MHb7gVw" elementId="org.eclipse.fx.testcases.e4.directtoolitem.9" label="V1" contributionURI="bundleclass://org.eclipse.fx.testcases.e4/org.eclipse.fx.testcases.e4.handlers.DiHandler"/>
+ <children xsi:type="menu:DirectToolItem" xmi:id="_w4yJ0L5SEeOCpM9MHb7gVw" elementId="org.eclipse.fx.testcases.e4.directtoolitem.10" label="V2" contributionURI="bundleclass://org.eclipse.fx.testcases.e4/org.eclipse.fx.testcases.e4.handlers.DiHandler"/>
+ </children>
+ </trimBars>
+ </children>
+ <handlers xmi:id="_H2FJYOUcEeGP-5z69KadAQ" elementId="org.eclipse.fx.testcases.e4.handler.0" contributionURI="bundleclass://org.eclipse.fx.testcases.e4/org.eclipse.fx.testcases.e4.handlers.Handler0" command="_FEZr8OUcEeGP-5z69KadAQ"/>
+ <handlers xmi:id="_0_q1EOqiEeGrz8mV_3Gr5A" elementId="org.eclipse.fx.testcases.e4.handler.0" contributionURI="bundleclass://org.eclipse.fx.testcases.e4/org.eclipse.fx.testcases.e4.handlers.Handler1" command="_3PQSEOqiEeGrz8mV_3Gr5A"/>
+ <handlers xmi:id="_otsOgO6yEeG4lfn-YKJbJw" elementId="org.eclipse.fx.testcases.e4.handler.0" contributionURI="bundleclass://org.eclipse.fx.testcases.e4/org.eclipse.fx.testcases.e4.handlers.SwitchPerspectiveHandler" command="_kCbZQO6yEeG4lfn-YKJbJw"/>
+ <handlers xmi:id="__UfAcD4rEeKaHfJUGGs7Mw" elementId="org.eclipse.fx.testcases.e4.handler.1" contributionURI="bundleclass://org.eclipse.fx.testcases.e4/org.eclipse.fx.testcases.e4.handlers.FunctionHandler" command="_8Tn3gD4rEeKaHfJUGGs7Mw"/>
+ <bindingTables xmi:id="_A7QWm-L-EeGP-5z69KadAQ" bindingContext="_A7QWkeL-EeGP-5z69KadAQ">
+ <bindings xmi:id="_XqO-oOUcEeGP-5z69KadAQ" keySequence="CTRL+I" command="_FEZr8OUcEeGP-5z69KadAQ"/>
+ <bindings xmi:id="_6h40ID4rEeKaHfJUGGs7Mw" elementId="org.eclipse.fx.testcases.e4.keybinding.0" keySequence="F2" command="_8Tn3gD4rEeKaHfJUGGs7Mw"/>
+ </bindingTables>
+ <rootContext xmi:id="_A7QWkeL-EeGP-5z69KadAQ" elementId="org.eclipse.ui.contexts.dialogAndWindow" name="In Dialog and Windows">
+ <children xmi:id="_A7QWkuL-EeGP-5z69KadAQ" elementId="org.eclipse.ui.contexts.window" name="In Windows"/>
+ <children xmi:id="_A7QWk-L-EeGP-5z69KadAQ" elementId="org.eclipse.ui.contexts.dialog" name="In Dialogs"/>
+ </rootContext>
+ <commands xmi:id="_FEZr8OUcEeGP-5z69KadAQ" elementId="org.eclipse.fx.testcases.e4.command.0" commandName="CMD 0"/>
+ <commands xmi:id="_3PQSEOqiEeGrz8mV_3Gr5A" elementId="org.eclipse.fx.testcases.e4.command.1" commandName="CMD 1"/>
+ <commands xmi:id="_kCbZQO6yEeG4lfn-YKJbJw" elementId="org.eclipse.fx.testcases.e4.command.2" commandName="Switch Perspective">
+ <parameters xmi:id="_mCIAIO6yEeG4lfn-YKJbJw" elementId="org.eclipse.fx.testcases.e4.command.2.perspective" name="Perspective Id" optional="false"/>
+ </commands>
+ <commands xmi:id="_8Tn3gD4rEeKaHfJUGGs7Mw" elementId="org.eclipse.fx.testcases.e4.command.3" commandName="Function Keybinding"/>
+ <addons xmi:id="_A7QWlOL-EeGP-5z69KadAQ" elementId="org.eclipse.e4.core.commands.service" contributionURI="bundleclass://org.eclipse.e4.core.commands/org.eclipse.e4.core.commands.CommandServiceAddon"/>
+ <addons xmi:id="_A7QWleL-EeGP-5z69KadAQ" elementId="org.eclipse.e4.ui.contexts.service" contributionURI="bundleclass://org.eclipse.e4.ui.services/org.eclipse.e4.ui.services.ContextServiceAddon"/>
+ <addons xmi:id="_A7QWluL-EeGP-5z69KadAQ" elementId="org.eclipse.fx.ui.keybindings.e4.service" contributionURI="bundleclass://org.eclipse.fx.ui.keybindings.e4/org.eclipse.fx.ui.keybindings.e4.BindingServiceAddon"/>
+ <addons xmi:id="_A7QWl-L-EeGP-5z69KadAQ" elementId="org.eclipse.e4.ui.workbench.commands.model" contributionURI="bundleclass://org.eclipse.e4.ui.workbench/org.eclipse.e4.ui.internal.workbench.addons.CommandProcessingAddon"/>
+ <addons xmi:id="_A7QWmOL-EeGP-5z69KadAQ" elementId="org.eclipse.e4.ui.workbench.contexts.model" contributionURI="bundleclass://org.eclipse.e4.ui.workbench/org.eclipse.e4.ui.internal.workbench.addons.ContextProcessingAddon"/>
+ <addons xmi:id="_tQtNQOUbEeGP-5z69KadAQ" elementId="org.eclipse.fx.ui.keybindings.e4.model" contributionURI="bundleclass://org.eclipse.fx.ui.keybindings.e4/org.eclipse.fx.ui.keybindings.e4.BindingProcessingAddon"/>
+ <addons xmi:id="_3c-AUL89EeKIBMNbSVZPsw" elementId="org.eclipse.e4.ui.workbench.addons.HandlerProcessingAddon" contributionURI="bundleclass://org.eclipse.e4.ui.workbench/org.eclipse.e4.ui.internal.workbench.addons.HandlerProcessingAddon"/>
+ <addons xmi:id="_9h-HsOHDEeKlH9jWGqiIew" elementId="org.eclipse.fx.testcases.e4.addon.0" contributionURI="bundleclass://org.eclipse.fx.ui.lifecycle/org.eclipse.fx.ui.lifecycle.LifecycleAddon"/>
+</application:Application>
diff --git a/testcases/org.eclipse.fx.testcases.e4/org.eclipse.fx.testcases.e4.product b/testcases/org.eclipse.fx.testcases.e4/org.eclipse.fx.testcases.e4.product
index 2b3b19e23..a69a2ef05 100755
--- a/testcases/org.eclipse.fx.testcases.e4/org.eclipse.fx.testcases.e4.product
+++ b/testcases/org.eclipse.fx.testcases.e4/org.eclipse.fx.testcases.e4.product
@@ -7,8 +7,10 @@
</configIni>
<launcherArgs>
- <programArgs>-nosplash -clearPersistedState</programArgs>
- <vmArgs>-Dosgi.framework.extensions=org.eclipse.fx.osgi</vmArgs>
+ <programArgs>-nosplash
+ </programArgs>
+ <vmArgs>-Dosgi.framework.extensions=org.eclipse.fx.osgi
+ </vmArgs>
</launcherArgs>
<windowImages/>
@@ -40,7 +42,6 @@
<plugin id="org.eclipse.core.jobs"/>
<plugin id="org.eclipse.core.resources"/>
<plugin id="org.eclipse.core.runtime"/>
- <plugin id="org.eclipse.core.runtime.compatibility.registry" fragment="true"/>
<plugin id="org.eclipse.e4.core.commands"/>
<plugin id="org.eclipse.e4.core.contexts"/>
<plugin id="org.eclipse.e4.core.di"/>
@@ -55,6 +56,7 @@
<plugin id="org.eclipse.emf.databinding.edit"/>
<plugin id="org.eclipse.emf.ecore"/>
<plugin id="org.eclipse.emf.ecore.change"/>
+ <plugin id="org.eclipse.emf.ecore.de" fragment="true"/>
<plugin id="org.eclipse.emf.ecore.xmi"/>
<plugin id="org.eclipse.emf.edit"/>
<plugin id="org.eclipse.equinox.app"/>
@@ -69,12 +71,14 @@
<plugin id="org.eclipse.fx.core.databinding"/>
<plugin id="org.eclipse.fx.core.di"/>
<plugin id="org.eclipse.fx.core.di.context"/>
+ <plugin id="org.eclipse.fx.core.fxml"/>
<plugin id="org.eclipse.fx.emf.databinding"/>
<plugin id="org.eclipse.fx.javafx"/>
<plugin id="org.eclipse.fx.osgi" fragment="true"/>
<plugin id="org.eclipse.fx.osgi.util"/>
<plugin id="org.eclipse.fx.testcases.e4"/>
<plugin id="org.eclipse.fx.ui.animation"/>
+ <plugin id="org.eclipse.fx.ui.controls"/>
<plugin id="org.eclipse.fx.ui.databinding"/>
<plugin id="org.eclipse.fx.ui.di"/>
<plugin id="org.eclipse.fx.ui.dialogs"/>
@@ -88,10 +92,10 @@
<plugin id="org.eclipse.fx.ui.theme"/>
<plugin id="org.eclipse.fx.ui.workbench.base"/>
<plugin id="org.eclipse.fx.ui.workbench.fx"/>
- <plugin id="org.eclipse.fx.ui.workbench.fx.controls"/>
<plugin id="org.eclipse.fx.ui.workbench.renderers.base"/>
<plugin id="org.eclipse.fx.ui.workbench.renderers.fx"/>
<plugin id="org.eclipse.osgi"/>
+ <plugin id="org.eclipse.osgi.compatibility.state" fragment="true"/>
<plugin id="org.eclipse.osgi.services"/>
</plugins>
diff --git a/testcases/org.eclipse.fx.testcases.e4/src/org/eclipse/fx/testcases/e4/handlers/CleanRestartHandler.java b/testcases/org.eclipse.fx.testcases.e4/src/org/eclipse/fx/testcases/e4/handlers/CleanRestartHandler.java
new file mode 100644
index 000000000..4a9147b64
--- /dev/null
+++ b/testcases/org.eclipse.fx.testcases.e4/src/org/eclipse/fx/testcases/e4/handlers/CleanRestartHandler.java
@@ -0,0 +1,23 @@
+/*******************************************************************************
+ * Copyright (c) 2014 EM-SOFTWARE and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Christoph Keimel <c.keimel@emsw.de> - initial API and implementation
+ *******************************************************************************/
+package org.eclipse.fx.testcases.e4.handlers;
+
+import org.eclipse.e4.core.di.annotations.Execute;
+import org.eclipse.fx.ui.services.restart.RestartService;
+
+public class CleanRestartHandler {
+
+ @Execute
+ public void execute(RestartService restartService) {
+ restartService.restart(true);
+ }
+
+} \ No newline at end of file
diff --git a/testcases/org.eclipse.fx.testcases.e4/src/org/eclipse/fx/testcases/e4/handlers/ExitHandler.java b/testcases/org.eclipse.fx.testcases.e4/src/org/eclipse/fx/testcases/e4/handlers/ExitHandler.java
index d3b058d5e..d13b763ae 100755
--- a/testcases/org.eclipse.fx.testcases.e4/src/org/eclipse/fx/testcases/e4/handlers/ExitHandler.java
+++ b/testcases/org.eclipse.fx.testcases.e4/src/org/eclipse/fx/testcases/e4/handlers/ExitHandler.java
@@ -11,14 +11,14 @@
package org.eclipse.fx.testcases.e4.handlers;
import org.eclipse.e4.core.di.annotations.Execute;
-import org.eclipse.e4.ui.workbench.IWorkbench;
+import org.eclipse.fx.ui.services.restart.RestartService;
@SuppressWarnings("restriction")
public class ExitHandler {
@Execute
- void close(IWorkbench workbench) {
- workbench.close();
+ public void execute(RestartService restartService) {
+ restartService.shutdown();
}
}
diff --git a/testcases/org.eclipse.fx.testcases.e4/src/org/eclipse/fx/testcases/e4/handlers/RestartHandler.java b/testcases/org.eclipse.fx.testcases.e4/src/org/eclipse/fx/testcases/e4/handlers/RestartHandler.java
index 4c49c37d3..cf6b8debd 100755
--- a/testcases/org.eclipse.fx.testcases.e4/src/org/eclipse/fx/testcases/e4/handlers/RestartHandler.java
+++ b/testcases/org.eclipse.fx.testcases.e4/src/org/eclipse/fx/testcases/e4/handlers/RestartHandler.java
@@ -11,15 +11,14 @@
package org.eclipse.fx.testcases.e4.handlers;
import org.eclipse.e4.core.di.annotations.Execute;
-import org.eclipse.e4.ui.model.application.MApplication;
-import org.eclipse.e4.ui.workbench.IWorkbench;
-import org.eclipse.equinox.app.IApplication;
+import org.eclipse.fx.ui.services.restart.RestartService;
@SuppressWarnings("restriction")
public class RestartHandler {
+
@Execute
- public void restart(IWorkbench workbench, MApplication application) {
- application.getContext().set("e4.osgi.exit.code", IApplication.EXIT_RESTART);
- workbench.close();
+ public void execute(RestartService restartService) {
+ restartService.restart(false);
}
+
}
diff --git a/testcases/org.eclipse.fx.testcases.e4/src/org/eclipse/fx/testcases/e4/parts/StartCountPart.java b/testcases/org.eclipse.fx.testcases.e4/src/org/eclipse/fx/testcases/e4/parts/StartCountPart.java
new file mode 100644
index 000000000..8092b08c9
--- /dev/null
+++ b/testcases/org.eclipse.fx.testcases.e4/src/org/eclipse/fx/testcases/e4/parts/StartCountPart.java
@@ -0,0 +1,42 @@
+/*******************************************************************************
+ * Copyright (c) 2014 EM-SOFTWARE and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Christoph Keimel <c.keimel@emsw.de> - initial API and implementation
+ *******************************************************************************/
+package org.eclipse.fx.testcases.e4.parts;
+
+import java.util.Map;
+
+import javafx.scene.control.Label;
+import javafx.scene.layout.BorderPane;
+
+import javax.annotation.PostConstruct;
+
+import org.eclipse.e4.ui.model.application.ui.basic.MPart;
+
+public class StartCountPart {
+
+ private Integer startCount;
+
+ @PostConstruct
+ void postContruct(MPart part, BorderPane p) {
+ Map<String, String> persistedState = part.getPersistedState();
+ String startCountValue = persistedState.get("startCount");
+ if (startCountValue == null) {
+ startCount = 0;
+ } else {
+ startCount = Integer.valueOf(startCountValue);
+ }
+ startCount++;
+ persistedState.put("startCount", startCount.toString());
+
+ Label textField = new Label("Number of times started without cleaning the persisted state: " + startCount);
+ textField.setWrapText(true);
+ p.setCenter(textField);
+ }
+}

Back to the top