Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Comparing changes

Choose two branches to see what's changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
...
Checking mergeability… Don't worry, you can still create the pull request.
  • 8 commits
  • 45 files changed
  • 0 commit comments
  • 1 contributor
Showing with 381 additions and 419 deletions.
  1. +3 −3 README.html
  2. +6 −5 exercises/Exercise_01_Create_RCP_Bundle/README.html
  3. BIN  exercises/Exercise_02_Add_Test_Fragment/resources/junit_min_version.png
  4. +39 −39 exercises/Exercise_02_Add_Test_Fragment/tychodemo.bundle/Application.e4xmi
  5. +11 −12 exercises/Exercise_02_Add_Test_Fragment/tychodemo.bundle/META-INF/MANIFEST.MF
  6. +1 −1  exercises/Exercise_02_Add_Test_Fragment/tychodemo.bundle/src/tychodemo/bundle/handlers/AboutHandler.java
  7. +2 −1  exercises/Exercise_02_Add_Test_Fragment/tychodemo.bundle/tychodemo.bundle.product
  8. +2 −1  exercises/Exercise_02_Add_Test_Fragment/tychodemo.parent/README.html
  9. +1 −1  exercises/Exercise_02_Add_Test_Fragment/tychodemo.parent/pom.xml
  10. +1 −1  exercises/Exercise_03_Add_Feature/tychodemo.bundle.tests/META-INF/MANIFEST.MF
  11. +10 −14 exercises/Exercise_03_Add_Feature/tychodemo.bundle.tests/pom.xml
  12. +39 −39 exercises/Exercise_03_Add_Feature/tychodemo.bundle/Application.e4xmi
  13. +11 −12 exercises/Exercise_03_Add_Feature/tychodemo.bundle/META-INF/MANIFEST.MF
  14. +1 −1  exercises/Exercise_03_Add_Feature/tychodemo.bundle/src/tychodemo/bundle/handlers/AboutHandler.java
  15. +2 −1  exercises/Exercise_03_Add_Feature/tychodemo.bundle/tychodemo.bundle.product
  16. +2 −2 exercises/Exercise_03_Add_Feature/tychodemo.parent/pom.xml
  17. +1 −1  exercises/Exercise_04_Add_P2_Repository/tychodemo.bundle.tests/META-INF/MANIFEST.MF
  18. +10 −14 exercises/Exercise_04_Add_P2_Repository/tychodemo.bundle.tests/pom.xml
  19. +39 −39 exercises/Exercise_04_Add_P2_Repository/tychodemo.bundle/Application.e4xmi
  20. +11 −12 exercises/Exercise_04_Add_P2_Repository/tychodemo.bundle/META-INF/MANIFEST.MF
  21. +1 −1  exercises/Exercise_04_Add_P2_Repository/tychodemo.bundle/src/tychodemo/bundle/handlers/AboutHandler.java
  22. +2 −1  exercises/Exercise_04_Add_P2_Repository/tychodemo.bundle/tychodemo.bundle.product
  23. +10 −14 exercises/Exercise_04_Add_P2_Repository/tychodemo.feature/pom.xml
  24. +3 −3 exercises/Exercise_04_Add_P2_Repository/tychodemo.parent/pom.xml
  25. BIN  exercises/Exercise_05_Add_Product/resources/core_resources_missing.png
  26. BIN  exercises/Exercise_05_Add_Product/resources/core_resources_removal.png
  27. +1 −1  exercises/Exercise_05_Add_Product/tychodemo.bundle.tests/META-INF/MANIFEST.MF
  28. +10 −14 exercises/Exercise_05_Add_Product/tychodemo.bundle.tests/pom.xml
  29. +39 −39 exercises/Exercise_05_Add_Product/tychodemo.bundle/Application.e4xmi
  30. +11 −12 exercises/Exercise_05_Add_Product/tychodemo.bundle/META-INF/MANIFEST.MF
  31. +1 −1  exercises/Exercise_05_Add_Product/tychodemo.bundle/src/tychodemo/bundle/handlers/AboutHandler.java
  32. +2 −1  exercises/Exercise_05_Add_Product/tychodemo.bundle/tychodemo.bundle.product
  33. +10 −14 exercises/Exercise_05_Add_Product/tychodemo.feature/pom.xml
  34. +1 −8 exercises/Exercise_05_Add_Product/tychodemo.parent/README.html
  35. +4 −4 exercises/Exercise_05_Add_Product/tychodemo.parent/pom.xml
  36. +11 −15 exercises/Exercise_05_Add_Product/tychodemo.repository/pom.xml
  37. +1 −1  exercises/Exercise_05_Solution/tychodemo.bundle.tests/META-INF/MANIFEST.MF
  38. +10 −14 exercises/Exercise_05_Solution/tychodemo.bundle.tests/pom.xml
  39. +39 −39 exercises/Exercise_05_Solution/tychodemo.bundle/Application.e4xmi
  40. +11 −11 exercises/Exercise_05_Solution/tychodemo.bundle/META-INF/MANIFEST.MF
  41. +1 −1  exercises/Exercise_05_Solution/tychodemo.bundle/src/tychodemo/bundle/handlers/AboutHandler.java
  42. +10 −14 exercises/Exercise_05_Solution/tychodemo.feature/pom.xml
  43. +4 −4 exercises/Exercise_05_Solution/tychodemo.parent/pom.xml
  44. +3 −5 exercises/Exercise_05_Solution/tychodemo.repository/pom.xml
  45. +4 −3 exercises/Exercise_05_Solution/tychodemo.repository/tychodemo.bundle.product
