<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>vogella blog &#187; Eclipse</title>
	<atom:link href="http://www.vogella.com/blog/category/eclipse/feed" rel="self" type="application/rss+xml" />
	<link>http://www.vogella.com/blog</link>
	<description>Because knowledge feels like magic.</description>
	<lastBuildDate>Tue, 15 May 2012 05:44:44 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Eclipse 4 training partnership with Industrial TSI (Netherlands, English Training)</title>
		<link>http://www.vogella.com/blog/2012/05/15/eclipse-4-training-partnership-with-industrial-tsi-netherlands-english-training/</link>
		<comments>http://www.vogella.com/blog/2012/05/15/eclipse-4-training-partnership-with-industrial-tsi-netherlands-english-training/#comments</comments>
		<pubDate>Tue, 15 May 2012 05:44:44 +0000</pubDate>
		<dc:creator>Lars Vogel</dc:creator>
				<category><![CDATA[Eclipse]]></category>
		<category><![CDATA[vogella]]></category>
		<category><![CDATA[Eclipse4]]></category>

		<guid isPermaLink="false">http://www.vogella.com/blog/?p=5147</guid>
		<description><![CDATA[Industrial TSI and vogella have entered into a partnership to provide Eclipse 4 RCP courses in The Netherlands and the Flemmish part of Belgium. We believe that Industrial TSI is the suitable partner in this region to provide Eclipse 4 &#8230; <a href="http://www.vogella.com/blog/2012/05/15/eclipse-4-training-partnership-with-industrial-tsi-netherlands-english-training/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Industrial TSI and vogella have entered into a partnership to provide Eclipse 4 RCP courses in The Netherlands and the Flemmish part of Belgium.</p>
<p>We believe that Industrial TSI is the suitable partner in this region to provide Eclipse 4 RCP trainings and spread the knowledge. Industrial TSI is an Eclipse Foundation member and provides several Eclipse related courses.</p>
<p>The first Eclipse 4 RCP course is scheduled from October 1 to October 5 2012 and will take place in Nieuwegein, The Netherlands. This will be the first Eclipse 4 RCP Training from vogella which is held in english. Visit our <a href="http://industrial-tsi.com/training-agenda/2012-10-01/eclipse-4-rcp-new">Training Site</a> for more details on this course.</p>
<p>For more information about Industrial TSI, please vist: <a href="http://www.industrial-tsi.com/">http://www.industrial-tsi.com/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.vogella.com/blog/2012/05/15/eclipse-4-training-partnership-with-industrial-tsi-netherlands-english-training/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Eclipse 4 RCP Tutorial updated to M7 and Eclipse 4 book (Early Access Version) soon available</title>
		<link>http://www.vogella.com/blog/2012/05/08/eclipse-4-tutorial-updated-to-m7-and-eclipse-4-book-early-access-version-soon-available/</link>
		<comments>http://www.vogella.com/blog/2012/05/08/eclipse-4-tutorial-updated-to-m7-and-eclipse-4-book-early-access-version-soon-available/#comments</comments>
		<pubDate>Tue, 08 May 2012 00:04:15 +0000</pubDate>
		<dc:creator>Lars Vogel</dc:creator>
				<category><![CDATA[Eclipse]]></category>
		<category><![CDATA[E4]]></category>
		<category><![CDATA[Eclipse 4]]></category>

		<guid isPermaLink="false">http://www.vogella.com/blog/?p=5126</guid>
		<description><![CDATA[I updated the Eclipse 4 RCP Tutorial to Eclipse 4.2 M7. This week I&#8217;m in the process of delivering a 5 days Eclipse 4 training together with Marcel Bruch and M7 really shines in terms of stability. M7 contains lots &#8230; <a href="http://www.vogella.com/blog/2012/05/08/eclipse-4-tutorial-updated-to-m7-and-eclipse-4-book-early-access-version-soon-available/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I updated the <a href="http://www.vogella.com/articles/Eclipse4RCP/article.html">Eclipse 4 RCP Tutorial</a> to Eclipse 4.2 M7. </p>
<p>This week I&#8217;m in the process of delivering a 5 days <a href="http://www.vogella.com/training/eclipsercp.html">Eclipse 4 training</a> together with <a href="http://www.vogella.com/blog/2012/03/23/marcel-bruch-joins-the-vogella-trainer-team/">Marcel Bruch</a> and M7 really shines in terms of stability.</p>
<p>M7 contains lots of small enhancements which make adapting Eclipse 4 much nicer, my personal favorite is <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=306623">Bug report: Application.e4xmi should be optional</a> for which <a href="https://twitter.com/#!/smcela">Sopot Cela</a> provided a patch. With this patch you can convert an Eclipse plug-in into an Eclipse 4 application without creating manually any extension in the plugin.xml file.</p>
<p>Please give Eclipse 4 M7 a try and report bugs you find in <a href="https://bugs.eclipse.org/bugs/enter_bug.cgi?product=e4">Bugzilla</a>. </p>
<p>I also thinks its about time to release my Eclipse 4 book for the Kindle. This will be an &#8220;Early Access Version&#8221; due to the fact that Eclipse 4 is still not final and that certains chapters still need some rework but should hopefully be a good reference. I plan to  provide updates for this version once Eclipse 4 is released via the Kindle store. </p>
<p>I hope that I will be able to publish this version of the Eclipse 4 book next week. Fingers crossed. <img src='http://www.vogella.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.vogella.com/blog/2012/05/08/eclipse-4-tutorial-updated-to-m7-and-eclipse-4-book-early-access-version-soon-available/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Eclipse 4 Modularity Tutorial</title>
		<link>http://www.vogella.com/blog/2012/04/05/eclipse-4-modularity-tutorial/</link>
		<comments>http://www.vogella.com/blog/2012/04/05/eclipse-4-modularity-tutorial/#comments</comments>
		<pubDate>Thu, 05 Apr 2012 10:05:00 +0000</pubDate>
		<dc:creator>Lars Vogel</dc:creator>
				<category><![CDATA[Eclipse]]></category>
		<category><![CDATA[E4]]></category>
		<category><![CDATA[Eclipse 4]]></category>

		<guid isPermaLink="false">http://www.vogella.de/blog/?p=5104</guid>
		<description><![CDATA[I updated my Eclipse 4 Modularity tutorial, which explains how to contribute to the Eclipse application model from other plug-ins. I give both detail examples for model fragments and processors and the whole examples is based on my Eclipse 4 &#8230; <a href="http://www.vogella.com/blog/2012/04/05/eclipse-4-modularity-tutorial/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I updated my <a href="http://www.vogella.de/articles/Eclipse4Modularity/article.html">Eclipse 4 Modularity</a> tutorial, which explains how to contribute to the Eclipse application model from other plug-ins. </p>
<p>I give both detail examples for model fragments and processors and the whole examples is based on my <a href="http://www.vogella.de/articles/Eclipse4RCP/article.html">Eclipse 4 tutorial</a>.</p>
<p>Extending the application model via other plug-ins is a bit challenging, therefore I hope this tutorial help.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.vogella.com/blog/2012/04/05/eclipse-4-modularity-tutorial/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Installing Eclipse features via the command line with the p2 director</title>
		<link>http://www.vogella.com/blog/2012/04/04/installing-eclipse-features-via-the-command-line-with-the-p2-director/</link>
		<comments>http://www.vogella.com/blog/2012/04/04/installing-eclipse-features-via-the-command-line-with-the-p2-director/#comments</comments>
		<pubDate>Wed, 04 Apr 2012 09:45:18 +0000</pubDate>
		<dc:creator>Lars Vogel</dc:creator>
				<category><![CDATA[Eclipse]]></category>
		<category><![CDATA[p2]]></category>

		<guid isPermaLink="false">http://www.vogella.de/blog/?p=5098</guid>
		<description><![CDATA[I finally found the time to try out Paul Websters tip for installing Eclipse features from the command line and updating eclipse.ini. While I don&#8217;t have the out-of-memory problem I also download frequently Eclipse releases and need to install components &#8230; <a href="http://www.vogella.com/blog/2012/04/04/installing-eclipse-features-via-the-command-line-with-the-p2-director/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I finally found the time to try out <a href="http://pweclipse.blogspot.de/2012/02/p2-can-update-your-eclipseini.html">Paul Websters tip</a> for installing Eclipse features from the command line and updating eclipse.ini. While I don&#8217;t have the out-of-memory problem I also download frequently Eclipse releases and need to install components into it. </p>
<p>Pauls tip make it easy, here is an example which will add EGit, Mylyn and EMF to your Eclipse instance. </p>
<pre class="brush: plain; title: ; notranslate">
eclipse/eclipse \
-application org.eclipse.equinox.p2.director \
-noSplash \
-repository \
http://download.eclipse.org/releases/juno \
-installIUs \
org.eclipse.egit.feature.group,\
org.eclipse.jgit.feature.group,\
org.eclipse.emf.sdk.feature.group,\
org.eclipse.mylyn_feature.feature.group
</pre>
<p>Just make sure the initial path is correct and once this is done, restart your Eclipse. I must say that is a cool feature of p2, which makes me like p2 much more. The manual installation process was really annoying.</p>
<p>I hope this helps. Thanks again to Paul!</p>
<p>Does anyone know if I can also de-install components with the director?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.vogella.com/blog/2012/04/04/installing-eclipse-features-via-the-command-line-with-the-p2-director/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Define Eclipse shortcuts in Unity (Ubuntu)</title>
		<link>http://www.vogella.com/blog/2012/03/30/define-eclipse-shortcuts-in-unity-ubuntu/</link>
		<comments>http://www.vogella.com/blog/2012/03/30/define-eclipse-shortcuts-in-unity-ubuntu/#comments</comments>
		<pubDate>Fri, 30 Mar 2012 14:26:38 +0000</pubDate>
		<dc:creator>Lars Vogel</dc:creator>
				<category><![CDATA[Eclipse]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Unity]]></category>

		<guid isPermaLink="false">http://www.vogella.de/blog/?p=4801</guid>
		<description><![CDATA[I wanted to define Eclipse shortcuts in Ubuntu pointing to my individual workspaces. You can define Eclipse shortcuts including parameters, e.g. the -data parameter via a .desktop file. Once defined you can drag the file into the Dash of Unity &#8230; <a href="http://www.vogella.com/blog/2012/03/30/define-eclipse-shortcuts-in-unity-ubuntu/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I wanted to define Eclipse shortcuts in Ubuntu pointing to my individual workspaces. </p>
<p>You can define Eclipse shortcuts including parameters, e.g. the -data parameter via a .desktop file. Once defined you can drag the file into the Dash of Unity to get a new entry (including your shortcuts).</p>
<pre class="brush: plain; title: ; notranslate">
[Desktop Entry]
Icon=application-x-executable
Name=eclipse
Type=Application
Exec=/home/vogella/Eclipse37/eclipse -data /home/vogella/workspace/docu

X-Ayatana-Desktop-Shortcuts=Docu;vogella;

[Docu Shortcut Group]
Name=Docu
Exec=/home/vogella/Eclipse37/eclipse -data /home/vogella/workspace/docu
TargetEnvironment=Unity

[vogella Shortcut Group]
Name=vogella
Exec=/home/vogella/Eclipse37/eclipse -data /home/vogella/workspace/vogella
TargetEnvironment=Unity
</pre>
<p>This should create an entry in the menu with two quick links to your workspaces.</p>
<p><img src="http://www.vogella.de/blog/wp-content/uploads/2012/01/UnityShortEclipseShortcut.png" alt="" width="200" height="223" class="aligncenter size-full wp-image-4802" /></p>
<p>Thanks to <a href="https://plus.google.com/116796222911499663778/">Holger Joest</a> for helping with that on G+.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.vogella.com/blog/2012/03/30/define-eclipse-shortcuts-in-unity-ubuntu/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Thanks for the Eclipse Top Newcomer Evangelist Award 2012</title>
		<link>http://www.vogella.com/blog/2012/03/27/thanks-for-the-eclipse-top-newcomer-evangelist-award-2012/</link>
		<comments>http://www.vogella.com/blog/2012/03/27/thanks-for-the-eclipse-top-newcomer-evangelist-award-2012/#comments</comments>
		<pubDate>Tue, 27 Mar 2012 13:03:17 +0000</pubDate>
		<dc:creator>Lars Vogel</dc:creator>
				<category><![CDATA[Eclipse]]></category>

		<guid isPermaLink="false">http://www.vogella.de/blog/?p=5089</guid>
		<description><![CDATA[Thanks everybody for voting me to the Eclipse Top Newcomer Evangelist Award 2012. I enjoy being part of the Eclipse community, a community which is small , friendly and well educated. Receiving the award is a great honor and I &#8230; <a href="http://www.vogella.com/blog/2012/03/27/thanks-for-the-eclipse-top-newcomer-evangelist-award-2012/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Thanks everybody for voting me to the <a href="http://www.eclipse.org/org/press-release/20120326_awardwinners.php">Eclipse Top Newcomer Evangelist Award 2012</a>.</p>
<p><img src="http://www.vogella.de/blog/wp-content/uploads/2012/03/125901_2751-300x225.jpg" alt="" width="300" height="225" class="aligncenter size-medium wp-image-5090" /></p>
<p>I enjoy being part of the Eclipse community, a community which is small <img src='http://www.vogella.com/blog/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> , friendly and well educated. </p>
<p>Receiving the award is a great honor and I hope that my work as Eclipse Evangelist will continue to help other learning and embracing the Eclipse platform.</p>
<p>I&#8217;m very sorry that I can&#8217;t join EclipseCon in the US, my best regards to all EclipseCon visitors. Enjoy this great conference.</p>
<p>Thanks again!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.vogella.com/blog/2012/03/27/thanks-for-the-eclipse-top-newcomer-evangelist-award-2012/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Marcel Bruch joins the vogella Trainer Team</title>
		<link>http://www.vogella.com/blog/2012/03/23/marcel-bruch-joins-the-vogella-trainer-team/</link>
		<comments>http://www.vogella.com/blog/2012/03/23/marcel-bruch-joins-the-vogella-trainer-team/#comments</comments>
		<pubDate>Fri, 23 Mar 2012 06:58:52 +0000</pubDate>
		<dc:creator>Lars Vogel</dc:creator>
				<category><![CDATA[Eclipse]]></category>
		<category><![CDATA[Eclipse 4]]></category>

		<guid isPermaLink="false">http://www.vogella.de/blog/?p=5073</guid>
		<description><![CDATA[I&#8217;m happy to announce that Marcel Bruch joins the trainer team of vogella. Marcel is the project lead of Eclipse Code Recommenders. Eclipse Code Recommenders provides improvements in the Eclipse IDE which increases the developer productivity. Marcel also has a &#8230; <a href="http://www.vogella.com/blog/2012/03/23/marcel-bruch-joins-the-vogella-trainer-team/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m happy to announce that Marcel Bruch joins the <a href="http://www.vogella.de/training/eclipsercp.html">trainer team of vogella</a>. </p>
<p><a href="http://www.vogella.de/training/eclipsercp.html"><br />
<img src="http://www.vogella.de/blog/wp-content/uploads/2012/03/marcel_bruch.jpg" alt="" width="150" height="150" class="aligncenter size-full wp-image-5077" /></a></p>
<p>Marcel is the project lead of <a href="http://www.eclipse.org/recommenders/">Eclipse Code Recommenders</a>. Eclipse Code Recommenders provides improvements in the Eclipse IDE which increases the developer productivity.</p>
<p>Marcel also has a vast and deep background in Eclipse Plug-in and RCP development and will help to deliver the <a href="http://www.vogella.de/training/eclipsercp.html">Eclipse 4 training course</a>. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.vogella.com/blog/2012/03/23/marcel-bruch-joins-the-vogella-trainer-team/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Eclipse 4.2 M6 is out &#8211; And it is a good one</title>
		<link>http://www.vogella.com/blog/2012/03/19/eclipse-4-2-m6-is-out-and-it-is-a-good-one/</link>
		<comments>http://www.vogella.com/blog/2012/03/19/eclipse-4-2-m6-is-out-and-it-is-a-good-one/#comments</comments>
		<pubDate>Mon, 19 Mar 2012 09:15:32 +0000</pubDate>
		<dc:creator>Lars Vogel</dc:creator>
				<category><![CDATA[Eclipse]]></category>
		<category><![CDATA[E4]]></category>
		<category><![CDATA[Eclipse4]]></category>

		<guid isPermaLink="false">http://www.vogella.de/blog/?p=5056</guid>
		<description><![CDATA[Eclipse 4.2 M6 is out and its really feels good to use it. If you thought earlier version of Eclipse 4.2 felt laggy, you should try this one, it has much improved in user interface responsiveness. For Eclipse 4 RCP &#8230; <a href="http://www.vogella.com/blog/2012/03/19/eclipse-4-2-m6-is-out-and-it-is-a-good-one/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Eclipse 4.2 M6 is out and its really feels good to use it. If you thought earlier version of Eclipse 4.2 felt laggy, you should try this one, it has much improved in user interface responsiveness.</p>
<p>For <a href="http://www.vogella.de/articles/Eclipse4RCP/article.html">Eclipse 4 RCP</a> there have been also several enhancements and bug fixes compared to Eclipse 4.2 M5 so I suggest you to move to M6. </p>
<p>I also updated my <a href="http://www.vogella.de/articles/Eclipse4RCP/article.html">Eclipse 4 RCP tutorial</a> to Eclipse 4.2 M6. </p>
<p>The major concern I heard about getting started with Eclipse 4.2 is that the correct update site for the Eclipse tools fitting to the M-build is too hard to find. Therefore I added the correct update site for the M6 build in the tutorial. </p>
<p>Have fun!</p>
<p>In case you wondering what happened to my planned book about Eclipse 4, it is currently reviewed by a few people and should be available in a few weeks.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.vogella.com/blog/2012/03/19/eclipse-4-2-m6-is-out-and-it-is-a-good-one/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Running Eclipse 3.x RCP application on Eclipse 4</title>
		<link>http://www.vogella.com/blog/2012/03/07/running-eclipse-3-x-rcp-application-on-eclipse-4/</link>
		<comments>http://www.vogella.com/blog/2012/03/07/running-eclipse-3-x-rcp-application-on-eclipse-4/#comments</comments>
		<pubDate>Wed, 07 Mar 2012 14:50:25 +0000</pubDate>
		<dc:creator>Lars Vogel</dc:creator>
				<category><![CDATA[Eclipse]]></category>
		<category><![CDATA[compatibility layer]]></category>
		<category><![CDATA[E4]]></category>
		<category><![CDATA[Eclipse 4]]></category>

		<guid isPermaLink="false">http://www.vogella.de/blog/?p=4962</guid>
		<description><![CDATA[I updated Using the Compatibility Layer for Eclipse 3.x RCP applications tutorial with the latest information. The migration for your Eclipse 3.x RCP applcation to Eclipse 4.2 is now super easy. If you are using a feature based product configuration &#8230; <a href="http://www.vogella.com/blog/2012/03/07/running-eclipse-3-x-rcp-application-on-eclipse-4/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I updated <a href="http://www.vogella.de/articles/Eclipse4CompatibilityLayer/article.html">Using the Compatibility Layer for Eclipse 3.x RCP applications</a> tutorial with the latest information.</p>
<p>The migration for your Eclipse 3.x RCP applcation to Eclipse 4.2 <strong>is now super easy</strong>.</p>
<p>If you are using a feature based product configuration file which includes the exiting Eclipse 3.x  &#8220;org.eclipse.rcp&#8221; feature, then almost no change in your product or application is required to run on Eclipse 4.2 is required. You only have to add two additional features org.eclipse.emf.common and<br />
org.eclipse.emf.ecore. See <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=372373">Bugreport for details</a>.</p>
<p>In my opinion there is no reason anymore not to migrate to Eclipse 4. The integration builds are already very stable and Eclipse 4.2M6 is expected to be really good as this will be the released used for EclipseCon.</p>
<p>Please give the latest integration builds a try with your Eclipse 3.x RCP application and report any issues to give the team the chance to fix any outstanding issues.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.vogella.com/blog/2012/03/07/running-eclipse-3-x-rcp-application-on-eclipse-4/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Eclipse 4 is now a full dependency injection container with @Creatable</title>
		<link>http://www.vogella.com/blog/2012/02/29/eclipse-4-is-now-a-full-dependency-injection-container-with-creatable/</link>
		<comments>http://www.vogella.com/blog/2012/02/29/eclipse-4-is-now-a-full-dependency-injection-container-with-creatable/#comments</comments>
		<pubDate>Wed, 29 Feb 2012 13:01:02 +0000</pubDate>
		<dc:creator>Lars Vogel</dc:creator>
				<category><![CDATA[Eclipse]]></category>
		<category><![CDATA[E4]]></category>
		<category><![CDATA[Eclipse 4]]></category>

		<guid isPermaLink="false">http://www.vogella.de/blog/?p=4983</guid>
		<description><![CDATA[If you want to get your own Java objects injected into a model elements just annotated them with @Creatable. If you then tell Eclipse that you need an instance of the your class it will generate it for you. For &#8230; <a href="http://www.vogella.com/blog/2012/02/29/eclipse-4-is-now-a-full-dependency-injection-container-with-creatable/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>If you want to get your own Java objects injected into a model elements just annotated them with @Creatable. If you then tell Eclipse that you need an instance of the your class it will generate it for you.</p>
<p>For example, lets say you have the following domain model.</p>
<pre class="brush: plain; title: ; notranslate">
@Creatable
class Todo {
 @Inject
 public Todo(Dependent depend, YourOSGiService service) {
     // placeholder
 }
}

@Creatable
class Dependent {
 public Dependent() {
 // placeholder
 }
}
</pre>
<p>Assuming that you have defined the required OSGi service, you can get an instance of your Todo data model injected in a Part. </p>
<pre class="brush: plain; title: ; notranslate">
// Field Injection
@Inject Todo todo
</pre>
<p>Pretty cool, I think. For details check out the <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=371115">Bug report</a>.</p>
<p>To use this please use one of the recent integration builds. Eclipse 4.2M5 does not yet contain the feature.</p>
<p>I added this also to <a href="http://www.vogella.de/articles/Eclipse4RCP/article.html">Eclipse 4 Tutorial</a>. It is also included in my <a href="http://www.vogella.de/training/eclipsercp.html">Eclipse 4 RCP training</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.vogella.com/blog/2012/02/29/eclipse-4-is-now-a-full-dependency-injection-container-with-creatable/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>

