<?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>EclipseSource Blog &#187; Elias Volanakis</title>
	<atom:link href="http://eclipsesource.com/blogs/author/elias/feed/" rel="self" type="application/rss+xml" />
	<link>http://eclipsesource.com/blogs</link>
	<description>Eclipse Equinox OSGi</description>
	<lastBuildDate>Fri, 18 May 2012 15:00:41 +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>EclipseCon Excercise update</title>
		<link>http://eclipsesource.com/blogs/2011/03/23/eclipsecon-excercise-update/</link>
		<comments>http://eclipsesource.com/blogs/2011/03/23/eclipsecon-excercise-update/#comments</comments>
		<pubDate>Wed, 23 Mar 2011 18:20:41 +0000</pubDate>
		<dc:creator>Elias Volanakis</dc:creator>
				<category><![CDATA[eclipse]]></category>
		<category><![CDATA[news]]></category>
		<category><![CDATA[syndicate]]></category>
		<category><![CDATA[eclipsecon]]></category>

		<guid isPermaLink="false">http://eclipsesource.com/blogs/?p=5606</guid>
		<description><![CDATA[Big thanks to all  runners who keep showing up for the EclipseCon run each morning. Particularly the brave bunch running in the rain today! Join us tomorrow at 7am in the Hyatt Lobby (rain or shine) for the last run of the conference. We will also having a little contest with the chance to win [...]]]></description>
			<content:encoded><![CDATA[<p>Big thanks to all  runners who keep showing up for the <a href="http://wiki.eclipse.org/EclipseCon_Exercise_2011">EclipseCon run</a> each morning. Particularly the brave bunch running in the rain today!</p>
<p>Join us tomorrow at <strong>7am in the Hyatt Lobby</strong> (rain or shine) for the last run of the conference.</p>
<p>We will also having a little contest with the chance to win Eclipse.org goodies: (thank you!)</p>
<ul>
<li>two black Eclipse.org long-sleeve shirts</li>
<li>two women&#8217;s Eclipse.org polo shirts</li>
<li>Eclipse.org insulating coffee mugs &#8212; battle-tested in arctic Ottawa <img src='http://eclipsesource.com/blogs/wp-includes/images/smilies/icon_wink.gif' alt="icon wink EclipseCon Excercise update" class='wp-smiley' title="EclipseCon Excercise update" /> </li>
</ul>
<p><a href="http://eclipsesource.com/blogs/wp-content/uploads/2011/03/EclipseCon_2011.jpg"><img class="alignnone size-full wp-image-5607" title="EclipseCon_2011" src="http://eclipsesource.com/blogs/wp-content/uploads/2011/03/EclipseCon_2011.jpg" alt="EclipseCon 2011 EclipseCon Excercise update" width="640" height="480" /></a></p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://eclipsesource.com/blogs/2011/03/23/eclipsecon-excercise-update/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Let&#8217;s run together at EclipseCon 2011</title>
		<link>http://eclipsesource.com/blogs/2011/02/12/lets-run-together-at-eclipsecon-2011/</link>
		<comments>http://eclipsesource.com/blogs/2011/02/12/lets-run-together-at-eclipsecon-2011/#comments</comments>
		<pubDate>Sat, 12 Feb 2011 00:18:45 +0000</pubDate>
		<dc:creator>Elias Volanakis</dc:creator>
				<category><![CDATA[eclipse]]></category>
		<category><![CDATA[news]]></category>
		<category><![CDATA[syndicate]]></category>
		<category><![CDATA[eclipsecon]]></category>
		<category><![CDATA[events]]></category>

		<guid isPermaLink="false">http://eclipsesource.com/blogs/?p=5356</guid>
		<description><![CDATA[38 days left until EclipseCon &#8212; Sure, you&#8217;ve registered, booked the flight and hotel, checked your passport. Next: pack your running shoes! Continuing the annual tradition started by Darin, we are organizing another edition of the EclipseCon Exercise:  an easy 3-mile run, starting in the Hyatt Lobby at 7:00 am each morning, Monday to Thursday. The [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://eclipsesource.com/blogs/wp-content/uploads/2011/02/eclipsecon_excercise.jpg"><img class="alignnone size-full wp-image-5358" title="eclipsecon_excercise" src="http://eclipsesource.com/blogs/wp-content/uploads/2011/02/eclipsecon_excercise.jpg" alt="eclipsecon excercise Lets run together at EclipseCon 2011" width="455" height="295" /></a></p>
<p>38 days left until EclipseCon &#8212; Sure, you&#8217;ve registered, booked the flight and hotel, checked your passport. Next: <strong>pack your running shoes!</strong></p>
<p>Continuing the annual tradition started by Darin, we are organizing another edition of the EclipseCon Exercise:  <strong>an easy 3-mile run, starting in the Hyatt Lobby at 7:00 am each morning</strong>, Monday to Thursday. The trail is flat and paved and follows the stream / bike path behind the Hyatt.</p>
<p>Some reasons to run with us:</p>
<ul>
<li>have fun and enjoy the fabulous Californian weather</li>
<li>burn off  last night&#8217;s food and beverages <img src='http://eclipsesource.com/blogs/wp-includes/images/smilies/icon_wink.gif' alt="icon wink Lets run together at EclipseCon 2011" class='wp-smiley' title="Lets run together at EclipseCon 2011" /> </li>
<li>network in an informal setting</li>
<li>get an EclipseCon 2011 runner&#8217;s shirt courtesy of EclipseSource</li>
</ul>
<p>If you plan to join us, <a href="http://wiki.eclipse.org/EclipseCon_Exercise_2011"><strong>please RSVP on wiki</strong></a>.</p>
<p>Here&#8217;s a picture from last year&#8217;s group. I hope to have as many join in this year.</p>
<p><a href="http://eclipsesource.com/blogs/wp-content/uploads/2011/02/eclipsecon_runners_2010.jpg"><img class="alignnone size-full wp-image-5357" title="eclipsecon_runners_2010" src="http://eclipsesource.com/blogs/wp-content/uploads/2011/02/eclipsecon_runners_2010.jpg" alt="eclipsecon runners 2010 Lets run together at EclipseCon 2011" width="600" height="450" /></a></p>
<p>See you in Santa Clara,<br />
Elias.</p>
]]></content:encoded>
			<wfw:commentRss>http://eclipsesource.com/blogs/2011/02/12/lets-run-together-at-eclipsecon-2011/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Portland DemoCamp 11/2010 &#8211; Photos and Slides</title>
		<link>http://eclipsesource.com/blogs/2010/11/13/portland-democamp-112010-photos-and-slide/</link>
		<comments>http://eclipsesource.com/blogs/2010/11/13/portland-democamp-112010-photos-and-slide/#comments</comments>
		<pubDate>Sat, 13 Nov 2010 01:58:39 +0000</pubDate>
		<dc:creator>Elias Volanakis</dc:creator>
				<category><![CDATA[syndicate]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[blackberry]]></category>
		<category><![CDATA[democamp]]></category>
		<category><![CDATA[eclipse]]></category>
		<category><![CDATA[IPad]]></category>
		<category><![CDATA[rap]]></category>
		<category><![CDATA[slides]]></category>

		<guid isPermaLink="false">http://eclipsesource.com/blogs/?p=4927</guid>
		<description><![CDATA[Thanks to everybody who attended or presented at the Portland Eclipse DemoCamp last Monday. This time the theme was &#8220;Eclipse for mobile developers&#8221;. We had about 50 attending, which is a strong uptick from past events. Below some pictures and slides from the event: 1. Michael Galpin (@michaelg) from eBay opened the night with a [...]]]></description>
			<content:encoded><![CDATA[<p>Thanks to everybody who attended or presented at the Portland Eclipse DemoCamp last Monday. This time the theme was &#8220;Eclipse for mobile developers&#8221;. We had about 50 attending, which is a strong uptick from past events.</p>
<p>Below some pictures and slides from the event:</p>
<p>1. Michael Galpin (<a href="http://twitter.com/michaelg">@michaelg</a>) from eBay opened the night with a presentation on &#8216;<strong>Android Development with Eclipse&#8217;. </strong>He introduced the Android platform and demoed the Eclipse-based Android Development Tools (ADT). Interesting fact: eBay&#8217;s mobile applications on Android are enjoyed by more than 3 million users. If you want to learn more about Android, Michael&#8217;s upcoming <a href="http://www.manning.com/collins/">Android book</a> should be a good place to start.</p>
<p><a href="http://eclipsesource.com/blogs/wp-content/uploads/2010/11/democamp1.jpg"><img class="alignnone size-medium wp-image-4931" title="Android Development with Eclipse" src="http://eclipsesource.com/blogs/wp-content/uploads/2010/11/democamp1-300x225.jpg" alt="democamp1 300x225 Portland DemoCamp 11/2010   Photos and Slides" width="300" height="225" /></a></p>
<p>2. John Thomas from RIM continued with &#8216;<strong>BlackBerry Application Development Options</strong>&#8216;. BlackBerry developers have a variety of language choices for developing apps, such as Java, HTML5/Javascript and Adobe AIR. All development tools are integrated nicely in Eclipse and Adobe&#8217;s FlashBuilder (also Eclipse based). Visit this page for details on <a href="http://us.blackberry.com/developers/">BlackBerry app development</a>.</p>
<p><a href="http://eclipsesource.com/blogs/wp-content/uploads/2010/11/democamp2.jpg"><img class="alignnone size-medium wp-image-4932" title="BlackBerry Application Development Options" src="http://eclipsesource.com/blogs/wp-content/uploads/2010/11/democamp2-300x225.jpg" alt="democamp2 300x225 Portland DemoCamp 11/2010   Photos and Slides" width="300" height="225" /></a></p>
<p>3. Elias Volanakis (<a href="http://twitter.com/evolanakis">@evolanakis</a>) talked about &#8216;<strong>iPad Development with Eclipse RAP</strong>&#8216;. After introducing the project I demoed how to write a calculator web-app for the iPad using Java. We are optimizing RAP for mobile devices for the 1.4 release next summer. <a href="http://eclipsesource.com/blogs/wp-content/uploads/2010/11/iPad_Development_with_Eclipse_RAP.pdf">You can download the slides here</a>.</p>
<p><a href="http://eclipsesource.com/blogs/wp-content/uploads/2010/11/democamp3.jpg"><img class="alignnone size-medium wp-image-4933" title="iPad development with Eclipse RAP" src="http://eclipsesource.com/blogs/wp-content/uploads/2010/11/democamp3-300x225.jpg" alt="democamp3 300x225 Portland DemoCamp 11/2010   Photos and Slides" width="300" height="225" /></a></p>
<p>Thanks for joining us,<br />
Elias.</p>
]]></content:encoded>
			<wfw:commentRss>http://eclipsesource.com/blogs/2010/11/13/portland-democamp-112010-photos-and-slide/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Portland DemoCamp: Mobile Development with Eclipse &#8211; 11/8, 6pm</title>
		<link>http://eclipsesource.com/blogs/2010/11/05/portland-democamp-mobile-development-with-eclipse-118-6pm/</link>
		<comments>http://eclipsesource.com/blogs/2010/11/05/portland-democamp-mobile-development-with-eclipse-118-6pm/#comments</comments>
		<pubDate>Fri, 05 Nov 2010 21:39:37 +0000</pubDate>
		<dc:creator>Elias Volanakis</dc:creator>
				<category><![CDATA[news]]></category>
		<category><![CDATA[syndicate]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[blackberry]]></category>
		<category><![CDATA[democamp]]></category>
		<category><![CDATA[eclipse]]></category>
		<category><![CDATA[IPad]]></category>
		<category><![CDATA[rap]]></category>

		<guid isPermaLink="false">http://eclipsesource.com/blogs/?p=4913</guid>
		<description><![CDATA[If you want to learn more about Android / Blackberry / iPad development while enjoying some free pizza and beer, I would be glad to see you next Monday. Will have three presentations: Android Development with Eclipse BlackBerry Application Development Options iPad development with Eclipse The event is scheduled for this Monday, Nov 8th at 6pm at [...]]]></description>
			<content:encoded><![CDATA[<p>If you want to learn more about Android / Blackberry / iPad development while enjoying some free pizza and beer, I would be glad to see you next Monday. Will have three presentations:</p>
<ul>
<li>Android Development with Eclipse</li>
<li>BlackBerry Application Development Options</li>
<li>iPad development with Eclipse</li>
</ul>
<p>The event is scheduled for this Monday, Nov 8th at 6pm at the Lucky Labrador Beer Hall, 1945 NW Quimby (<a href="http://maps.google.com/maps?f=q&amp;source=s_q&amp;hl=en&amp;geocode=&amp;q=1945+NW+Quimby+St,+Portland,+OR&amp;sll=37.0625,-95.677068&amp;sspn=52.637906,63.984375&amp;ie=UTF8&amp;hq=&amp;hnear=1945+NW+Quimby+St,+Portland,+Multnomah,+Oregon+97209&amp;z=16">map</a>).</p>
<p><a href="http://wiki.eclipse.org/Eclipse_DemoCamps_November_2010/Portland">Please RSVP on the wiki</a> (or sent me an <a href="mailto:elias@eclipsesource.com">email</a>). Space is limited, so sign up now.</p>
<p><a href="http://wiki.eclipse.org/Eclipse_DemoCamps_November_2010/Portland">http://wiki.eclipse.org/Eclipse_DemoCamps_November_2010/Portland</a></p>
<p>Looking forward to see you there,<br />
Elias.</p>
]]></content:encoded>
			<wfw:commentRss>http://eclipsesource.com/blogs/2010/11/05/portland-democamp-mobile-development-with-eclipse-118-6pm/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Last week in Riena: 3.0 announced, Web support, ESE talks</title>
		<link>http://eclipsesource.com/blogs/2010/08/19/last-week-in-riena-3-0-announced-web-support-ese-talks/</link>
		<comments>http://eclipsesource.com/blogs/2010/08/19/last-week-in-riena-3-0-announced-web-support-ese-talks/#comments</comments>
		<pubDate>Wed, 18 Aug 2010 23:02:07 +0000</pubDate>
		<dc:creator>Elias Volanakis</dc:creator>
				<category><![CDATA[syndicate]]></category>
		<category><![CDATA[eclipse summit]]></category>
		<category><![CDATA[events]]></category>
		<category><![CDATA[rap]]></category>
		<category><![CDATA[riena]]></category>
		<category><![CDATA[talks]]></category>

		<guid isPermaLink="false">http://eclipsesource.com/blogs/?p=4608</guid>
		<description><![CDATA[Here are three recent developments from Eclipse Riena, that you may otherwise have missed: • Version 3.0 announced &#8211; we have updated the development plan, skipping the 2.1 release and shooting straight for a 3.0 release next June (Eclipse Indigo). While we strive to keep the bulk of the APIs unchanged, this move will grant us [...]]]></description>
			<content:encoded><![CDATA[<p>Here are three recent developments from Eclipse Riena, that you may otherwise have missed:</p>
<p><strong>• Version 3.0 announced</strong> &#8211; we have updated the development plan, skipping the 2.1 release and shooting straight for a 3.0 release next June (Eclipse Indigo). While we strive to keep the bulk of the APIs unchanged, this move will grant us the flexibility to carefully introduce changes needed to support Eclipse RAP.</p>
<p>You can <a href="http://www.eclipse.org/forums/index.php?t=msg&amp;th=173449&amp;start=0&amp;S=1a023f7ee7e3326153e8c06e3bebc7f5">read the full announcement here.</a></p>
<p><strong>• Riena goes to the Web</strong> &#8211; We are excited about having all of Riena run on Eclipse RAP and are stepping up the effort.</p>
<p><img class="alignnone size-full wp-image-4615" title="Riena on RAP" src="http://eclipsesource.com/blogs/wp-content/uploads/2010/08/navigation_400.png" alt="navigation 400 Last week in Riena: 3.0 announced, Web support, ESE talks" width="400" height="357" /></p>
<p>In the last two weeks we have ported and committed the Riena Navigation to RAP. Thanks to recent improvements in RAP this was a breeze! We also have an automated build for this second platform. Lastly, we have worked to eliminate all compile errors when building against RAP. This should make further development more straightforward.</p>
<p>If you want to follow the effort add yourself on <a href="http://bugs.eclipse.org/302893">Bug 302893</a> and read the &#8216;<a href="http://wiki.eclipse.org/Riena_on_RAP">Riena on RAP</a>&#8216; page on the wiki.</p>
<p><strong>• Riena at Eclipse Summit Europe </strong>- Riena committers are participating at the <a href="http://www.eclipsecon.org/summiteurope2010/">ESE, November 2 &#8211; 4 in Ludwigsburg</a>. We have proposed following talks:</p>
<ul>
<li><a href="https://www.eclipsecon.org/submissions/ese2010/view_talk.php?id=1778">Riena on RAP (Running Riena in the Web)</a></li>
<li><a href=" https://www.eclipsecon.org/submissions/ese2010/view_talk.php?id=1779">Riena on e4 aka &#8220;RCP 2.0&#8243;</a></li>
<li><a href="https://www.eclipsecon.org/submissions/ese2010/view_talk.php?id=1780">SWT on Qt</a></li>
<li><a href="https://www.eclipsecon.org/submissions/ese2010/view_talk.php?id=1740">Tutorial: dynamic UI &#8211; from domain model to RCP app</a> (Riena+Modelling+RedView)</li>
</ul>
<p>If you are interested in any of these topics: please follow the link and leave a short comment. This will help the organizers decide which talks to approve. Thanks!</p>
]]></content:encoded>
			<wfw:commentRss>http://eclipsesource.com/blogs/2010/08/19/last-week-in-riena-3-0-announced-web-support-ese-talks/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Eclipse RAP &#8211; What&#8217;s new in Helios? (Slides)</title>
		<link>http://eclipsesource.com/blogs/2010/08/19/eclipse-rap-whats-new-in-helios-slides/</link>
		<comments>http://eclipsesource.com/blogs/2010/08/19/eclipse-rap-whats-new-in-helios-slides/#comments</comments>
		<pubDate>Wed, 18 Aug 2010 22:25:14 +0000</pubDate>
		<dc:creator>Elias Volanakis</dc:creator>
				<category><![CDATA[syndicate]]></category>
		<category><![CDATA[democamp]]></category>
		<category><![CDATA[events]]></category>
		<category><![CDATA[rap]]></category>
		<category><![CDATA[slides]]></category>
		<category><![CDATA[talks]]></category>

		<guid isPermaLink="false">http://eclipsesource.com/blogs/?p=4597</guid>
		<description><![CDATA[Here are the slides from my &#8220;Eclipse RAP &#8211; What&#8217;s new in Helios?&#8220; talk, which I gave at the Bay Area Demo Camp in June. They capture the most interesting novelties of the RAP 1.3 release. You can find even more details in the full release notes. I want to thank Oracle and AvantSoft for hosting [...]]]></description>
			<content:encoded><![CDATA[<p>Here are the slides from my &#8220;<a href="http://eclipsesource.com/blogs/wp-content/uploads/2010/08/201006-Bay-Area-DemoCamp-RAP-New-Noteworthy.pdf">Eclipse RAP &#8211; What&#8217;s new in Helios?</a>&#8220; talk, which I gave at the <a href="http://wiki.eclipse.org/Eclipse_DemoCamps_Helios_2010/Bay_Area">Bay Area Demo Camp</a> in June. They capture the most interesting novelties of the RAP 1.3 release. You can find even more details in the <a href="http://eclipse.org/rap/noteworthy/1.3/">full release notes</a>.</p>
<p><a href="http://eclipsesource.com/blogs/wp-content/uploads/2010/08/201006-Bay-Area-DemoCamp-RAP-New-Noteworthy.pdf"><img class="alignnone size-full wp-image-4601" title="Eclipse RAP – What’s new in Helios?" src="http://eclipsesource.com/blogs/wp-content/uploads/2010/08/rap_new_in_helios_bd.png" alt="rap new in helios bd Eclipse RAP   Whats new in Helios? (Slides)" width="400" height="299" /></a></p>
<p>I want to thank Oracle and AvantSoft for hosting and organizing the event.</p>
<p>If you are interested in future Eclipse events in the Bay Area, please take a moment to <a href="http://www.meetup.com/eclipse/">join the Bay Area Eclipse User Group</a> on Meetup.com</p>
]]></content:encoded>
			<wfw:commentRss>http://eclipsesource.com/blogs/2010/08/19/eclipse-rap-whats-new-in-helios-slides/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tip: How to detect that a View was Detached</title>
		<link>http://eclipsesource.com/blogs/2010/06/23/tip-how-to-detect-that-a-view-was-detached/</link>
		<comments>http://eclipsesource.com/blogs/2010/06/23/tip-how-to-detect-that-a-view-was-detached/#comments</comments>
		<pubDate>Wed, 23 Jun 2010 20:15:49 +0000</pubDate>
		<dc:creator>Elias Volanakis</dc:creator>
				<category><![CDATA[syndicate]]></category>
		<category><![CDATA[detached views]]></category>
		<category><![CDATA[eclipse ui]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://eclipsesource.com/blogs/?p=4437</guid>
		<description><![CDATA[Here is a question that I got on a post about detached views: &#8220;How can I detect that a View has been detached from the main window? I would like to adjust the view&#8217;s behavior in that case.&#8221; There is no API to obtain that information directly. However it is possible to do this with [...]]]></description>
			<content:encoded><![CDATA[<p>Here is a question that I got on a post about <a href="http://eclipsesource.com/blogs/2009/04/25/having-fun-with-detached-views/">detached views</a>:</p>
<blockquote><p>&#8220;How can I detect that a View has been detached from the main window? I would like to adjust the view&#8217;s behavior in that case.&#8221;</p></blockquote>
<p>There is no API to obtain that information directly. However it is possible to do this with a few tricks:</p>
<ol>
<li>detached views have an empty window title (i.e. shell.getText().length() == 0)</li>
<li>when a view is detached resize events are fired</li>
</ol>
<p>Armed with that knowledge we can detect that a view is detached / reattached. The snippet below shows how (tested on windows).</p>
<p>PS: Our <a href="http://eclipsesource.com/en/services/eclipse-support/">eclipse support</a> helps developers use their time efficiently by providing prompt answers to questions like this one.</p>
<p><img class="size-full wp-image-4455 alignnone" title="detached_view" src="http://eclipsesource.com/blogs/wp-content/uploads/2010/06/detached_view.png" alt="detached view Tip: How to detect that a View was Detached" width="560" height="417" /></p>
<p><script src="http://gist.github.com/450446.js?file=SampleView.java"></script></p>
]]></content:encoded>
			<wfw:commentRss>http://eclipsesource.com/blogs/2010/06/23/tip-how-to-detect-that-a-view-was-detached/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Error marker for SWT table rows &#8211; easy as pie</title>
		<link>http://eclipsesource.com/blogs/2010/03/04/error-marker-for-swt-table-rows-easy-as-pie/</link>
		<comments>http://eclipsesource.com/blogs/2010/03/04/error-marker-for-swt-table-rows-easy-as-pie/#comments</comments>
		<pubDate>Thu, 04 Mar 2010 19:19:44 +0000</pubDate>
		<dc:creator>Elias Volanakis</dc:creator>
				<category><![CDATA[syndicate]]></category>
		<category><![CDATA[eclipse ui]]></category>
		<category><![CDATA[riena]]></category>
		<category><![CDATA[swt]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://eclipsesource.com/blogs/?p=3874</guid>
		<description><![CDATA[Here&#8217;s a nice addition to Riena&#8217;s TableRidget: you can now mark a table-row as incorrect. This is done with an RowErrorMessageMarker. When hovering over the marked row, the corresponding error message will be shown in a tooltip. IMarker marker = new RowErrorMessageMarker(&#34;An error message...&#34;, zorro); tableRidget.addMarker(marker); // to remove: tableRidget.removeMarker(marker); Full snippet here. This is [...]]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s a nice addition to Riena&#8217;s TableRidget: you can now mark a table-row as incorrect.</p>
<p>This is done with an <strong>RowErrorMessageMarker</strong>. When hovering over the marked row, the corresponding error message will be shown in a tooltip.</p>
<pre class="brush: java">
IMarker marker = new RowErrorMessageMarker(&quot;An error message...&quot;, zorro);
tableRidget.addMarker(marker);
// to remove:
tableRidget.removeMarker(marker);
</pre>
<p><a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.riena/org.eclipse.riena.sample.snippets/src/org/eclipse/riena/sample/snippets/SnippetTableRidget007.java?root=RT_Project&amp;view=co">Full snippet here</a>. This is shipping with the upcoming Riena 2.0 M6.</p>
<p><img class="size-full wp-image-3882 alignnone" title="row_marker_1" src="http://eclipsesource.com/blogs/wp-content/uploads/2010/03/row_marker_1.png" alt="row marker 1 Error marker for SWT table rows   easy as pie" width="398" height="250" /></p>
<p><img class="size-full wp-image-3883 alignnone" title="row_marker_2" src="http://eclipsesource.com/blogs/wp-content/uploads/2010/03/row_marker_2.png" alt="row marker 2 Error marker for SWT table rows   easy as pie" width="398" height="250" /></p>
]]></content:encoded>
			<wfw:commentRss>http://eclipsesource.com/blogs/2010/03/04/error-marker-for-swt-table-rows-easy-as-pie/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Shared libraries with Eclipse CDT and cygwin on Windows</title>
		<link>http://eclipsesource.com/blogs/2010/03/03/shared-libraries-with-eclipse-cdt-and-cygwin-on-windows/</link>
		<comments>http://eclipsesource.com/blogs/2010/03/03/shared-libraries-with-eclipse-cdt-and-cygwin-on-windows/#comments</comments>
		<pubDate>Tue, 02 Mar 2010 23:55:07 +0000</pubDate>
		<dc:creator>Elias Volanakis</dc:creator>
				<category><![CDATA[syndicate]]></category>
		<category><![CDATA[cdt]]></category>
		<category><![CDATA[cygwin]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://eclipsesource.com/blogs/?p=3829</guid>
		<description><![CDATA[&#8220;Can you help me use shared libraries with Eclipse CDT, managed make and cygwin?&#8220;, I was asked yesterday. Read on for a list of common pitfalls and detailed instructions. The instructions are based on the latest CDT release (Galileo) and cygwin (make 3.81, gcc 3.4.4). They are applicable to CDT&#8217;s managed make projects (that means CDT [...]]]></description>
			<content:encoded><![CDATA[<p>&#8220;<strong>Can you help me use shared libraries with Eclipse CDT, managed make and cygwin?</strong>&#8220;, I was asked yesterday. Read on for a list of common pitfalls and detailed instructions.</p>
<p>The instructions are based on the latest CDT release (Galileo) and cygwin (make 3.81, gcc 3.4.4). They are applicable to CDT&#8217;s managed make projects (that means CDT generates a makefile to build project).</p>
<h3>The Pitfalls</h3>
<p>It turns out that using a shared library on Windows is not as straight forward as you think. There are several pitfalls waiting for the unaware to fall into:</p>
<p>1. Recent versions of cygwin&#8217;s make insist on cygwin-style paths instead of windows paths (/cygdrive/c/foo instead of c:\foo). CDT is not picky about this and will generate an incorrect makefile, if you use workspace relative paths:</p>
<pre>make all
example.d:1: *** multiple target patterns.  Stop.</pre>
<p>The <a href="http://dreamlusion.wordpress.com/2008/07/12/multiple-target-patterns-using-cdt-50/">solution</a> is to use absolute cygwin paths, such as: /cygdrive/c/workspace/mymath</p>
<p>2. The compiler and linker will not find the header files / library unless you set the appropriate parameters. The compiler needs an include path (-I). The linker needs the library name (-l) and library search path (-L). These settings are scattered in two places in the project properties. Their location is not obvious for a first-time user (details below).</p>
<p>3. When launching, Windows will not find the shared library (.dll) and greet you with the error pictured below. Unix users might try to set the LD_LIBRARY_PATH, which has no effect on Windows. The solution is to append the directory containing the .dll to the PATH (<a href="http://msdn.microsoft.com/en-us/library/7d83bc18(VS.71).aspx">MSDN Article</a>). <strong>Restart Eclipse for the changed PATH to take effect.</strong></p>
<p><a href="http://eclipsesource.com/blogs/wp-content/uploads/2010/03/example_stopped_working.png"><img class="size-full wp-image-3831 alignnone" title="example_stopped_working" src="http://eclipsesource.com/blogs/wp-content/uploads/2010/03/example_stopped_working.png" alt="example stopped working Shared libraries with Eclipse CDT and cygwin on Windows" width="366" height="183" /></a></p>
<p>The remainder of the post walks you through the process of creating and using a simple shared library with cygwin and CDT.</p>
<h3>Creating a Shared Library with CDT</h3>
<p>Follow these instructions to create a shared library project with CDT.</p>
<p>1. File &gt; New &gt; Project &gt; C Project &gt; Next. Project name: mymath. Ensure &#8220;use default location&#8221; is checked. Note the location: c:\workspace\mymath &#8212; we&#8217;ll need it later. Project type: Shared Library; Empty Project. Hit Finish.</p>
<p><img class="alignnone size-full wp-image-3855" title="02_lib_project" src="http://eclipsesource.com/blogs/wp-content/uploads/2010/03/02_lib_project.png" alt="02 lib project Shared libraries with Eclipse CDT and cygwin on Windows" width="470" height="526" /></p>
<p>2. Create a header file (mymath.h) and the corresponding implementation (mymath.c). The example below provides a trivial function that multiplies two integers:</p>
<p><img class="alignnone size-full wp-image-3856" title="03_mymath_c" src="http://eclipsesource.com/blogs/wp-content/uploads/2010/03/03_mymath_c.png" alt="03 mymath c Shared libraries with Eclipse CDT and cygwin on Windows" width="261" height="332" /></p>
<p>3. Afterwards save and hit Ctrl+B (or Project &gt; Build All) to build the library. If cygwin is on your path, you should see a &#8220;Release&#8221; folder in your project containing the file &#8220;mymath.dll&#8221;.</p>
<p><img class="alignnone size-full wp-image-3857" title="04_mymath_dll" src="http://eclipsesource.com/blogs/wp-content/uploads/2010/03/04_mymath_dll.png" alt="04 mymath dll Shared libraries with Eclipse CDT and cygwin on Windows" width="221" height="295" /></p>
<p>4. For windows to find the shared library, you need to add the directory containing the .dll to your path. On Vista this can be done via: Control Panel &gt; User Accounts &gt; User Accounts &gt; Change my environment variables.</p>
<p><img class="alignnone size-full wp-image-3858" title="05_change_path" src="http://eclipsesource.com/blogs/wp-content/uploads/2010/03/05_change_path.png" alt="05 change path Shared libraries with Eclipse CDT and cygwin on Windows" width="447" height="520" /></p>
<p>5. Exit and restart Eclipse after changing the PATH. Otherwise the changes will not be picked up.</p>
<h3>Using a Shared Library with CDT</h3>
<p>Follow these instructions to use a shared library in a &#8220;managed make&#8221; CDT project.</p>
<p>1. File &gt; New &gt; Project &gt; C Project &gt; Next. Project name: example. Project type: Executable; Empty Project. Hit Finish.</p>
<p><img class="alignnone size-full wp-image-3861" title="06_example_project" src="http://eclipsesource.com/blogs/wp-content/uploads/2010/03/06_example_project.png" alt="06 example project Shared libraries with Eclipse CDT and cygwin on Windows" width="534" height="492" /></p>
<p>2. In that project create a file named example.c with the following content:</p>
<p><img class="alignnone size-full wp-image-3862" title="07_example_c" src="http://eclipsesource.com/blogs/wp-content/uploads/2010/03/07_example_c.png" alt="07 example c Shared libraries with Eclipse CDT and cygwin on Windows" width="367" height="177" /></p>
<p>3. Save and hit Ctrl+B to build the project. The second line will have an error: &#8220;mymath.h: No such file or directory&#8221;. We now have to adjust the compiler and linker settings so that the mymath.h / mymath.dll files are found during the build.</p>
<p>4. Select the &#8220;example&#8221; folder in the Project Explorer. Select &#8220;Project &gt; Properties&#8221; from the menu. A dialog comes up. In the tree on the left open: &#8220;C/C++ General &gt; Paths and Symbols&#8221;. In the &#8220;Languages&#8221; list, pick &#8220;GNU C&#8221;. Then hit &#8220;Add&#8221;. Enter the cygwin-style path to the &#8220;mymath&#8221; project: <strong>/cygdrive/c/workspace/mymath</strong></p>
<p>Caution: When entering the path, don&#8217;t use the &#8220;Workspace&#8221; or &#8220;File system&#8221; buttons because the resulting path will not be compatible with cygwin&#8217;s make.</p>
<p><img class="alignnone size-full wp-image-3864" title="09_include_path" src="http://eclipsesource.com/blogs/wp-content/uploads/2010/03/09_include_path.png" alt="09 include path Shared libraries with Eclipse CDT and cygwin on Windows" width="765" height="552" /></p>
<p>5. In the same dialog select: C/C++ Build &gt; Settings in the tree on the left. In the &#8220;Tool Settings&#8221; tab find: &#8220;Cygwin C Linker &gt; Libraries&#8221;. Hit the &#8220;+&#8221; icon in the &#8220;Libraries&#8221; section and add the name of the library: <strong>mymath</strong></p>
<p>Caution: if your shared library starts with lib, omit the &#8216;lib&#8217; prefix (i.e. libfoo becomes foo)</p>
<p>Hit the &#8220;+&#8221; icon in the &#8220;Library search path&#8221; section and add the path to the folder containing the shared library: <strong>/cygdrive/c/workspace/mymath/Debug</strong></p>
<p><img class="alignnone size-full wp-image-3867" title="10_library_path" src="http://eclipsesource.com/blogs/wp-content/uploads/2010/03/10_library_path.png" alt="10 library path Shared libraries with Eclipse CDT and cygwin on Windows" width="765" height="522" /></p>
<p>Hit OK.</p>
<p>6. You will be asked to rebuild the project. Answer &#8220;Yes&#8221;, but for some reason this will not rebuild your project. Hit Ctrl+B to rebuild. The error will go away.</p>
<p><img class="alignnone size-full wp-image-3866" title="11_rebuild_dialog" src="http://eclipsesource.com/blogs/wp-content/uploads/2010/03/11_rebuild_dialog.png" alt="11 rebuild dialog Shared libraries with Eclipse CDT and cygwin on Windows" width="532" height="177" /></p>
<p><img class="alignnone size-full wp-image-3863" title="08_example_c_with_warning" src="http://eclipsesource.com/blogs/wp-content/uploads/2010/03/08_example_c_with_warning.png" alt="08 example c with warning Shared libraries with Eclipse CDT and cygwin on Windows" width="551" height="312" /></p>
<p>Note: ignore the &#8220;unresolved inclusion&#8221; warning. It seems that CDT has trouble resolving cygwin-style paths. The generated make-file however will work as expected.</p>
<p>7. Select &#8220;example&#8221; in the Project Explorer. Right-click &gt; Run As &gt; Local C/C++ Application. At this point you see the result of the multiplication on the console. That means that the shared library was found and used successfully:</p>
<p><img class="alignnone size-full wp-image-3865" title="12_console" src="http://eclipsesource.com/blogs/wp-content/uploads/2010/03/12_console.png" alt="12 console Shared libraries with Eclipse CDT and cygwin on Windows" width="550" height="96" /></p>
<p>Kind regards,<br />
Elias.</p>
]]></content:encoded>
			<wfw:commentRss>http://eclipsesource.com/blogs/2010/03/03/shared-libraries-with-eclipse-cdt-and-cygwin-on-windows/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Riena meets Eclipse RAP, goes to Browser</title>
		<link>http://eclipsesource.com/blogs/2010/02/20/riena-meets-eclipse-rap-goes-to-browser/</link>
		<comments>http://eclipsesource.com/blogs/2010/02/20/riena-meets-eclipse-rap-goes-to-browser/#comments</comments>
		<pubDate>Sat, 20 Feb 2010 00:27:32 +0000</pubDate>
		<dc:creator>Elias Volanakis</dc:creator>
				<category><![CDATA[syndicate]]></category>
		<category><![CDATA[eclipsecon]]></category>
		<category><![CDATA[rap]]></category>
		<category><![CDATA[riena]]></category>

		<guid isPermaLink="false">http://eclipsesource.com/blogs/?p=3803</guid>
		<description><![CDATA[I&#8217;ve spend the last few days adjusting the Ridget layer in Riena, to make it work with Eclipse RAP and Eclipse RCP. We call this process &#8220;single-sourcing&#8221; (EclipseCon tutorial). Ridgets wrap around standard SWT / RWT controls to provide additional functionality and a better API. One example that you can see below: Ridgets have &#8220;markers&#8221;, which [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve spend the last few days adjusting the Ridget layer in <a href="http://www.eclipse.org/riena/">Riena</a>, to make it work with Eclipse RAP <strong>and</strong> Eclipse RCP. We call this process &#8220;single-sourcing&#8221; (<a href="http://www.eclipsecon.org/2010/sessions/?page=sessions&amp;id=1464">EclipseCon tutorial</a>).</p>
<p><strong>Ridgets</strong> wrap around standard SWT / RWT controls to provide additional functionality and a better API. One example that you can see below: Ridgets have &#8220;markers&#8221;, which tag a control as mandatory, wrong or read-only and change the control&#8217;s behavior accordingly.</p>
<p>It&#8217;s worth mentioning that all three screenshots run from <strong>the same </strong>code. The only difference is the target environment used (RAP or RCP).</p>
<div id="attachment_3804" class="wp-caption aligncenter" style="width: 310px"><a href="http://eclipsesource.com/blogs/wp-content/uploads/2010/02/rap_riena_1.png"><img class="size-medium wp-image-3804" title="rap_riena_1" src="http://eclipsesource.com/blogs/wp-content/uploads/2010/02/rap_riena_1-300x240.png" alt="rap riena 1 300x240 Riena meets Eclipse RAP, goes to Browser" width="300" height="240" /></a><p class="wp-caption-text">Ridgets styled with RAP&#39;s &quot;business&quot; theme</p></div>
<div id="attachment_3805" class="wp-caption aligncenter" style="width: 310px"><a href="http://eclipsesource.com/blogs/wp-content/uploads/2010/02/rap_riena_2.png"><img class="size-medium wp-image-3805" title="rap_riena_2" src="http://eclipsesource.com/blogs/wp-content/uploads/2010/02/rap_riena_2-300x208.jpg" alt="rap riena 2 300x208 Riena meets Eclipse RAP, goes to Browser" width="300" height="208" /></a><p class="wp-caption-text">Ridgets styled with RAP&#39;s &quot;classic&quot; theme</p></div>
<div id="attachment_3806" class="wp-caption aligncenter" style="width: 310px"><a href="http://eclipsesource.com/blogs/wp-content/uploads/2010/02/rcp_riena.png"><img class="size-medium wp-image-3806" title="rcp_riena" src="http://eclipsesource.com/blogs/wp-content/uploads/2010/02/rcp_riena-300x205.jpg" alt="rcp riena 300x205 Riena meets Eclipse RAP, goes to Browser" width="300" height="205" /></a><p class="wp-caption-text">Ridgets in a regular RCP application</p></div>
<p>Once this work is completed the Ridget API will be usable for RAP applications as well.</p>
<p>To stay informed about this effort:</p>
<ul>
<li>CC yourself to <a href="http://bugs.eclipse.org/302893">Bug 302893</a>, and</li>
<li>come to our EclipseCon talk &#8220;<a href="http://www.eclipsecon.org/2010/sessions/?page=sessions&amp;id=1182">Riena 2.0 - New &amp; Noteworthy</a>&#8220;</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://eclipsesource.com/blogs/2010/02/20/riena-meets-eclipse-rap-goes-to-browser/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
	</channel>
</rss>