View
6 README.html
@@ -1,14 +1,14 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
-<title>EclipseCon 2012 Tycho Tutorial</title>
+<title>EclipseCon Europe 2012 Tycho Tutorial</title>
</head>
<body>
-<h1>EclipseCon 2012 Tycho Tutorial</h1>
+<h1>EclipseCon Europe 2012 Tycho Tutorial</h1>
<h2>Setup/Prerequisites</h2>
<ol>
-<li>You need a Juno M6 eclipse classic SDK with m2eclipse, m2e Tycho configurators and e4 Tools installed.<br/>
+<li>You need a Juno SR1 eclipse classic SDK with m2eclipse, m2e Tycho configurators and e4 Tools installed.<br/>
For your convenience, we provide <a href="../">pre-packaged zips/tarballs</a> with this installation in the root folder of the USB stick. </li>
<li>Copy and unpack the eclipse SDK archive for your platform and start it.<br/> NOTE: for the 64-bit versions you will need a 64-bit JVM installed</li>
<li>Copy folder <tt>tutorial/</tt> to your local harddrive, e.g. to <tt>C:\temp\tycho\</tt> or <tt>~/tycho/</tt></li>
View
11 exercises/Exercise_01_Create_RCP_Bundle/README.html
@@ -14,10 +14,10 @@
<ol>
<li>Create a new e4 Application with name <tt>tychodemo.bundle</tt>
<ul>
-<li><tt>File > New > Project > e4 > e4 Application Project</tt></li>
+<li><tt>File > New > Project > Eclipse 4 > Eclipse 4 Application Project</tt></li>
<li>Enter "tychodemo.bundle" as project name</li>
<li>In "Content", enter Name: "Tycho Demo Bundle"</li>
-<li>In "e4 Application", keep all default values and press Finish</li>
+<li>In "Eclipse 4 Application", keep all default values and press Finish</li>
<table>
<tr>
<td valign="top"><img src ="resources/new_e4_app.png" /></td>
@@ -31,8 +31,9 @@
</ul>
<li>Run the application to check if it works:
<ul>
- <li>Open the Product definition file <tt>tychodemo.bundle.product</tt>, tab "Overview"</li>
- <li>Press "Launch an Eclipse application"<br/>
+ <li>Open the Product definition file <tt>tychodemo.bundle.product</tt></li>
+ <li>Open the tab "Dependencies" and press "Add Required Plug-ins" (this is a workaround, the generated product is not self-contained)</li>
+ <li>In the tab "Overview", press "Launch an Eclipse application"<br/>
<img src="resources/product_1.png"/>
</li>
@@ -73,7 +74,7 @@
<pre>
&lt;properties&gt;
- &lt;tycho-version&gt;0.14.1&lt;/tycho-version&gt;
+ &lt;tycho-version&gt;0.16.0&lt;/tycho-version&gt;
&lt;/properties&gt;
</pre>
</li>
View
BIN  exercises/Exercise_02_Add_Test_Fragment/resources/junit_min_version.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
78 exercises/Exercise_02_Add_Test_Fragment/tychodemo.bundle/Application.e4xmi
@@ -1,52 +1,52 @@
<?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="_XS7TUHHYEeGdaqKGFl0Tiw" elementId="org.eclipse.e4.ide.application" bindingContexts="_XS7TUXHYEeGdaqKGFl0Tiw">
- <children xsi:type="basic:TrimmedWindow" xmi:id="_XS76Z3HYEeGdaqKGFl0Tiw" label="tychodemo.bundle" width="500" height="400">
- <children xsi:type="advanced:PerspectiveStack" xmi:id="_XS76b3HYEeGdaqKGFl0Tiw">
- <children xsi:type="advanced:Perspective" xmi:id="_XS76cHHYEeGdaqKGFl0Tiw">
- <children xsi:type="basic:PartSashContainer" xmi:id="_XS76cXHYEeGdaqKGFl0Tiw">
- <children xsi:type="basic:PartStack" xmi:id="_XS8hcHHYEeGdaqKGFl0Tiw"/>
+<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="_I8ZGsBecEeKuGYX8YauIGQ" elementId="org.eclipse.e4.ide.application" bindingContexts="_I8ZGsRecEeKuGYX8YauIGQ">
+ <children xsi:type="basic:TrimmedWindow" xmi:id="_I8ZGxxecEeKuGYX8YauIGQ" label="tychodemo.bundle" width="500" height="400">
+ <children xsi:type="advanced:PerspectiveStack" xmi:id="_I8ZtxRecEeKuGYX8YauIGQ">
+ <children xsi:type="advanced:Perspective" xmi:id="_I8ZtxhecEeKuGYX8YauIGQ">
+ <children xsi:type="basic:PartSashContainer" xmi:id="_I8ZtxxecEeKuGYX8YauIGQ">
+ <children xsi:type="basic:PartStack" xmi:id="_I8ZtyBecEeKuGYX8YauIGQ"/>
</children>
</children>
</children>
- <mainMenu xmi:id="_XS76aHHYEeGdaqKGFl0Tiw" elementId="menu:org.eclipse.ui.main.menu">
- <children xsi:type="menu:Menu" xmi:id="_XS76aXHYEeGdaqKGFl0Tiw" label="File">
- <children xsi:type="menu:HandledMenuItem" xmi:id="_XS76anHYEeGdaqKGFl0Tiw" label="Open" iconURI="platform:/plugin/tychodemo.bundle/icons/sample.gif" command="_XS7TXnHYEeGdaqKGFl0Tiw"/>
- <children xsi:type="menu:HandledMenuItem" xmi:id="_XS76a3HYEeGdaqKGFl0Tiw" label="Save" iconURI="platform:/plugin/tychodemo.bundle/icons/save_edit.gif" command="_XS76YXHYEeGdaqKGFl0Tiw"/>
- <children xsi:type="menu:HandledMenuItem" xmi:id="_XS76bHHYEeGdaqKGFl0Tiw" label="Quit" command="_XS7TWnHYEeGdaqKGFl0Tiw"/>
+ <mainMenu xmi:id="_I8ZGyBecEeKuGYX8YauIGQ" elementId="menu:org.eclipse.ui.main.menu">
+ <children xsi:type="menu:Menu" xmi:id="_I8ZGyRecEeKuGYX8YauIGQ" label="File">
+ <children xsi:type="menu:HandledMenuItem" xmi:id="_I8ZtwBecEeKuGYX8YauIGQ" label="Open" iconURI="platform:/plugin/tychodemo.bundle/icons/sample.gif" command="_I8ZGvhecEeKuGYX8YauIGQ"/>
+ <children xsi:type="menu:HandledMenuItem" xmi:id="_I8ZtwRecEeKuGYX8YauIGQ" label="Save" iconURI="platform:/plugin/tychodemo.bundle/icons/save_edit.gif" command="_I8ZGwRecEeKuGYX8YauIGQ"/>
+ <children xsi:type="menu:HandledMenuItem" xmi:id="_I8ZtwhecEeKuGYX8YauIGQ" label="Quit" command="_I8ZGuhecEeKuGYX8YauIGQ"/>
</children>
- <children xsi:type="menu:Menu" xmi:id="_XS76bXHYEeGdaqKGFl0Tiw" label="Help">
- <children xsi:type="menu:HandledMenuItem" xmi:id="_XS76bnHYEeGdaqKGFl0Tiw" label="About" command="_XS76ZHHYEeGdaqKGFl0Tiw"/>
+ <children xsi:type="menu:Menu" xmi:id="_I8ZtwxecEeKuGYX8YauIGQ" label="Help">
+ <children xsi:type="menu:HandledMenuItem" xmi:id="_I8ZtxBecEeKuGYX8YauIGQ" label="About" command="_I8ZGxBecEeKuGYX8YauIGQ"/>
</children>
</mainMenu>
- <trimBars xmi:id="_XS8hcXHYEeGdaqKGFl0Tiw">
- <children xsi:type="menu:ToolBar" xmi:id="_XS8hcnHYEeGdaqKGFl0Tiw" elementId="toolbar:org.eclipse.ui.main.toolbar">
- <children xsi:type="menu:HandledToolItem" xmi:id="_XS8hc3HYEeGdaqKGFl0Tiw" iconURI="platform:/plugin/tychodemo.bundle/icons/sample.gif" command="_XS7TXnHYEeGdaqKGFl0Tiw"/>
- <children xsi:type="menu:HandledToolItem" xmi:id="_XS8hdHHYEeGdaqKGFl0Tiw" iconURI="platform:/plugin/tychodemo.bundle/icons/save_edit.gif" command="_XS76YXHYEeGdaqKGFl0Tiw"/>
+ <trimBars xmi:id="_I8ZtyRecEeKuGYX8YauIGQ">
+ <children xsi:type="menu:ToolBar" xmi:id="_I8ZtyhecEeKuGYX8YauIGQ" elementId="toolbar:org.eclipse.ui.main.toolbar">
+ <children xsi:type="menu:HandledToolItem" xmi:id="_I8ZtyxecEeKuGYX8YauIGQ" iconURI="platform:/plugin/tychodemo.bundle/icons/sample.gif" command="_I8ZGvhecEeKuGYX8YauIGQ"/>
+ <children xsi:type="menu:HandledToolItem" xmi:id="_I8ZtzBecEeKuGYX8YauIGQ" iconURI="platform:/plugin/tychodemo.bundle/icons/save_edit.gif" command="_I8ZGwRecEeKuGYX8YauIGQ"/>
</children>
</trimBars>
</children>
- <handlers xmi:id="_XS7TW3HYEeGdaqKGFl0Tiw" contributionURI="bundleclass://tychodemo.bundle/tychodemo.bundle.handlers.QuitHandler" command="_XS7TWnHYEeGdaqKGFl0Tiw"/>
- <handlers xmi:id="_XS7TX3HYEeGdaqKGFl0Tiw" contributionURI="bundleclass://tychodemo.bundle/tychodemo.bundle.handlers.OpenHandler" command="_XS7TXnHYEeGdaqKGFl0Tiw"/>
- <handlers xmi:id="_XS76YnHYEeGdaqKGFl0Tiw" contributionURI="bundleclass://tychodemo.bundle/tychodemo.bundle.handlers.SaveHandler" command="_XS76YXHYEeGdaqKGFl0Tiw"/>
- <handlers xmi:id="_XS76ZXHYEeGdaqKGFl0Tiw" contributionURI="bundleclass://tychodemo.bundle/tychodemo.bundle.handlers.AboutHandler" command="_XS76ZHHYEeGdaqKGFl0Tiw"/>
- <bindingTables xmi:id="_XS7TXHHYEeGdaqKGFl0Tiw" bindingContext="_XS7TUXHYEeGdaqKGFl0Tiw">
- <bindings xmi:id="_XS7TXXHYEeGdaqKGFl0Tiw" keySequence="Ctrl+Q" command="_XS7TWnHYEeGdaqKGFl0Tiw"/>
- <bindings xmi:id="_XS76YHHYEeGdaqKGFl0Tiw" keySequence="Ctrl+O" command="_XS7TXnHYEeGdaqKGFl0Tiw"/>
- <bindings xmi:id="_XS76Y3HYEeGdaqKGFl0Tiw" keySequence="Ctrl+S" command="_XS76YXHYEeGdaqKGFl0Tiw"/>
- <bindings xmi:id="_XS76ZnHYEeGdaqKGFl0Tiw" keySequence="Ctrl+A" command="_XS76ZHHYEeGdaqKGFl0Tiw"/>
+ <handlers xmi:id="_I8ZGuxecEeKuGYX8YauIGQ" contributionURI="bundleclass://tychodemo.bundle/tychodemo.bundle.handlers.QuitHandler" command="_I8ZGuhecEeKuGYX8YauIGQ"/>
+ <handlers xmi:id="_I8ZGvxecEeKuGYX8YauIGQ" contributionURI="bundleclass://tychodemo.bundle/tychodemo.bundle.handlers.OpenHandler" command="_I8ZGvhecEeKuGYX8YauIGQ"/>
+ <handlers xmi:id="_I8ZGwhecEeKuGYX8YauIGQ" contributionURI="bundleclass://tychodemo.bundle/tychodemo.bundle.handlers.SaveHandler" command="_I8ZGwRecEeKuGYX8YauIGQ"/>
+ <handlers xmi:id="_I8ZGxRecEeKuGYX8YauIGQ" contributionURI="bundleclass://tychodemo.bundle/tychodemo.bundle.handlers.AboutHandler" command="_I8ZGxBecEeKuGYX8YauIGQ"/>
+ <bindingTables xmi:id="_I8ZGvBecEeKuGYX8YauIGQ" bindingContext="_I8ZGsRecEeKuGYX8YauIGQ">
+ <bindings xmi:id="_I8ZGvRecEeKuGYX8YauIGQ" keySequence="M1+Q" command="_I8ZGuhecEeKuGYX8YauIGQ"/>
+ <bindings xmi:id="_I8ZGwBecEeKuGYX8YauIGQ" keySequence="M1+O" command="_I8ZGvhecEeKuGYX8YauIGQ"/>
+ <bindings xmi:id="_I8ZGwxecEeKuGYX8YauIGQ" keySequence="M1+S" command="_I8ZGwRecEeKuGYX8YauIGQ"/>
+ <bindings xmi:id="_I8ZGxhecEeKuGYX8YauIGQ" keySequence="M1+A" command="_I8ZGxBecEeKuGYX8YauIGQ"/>
</bindingTables>
- <rootContext xmi:id="_XS7TUXHYEeGdaqKGFl0Tiw" elementId="org.eclipse.ui.contexts.dialogAndWindow" name="In Dialog and Windows">
- <children xmi:id="_XS7TUnHYEeGdaqKGFl0Tiw" elementId="org.eclipse.ui.contexts.window" name="In Windows"/>
- <children xmi:id="_XS7TU3HYEeGdaqKGFl0Tiw" elementId="org.eclipse.ui.contexts.dialog" name="In Dialogs"/>
+ <rootContext xmi:id="_I8ZGsRecEeKuGYX8YauIGQ" elementId="org.eclipse.ui.contexts.dialogAndWindow" name="In Dialog and Windows">
+ <children xmi:id="_I8ZGshecEeKuGYX8YauIGQ" elementId="org.eclipse.ui.contexts.window" name="In Windows"/>
+ <children xmi:id="_I8ZGsxecEeKuGYX8YauIGQ" elementId="org.eclipse.ui.contexts.dialog" name="In Dialogs"/>
</rootContext>
- <commands xmi:id="_XS7TWnHYEeGdaqKGFl0Tiw" elementId="tychodemo.bundle.quitCommand" commandName="quitCommand"/>
- <commands xmi:id="_XS7TXnHYEeGdaqKGFl0Tiw" elementId="tychodemo.bundle.openCommand" commandName="openCommand"/>
- <commands xmi:id="_XS76YXHYEeGdaqKGFl0Tiw" elementId="tychodemo.bundle.saveCommand" commandName="saveCommand"/>
- <commands xmi:id="_XS76ZHHYEeGdaqKGFl0Tiw" elementId="tychodemo.bundle.aboutCommand" commandName="aboutCommand"/>
- <addons xmi:id="_XS7TVHHYEeGdaqKGFl0Tiw" elementId="org.eclipse.e4.core.commands.service" contributionURI="bundleclass://org.eclipse.e4.core.commands/org.eclipse.e4.core.commands.CommandServiceAddon"/>
- <addons xmi:id="_XS7TVXHYEeGdaqKGFl0Tiw" elementId="org.eclipse.e4.ui.contexts.service" contributionURI="bundleclass://org.eclipse.e4.ui.services/org.eclipse.e4.ui.services.ContextServiceAddon"/>
- <addons xmi:id="_XS7TVnHYEeGdaqKGFl0Tiw" elementId="org.eclipse.e4.ui.bindings.service" contributionURI="bundleclass://org.eclipse.e4.ui.bindings/org.eclipse.e4.ui.bindings.BindingServiceAddon"/>
- <addons xmi:id="_XS7TV3HYEeGdaqKGFl0Tiw" 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="_XS7TWHHYEeGdaqKGFl0Tiw" 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="_XS7TWXHYEeGdaqKGFl0Tiw" elementId="org.eclipse.e4.ui.workbench.bindings.model" contributionURI="bundleclass://org.eclipse.e4.ui.workbench.swt/org.eclipse.e4.ui.workbench.swt.util.BindingProcessingAddon"/>
+ <commands xmi:id="_I8ZGuhecEeKuGYX8YauIGQ" elementId="org.eclipse.ui.file.exit" commandName="quitCommand"/>
+ <commands xmi:id="_I8ZGvhecEeKuGYX8YauIGQ" elementId="tychodemo.bundle.open" commandName="openCommand"/>
+ <commands xmi:id="_I8ZGwRecEeKuGYX8YauIGQ" elementId="org.eclipse.ui.file.save" commandName="saveCommand"/>
+ <commands xmi:id="_I8ZGxBecEeKuGYX8YauIGQ" elementId="org.eclipse.ui.help.aboutAction" commandName="aboutCommand"/>
+ <addons xmi:id="_I8ZGtBecEeKuGYX8YauIGQ" elementId="org.eclipse.e4.core.commands.service" contributionURI="bundleclass://org.eclipse.e4.core.commands/org.eclipse.e4.core.commands.CommandServiceAddon"/>
+ <addons xmi:id="_I8ZGtRecEeKuGYX8YauIGQ" elementId="org.eclipse.e4.ui.contexts.service" contributionURI="bundleclass://org.eclipse.e4.ui.services/org.eclipse.e4.ui.services.ContextServiceAddon"/>
+ <addons xmi:id="_I8ZGthecEeKuGYX8YauIGQ" elementId="org.eclipse.e4.ui.bindings.service" contributionURI="bundleclass://org.eclipse.e4.ui.bindings/org.eclipse.e4.ui.bindings.BindingServiceAddon"/>
+ <addons xmi:id="_I8ZGtxecEeKuGYX8YauIGQ" 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="_I8ZGuBecEeKuGYX8YauIGQ" 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="_I8ZGuRecEeKuGYX8YauIGQ" elementId="org.eclipse.e4.ui.workbench.bindings.model" contributionURI="bundleclass://org.eclipse.e4.ui.workbench.swt/org.eclipse.e4.ui.workbench.swt.util.BindingProcessingAddon"/>
</application:Application>
View
23 exercises/Exercise_02_Add_Test_Fragment/tychodemo.bundle/META-INF/MANIFEST.MF
@@ -5,24 +5,23 @@ Bundle-SymbolicName: tychodemo.bundle; singleton:=true
Bundle-Version: 1.0.0.qualifier
Bundle-Activator: tychodemo.bundle.Activator
Require-Bundle: javax.inject;bundle-version="1.0.0",
- org.eclipse.core.resources;bundle-version="3.8.0",
org.eclipse.core.runtime;bundle-version="3.8.0",
- org.eclipse.swt;bundle-version="3.8.0",
+ org.eclipse.swt;bundle-version="3.100.1",
org.eclipse.core.databinding;bundle-version="1.4.1",
- org.eclipse.core.databinding.beans;bundle-version="1.2.100",
- org.eclipse.jface;bundle-version="3.8.0",
+ org.eclipse.core.databinding.beans;bundle-version="1.2.200",
+ org.eclipse.jface;bundle-version="3.8.101",
org.eclipse.jface.databinding;bundle-version="1.6.0",
- org.eclipse.e4.ui.services;bundle-version="0.10.0",
- org.eclipse.e4.ui.workbench;bundle-version="0.10.1",
+ org.eclipse.e4.ui.services;bundle-version="0.10.2",
+ org.eclipse.e4.ui.workbench;bundle-version="0.10.3",
org.eclipse.e4.core.services;bundle-version="1.0.0",
org.eclipse.e4.core.di;bundle-version="1.1.0",
- org.eclipse.e4.core.contexts;bundle-version="1.0.0",
- org.eclipse.e4.ui.workbench.swt;bundle-version="0.10.0",
- org.eclipse.core.databinding.property;bundle-version="1.4.0",
- org.eclipse.e4.ui.css.core;bundle-version="0.10.0",
+ org.eclipse.e4.core.contexts;bundle-version="1.1.0",
+ org.eclipse.e4.ui.workbench.swt;bundle-version="0.10.2",
+ org.eclipse.core.databinding.property;bundle-version="1.4.100",
+ org.eclipse.e4.ui.css.core;bundle-version="0.10.2",
org.w3c.css.sac;bundle-version="1.3.1",
- org.eclipse.e4.core.commands;bundle-version="0.10.0",
- org.eclipse.e4.ui.bindings;bundle-version="0.10.0"
+ org.eclipse.e4.core.commands;bundle-version="0.10.1",
+ org.eclipse.e4.ui.bindings;bundle-version="0.10.1"
Bundle-RequiredExecutionEnvironment: JavaSE-1.6
Import-Package: org.osgi.framework;version="1.3.0"
Bundle-ActivationPolicy: lazy
View
2  exercises/Exercise_02_Add_Test_Fragment/tychodemo.bundle/src/tychodemo/bundle/handlers/AboutHandler.java
@@ -20,6 +20,6 @@
public class AboutHandler {
@Execute
public void execute(@Named(IServiceConstants.ACTIVE_SHELL) Shell shell) {
- MessageDialog.openInformation(shell, "About", "Hello Tycho Demo RCP!");
+ MessageDialog.openInformation(shell, "About", "Tycho Demo RCP");
}
}
View
3  exercises/Exercise_02_Add_Test_Fragment/tychodemo.bundle/tychodemo.bundle.product
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<?pde version="3.5"?>
-<product name="tychodemo.bundle" uid="tychodemo.product" id="tychodemo.bundle.product" application="org.eclipse.e4.ui.workbench.swt.E4Application" version="1.0.0.qualifier" useFeatures="false" includeLaunchers="true">
+<product name="tychodemo.bundle" id="tychodemo.bundle.product" application="org.eclipse.e4.ui.workbench.swt.E4Application" version="1.0.0.qualifier" useFeatures="false" includeLaunchers="true">
<configIni use="default">
</configIni>
@@ -16,6 +16,7 @@
<plugin id="com.ibm.icu"/>
<plugin id="javax.annotation"/>
<plugin id="javax.inject"/>
+ <plugin id="javax.xml"/>
<plugin id="org.apache.batik.css"/>
<plugin id="org.apache.batik.util"/>
<plugin id="org.apache.batik.util.gui"/>
View
3  exercises/Exercise_02_Add_Test_Fragment/tychodemo.parent/README.html
@@ -65,7 +65,8 @@
<li>choose <tt>getGreeting()</tt> as test method for which a stub will be created<br/>
<img src="../resources/new_junit_testcase_2.png"/>
</li>
- <li>confirm "Add org.junit to required bundles" if prompted</li>
+ <li>confirm "Add org.junit to required bundles" if prompted and make sure that the minimum version required for <tt>org.junit</tt> is <tt>4.0.0</tt></li>
+<img src="../resources/junit_min_version.png"/>
</ul>
</li>
<li> Run the test: Right-click, <tt>Run As > JUnit Plugin Test</tt><br/>
View
2  exercises/Exercise_02_Add_Test_Fragment/tychodemo.parent/pom.xml
@@ -14,7 +14,7 @@
<!-- common settings for all modules -->
<properties>
- <tycho-version>0.14.1</tycho-version>
+ <tycho-version>0.16.0</tycho-version>
</properties>
<repositories>
View
2  exercises/Exercise_03_Add_Feature/tychodemo.bundle.tests/META-INF/MANIFEST.MF
@@ -5,4 +5,4 @@ Bundle-SymbolicName: tychodemo.bundle.tests
Bundle-Version: 1.0.0.qualifier
Fragment-Host: tychodemo.bundle;bundle-version="1.0.0"
Bundle-RequiredExecutionEnvironment: JavaSE-1.6
-Require-Bundle: org.junit
+Require-Bundle: org.junit;bundle-version="4.0.0"
View
24 exercises/Exercise_03_Add_Feature/tychodemo.bundle.tests/pom.xml
@@ -1,15 +1,11 @@
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
-
- <parent>
- <groupId>tychodemo</groupId>
- <artifactId>tychodemo.parent</artifactId>
- <version>1.0.0-SNAPSHOT</version>
- <relativePath>../tychodemo.parent</relativePath>
- </parent>
-
- <artifactId>tychodemo.bundle.tests</artifactId>
- <packaging>eclipse-test-plugin</packaging>
-
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <artifactId>tychodemo.bundle.tests</artifactId>
+ <packaging>eclipse-test-plugin</packaging>
+ <parent>
+ <groupId>tychodemo</groupId>
+ <artifactId>tychodemo.parent</artifactId>
+ <version>1.0.0-SNAPSHOT</version>
+ <relativePath>../tychodemo.parent</relativePath>
+ </parent>
</project>
View
78 exercises/Exercise_03_Add_Feature/tychodemo.bundle/Application.e4xmi
@@ -1,52 +1,52 @@
<?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="_XS7TUHHYEeGdaqKGFl0Tiw" elementId="org.eclipse.e4.ide.application" bindingContexts="_XS7TUXHYEeGdaqKGFl0Tiw">
- <children xsi:type="basic:TrimmedWindow" xmi:id="_XS76Z3HYEeGdaqKGFl0Tiw" label="tychodemo.bundle" width="500" height="400">
- <children xsi:type="advanced:PerspectiveStack" xmi:id="_XS76b3HYEeGdaqKGFl0Tiw">
- <children xsi:type="advanced:Perspective" xmi:id="_XS76cHHYEeGdaqKGFl0Tiw">
- <children xsi:type="basic:PartSashContainer" xmi:id="_XS76cXHYEeGdaqKGFl0Tiw">
- <children xsi:type="basic:PartStack" xmi:id="_XS8hcHHYEeGdaqKGFl0Tiw"/>
+<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="_I8ZGsBecEeKuGYX8YauIGQ" elementId="org.eclipse.e4.ide.application" bindingContexts="_I8ZGsRecEeKuGYX8YauIGQ">
+ <children xsi:type="basic:TrimmedWindow" xmi:id="_I8ZGxxecEeKuGYX8YauIGQ" label="tychodemo.bundle" width="500" height="400">
+ <children xsi:type="advanced:PerspectiveStack" xmi:id="_I8ZtxRecEeKuGYX8YauIGQ">
+ <children xsi:type="advanced:Perspective" xmi:id="_I8ZtxhecEeKuGYX8YauIGQ">
+ <children xsi:type="basic:PartSashContainer" xmi:id="_I8ZtxxecEeKuGYX8YauIGQ">
+ <children xsi:type="basic:PartStack" xmi:id="_I8ZtyBecEeKuGYX8YauIGQ"/>
</children>
</children>
</children>
- <mainMenu xmi:id="_XS76aHHYEeGdaqKGFl0Tiw" elementId="menu:org.eclipse.ui.main.menu">
- <children xsi:type="menu:Menu" xmi:id="_XS76aXHYEeGdaqKGFl0Tiw" label="File">
- <children xsi:type="menu:HandledMenuItem" xmi:id="_XS76anHYEeGdaqKGFl0Tiw" label="Open" iconURI="platform:/plugin/tychodemo.bundle/icons/sample.gif" command="_XS7TXnHYEeGdaqKGFl0Tiw"/>
- <children xsi:type="menu:HandledMenuItem" xmi:id="_XS76a3HYEeGdaqKGFl0Tiw" label="Save" iconURI="platform:/plugin/tychodemo.bundle/icons/save_edit.gif" command="_XS76YXHYEeGdaqKGFl0Tiw"/>
- <children xsi:type="menu:HandledMenuItem" xmi:id="_XS76bHHYEeGdaqKGFl0Tiw" label="Quit" command="_XS7TWnHYEeGdaqKGFl0Tiw"/>
+ <mainMenu xmi:id="_I8ZGyBecEeKuGYX8YauIGQ" elementId="menu:org.eclipse.ui.main.menu">
+ <children xsi:type="menu:Menu" xmi:id="_I8ZGyRecEeKuGYX8YauIGQ" label="File">
+ <children xsi:type="menu:HandledMenuItem" xmi:id="_I8ZtwBecEeKuGYX8YauIGQ" label="Open" iconURI="platform:/plugin/tychodemo.bundle/icons/sample.gif" command="_I8ZGvhecEeKuGYX8YauIGQ"/>
+ <children xsi:type="menu:HandledMenuItem" xmi:id="_I8ZtwRecEeKuGYX8YauIGQ" label="Save" iconURI="platform:/plugin/tychodemo.bundle/icons/save_edit.gif" command="_I8ZGwRecEeKuGYX8YauIGQ"/>
+ <children xsi:type="menu:HandledMenuItem" xmi:id="_I8ZtwhecEeKuGYX8YauIGQ" label="Quit" command="_I8ZGuhecEeKuGYX8YauIGQ"/>
</children>
- <children xsi:type="menu:Menu" xmi:id="_XS76bXHYEeGdaqKGFl0Tiw" label="Help">
- <children xsi:type="menu:HandledMenuItem" xmi:id="_XS76bnHYEeGdaqKGFl0Tiw" label="About" command="_XS76ZHHYEeGdaqKGFl0Tiw"/>
+ <children xsi:type="menu:Menu" xmi:id="_I8ZtwxecEeKuGYX8YauIGQ" label="Help">
+ <children xsi:type="menu:HandledMenuItem" xmi:id="_I8ZtxBecEeKuGYX8YauIGQ" label="About" command="_I8ZGxBecEeKuGYX8YauIGQ"/>
</children>
</mainMenu>
- <trimBars xmi:id="_XS8hcXHYEeGdaqKGFl0Tiw">
- <children xsi:type="menu:ToolBar" xmi:id="_XS8hcnHYEeGdaqKGFl0Tiw" elementId="toolbar:org.eclipse.ui.main.toolbar">
- <children xsi:type="menu:HandledToolItem" xmi:id="_XS8hc3HYEeGdaqKGFl0Tiw" iconURI="platform:/plugin/tychodemo.bundle/icons/sample.gif" command="_XS7TXnHYEeGdaqKGFl0Tiw"/>
- <children xsi:type="menu:HandledToolItem" xmi:id="_XS8hdHHYEeGdaqKGFl0Tiw" iconURI="platform:/plugin/tychodemo.bundle/icons/save_edit.gif" command="_XS76YXHYEeGdaqKGFl0Tiw"/>
+ <trimBars xmi:id="_I8ZtyRecEeKuGYX8YauIGQ">
+ <children xsi:type="menu:ToolBar" xmi:id="_I8ZtyhecEeKuGYX8YauIGQ" elementId="toolbar:org.eclipse.ui.main.toolbar">
+ <children xsi:type="menu:HandledToolItem" xmi:id="_I8ZtyxecEeKuGYX8YauIGQ" iconURI="platform:/plugin/tychodemo.bundle/icons/sample.gif" command="_I8ZGvhecEeKuGYX8YauIGQ"/>
+ <children xsi:type="menu:HandledToolItem" xmi:id="_I8ZtzBecEeKuGYX8YauIGQ" iconURI="platform:/plugin/tychodemo.bundle/icons/save_edit.gif" command="_I8ZGwRecEeKuGYX8YauIGQ"/>
</children>
</trimBars>
</children>
- <handlers xmi:id="_XS7TW3HYEeGdaqKGFl0Tiw" contributionURI="bundleclass://tychodemo.bundle/tychodemo.bundle.handlers.QuitHandler" command="_XS7TWnHYEeGdaqKGFl0Tiw"/>
- <handlers xmi:id="_XS7TX3HYEeGdaqKGFl0Tiw" contributionURI="bundleclass://tychodemo.bundle/tychodemo.bundle.handlers.OpenHandler" command="_XS7TXnHYEeGdaqKGFl0Tiw"/>
- <handlers xmi:id="_XS76YnHYEeGdaqKGFl0Tiw" contributionURI="bundleclass://tychodemo.bundle/tychodemo.bundle.handlers.SaveHandler" command="_XS76YXHYEeGdaqKGFl0Tiw"/>
- <handlers xmi:id="_XS76ZXHYEeGdaqKGFl0Tiw" contributionURI="bundleclass://tychodemo.bundle/tychodemo.bundle.handlers.AboutHandler" command="_XS76ZHHYEeGdaqKGFl0Tiw"/>
- <bindingTables xmi:id="_XS7TXHHYEeGdaqKGFl0Tiw" bindingContext="_XS7TUXHYEeGdaqKGFl0Tiw">
- <bindings xmi:id="_XS7TXXHYEeGdaqKGFl0Tiw" keySequence="Ctrl+Q" command="_XS7TWnHYEeGdaqKGFl0Tiw"/>
- <bindings xmi:id="_XS76YHHYEeGdaqKGFl0Tiw" keySequence="Ctrl+O" command="_XS7TXnHYEeGdaqKGFl0Tiw"/>
- <bindings xmi:id="_XS76Y3HYEeGdaqKGFl0Tiw" keySequence="Ctrl+S" command="_XS76YXHYEeGdaqKGFl0Tiw"/>
- <bindings xmi:id="_XS76ZnHYEeGdaqKGFl0Tiw" keySequence="Ctrl+A" command="_XS76ZHHYEeGdaqKGFl0Tiw"/>
+ <handlers xmi:id="_I8ZGuxecEeKuGYX8YauIGQ" contributionURI="bundleclass://tychodemo.bundle/tychodemo.bundle.handlers.QuitHandler" command="_I8ZGuhecEeKuGYX8YauIGQ"/>
+ <handlers xmi:id="_I8ZGvxecEeKuGYX8YauIGQ" contributionURI="bundleclass://tychodemo.bundle/tychodemo.bundle.handlers.OpenHandler" command="_I8ZGvhecEeKuGYX8YauIGQ"/>
+ <handlers xmi:id="_I8ZGwhecEeKuGYX8YauIGQ" contributionURI="bundleclass://tychodemo.bundle/tychodemo.bundle.handlers.SaveHandler" command="_I8ZGwRecEeKuGYX8YauIGQ"/>
+ <handlers xmi:id="_I8ZGxRecEeKuGYX8YauIGQ" contributionURI="bundleclass://tychodemo.bundle/tychodemo.bundle.handlers.AboutHandler" command="_I8ZGxBecEeKuGYX8YauIGQ"/>
+ <bindingTables xmi:id="_I8ZGvBecEeKuGYX8YauIGQ" bindingContext="_I8ZGsRecEeKuGYX8YauIGQ">
+ <bindings xmi:id="_I8ZGvRecEeKuGYX8YauIGQ" keySequence="M1+Q" command="_I8ZGuhecEeKuGYX8YauIGQ"/>
+ <bindings xmi:id="_I8ZGwBecEeKuGYX8YauIGQ" keySequence="M1+O" command="_I8ZGvhecEeKuGYX8YauIGQ"/>
+ <bindings xmi:id="_I8ZGwxecEeKuGYX8YauIGQ" keySequence="M1+S" command="_I8ZGwRecEeKuGYX8YauIGQ"/>
+ <bindings xmi:id="_I8ZGxhecEeKuGYX8YauIGQ" keySequence="M1+A" command="_I8ZGxBecEeKuGYX8YauIGQ"/>
</bindingTables>
- <rootContext xmi:id="_XS7TUXHYEeGdaqKGFl0Tiw" elementId="org.eclipse.ui.contexts.dialogAndWindow" name="In Dialog and Windows">
- <children xmi:id="_XS7TUnHYEeGdaqKGFl0Tiw" elementId="org.eclipse.ui.contexts.window" name="In Windows"/>
- <children xmi:id="_XS7TU3HYEeGdaqKGFl0Tiw" elementId="org.eclipse.ui.contexts.dialog" name="In Dialogs"/>
+ <rootContext xmi:id="_I8ZGsRecEeKuGYX8YauIGQ" elementId="org.eclipse.ui.contexts.dialogAndWindow" name="In Dialog and Windows">
+ <children xmi:id="_I8ZGshecEeKuGYX8YauIGQ" elementId="org.eclipse.ui.contexts.window" name="In Windows"/>
+ <children xmi:id="_I8ZGsxecEeKuGYX8YauIGQ" elementId="org.eclipse.ui.contexts.dialog" name="In Dialogs"/>
</rootContext>
- <commands xmi:id="_XS7TWnHYEeGdaqKGFl0Tiw" elementId="tychodemo.bundle.quitCommand" commandName="quitCommand"/>
- <commands xmi:id="_XS7TXnHYEeGdaqKGFl0Tiw" elementId="tychodemo.bundle.openCommand" commandName="openCommand"/>
- <commands xmi:id="_XS76YXHYEeGdaqKGFl0Tiw" elementId="tychodemo.bundle.saveCommand" commandName="saveCommand"/>
- <commands xmi:id="_XS76ZHHYEeGdaqKGFl0Tiw" elementId="tychodemo.bundle.aboutCommand" commandName="aboutCommand"/>
- <addons xmi:id="_XS7TVHHYEeGdaqKGFl0Tiw" elementId="org.eclipse.e4.core.commands.service" contributionURI="bundleclass://org.eclipse.e4.core.commands/org.eclipse.e4.core.commands.CommandServiceAddon"/>
- <addons xmi:id="_XS7TVXHYEeGdaqKGFl0Tiw" elementId="org.eclipse.e4.ui.contexts.service" contributionURI="bundleclass://org.eclipse.e4.ui.services/org.eclipse.e4.ui.services.ContextServiceAddon"/>
- <addons xmi:id="_XS7TVnHYEeGdaqKGFl0Tiw" elementId="org.eclipse.e4.ui.bindings.service" contributionURI="bundleclass://org.eclipse.e4.ui.bindings/org.eclipse.e4.ui.bindings.BindingServiceAddon"/>
- <addons xmi:id="_XS7TV3HYEeGdaqKGFl0Tiw" 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="_XS7TWHHYEeGdaqKGFl0Tiw" 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="_XS7TWXHYEeGdaqKGFl0Tiw" elementId="org.eclipse.e4.ui.workbench.bindings.model" contributionURI="bundleclass://org.eclipse.e4.ui.workbench.swt/org.eclipse.e4.ui.workbench.swt.util.BindingProcessingAddon"/>
+ <commands xmi:id="_I8ZGuhecEeKuGYX8YauIGQ" elementId="org.eclipse.ui.file.exit" commandName="quitCommand"/>
+ <commands xmi:id="_I8ZGvhecEeKuGYX8YauIGQ" elementId="tychodemo.bundle.open" commandName="openCommand"/>
+ <commands xmi:id="_I8ZGwRecEeKuGYX8YauIGQ" elementId="org.eclipse.ui.file.save" commandName="saveCommand"/>
+ <commands xmi:id="_I8ZGxBecEeKuGYX8YauIGQ" elementId="org.eclipse.ui.help.aboutAction" commandName="aboutCommand"/>
+ <addons xmi:id="_I8ZGtBecEeKuGYX8YauIGQ" elementId="org.eclipse.e4.core.commands.service" contributionURI="bundleclass://org.eclipse.e4.core.commands/org.eclipse.e4.core.commands.CommandServiceAddon"/>
+ <addons xmi:id="_I8ZGtRecEeKuGYX8YauIGQ" elementId="org.eclipse.e4.ui.contexts.service" contributionURI="bundleclass://org.eclipse.e4.ui.services/org.eclipse.e4.ui.services.ContextServiceAddon"/>
+ <addons xmi:id="_I8ZGthecEeKuGYX8YauIGQ" elementId="org.eclipse.e4.ui.bindings.service" contributionURI="bundleclass://org.eclipse.e4.ui.bindings/org.eclipse.e4.ui.bindings.BindingServiceAddon"/>
+ <addons xmi:id="_I8ZGtxecEeKuGYX8YauIGQ" 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="_I8ZGuBecEeKuGYX8YauIGQ" 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="_I8ZGuRecEeKuGYX8YauIGQ" elementId="org.eclipse.e4.ui.workbench.bindings.model" contributionURI="bundleclass://org.eclipse.e4.ui.workbench.swt/org.eclipse.e4.ui.workbench.swt.util.BindingProcessingAddon"/>
</application:Application>
View
23 exercises/Exercise_03_Add_Feature/tychodemo.bundle/META-INF/MANIFEST.MF
@@ -5,24 +5,23 @@ Bundle-SymbolicName: tychodemo.bundle; singleton:=true
Bundle-Version: 1.0.0.qualifier
Bundle-Activator: tychodemo.bundle.Activator
Require-Bundle: javax.inject;bundle-version="1.0.0",
- org.eclipse.core.resources;bundle-version="3.8.0",
org.eclipse.core.runtime;bundle-version="3.8.0",
- org.eclipse.swt;bundle-version="3.8.0",
+ org.eclipse.swt;bundle-version="3.100.1",
org.eclipse.core.databinding;bundle-version="1.4.1",
- org.eclipse.core.databinding.beans;bundle-version="1.2.100",
- org.eclipse.jface;bundle-version="3.8.0",
+ org.eclipse.core.databinding.beans;bundle-version="1.2.200",
+ org.eclipse.jface;bundle-version="3.8.101",
org.eclipse.jface.databinding;bundle-version="1.6.0",
- org.eclipse.e4.ui.services;bundle-version="0.10.0",
- org.eclipse.e4.ui.workbench;bundle-version="0.10.1",
+ org.eclipse.e4.ui.services;bundle-version="0.10.2",
+ org.eclipse.e4.ui.workbench;bundle-version="0.10.3",
org.eclipse.e4.core.services;bundle-version="1.0.0",
org.eclipse.e4.core.di;bundle-version="1.1.0",
- org.eclipse.e4.core.contexts;bundle-version="1.0.0",
- org.eclipse.e4.ui.workbench.swt;bundle-version="0.10.0",
- org.eclipse.core.databinding.property;bundle-version="1.4.0",
- org.eclipse.e4.ui.css.core;bundle-version="0.10.0",
+ org.eclipse.e4.core.contexts;bundle-version="1.1.0",
+ org.eclipse.e4.ui.workbench.swt;bundle-version="0.10.2",
+ org.eclipse.core.databinding.property;bundle-version="1.4.100",
+ org.eclipse.e4.ui.css.core;bundle-version="0.10.2",
org.w3c.css.sac;bundle-version="1.3.1",
- org.eclipse.e4.core.commands;bundle-version="0.10.0",
- org.eclipse.e4.ui.bindings;bundle-version="0.10.0"
+ org.eclipse.e4.core.commands;bundle-version="0.10.1",
+ org.eclipse.e4.ui.bindings;bundle-version="0.10.1"
Bundle-RequiredExecutionEnvironment: JavaSE-1.6
Import-Package: org.osgi.framework;version="1.3.0"
Bundle-ActivationPolicy: lazy
View
2  exercises/Exercise_03_Add_Feature/tychodemo.bundle/src/tychodemo/bundle/handlers/AboutHandler.java
@@ -24,6 +24,6 @@ public void execute(@Named(IServiceConstants.ACTIVE_SHELL) Shell shell) {
}
String getGreeting() {
- return "Hello Tycho Demo RCP!";
+ return "Tycho Demo RCP";
}
}
View
3  exercises/Exercise_03_Add_Feature/tychodemo.bundle/tychodemo.bundle.product
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<?pde version="3.5"?>
-<product name="tychodemo.bundle" uid="tychodemo.product" id="tychodemo.bundle.product" application="org.eclipse.e4.ui.workbench.swt.E4Application" version="1.0.0.qualifier" useFeatures="false" includeLaunchers="true">
+<product name="tychodemo.bundle" id="tychodemo.bundle.product" application="org.eclipse.e4.ui.workbench.swt.E4Application" version="1.0.0.qualifier" useFeatures="false" includeLaunchers="true">
<configIni use="default">
</configIni>
@@ -16,6 +16,7 @@
<plugin id="com.ibm.icu"/>
<plugin id="javax.annotation"/>
<plugin id="javax.inject"/>
+ <plugin id="javax.xml"/>
<plugin id="org.apache.batik.css"/>
<plugin id="org.apache.batik.util"/>
<plugin id="org.apache.batik.util.gui"/>
View
4 exercises/Exercise_03_Add_Feature/tychodemo.parent/pom.xml
@@ -15,7 +15,7 @@
<!-- common settings for all modules -->
<properties>
- <tycho-version>0.14.1</tycho-version>
+ <tycho-version>0.16.0</tycho-version>
</properties>
<repositories>
@@ -23,7 +23,7 @@
<repository>
<id>juno</id>
<layout>p2</layout>
- <url>http://download.eclipse.org/releases/juno/</url>
+ <url>http://download.eclipse.org/releases/juno/</url>
</repository>
</repositories>
View
2  exercises/Exercise_04_Add_P2_Repository/tychodemo.bundle.tests/META-INF/MANIFEST.MF
@@ -5,4 +5,4 @@ Bundle-SymbolicName: tychodemo.bundle.tests
Bundle-Version: 1.0.0.qualifier
Fragment-Host: tychodemo.bundle;bundle-version="1.0.0"
Bundle-RequiredExecutionEnvironment: JavaSE-1.6
-Require-Bundle: org.junit
+Require-Bundle: org.junit;bundle-version="4.0.0"
View
24 exercises/Exercise_04_Add_P2_Repository/tychodemo.bundle.tests/pom.xml
@@ -1,15 +1,11 @@
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
-
- <parent>
- <groupId>tychodemo</groupId>
- <artifactId>tychodemo.parent</artifactId>
- <version>1.0.0-SNAPSHOT</version>
- <relativePath>../tychodemo.parent</relativePath>
- </parent>
-
- <artifactId>tychodemo.bundle.tests</artifactId>
- <packaging>eclipse-test-plugin</packaging>
-
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <artifactId>tychodemo.bundle.tests</artifactId>
+ <packaging>eclipse-test-plugin</packaging>
+ <parent>
+ <groupId>tychodemo</groupId>
+ <artifactId>tychodemo.parent</artifactId>
+ <version>1.0.0-SNAPSHOT</version>
+ <relativePath>../tychodemo.parent</relativePath>
+ </parent>
</project>
View
78 exercises/Exercise_04_Add_P2_Repository/tychodemo.bundle/Application.e4xmi
@@ -1,52 +1,52 @@
<?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="_XS7TUHHYEeGdaqKGFl0Tiw" elementId="org.eclipse.e4.ide.application" bindingContexts="_XS7TUXHYEeGdaqKGFl0Tiw">
- <children xsi:type="basic:TrimmedWindow" xmi:id="_XS76Z3HYEeGdaqKGFl0Tiw" label="tychodemo.bundle" width="500" height="400">
- <children xsi:type="advanced:PerspectiveStack" xmi:id="_XS76b3HYEeGdaqKGFl0Tiw">
- <children xsi:type="advanced:Perspective" xmi:id="_XS76cHHYEeGdaqKGFl0Tiw">
- <children xsi:type="basic:PartSashContainer" xmi:id="_XS76cXHYEeGdaqKGFl0Tiw">
- <children xsi:type="basic:PartStack" xmi:id="_XS8hcHHYEeGdaqKGFl0Tiw"/>
+<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="_I8ZGsBecEeKuGYX8YauIGQ" elementId="org.eclipse.e4.ide.application" bindingContexts="_I8ZGsRecEeKuGYX8YauIGQ">
+ <children xsi:type="basic:TrimmedWindow" xmi:id="_I8ZGxxecEeKuGYX8YauIGQ" label="tychodemo.bundle" width="500" height="400">
+ <children xsi:type="advanced:PerspectiveStack" xmi:id="_I8ZtxRecEeKuGYX8YauIGQ">
+ <children xsi:type="advanced:Perspective" xmi:id="_I8ZtxhecEeKuGYX8YauIGQ">
+ <children xsi:type="basic:PartSashContainer" xmi:id="_I8ZtxxecEeKuGYX8YauIGQ">
+ <children xsi:type="basic:PartStack" xmi:id="_I8ZtyBecEeKuGYX8YauIGQ"/>
</children>
</children>
</children>
- <mainMenu xmi:id="_XS76aHHYEeGdaqKGFl0Tiw" elementId="menu:org.eclipse.ui.main.menu">
- <children xsi:type="menu:Menu" xmi:id="_XS76aXHYEeGdaqKGFl0Tiw" label="File">
- <children xsi:type="menu:HandledMenuItem" xmi:id="_XS76anHYEeGdaqKGFl0Tiw" label="Open" iconURI="platform:/plugin/tychodemo.bundle/icons/sample.gif" command="_XS7TXnHYEeGdaqKGFl0Tiw"/>
- <children xsi:type="menu:HandledMenuItem" xmi:id="_XS76a3HYEeGdaqKGFl0Tiw" label="Save" iconURI="platform:/plugin/tychodemo.bundle/icons/save_edit.gif" command="_XS76YXHYEeGdaqKGFl0Tiw"/>
- <children xsi:type="menu:HandledMenuItem" xmi:id="_XS76bHHYEeGdaqKGFl0Tiw" label="Quit" command="_XS7TWnHYEeGdaqKGFl0Tiw"/>
+ <mainMenu xmi:id="_I8ZGyBecEeKuGYX8YauIGQ" elementId="menu:org.eclipse.ui.main.menu">
+ <children xsi:type="menu:Menu" xmi:id="_I8ZGyRecEeKuGYX8YauIGQ" label="File">
+ <children xsi:type="menu:HandledMenuItem" xmi:id="_I8ZtwBecEeKuGYX8YauIGQ" label="Open" iconURI="platform:/plugin/tychodemo.bundle/icons/sample.gif" command="_I8ZGvhecEeKuGYX8YauIGQ"/>
+ <children xsi:type="menu:HandledMenuItem" xmi:id="_I8ZtwRecEeKuGYX8YauIGQ" label="Save" iconURI="platform:/plugin/tychodemo.bundle/icons/save_edit.gif" command="_I8ZGwRecEeKuGYX8YauIGQ"/>
+ <children xsi:type="menu:HandledMenuItem" xmi:id="_I8ZtwhecEeKuGYX8YauIGQ" label="Quit" command="_I8ZGuhecEeKuGYX8YauIGQ"/>
</children>
- <children xsi:type="menu:Menu" xmi:id="_XS76bXHYEeGdaqKGFl0Tiw" label="Help">
- <children xsi:type="menu:HandledMenuItem" xmi:id="_XS76bnHYEeGdaqKGFl0Tiw" label="About" command="_XS76ZHHYEeGdaqKGFl0Tiw"/>
+ <children xsi:type="menu:Menu" xmi:id="_I8ZtwxecEeKuGYX8YauIGQ" label="Help">
+ <children xsi:type="menu:HandledMenuItem" xmi:id="_I8ZtxBecEeKuGYX8YauIGQ" label="About" command="_I8ZGxBecEeKuGYX8YauIGQ"/>
</children>
</mainMenu>
- <trimBars xmi:id="_XS8hcXHYEeGdaqKGFl0Tiw">
- <children xsi:type="menu:ToolBar" xmi:id="_XS8hcnHYEeGdaqKGFl0Tiw" elementId="toolbar:org.eclipse.ui.main.toolbar">
- <children xsi:type="menu:HandledToolItem" xmi:id="_XS8hc3HYEeGdaqKGFl0Tiw" iconURI="platform:/plugin/tychodemo.bundle/icons/sample.gif" command="_XS7TXnHYEeGdaqKGFl0Tiw"/>
- <children xsi:type="menu:HandledToolItem" xmi:id="_XS8hdHHYEeGdaqKGFl0Tiw" iconURI="platform:/plugin/tychodemo.bundle/icons/save_edit.gif" command="_XS76YXHYEeGdaqKGFl0Tiw"/>
+ <trimBars xmi:id="_I8ZtyRecEeKuGYX8YauIGQ">
+ <children xsi:type="menu:ToolBar" xmi:id="_I8ZtyhecEeKuGYX8YauIGQ" elementId="toolbar:org.eclipse.ui.main.toolbar">
+ <children xsi:type="menu:HandledToolItem" xmi:id="_I8ZtyxecEeKuGYX8YauIGQ" iconURI="platform:/plugin/tychodemo.bundle/icons/sample.gif" command="_I8ZGvhecEeKuGYX8YauIGQ"/>
+ <children xsi:type="menu:HandledToolItem" xmi:id="_I8ZtzBecEeKuGYX8YauIGQ" iconURI="platform:/plugin/tychodemo.bundle/icons/save_edit.gif" command="_I8ZGwRecEeKuGYX8YauIGQ"/>
</children>
</trimBars>
</children>
- <handlers xmi:id="_XS7TW3HYEeGdaqKGFl0Tiw" contributionURI="bundleclass://tychodemo.bundle/tychodemo.bundle.handlers.QuitHandler" command="_XS7TWnHYEeGdaqKGFl0Tiw"/>
- <handlers xmi:id="_XS7TX3HYEeGdaqKGFl0Tiw" contributionURI="bundleclass://tychodemo.bundle/tychodemo.bundle.handlers.OpenHandler" command="_XS7TXnHYEeGdaqKGFl0Tiw"/>
- <handlers xmi:id="_XS76YnHYEeGdaqKGFl0Tiw" contributionURI="bundleclass://tychodemo.bundle/tychodemo.bundle.handlers.SaveHandler" command="_XS76YXHYEeGdaqKGFl0Tiw"/>
- <handlers xmi:id="_XS76ZXHYEeGdaqKGFl0Tiw" contributionURI="bundleclass://tychodemo.bundle/tychodemo.bundle.handlers.AboutHandler" command="_XS76ZHHYEeGdaqKGFl0Tiw"/>
- <bindingTables xmi:id="_XS7TXHHYEeGdaqKGFl0Tiw" bindingContext="_XS7TUXHYEeGdaqKGFl0Tiw">
- <bindings xmi:id="_XS7TXXHYEeGdaqKGFl0Tiw" keySequence="Ctrl+Q" command="_XS7TWnHYEeGdaqKGFl0Tiw"/>
- <bindings xmi:id="_XS76YHHYEeGdaqKGFl0Tiw" keySequence="Ctrl+O" command="_XS7TXnHYEeGdaqKGFl0Tiw"/>
- <bindings xmi:id="_XS76Y3HYEeGdaqKGFl0Tiw" keySequence="Ctrl+S" command="_XS76YXHYEeGdaqKGFl0Tiw"/>
- <bindings xmi:id="_XS76ZnHYEeGdaqKGFl0Tiw" keySequence="Ctrl+A" command="_XS76ZHHYEeGdaqKGFl0Tiw"/>
+ <handlers xmi:id="_I8ZGuxecEeKuGYX8YauIGQ" contributionURI="bundleclass://tychodemo.bundle/tychodemo.bundle.handlers.QuitHandler" command="_I8ZGuhecEeKuGYX8YauIGQ"/>
+ <handlers xmi:id="_I8ZGvxecEeKuGYX8YauIGQ" contributionURI="bundleclass://tychodemo.bundle/tychodemo.bundle.handlers.OpenHandler" command="_I8ZGvhecEeKuGYX8YauIGQ"/>
+ <handlers xmi:id="_I8ZGwhecEeKuGYX8YauIGQ" contributionURI="bundleclass://tychodemo.bundle/tychodemo.bundle.handlers.SaveHandler" command="_I8ZGwRecEeKuGYX8YauIGQ"/>
+ <handlers xmi:id="_I8ZGxRecEeKuGYX8YauIGQ" contributionURI="bundleclass://tychodemo.bundle/tychodemo.bundle.handlers.AboutHandler" command="_I8ZGxBecEeKuGYX8YauIGQ"/>
+ <bindingTables xmi:id="_I8ZGvBecEeKuGYX8YauIGQ" bindingContext="_I8ZGsRecEeKuGYX8YauIGQ">
+ <bindings xmi:id="_I8ZGvRecEeKuGYX8YauIGQ" keySequence="M1+Q" command="_I8ZGuhecEeKuGYX8YauIGQ"/>
+ <bindings xmi:id="_I8ZGwBecEeKuGYX8YauIGQ" keySequence="M1+O" command="_I8ZGvhecEeKuGYX8YauIGQ"/>
+ <bindings xmi:id="_I8ZGwxecEeKuGYX8YauIGQ" keySequence="M1+S" command="_I8ZGwRecEeKuGYX8YauIGQ"/>
+ <bindings xmi:id="_I8ZGxhecEeKuGYX8YauIGQ" keySequence="M1+A" command="_I8ZGxBecEeKuGYX8YauIGQ"/>
</bindingTables>
- <rootContext xmi:id="_XS7TUXHYEeGdaqKGFl0Tiw" elementId="org.eclipse.ui.contexts.dialogAndWindow" name="In Dialog and Windows">
- <children xmi:id="_XS7TUnHYEeGdaqKGFl0Tiw" elementId="org.eclipse.ui.contexts.window" name="In Windows"/>
- <children xmi:id="_XS7TU3HYEeGdaqKGFl0Tiw" elementId="org.eclipse.ui.contexts.dialog" name="In Dialogs"/>
+ <rootContext xmi:id="_I8ZGsRecEeKuGYX8YauIGQ" elementId="org.eclipse.ui.contexts.dialogAndWindow" name="In Dialog and Windows">
+ <children xmi:id="_I8ZGshecEeKuGYX8YauIGQ" elementId="org.eclipse.ui.contexts.window" name="In Windows"/>
+ <children xmi:id="_I8ZGsxecEeKuGYX8YauIGQ" elementId="org.eclipse.ui.contexts.dialog" name="In Dialogs"/>
</rootContext>
- <commands xmi:id="_XS7TWnHYEeGdaqKGFl0Tiw" elementId="tychodemo.bundle.quitCommand" commandName="quitCommand"/>
- <commands xmi:id="_XS7TXnHYEeGdaqKGFl0Tiw" elementId="tychodemo.bundle.openCommand" commandName="openCommand"/>
- <commands xmi:id="_XS76YXHYEeGdaqKGFl0Tiw" elementId="tychodemo.bundle.saveCommand" commandName="saveCommand"/>
- <commands xmi:id="_XS76ZHHYEeGdaqKGFl0Tiw" elementId="tychodemo.bundle.aboutCommand" commandName="aboutCommand"/>
- <addons xmi:id="_XS7TVHHYEeGdaqKGFl0Tiw" elementId="org.eclipse.e4.core.commands.service" contributionURI="bundleclass://org.eclipse.e4.core.commands/org.eclipse.e4.core.commands.CommandServiceAddon"/>
- <addons xmi:id="_XS7TVXHYEeGdaqKGFl0Tiw" elementId="org.eclipse.e4.ui.contexts.service" contributionURI="bundleclass://org.eclipse.e4.ui.services/org.eclipse.e4.ui.services.ContextServiceAddon"/>
- <addons xmi:id="_XS7TVnHYEeGdaqKGFl0Tiw" elementId="org.eclipse.e4.ui.bindings.service" contributionURI="bundleclass://org.eclipse.e4.ui.bindings/org.eclipse.e4.ui.bindings.BindingServiceAddon"/>
- <addons xmi:id="_XS7TV3HYEeGdaqKGFl0Tiw" 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="_XS7TWHHYEeGdaqKGFl0Tiw" 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="_XS7TWXHYEeGdaqKGFl0Tiw" elementId="org.eclipse.e4.ui.workbench.bindings.model" contributionURI="bundleclass://org.eclipse.e4.ui.workbench.swt/org.eclipse.e4.ui.workbench.swt.util.BindingProcessingAddon"/>
+ <commands xmi:id="_I8ZGuhecEeKuGYX8YauIGQ" elementId="org.eclipse.ui.file.exit" commandName="quitCommand"/>
+ <commands xmi:id="_I8ZGvhecEeKuGYX8YauIGQ" elementId="tychodemo.bundle.open" commandName="openCommand"/>
+ <commands xmi:id="_I8ZGwRecEeKuGYX8YauIGQ" elementId="org.eclipse.ui.file.save" commandName="saveCommand"/>
+ <commands xmi:id="_I8ZGxBecEeKuGYX8YauIGQ" elementId="org.eclipse.ui.help.aboutAction" commandName="aboutCommand"/>
+ <addons xmi:id="_I8ZGtBecEeKuGYX8YauIGQ" elementId="org.eclipse.e4.core.commands.service" contributionURI="bundleclass://org.eclipse.e4.core.commands/org.eclipse.e4.core.commands.CommandServiceAddon"/>
+ <addons xmi:id="_I8ZGtRecEeKuGYX8YauIGQ" elementId="org.eclipse.e4.ui.contexts.service" contributionURI="bundleclass://org.eclipse.e4.ui.services/org.eclipse.e4.ui.services.ContextServiceAddon"/>
+ <addons xmi:id="_I8ZGthecEeKuGYX8YauIGQ" elementId="org.eclipse.e4.ui.bindings.service" contributionURI="bundleclass://org.eclipse.e4.ui.bindings/org.eclipse.e4.ui.bindings.BindingServiceAddon"/>
+ <addons xmi:id="_I8ZGtxecEeKuGYX8YauIGQ" 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="_I8ZGuBecEeKuGYX8YauIGQ" 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="_I8ZGuRecEeKuGYX8YauIGQ" elementId="org.eclipse.e4.ui.workbench.bindings.model" contributionURI="bundleclass://org.eclipse.e4.ui.workbench.swt/org.eclipse.e4.ui.workbench.swt.util.BindingProcessingAddon"/>
</application:Application>
View
23 exercises/Exercise_04_Add_P2_Repository/tychodemo.bundle/META-INF/MANIFEST.MF
@@ -5,24 +5,23 @@ Bundle-SymbolicName: tychodemo.bundle; singleton:=true
Bundle-Version: 1.0.0.qualifier
Bundle-Activator: tychodemo.bundle.Activator
Require-Bundle: javax.inject;bundle-version="1.0.0",
- org.eclipse.core.resources;bundle-version="3.8.0",
org.eclipse.core.runtime;bundle-version="3.8.0",
- org.eclipse.swt;bundle-version="3.8.0",
+ org.eclipse.swt;bundle-version="3.100.1",
org.eclipse.core.databinding;bundle-version="1.4.1",
- org.eclipse.core.databinding.beans;bundle-version="1.2.100",
- org.eclipse.jface;bundle-version="3.8.0",
+ org.eclipse.core.databinding.beans;bundle-version="1.2.200",
+ org.eclipse.jface;bundle-version="3.8.101",
org.eclipse.jface.databinding;bundle-version="1.6.0",
- org.eclipse.e4.ui.services;bundle-version="0.10.0",
- org.eclipse.e4.ui.workbench;bundle-version="0.10.1",
+ org.eclipse.e4.ui.services;bundle-version="0.10.2",
+ org.eclipse.e4.ui.workbench;bundle-version="0.10.3",
org.eclipse.e4.core.services;bundle-version="1.0.0",
org.eclipse.e4.core.di;bundle-version="1.1.0",
- org.eclipse.e4.core.contexts;bundle-version="1.0.0",
- org.eclipse.e4.ui.workbench.swt;bundle-version="0.10.0",
- org.eclipse.core.databinding.property;bundle-version="1.4.0",
- org.eclipse.e4.ui.css.core;bundle-version="0.10.0",
+ org.eclipse.e4.core.contexts;bundle-version="1.1.0",
+ org.eclipse.e4.ui.workbench.swt;bundle-version="0.10.2",
+ org.eclipse.core.databinding.property;bundle-version="1.4.100",
+ org.eclipse.e4.ui.css.core;bundle-version="0.10.2",
org.w3c.css.sac;bundle-version="1.3.1",
- org.eclipse.e4.core.commands;bundle-version="0.10.0",
- org.eclipse.e4.ui.bindings;bundle-version="0.10.0"
+ org.eclipse.e4.core.commands;bundle-version="0.10.1",
+ org.eclipse.e4.ui.bindings;bundle-version="0.10.1"
Bundle-RequiredExecutionEnvironment: JavaSE-1.6
Import-Package: org.osgi.framework;version="1.3.0"
Bundle-ActivationPolicy: lazy
View
2  exercises/Exercise_04_Add_P2_Repository/tychodemo.bundle/src/tychodemo/bundle/handlers/AboutHandler.java
@@ -24,6 +24,6 @@ public void execute(@Named(IServiceConstants.ACTIVE_SHELL) Shell shell) {
}
String getGreeting() {
- return "Hello Tycho Demo RCP!";
+ return "Tycho Demo RCP";
}
}
View
3  exercises/Exercise_04_Add_P2_Repository/tychodemo.bundle/tychodemo.bundle.product
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<?pde version="3.5"?>
-<product name="tychodemo.bundle" uid="tychodemo.product" id="tychodemo.bundle.product" application="org.eclipse.e4.ui.workbench.swt.E4Application" version="1.0.0.qualifier" useFeatures="false" includeLaunchers="true">
+<product name="tychodemo.bundle" id="tychodemo.bundle.product" application="org.eclipse.e4.ui.workbench.swt.E4Application" version="1.0.0.qualifier" useFeatures="false" includeLaunchers="true">
<configIni use="default">
</configIni>
@@ -16,6 +16,7 @@
<plugin id="com.ibm.icu"/>
<plugin id="javax.annotation"/>
<plugin id="javax.inject"/>
+ <plugin id="javax.xml"/>
<plugin id="org.apache.batik.css"/>
<plugin id="org.apache.batik.util"/>
<plugin id="org.apache.batik.util.gui"/>
View
24 exercises/Exercise_04_Add_P2_Repository/tychodemo.feature/pom.xml
@@ -1,15 +1,11 @@
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
-
- <parent>
- <groupId>tychodemo</groupId>
- <artifactId>tychodemo.parent</artifactId>
- <version>1.0.0-SNAPSHOT</version>
- <relativePath>../tychodemo.parent</relativePath>
- </parent>
-
- <artifactId>tychodemo.feature</artifactId>
- <packaging>eclipse-feature</packaging>
-
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <artifactId>tychodemo.feature</artifactId>
+ <packaging>eclipse-feature</packaging>
+ <parent>
+ <groupId>tychodemo</groupId>
+ <artifactId>tychodemo.parent</artifactId>
+ <version>1.0.0-SNAPSHOT</version>
+ <relativePath>../tychodemo.parent</relativePath>
+ </parent>
</project>
View
6 exercises/Exercise_04_Add_P2_Repository/tychodemo.parent/pom.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
-
+
<groupId>tychodemo</groupId>
<artifactId>tychodemo.parent</artifactId>
<version>1.0.0-SNAPSHOT</version>
@@ -16,7 +16,7 @@
<!-- common settings for all modules -->
<properties>
- <tycho-version>0.14.1</tycho-version>
+ <tycho-version>0.16.0</tycho-version>
</properties>
<repositories>
@@ -24,7 +24,7 @@
<repository>
<id>juno</id>
<layout>p2</layout>
- <url>http://download.eclipse.org/releases/juno/</url>
+ <url>http://download.eclipse.org/releases/juno/</url>
</repository>
</repositories>
View
BIN  exercises/Exercise_05_Add_Product/resources/core_resources_missing.png
Deleted file not rendered
View
BIN  exercises/Exercise_05_Add_Product/resources/core_resources_removal.png
Deleted file not rendered
View
2  exercises/Exercise_05_Add_Product/tychodemo.bundle.tests/META-INF/MANIFEST.MF
@@ -5,4 +5,4 @@ Bundle-SymbolicName: tychodemo.bundle.tests
Bundle-Version: 1.0.0.qualifier
Fragment-Host: tychodemo.bundle;bundle-version="1.0.0"
Bundle-RequiredExecutionEnvironment: JavaSE-1.6
-Require-Bundle: org.junit
+Require-Bundle: org.junit;bundle-version="4.0.0"
View
24 exercises/Exercise_05_Add_Product/tychodemo.bundle.tests/pom.xml
@@ -1,15 +1,11 @@
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
-
- <parent>
- <groupId>tychodemo</groupId>
- <artifactId>tychodemo.parent</artifactId>
- <version>1.0.0-SNAPSHOT</version>
- <relativePath>../tychodemo.parent</relativePath>
- </parent>
-
- <artifactId>tychodemo.bundle.tests</artifactId>
- <packaging>eclipse-test-plugin</packaging>
-
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <artifactId>tychodemo.bundle.tests</artifactId>
+ <packaging>eclipse-test-plugin</packaging>
+ <parent>
+ <groupId>tychodemo</groupId>
+ <artifactId>tychodemo.parent</artifactId>
+ <version>1.0.0-SNAPSHOT</version>
+ <relativePath>../tychodemo.parent</relativePath>
+ </parent>
</project>
View
78 exercises/Exercise_05_Add_Product/tychodemo.bundle/Application.e4xmi
@@ -1,52 +1,52 @@
<?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="_XS7TUHHYEeGdaqKGFl0Tiw" elementId="org.eclipse.e4.ide.application" bindingContexts="_XS7TUXHYEeGdaqKGFl0Tiw">
- <children xsi:type="basic:TrimmedWindow" xmi:id="_XS76Z3HYEeGdaqKGFl0Tiw" label="tychodemo.bundle" width="500" height="400">
- <children xsi:type="advanced:PerspectiveStack" xmi:id="_XS76b3HYEeGdaqKGFl0Tiw">
- <children xsi:type="advanced:Perspective" xmi:id="_XS76cHHYEeGdaqKGFl0Tiw">
- <children xsi:type="basic:PartSashContainer" xmi:id="_XS76cXHYEeGdaqKGFl0Tiw">
- <children xsi:type="basic:PartStack" xmi:id="_XS8hcHHYEeGdaqKGFl0Tiw"/>
+<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="_I8ZGsBecEeKuGYX8YauIGQ" elementId="org.eclipse.e4.ide.application" bindingContexts="_I8ZGsRecEeKuGYX8YauIGQ">
+ <children xsi:type="basic:TrimmedWindow" xmi:id="_I8ZGxxecEeKuGYX8YauIGQ" label="tychodemo.bundle" width="500" height="400">
+ <children xsi:type="advanced:PerspectiveStack" xmi:id="_I8ZtxRecEeKuGYX8YauIGQ">
+ <children xsi:type="advanced:Perspective" xmi:id="_I8ZtxhecEeKuGYX8YauIGQ">
+ <children xsi:type="basic:PartSashContainer" xmi:id="_I8ZtxxecEeKuGYX8YauIGQ">
+ <children xsi:type="basic:PartStack" xmi:id="_I8ZtyBecEeKuGYX8YauIGQ"/>
</children>
</children>
</children>
- <mainMenu xmi:id="_XS76aHHYEeGdaqKGFl0Tiw" elementId="menu:org.eclipse.ui.main.menu">
- <children xsi:type="menu:Menu" xmi:id="_XS76aXHYEeGdaqKGFl0Tiw" label="File">
- <children xsi:type="menu:HandledMenuItem" xmi:id="_XS76anHYEeGdaqKGFl0Tiw" label="Open" iconURI="platform:/plugin/tychodemo.bundle/icons/sample.gif" command="_XS7TXnHYEeGdaqKGFl0Tiw"/>
- <children xsi:type="menu:HandledMenuItem" xmi:id="_XS76a3HYEeGdaqKGFl0Tiw" label="Save" iconURI="platform:/plugin/tychodemo.bundle/icons/save_edit.gif" command="_XS76YXHYEeGdaqKGFl0Tiw"/>
- <children xsi:type="menu:HandledMenuItem" xmi:id="_XS76bHHYEeGdaqKGFl0Tiw" label="Quit" command="_XS7TWnHYEeGdaqKGFl0Tiw"/>
+ <mainMenu xmi:id="_I8ZGyBecEeKuGYX8YauIGQ" elementId="menu:org.eclipse.ui.main.menu">
+ <children xsi:type="menu:Menu" xmi:id="_I8ZGyRecEeKuGYX8YauIGQ" label="File">
+ <children xsi:type="menu:HandledMenuItem" xmi:id="_I8ZtwBecEeKuGYX8YauIGQ" label="Open" iconURI="platform:/plugin/tychodemo.bundle/icons/sample.gif" command="_I8ZGvhecEeKuGYX8YauIGQ"/>
+ <children xsi:type="menu:HandledMenuItem" xmi:id="_I8ZtwRecEeKuGYX8YauIGQ" label="Save" iconURI="platform:/plugin/tychodemo.bundle/icons/save_edit.gif" command="_I8ZGwRecEeKuGYX8YauIGQ"/>
+ <children xsi:type="menu:HandledMenuItem" xmi:id="_I8ZtwhecEeKuGYX8YauIGQ" label="Quit" command="_I8ZGuhecEeKuGYX8YauIGQ"/>
</children>
- <children xsi:type="menu:Menu" xmi:id="_XS76bXHYEeGdaqKGFl0Tiw" label="Help">
- <children xsi:type="menu:HandledMenuItem" xmi:id="_XS76bnHYEeGdaqKGFl0Tiw" label="About" command="_XS76ZHHYEeGdaqKGFl0Tiw"/>
+ <children xsi:type="menu:Menu" xmi:id="_I8ZtwxecEeKuGYX8YauIGQ" label="Help">
+ <children xsi:type="menu:HandledMenuItem" xmi:id="_I8ZtxBecEeKuGYX8YauIGQ" label="About" command="_I8ZGxBecEeKuGYX8YauIGQ"/>
</children>
</mainMenu>
- <trimBars xmi:id="_XS8hcXHYEeGdaqKGFl0Tiw">
- <children xsi:type="menu:ToolBar" xmi:id="_XS8hcnHYEeGdaqKGFl0Tiw" elementId="toolbar:org.eclipse.ui.main.toolbar">
- <children xsi:type="menu:HandledToolItem" xmi:id="_XS8hc3HYEeGdaqKGFl0Tiw" iconURI="platform:/plugin/tychodemo.bundle/icons/sample.gif" command="_XS7TXnHYEeGdaqKGFl0Tiw"/>
- <children xsi:type="menu:HandledToolItem" xmi:id="_XS8hdHHYEeGdaqKGFl0Tiw" iconURI="platform:/plugin/tychodemo.bundle/icons/save_edit.gif" command="_XS76YXHYEeGdaqKGFl0Tiw"/>
+ <trimBars xmi:id="_I8ZtyRecEeKuGYX8YauIGQ">
+ <children xsi:type="menu:ToolBar" xmi:id="_I8ZtyhecEeKuGYX8YauIGQ" elementId="toolbar:org.eclipse.ui.main.toolbar">
+ <children xsi:type="menu:HandledToolItem" xmi:id="_I8ZtyxecEeKuGYX8YauIGQ" iconURI="platform:/plugin/tychodemo.bundle/icons/sample.gif" command="_I8ZGvhecEeKuGYX8YauIGQ"/>
+ <children xsi:type="menu:HandledToolItem" xmi:id="_I8ZtzBecEeKuGYX8YauIGQ" iconURI="platform:/plugin/tychodemo.bundle/icons/save_edit.gif" command="_I8ZGwRecEeKuGYX8YauIGQ"/>
</children>
</trimBars>
</children>
- <handlers xmi:id="_XS7TW3HYEeGdaqKGFl0Tiw" contributionURI="bundleclass://tychodemo.bundle/tychodemo.bundle.handlers.QuitHandler" command="_XS7TWnHYEeGdaqKGFl0Tiw"/>
- <handlers xmi:id="_XS7TX3HYEeGdaqKGFl0Tiw" contributionURI="bundleclass://tychodemo.bundle/tychodemo.bundle.handlers.OpenHandler" command="_XS7TXnHYEeGdaqKGFl0Tiw"/>
- <handlers xmi:id="_XS76YnHYEeGdaqKGFl0Tiw" contributionURI="bundleclass://tychodemo.bundle/tychodemo.bundle.handlers.SaveHandler" command="_XS76YXHYEeGdaqKGFl0Tiw"/>
- <handlers xmi:id="_XS76ZXHYEeGdaqKGFl0Tiw" contributionURI="bundleclass://tychodemo.bundle/tychodemo.bundle.handlers.AboutHandler" command="_XS76ZHHYEeGdaqKGFl0Tiw"/>
- <bindingTables xmi:id="_XS7TXHHYEeGdaqKGFl0Tiw" bindingContext="_XS7TUXHYEeGdaqKGFl0Tiw">
- <bindings xmi:id="_XS7TXXHYEeGdaqKGFl0Tiw" keySequence="Ctrl+Q" command="_XS7TWnHYEeGdaqKGFl0Tiw"/>
- <bindings xmi:id="_XS76YHHYEeGdaqKGFl0Tiw" keySequence="Ctrl+O" command="_XS7TXnHYEeGdaqKGFl0Tiw"/>
- <bindings xmi:id="_XS76Y3HYEeGdaqKGFl0Tiw" keySequence="Ctrl+S" command="_XS76YXHYEeGdaqKGFl0Tiw"/>
- <bindings xmi:id="_XS76ZnHYEeGdaqKGFl0Tiw" keySequence="Ctrl+A" command="_XS76ZHHYEeGdaqKGFl0Tiw"/>
+ <handlers xmi:id="_I8ZGuxecEeKuGYX8YauIGQ" contributionURI="bundleclass://tychodemo.bundle/tychodemo.bundle.handlers.QuitHandler" command="_I8ZGuhecEeKuGYX8YauIGQ"/>
+ <handlers xmi:id="_I8ZGvxecEeKuGYX8YauIGQ" contributionURI="bundleclass://tychodemo.bundle/tychodemo.bundle.handlers.OpenHandler" command="_I8ZGvhecEeKuGYX8YauIGQ"/>
+ <handlers xmi:id="_I8ZGwhecEeKuGYX8YauIGQ" contributionURI="bundleclass://tychodemo.bundle/tychodemo.bundle.handlers.SaveHandler" command="_I8ZGwRecEeKuGYX8YauIGQ"/>
+ <handlers xmi:id="_I8ZGxRecEeKuGYX8YauIGQ" contributionURI="bundleclass://tychodemo.bundle/tychodemo.bundle.handlers.AboutHandler" command="_I8ZGxBecEeKuGYX8YauIGQ"/>
+ <bindingTables xmi:id="_I8ZGvBecEeKuGYX8YauIGQ" bindingContext="_I8ZGsRecEeKuGYX8YauIGQ">
+ <bindings xmi:id="_I8ZGvRecEeKuGYX8YauIGQ" keySequence="M1+Q" command="_I8ZGuhecEeKuGYX8YauIGQ"/>
+ <bindings xmi:id="_I8ZGwBecEeKuGYX8YauIGQ" keySequence="M1+O" command="_I8ZGvhecEeKuGYX8YauIGQ"/>
+ <bindings xmi:id="_I8ZGwxecEeKuGYX8YauIGQ" keySequence="M1+S" command="_I8ZGwRecEeKuGYX8YauIGQ"/>
+ <bindings xmi:id="_I8ZGxhecEeKuGYX8YauIGQ" keySequence="M1+A" command="_I8ZGxBecEeKuGYX8YauIGQ"/>
</bindingTables>
- <rootContext xmi:id="_XS7TUXHYEeGdaqKGFl0Tiw" elementId="org.eclipse.ui.contexts.dialogAndWindow" name="In Dialog and Windows">
- <children xmi:id="_XS7TUnHYEeGdaqKGFl0Tiw" elementId="org.eclipse.ui.contexts.window" name="In Windows"/>
- <children xmi:id="_XS7TU3HYEeGdaqKGFl0Tiw" elementId="org.eclipse.ui.contexts.dialog" name="In Dialogs"/>
+ <rootContext xmi:id="_I8ZGsRecEeKuGYX8YauIGQ" elementId="org.eclipse.ui.contexts.dialogAndWindow" name="In Dialog and Windows">
+ <children xmi:id="_I8ZGshecEeKuGYX8YauIGQ" elementId="org.eclipse.ui.contexts.window" name="In Windows"/>
+ <children xmi:id="_I8ZGsxecEeKuGYX8YauIGQ" elementId="org.eclipse.ui.contexts.dialog" name="In Dialogs"/>
</rootContext>
- <commands xmi:id="_XS7TWnHYEeGdaqKGFl0Tiw" elementId="tychodemo.bundle.quitCommand" commandName="quitCommand"/>
- <commands xmi:id="_XS7TXnHYEeGdaqKGFl0Tiw" elementId="tychodemo.bundle.openCommand" commandName="openCommand"/>
- <commands xmi:id="_XS76YXHYEeGdaqKGFl0Tiw" elementId="tychodemo.bundle.saveCommand" commandName="saveCommand"/>
- <commands xmi:id="_XS76ZHHYEeGdaqKGFl0Tiw" elementId="tychodemo.bundle.aboutCommand" commandName="aboutCommand"/>
- <addons xmi:id="_XS7TVHHYEeGdaqKGFl0Tiw" elementId="org.eclipse.e4.core.commands.service" contributionURI="bundleclass://org.eclipse.e4.core.commands/org.eclipse.e4.core.commands.CommandServiceAddon"/>
- <addons xmi:id="_XS7TVXHYEeGdaqKGFl0Tiw" elementId="org.eclipse.e4.ui.contexts.service" contributionURI="bundleclass://org.eclipse.e4.ui.services/org.eclipse.e4.ui.services.ContextServiceAddon"/>
- <addons xmi:id="_XS7TVnHYEeGdaqKGFl0Tiw" elementId="org.eclipse.e4.ui.bindings.service" contributionURI="bundleclass://org.eclipse.e4.ui.bindings/org.eclipse.e4.ui.bindings.BindingServiceAddon"/>
- <addons xmi:id="_XS7TV3HYEeGdaqKGFl0Tiw" 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="_XS7TWHHYEeGdaqKGFl0Tiw" 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="_XS7TWXHYEeGdaqKGFl0Tiw" elementId="org.eclipse.e4.ui.workbench.bindings.model" contributionURI="bundleclass://org.eclipse.e4.ui.workbench.swt/org.eclipse.e4.ui.workbench.swt.util.BindingProcessingAddon"/>
+ <commands xmi:id="_I8ZGuhecEeKuGYX8YauIGQ" elementId="org.eclipse.ui.file.exit" commandName="quitCommand"/>
+ <commands xmi:id="_I8ZGvhecEeKuGYX8YauIGQ" elementId="tychodemo.bundle.open" commandName="openCommand"/>
+ <commands xmi:id="_I8ZGwRecEeKuGYX8YauIGQ" elementId="org.eclipse.ui.file.save" commandName="saveCommand"/>
+ <commands xmi:id="_I8ZGxBecEeKuGYX8YauIGQ" elementId="org.eclipse.ui.help.aboutAction" commandName="aboutCommand"/>
+ <addons xmi:id="_I8ZGtBecEeKuGYX8YauIGQ" elementId="org.eclipse.e4.core.commands.service" contributionURI="bundleclass://org.eclipse.e4.core.commands/org.eclipse.e4.core.commands.CommandServiceAddon"/>
+ <addons xmi:id="_I8ZGtRecEeKuGYX8YauIGQ" elementId="org.eclipse.e4.ui.contexts.service" contributionURI="bundleclass://org.eclipse.e4.ui.services/org.eclipse.e4.ui.services.ContextServiceAddon"/>
+ <addons xmi:id="_I8ZGthecEeKuGYX8YauIGQ" elementId="org.eclipse.e4.ui.bindings.service" contributionURI="bundleclass://org.eclipse.e4.ui.bindings/org.eclipse.e4.ui.bindings.BindingServiceAddon"/>
+ <addons xmi:id="_I8ZGtxecEeKuGYX8YauIGQ" 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="_I8ZGuBecEeKuGYX8YauIGQ" 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="_I8ZGuRecEeKuGYX8YauIGQ" elementId="org.eclipse.e4.ui.workbench.bindings.model" contributionURI="bundleclass://org.eclipse.e4.ui.workbench.swt/org.eclipse.e4.ui.workbench.swt.util.BindingProcessingAddon"/>
</application:Application>
View
23 exercises/Exercise_05_Add_Product/tychodemo.bundle/META-INF/MANIFEST.MF
@@ -5,24 +5,23 @@ Bundle-SymbolicName: tychodemo.bundle; singleton:=true
Bundle-Version: 1.0.0.qualifier
Bundle-Activator: tychodemo.bundle.Activator
Require-Bundle: javax.inject;bundle-version="1.0.0",
- org.eclipse.core.resources;bundle-version="3.8.0",
org.eclipse.core.runtime;bundle-version="3.8.0",
- org.eclipse.swt;bundle-version="3.8.0",
+ org.eclipse.swt;bundle-version="3.100.1",
org.eclipse.core.databinding;bundle-version="1.4.1",
- org.eclipse.core.databinding.beans;bundle-version="1.2.100",
- org.eclipse.jface;bundle-version="3.8.0",
+ org.eclipse.core.databinding.beans;bundle-version="1.2.200",
+ org.eclipse.jface;bundle-version="3.8.101",
org.eclipse.jface.databinding;bundle-version="1.6.0",
- org.eclipse.e4.ui.services;bundle-version="0.10.0",
- org.eclipse.e4.ui.workbench;bundle-version="0.10.1",
+ org.eclipse.e4.ui.services;bundle-version="0.10.2",
+ org.eclipse.e4.ui.workbench;bundle-version="0.10.3",
org.eclipse.e4.core.services;bundle-version="1.0.0",
org.eclipse.e4.core.di;bundle-version="1.1.0",
- org.eclipse.e4.core.contexts;bundle-version="1.0.0",
- org.eclipse.e4.ui.workbench.swt;bundle-version="0.10.0",
- org.eclipse.core.databinding.property;bundle-version="1.4.0",
- org.eclipse.e4.ui.css.core;bundle-version="0.10.0",
+ org.eclipse.e4.core.contexts;bundle-version="1.1.0",
+ org.eclipse.e4.ui.workbench.swt;bundle-version="0.10.2",
+ org.eclipse.core.databinding.property;bundle-version="1.4.100",
+ org.eclipse.e4.ui.css.core;bundle-version="0.10.2",
org.w3c.css.sac;bundle-version="1.3.1",
- org.eclipse.e4.core.commands;bundle-version="0.10.0",
- org.eclipse.e4.ui.bindings;bundle-version="0.10.0"
+ org.eclipse.e4.core.commands;bundle-version="0.10.1",
+ org.eclipse.e4.ui.bindings;bundle-version="0.10.1"
Bundle-RequiredExecutionEnvironment: JavaSE-1.6
Import-Package: org.osgi.framework;version="1.3.0"
Bundle-ActivationPolicy: lazy
View
2  exercises/Exercise_05_Add_Product/tychodemo.bundle/src/tychodemo/bundle/handlers/AboutHandler.java
@@ -24,6 +24,6 @@ public void execute(@Named(IServiceConstants.ACTIVE_SHELL) Shell shell) {
}
String getGreeting() {
- return "Hello Tycho Demo RCP!";
+ return "Tycho Demo RCP";
}
}
View
3  exercises/Exercise_05_Add_Product/tychodemo.bundle/tychodemo.bundle.product
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<?pde version="3.5"?>
-<product name="tychodemo.bundle" uid="tychodemo.product" id="tychodemo.bundle.product" application="org.eclipse.e4.ui.workbench.swt.E4Application" version="1.0.0.qualifier" useFeatures="false" includeLaunchers="true">
+<product name="tychodemo.bundle" id="tychodemo.bundle.product" application="org.eclipse.e4.ui.workbench.swt.E4Application" version="1.0.0.qualifier" useFeatures="false" includeLaunchers="true">
<configIni use="default">
</configIni>
@@ -16,6 +16,7 @@
<plugin id="com.ibm.icu"/>
<plugin id="javax.annotation"/>
<plugin id="javax.inject"/>
+ <plugin id="javax.xml"/>
<plugin id="org.apache.batik.css"/>
<plugin id="org.apache.batik.util"/>
<plugin id="org.apache.batik.util.gui"/>
View
24 exercises/Exercise_05_Add_Product/tychodemo.feature/pom.xml
@@ -1,15 +1,11 @@
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
-
- <parent>
- <groupId>tychodemo</groupId>
- <artifactId>tychodemo.parent</artifactId>
- <version>1.0.0-SNAPSHOT</version>
- <relativePath>../tychodemo.parent</relativePath>
- </parent>
-
- <artifactId>tychodemo.feature</artifactId>
- <packaging>eclipse-feature</packaging>
-
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <artifactId>tychodemo.feature</artifactId>
+ <packaging>eclipse-feature</packaging>
+ <parent>
+ <groupId>tychodemo</groupId>
+ <artifactId>tychodemo.parent</artifactId>
+ <version>1.0.0-SNAPSHOT</version>
+ <relativePath>../tychodemo.parent</relativePath>
+ </parent>
</project>
View
9 exercises/Exercise_05_Add_Product/tychodemo.parent/README.html
@@ -73,14 +73,7 @@
Click on <tt>Add Required</tt>; this also adds the two required EMF features
<br /><img src="../resources/feature_add_required.png" />
</li>
- <li>Next, check that product configuration is consistent by clicking on the <tt>Validate...</tt> icon in the upper right corner of the editor
- <br />The expected result is a missing requirement from our <tt>tychodemo.bundle</tt> to <tt>org.eclipse.core.resources</tt>
- <br /><img src="../resources/core_resources_missing.png" />
- </li>
- <li>The bundle <tt>org.eclipse.core.resources</tt> is not needed in this example, so open <tt>tychodemo.bundle/META-INF/MANIFEST.MF</tt> and remove it from the list of required plug-ins
- <br /><img src="../resources/core_resources_removal.png" />
- </li>
- <li>Now the product configuration is consistent and can be launched from the <tt>Overview</tt> tab of the product editor</li>
+ <li>Now the product configuration can be launched from the <tt>Overview</tt> tab of the product editor</li>
</ul>
</li>
View
8 exercises/Exercise_05_Add_Product/tychodemo.parent/pom.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
-
+
<groupId>tychodemo</groupId>
<artifactId>tychodemo.parent</artifactId>
<version>1.0.0-SNAPSHOT</version>
@@ -17,7 +17,7 @@
<!-- common settings for all modules -->
<properties>
- <tycho-version>0.14.1</tycho-version>
+ <tycho-version>0.16.0</tycho-version>
</properties>
<repositories>
@@ -25,7 +25,7 @@
<repository>
<id>juno</id>
<layout>p2</layout>
- <url>http://download.eclipse.org/releases/juno/</url>
+ <url>http://download.eclipse.org/releases/juno/</url>
</repository>
</repositories>
@@ -41,4 +41,4 @@
</plugins>
</build>
-</project>
+</project>
View
26 exercises/Exercise_05_Add_Product/tychodemo.repository/pom.xml
@@ -1,15 +1,11 @@
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
-
- <parent>
- <groupId>tychodemo</groupId>
- <artifactId>tychodemo.parent</artifactId>
- <version>1.0.0-SNAPSHOT</version>
- <relativePath>../tychodemo.parent</relativePath>
- </parent>
-
- <artifactId>tychodemo.repository</artifactId>
- <packaging>eclipse-repository</packaging>
-
-</project>
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <artifactId>tychodemo.repository</artifactId>
+ <packaging>eclipse-repository</packaging>
+ <parent>
+ <groupId>tychodemo</groupId>
+ <artifactId>tychodemo.parent</artifactId>
+ <version>1.0.0-SNAPSHOT</version>
+ <relativePath>../tychodemo.parent</relativePath>
+ </parent>
+</project>
View
2  exercises/Exercise_05_Solution/tychodemo.bundle.tests/META-INF/MANIFEST.MF
@@ -5,4 +5,4 @@ Bundle-SymbolicName: tychodemo.bundle.tests
Bundle-Version: 1.0.0.qualifier
Fragment-Host: tychodemo.bundle;bundle-version="1.0.0"
Bundle-RequiredExecutionEnvironment: JavaSE-1.6
-Require-Bundle: org.junit
+Require-Bundle: org.junit;bundle-version="4.0.0"
View
24 exercises/Exercise_05_Solution/tychodemo.bundle.tests/pom.xml
@@ -1,15 +1,11 @@
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
-
- <parent>
- <groupId>tychodemo</groupId>
- <artifactId>tychodemo.parent</artifactId>
- <version>1.0.0-SNAPSHOT</version>
- <relativePath>../tychodemo.parent</relativePath>
- </parent>
-
- <artifactId>tychodemo.bundle.tests</artifactId>
- <packaging>eclipse-test-plugin</packaging>
-
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <artifactId>tychodemo.bundle.tests</artifactId>
+ <packaging>eclipse-test-plugin</packaging>
+ <parent>
+ <groupId>tychodemo</groupId>
+ <artifactId>tychodemo.parent</artifactId>
+ <version>1.0.0-SNAPSHOT</version>
+ <relativePath>../tychodemo.parent</relativePath>
+ </parent>
</project>
View
78 exercises/Exercise_05_Solution/tychodemo.bundle/Application.e4xmi
@@ -1,52 +1,52 @@
<?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="_XS7TUHHYEeGdaqKGFl0Tiw" elementId="org.eclipse.e4.ide.application" bindingContexts="_XS7TUXHYEeGdaqKGFl0Tiw">
- <children xsi:type="basic:TrimmedWindow" xmi:id="_XS76Z3HYEeGdaqKGFl0Tiw" label="tychodemo.bundle" width="500" height="400">
- <children xsi:type="advanced:PerspectiveStack" xmi:id="_XS76b3HYEeGdaqKGFl0Tiw">
- <children xsi:type="advanced:Perspective" xmi:id="_XS76cHHYEeGdaqKGFl0Tiw">
- <children xsi:type="basic:PartSashContainer" xmi:id="_XS76cXHYEeGdaqKGFl0Tiw">
- <children xsi:type="basic:PartStack" xmi:id="_XS8hcHHYEeGdaqKGFl0Tiw"/>
+<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="_I8ZGsBecEeKuGYX8YauIGQ" elementId="org.eclipse.e4.ide.application" bindingContexts="_I8ZGsRecEeKuGYX8YauIGQ">
+ <children xsi:type="basic:TrimmedWindow" xmi:id="_I8ZGxxecEeKuGYX8YauIGQ" label="tychodemo.bundle" width="500" height="400">
+ <children xsi:type="advanced:PerspectiveStack" xmi:id="_I8ZtxRecEeKuGYX8YauIGQ">
+ <children xsi:type="advanced:Perspective" xmi:id="_I8ZtxhecEeKuGYX8YauIGQ">
+ <children xsi:type="basic:PartSashContainer" xmi:id="_I8ZtxxecEeKuGYX8YauIGQ">
+ <children xsi:type="basic:PartStack" xmi:id="_I8ZtyBecEeKuGYX8YauIGQ"/>
</children>
</children>
</children>
- <mainMenu xmi:id="_XS76aHHYEeGdaqKGFl0Tiw" elementId="menu:org.eclipse.ui.main.menu">
- <children xsi:type="menu:Menu" xmi:id="_XS76aXHYEeGdaqKGFl0Tiw" label="File">
- <children xsi:type="menu:HandledMenuItem" xmi:id="_XS76anHYEeGdaqKGFl0Tiw" label="Open" iconURI="platform:/plugin/tychodemo.bundle/icons/sample.gif" command="_XS7TXnHYEeGdaqKGFl0Tiw"/>
- <children xsi:type="menu:HandledMenuItem" xmi:id="_XS76a3HYEeGdaqKGFl0Tiw" label="Save" iconURI="platform:/plugin/tychodemo.bundle/icons/save_edit.gif" command="_XS76YXHYEeGdaqKGFl0Tiw"/>
- <children xsi:type="menu:HandledMenuItem" xmi:id="_XS76bHHYEeGdaqKGFl0Tiw" label="Quit" command="_XS7TWnHYEeGdaqKGFl0Tiw"/>
+ <mainMenu xmi:id="_I8ZGyBecEeKuGYX8YauIGQ" elementId="menu:org.eclipse.ui.main.menu">
+ <children xsi:type="menu:Menu" xmi:id="_I8ZGyRecEeKuGYX8YauIGQ" label="File">
+ <children xsi:type="menu:HandledMenuItem" xmi:id="_I8ZtwBecEeKuGYX8YauIGQ" label="Open" iconURI="platform:/plugin/tychodemo.bundle/icons/sample.gif" command="_I8ZGvhecEeKuGYX8YauIGQ"/>
+ <children xsi:type="menu:HandledMenuItem" xmi:id="_I8ZtwRecEeKuGYX8YauIGQ" label="Save" iconURI="platform:/plugin/tychodemo.bundle/icons/save_edit.gif" command="_I8ZGwRecEeKuGYX8YauIGQ"/>
+ <children xsi:type="menu:HandledMenuItem" xmi:id="_I8ZtwhecEeKuGYX8YauIGQ" label="Quit" command="_I8ZGuhecEeKuGYX8YauIGQ"/>
</children>
- <children xsi:type="menu:Menu" xmi:id="_XS76bXHYEeGdaqKGFl0Tiw" label="Help">
- <children xsi:type="menu:HandledMenuItem" xmi:id="_XS76bnHYEeGdaqKGFl0Tiw" label="About" command="_XS76ZHHYEeGdaqKGFl0Tiw"/>
+ <children xsi:type="menu:Menu" xmi:id="_I8ZtwxecEeKuGYX8YauIGQ" label="Help">
+ <children xsi:type="menu:HandledMenuItem" xmi:id="_I8ZtxBecEeKuGYX8YauIGQ" label="About" command="_I8ZGxBecEeKuGYX8YauIGQ"/>
</children>
</mainMenu>
- <trimBars xmi:id="_XS8hcXHYEeGdaqKGFl0Tiw">
- <children xsi:type="menu:ToolBar" xmi:id="_XS8hcnHYEeGdaqKGFl0Tiw" elementId="toolbar:org.eclipse.ui.main.toolbar">
- <children xsi:type="menu:HandledToolItem" xmi:id="_XS8hc3HYEeGdaqKGFl0Tiw" iconURI="platform:/plugin/tychodemo.bundle/icons/sample.gif" command="_XS7TXnHYEeGdaqKGFl0Tiw"/>
- <children xsi:type="menu:HandledToolItem" xmi:id="_XS8hdHHYEeGdaqKGFl0Tiw" iconURI="platform:/plugin/tychodemo.bundle/icons/save_edit.gif" command="_XS76YXHYEeGdaqKGFl0Tiw"/>
+ <trimBars xmi:id="_I8ZtyRecEeKuGYX8YauIGQ">
+ <children xsi:type="menu:ToolBar" xmi:id="_I8ZtyhecEeKuGYX8YauIGQ" elementId="toolbar:org.eclipse.ui.main.toolbar">
+ <children xsi:type="menu:HandledToolItem" xmi:id="_I8ZtyxecEeKuGYX8YauIGQ" iconURI="platform:/plugin/tychodemo.bundle/icons/sample.gif" command="_I8ZGvhecEeKuGYX8YauIGQ"/>
+ <children xsi:type="menu:HandledToolItem" xmi:id="_I8ZtzBecEeKuGYX8YauIGQ" iconURI="platform:/plugin/tychodemo.bundle/icons/save_edit.gif" command="_I8ZGwRecEeKuGYX8YauIGQ"/>
</children>
</trimBars>
</children>
- <handlers xmi:id="_XS7TW3HYEeGdaqKGFl0Tiw" contributionURI="bundleclass://tychodemo.bundle/tychodemo.bundle.handlers.QuitHandler" command="_XS7TWnHYEeGdaqKGFl0Tiw"/>
- <handlers xmi:id="_XS7TX3HYEeGdaqKGFl0Tiw" contributionURI="bundleclass://tychodemo.bundle/tychodemo.bundle.handlers.OpenHandler" command="_XS7TXnHYEeGdaqKGFl0Tiw"/>
- <handlers xmi:id="_XS76YnHYEeGdaqKGFl0Tiw" contributionURI="bundleclass://tychodemo.bundle/tychodemo.bundle.handlers.SaveHandler" command="_XS76YXHYEeGdaqKGFl0Tiw"/>
- <handlers xmi:id="_XS76ZXHYEeGdaqKGFl0Tiw" contributionURI="bundleclass://tychodemo.bundle/tychodemo.bundle.handlers.AboutHandler" command="_XS76ZHHYEeGdaqKGFl0Tiw"/>
- <bindingTables xmi:id="_XS7TXHHYEeGdaqKGFl0Tiw" bindingContext="_XS7TUXHYEeGdaqKGFl0Tiw">
- <bindings xmi:id="_XS7TXXHYEeGdaqKGFl0Tiw" keySequence="Ctrl+Q" command="_XS7TWnHYEeGdaqKGFl0Tiw"/>
- <bindings xmi:id="_XS76YHHYEeGdaqKGFl0Tiw" keySequence="Ctrl+O" command="_XS7TXnHYEeGdaqKGFl0Tiw"/>
- <bindings xmi:id="_XS76Y3HYEeGdaqKGFl0Tiw" keySequence="Ctrl+S" command="_XS76YXHYEeGdaqKGFl0Tiw"/>
- <bindings xmi:id="_XS76ZnHYEeGdaqKGFl0Tiw" keySequence="Ctrl+A" command="_XS76ZHHYEeGdaqKGFl0Tiw"/>
+ <handlers xmi:id="_I8ZGuxecEeKuGYX8YauIGQ" contributionURI="bundleclass://tychodemo.bundle/tychodemo.bundle.handlers.QuitHandler" command="_I8ZGuhecEeKuGYX8YauIGQ"/>
+ <handlers xmi:id="_I8ZGvxecEeKuGYX8YauIGQ" contributionURI="bundleclass://tychodemo.bundle/tychodemo.bundle.handlers.OpenHandler" command="_I8ZGvhecEeKuGYX8YauIGQ"/>
+ <handlers xmi:id="_I8ZGwhecEeKuGYX8YauIGQ" contributionURI="bundleclass://tychodemo.bundle/tychodemo.bundle.handlers.SaveHandler" command="_I8ZGwRecEeKuGYX8YauIGQ"/>
+ <handlers xmi:id="_I8ZGxRecEeKuGYX8YauIGQ" contributionURI="bundleclass://tychodemo.bundle/tychodemo.bundle.handlers.AboutHandler" command="_I8ZGxBecEeKuGYX8YauIGQ"/>
+ <bindingTables xmi:id="_I8ZGvBecEeKuGYX8YauIGQ" bindingContext="_I8ZGsRecEeKuGYX8YauIGQ">
+ <bindings xmi:id="_I8ZGvRecEeKuGYX8YauIGQ" keySequence="M1+Q" command="_I8ZGuhecEeKuGYX8YauIGQ"/>
+ <bindings xmi:id="_I8ZGwBecEeKuGYX8YauIGQ" keySequence="M1+O" command="_I8ZGvhecEeKuGYX8YauIGQ"/>
+ <bindings xmi:id="_I8ZGwxecEeKuGYX8YauIGQ" keySequence="M1+S" command="_I8ZGwRecEeKuGYX8YauIGQ"/>
+ <bindings xmi:id="_I8ZGxhecEeKuGYX8YauIGQ" keySequence="M1+A" command="_I8ZGxBecEeKuGYX8YauIGQ"/>
</bindingTables>
- <rootContext xmi:id="_XS7TUXHYEeGdaqKGFl0Tiw" elementId="org.eclipse.ui.contexts.dialogAndWindow" name="In Dialog and Windows">
- <children xmi:id="_XS7TUnHYEeGdaqKGFl0Tiw" elementId="org.eclipse.ui.contexts.window" name="In Windows"/>
- <children xmi:id="_XS7TU3HYEeGdaqKGFl0Tiw" elementId="org.eclipse.ui.contexts.dialog" name="In Dialogs"/>
+ <rootContext xmi:id="_I8ZGsRecEeKuGYX8YauIGQ" elementId="org.eclipse.ui.contexts.dialogAndWindow" name="In Dialog and Windows">
+ <children xmi:id="_I8ZGshecEeKuGYX8YauIGQ" elementId="org.eclipse.ui.contexts.window" name="In Windows"/>
+ <children xmi:id="_I8ZGsxecEeKuGYX8YauIGQ" elementId="org.eclipse.ui.contexts.dialog" name="In Dialogs"/>
</rootContext>
- <commands xmi:id="_XS7TWnHYEeGdaqKGFl0Tiw" elementId="tychodemo.bundle.quitCommand" commandName="quitCommand"/>
- <commands xmi:id="_XS7TXnHYEeGdaqKGFl0Tiw" elementId="tychodemo.bundle.openCommand" commandName="openCommand"/>
- <commands xmi:id="_XS76YXHYEeGdaqKGFl0Tiw" elementId="tychodemo.bundle.saveCommand" commandName="saveCommand"/>
- <commands xmi:id="_XS76ZHHYEeGdaqKGFl0Tiw" elementId="tychodemo.bundle.aboutCommand" commandName="aboutCommand"/>
- <addons xmi:id="_XS7TVHHYEeGdaqKGFl0Tiw" elementId="org.eclipse.e4.core.commands.service" contributionURI="bundleclass://org.eclipse.e4.core.commands/org.eclipse.e4.core.commands.CommandServiceAddon"/>
- <addons xmi:id="_XS7TVXHYEeGdaqKGFl0Tiw" elementId="org.eclipse.e4.ui.contexts.service" contributionURI="bundleclass://org.eclipse.e4.ui.services/org.eclipse.e4.ui.services.ContextServiceAddon"/>
- <addons xmi:id="_XS7TVnHYEeGdaqKGFl0Tiw" elementId="org.eclipse.e4.ui.bindings.service" contributionURI="bundleclass://org.eclipse.e4.ui.bindings/org.eclipse.e4.ui.bindings.BindingServiceAddon"/>
- <addons xmi:id="_XS7TV3HYEeGdaqKGFl0Tiw" 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="_XS7TWHHYEeGdaqKGFl0Tiw" 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="_XS7TWXHYEeGdaqKGFl0Tiw" elementId="org.eclipse.e4.ui.workbench.bindings.model" contributionURI="bundleclass://org.eclipse.e4.ui.workbench.swt/org.eclipse.e4.ui.workbench.swt.util.BindingProcessingAddon"/>
+ <commands xmi:id="_I8ZGuhecEeKuGYX8YauIGQ" elementId="org.eclipse.ui.file.exit" commandName="quitCommand"/>
+ <commands xmi:id="_I8ZGvhecEeKuGYX8YauIGQ" elementId="tychodemo.bundle.open" commandName="openCommand"/>
+ <commands xmi:id="_I8ZGwRecEeKuGYX8YauIGQ" elementId="org.eclipse.ui.file.save" commandName="saveCommand"/>
+ <commands xmi:id="_I8ZGxBecEeKuGYX8YauIGQ" elementId="org.eclipse.ui.help.aboutAction" commandName="aboutCommand"/>
+ <addons xmi:id="_I8ZGtBecEeKuGYX8YauIGQ" elementId="org.eclipse.e4.core.commands.service" contributionURI="bundleclass://org.eclipse.e4.core.commands/org.eclipse.e4.core.commands.CommandServiceAddon"/>
+ <addons xmi:id="_I8ZGtRecEeKuGYX8YauIGQ" elementId="org.eclipse.e4.ui.contexts.service" contributionURI="bundleclass://org.eclipse.e4.ui.services/org.eclipse.e4.ui.services.ContextServiceAddon"/>
+ <addons xmi:id="_I8ZGthecEeKuGYX8YauIGQ" elementId="org.eclipse.e4.ui.bindings.service" contributionURI="bundleclass://org.eclipse.e4.ui.bindings/org.eclipse.e4.ui.bindings.BindingServiceAddon"/>
+ <addons xmi:id="_I8ZGtxecEeKuGYX8YauIGQ" 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="_I8ZGuBecEeKuGYX8YauIGQ" 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="_I8ZGuRecEeKuGYX8YauIGQ" elementId="org.eclipse.e4.ui.workbench.bindings.model" contributionURI="bundleclass://org.eclipse.e4.ui.workbench.swt/org.eclipse.e4.ui.workbench.swt.util.BindingProcessingAddon"/>
</application:Application>
View
22 exercises/Exercise_05_Solution/tychodemo.bundle/META-INF/MANIFEST.MF
@@ -6,22 +6,22 @@ Bundle-Version: 1.0.0.qualifier
Bundle-Activator: tychodemo.bundle.Activator
Require-Bundle: javax.inject;bundle-version="1.0.0",
org.eclipse.core.runtime;bundle-version="3.8.0",
- org.eclipse.swt;bundle-version="3.8.0",
+ org.eclipse.swt;bundle-version="3.100.1",
org.eclipse.core.databinding;bundle-version="1.4.1",
- org.eclipse.core.databinding.beans;bundle-version="1.2.100",
- org.eclipse.jface;bundle-version="3.8.0",
+ org.eclipse.core.databinding.beans;bundle-version="1.2.200",
+ org.eclipse.jface;bundle-version="3.8.101",
org.eclipse.jface.databinding;bundle-version="1.6.0",
- org.eclipse.e4.ui.services;bundle-version="0.10.0",
- org.eclipse.e4.ui.workbench;bundle-version="0.10.1",
+ org.eclipse.e4.ui.services;bundle-version="0.10.2",
+ org.eclipse.e4.ui.workbench;bundle-version="0.10.3",
org.eclipse.e4.core.services;bundle-version="1.0.0",
org.eclipse.e4.core.di;bundle-version="1.1.0",
- org.eclipse.e4.core.contexts;bundle-version="1.0.0",
- org.eclipse.e4.ui.workbench.swt;bundle-version="0.10.0",
- org.eclipse.core.databinding.property;bundle-version="1.4.0",
- org.eclipse.e4.ui.css.core;bundle-version="0.10.0",
+ org.eclipse.e4.core.contexts;bundle-version="1.1.0",
+ org.eclipse.e4.ui.workbench.swt;bundle-version="0.10.2",
+ org.eclipse.core.databinding.property;bundle-version="1.4.100",
+ org.eclipse.e4.ui.css.core;bundle-version="0.10.2",
org.w3c.css.sac;bundle-version="1.3.1",
- org.eclipse.e4.core.commands;bundle-version="0.10.0",
- org.eclipse.e4.ui.bindings;bundle-version="0.10.0"
+ org.eclipse.e4.core.commands;bundle-version="0.10.1",
+ org.eclipse.e4.ui.bindings;bundle-version="0.10.1"
Bundle-RequiredExecutionEnvironment: JavaSE-1.6
Import-Package: org.osgi.framework;version="1.3.0"
Bundle-ActivationPolicy: lazy
View
2  exercises/Exercise_05_Solution/tychodemo.bundle/src/tychodemo/bundle/handlers/AboutHandler.java
@@ -24,6 +24,6 @@ public void execute(@Named(IServiceConstants.ACTIVE_SHELL) Shell shell) {
}
String getGreeting() {
- return "Hello Tycho Demo RCP!";
+ return "Tycho Demo RCP";
}
}
View
24 exercises/Exercise_05_Solution/tychodemo.feature/pom.xml
@@ -1,15 +1,11 @@
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
-
- <parent>
- <groupId>tychodemo</groupId>
- <artifactId>tychodemo.parent</artifactId>
- <version>1.0.0-SNAPSHOT</version>
- <relativePath>../tychodemo.parent</relativePath>
- </parent>
-
- <artifactId>tychodemo.feature</artifactId>
- <packaging>eclipse-feature</packaging>
-
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <artifactId>tychodemo.feature</artifactId>
+ <packaging>eclipse-feature</packaging>
+ <parent>
+ <groupId>tychodemo</groupId>
+ <artifactId>tychodemo.parent</artifactId>
+ <version>1.0.0-SNAPSHOT</version>
+ <relativePath>../tychodemo.parent</relativePath>
+ </parent>
</project>
View
8 exercises/Exercise_05_Solution/tychodemo.parent/pom.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
-
+
<groupId>tychodemo</groupId>
<artifactId>tychodemo.parent</artifactId>
<version>1.0.0-SNAPSHOT</version>
@@ -17,7 +17,7 @@
<!-- common settings for all modules -->
<properties>
- <tycho-version>0.14.1</tycho-version>
+ <tycho-version>0.16.0</tycho-version>
</properties>
<repositories>
@@ -25,7 +25,7 @@
<repository>
<id>juno</id>
<layout>p2</layout>
- <url>http://download.eclipse.org/releases/juno/</url>
+ <url>http://download.eclipse.org/releases/juno/</url>
</repository>
</repositories>
@@ -41,4 +41,4 @@
</plugins>
</build>
-</project>
+</project>
View
8 exercises/Exercise_05_Solution/tychodemo.repository/pom.xml
@@ -1,7 +1,8 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
-
+ <artifactId>tychodemo.repository</artifactId>
+ <packaging>eclipse-repository</packaging>
<parent>
<groupId>tychodemo</groupId>
<artifactId>tychodemo.parent</artifactId>
@@ -9,9 +10,6 @@
<relativePath>../tychodemo.parent</relativePath>
</parent>
- <artifactId>tychodemo.repository</artifactId>
- <packaging>eclipse-repository</packaging>
-
<build>
<plugins>
<plugin>
@@ -38,4 +36,4 @@
</plugins>
</build>
-</project>
+</project>
View
7 exercises/Exercise_05_Solution/tychodemo.repository/tychodemo.bundle.product
@@ -16,6 +16,7 @@
<plugin id="com.ibm.icu"/>
<plugin id="javax.annotation"/>
<plugin id="javax.inject"/>
+ <plugin id="javax.xml"/>
<plugin id="org.apache.batik.css"/>
<plugin id="org.apache.batik.util"/>
<plugin id="org.apache.batik.util.gui"/>
@@ -102,11 +103,11 @@
</plugins>
<features>
- <feature id="tychodemo.feature" version="1.0.0.qualifier"/>
- <feature id="org.eclipse.e4.rcp" version="1.1.0.v20120131-1846-8yEEFyfGGdfiIUCM1VKqVel"/>
- <feature id="org.eclipse.rcp" version="4.2.0.v20120118-1921-7IAO8ZBrHPUY91YehqxSmDN2WLrW"/>
+ <feature id="org.eclipse.e4.rcp" version="1.1.0.v20120521-2329-8yFTIGIbGGduEZ6-7-jLx41nXj"/>
+ <feature id="org.eclipse.rcp" version="4.2.1.v20120814-120134-7IAPA8BrHQicS-rjP0GbqK780kMy"/>
<feature id="org.eclipse.emf.ecore"/>
<feature id="org.eclipse.emf.common"/>
+ <feature id="tychodemo.feature" version="1.0.0.qualifier"/>
</features>
<configurations>

No commit comments for this range

Something went wrong with that request. Please try again.