<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments for Manuel Selva's Eclipse blog</title>
	<atom:link href="http://manuelselva.wordpress.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://manuelselva.wordpress.com</link>
	<description>My Eclipse Experiences</description>
	<lastBuildDate>Mon, 30 Nov 2009 10:06:07 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>Comment on Java Fields Accessibility (and not Visibility!!!) / Public &#8211; Private &#8211; Protected &#8230;. by RcK17</title>
		<link>http://manuelselva.wordpress.com/2008/02/14/java-public-private-protected/#comment-375</link>
		<dc:creator>RcK17</dc:creator>
		<pubDate>Mon, 30 Nov 2009 10:06:07 +0000</pubDate>
		<guid isPermaLink="false">http://manuelselva.wordpress.com/?p=19#comment-375</guid>
		<description>Thanks :)</description>
		<content:encoded><![CDATA[<p>Thanks <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on JFace&#8217;s Viewers Usage Thoughts by Michael Golovanov</title>
		<link>http://manuelselva.wordpress.com/2009/11/26/jfaces-viewers-usage-thoughts/#comment-373</link>
		<dc:creator>Michael Golovanov</dc:creator>
		<pubDate>Sat, 28 Nov 2009 05:24:39 +0000</pubDate>
		<guid isPermaLink="false">http://manuelselva.wordpress.com/?p=289#comment-373</guid>
		<description>In addition to great ideas of other folks: you can use AOP (aspect oriented programming) to mixin tree related stuff on original model object</description>
		<content:encoded><![CDATA[<p>In addition to great ideas of other folks: you can use AOP (aspect oriented programming) to mixin tree related stuff on original model object</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on JFace&#8217;s Viewers Usage Thoughts by Manuel</title>
		<link>http://manuelselva.wordpress.com/2009/11/26/jfaces-viewers-usage-thoughts/#comment-372</link>
		<dc:creator>Manuel</dc:creator>
		<pubDate>Fri, 27 Nov 2009 07:44:34 +0000</pubDate>
		<guid isPermaLink="false">http://manuelselva.wordpress.com/?p=289#comment-372</guid>
		<description>Hi, thanks to all for your positive and constructive feedbacks !!!

I&#039;ll investigate all directions you mentioned in order to consolidate my JFace and Gef knowledge. 

Thanks again
Manu</description>
		<content:encoded><![CDATA[<p>Hi, thanks to all for your positive and constructive feedbacks !!!</p>
<p>I&#8217;ll investigate all directions you mentioned in order to consolidate my JFace and Gef knowledge. </p>
<p>Thanks again<br />
Manu</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on JFace&#8217;s Viewers Usage Thoughts by Miles Parker</title>
		<link>http://manuelselva.wordpress.com/2009/11/26/jfaces-viewers-usage-thoughts/#comment-371</link>
		<dc:creator>Miles Parker</dc:creator>
		<pubDate>Fri, 27 Nov 2009 07:08:46 +0000</pubDate>
		<guid isPermaLink="false">http://manuelselva.wordpress.com/?p=289#comment-371</guid>
		<description>Sounds like a job for GEF! In fact you&#039;ve described one of the best use cases. I think that one way to think about GEF edit parts is precisely as you say -- a &quot;view model&quot;. And an overlooked aspect of GEF is  that it can be useful without any 2d content at all -- just use the tree model. Sound like overkill? Perhaps, but if you think your usage is likely to grow to become more complex you&#039;ll be ready -- and GEF implementation really isn&#039;t that much more complex than TreeProviders.

p.s. it&#039;s really nice when people post general issues like this as it gives us a chance to step back a bit and thing about high level usages.</description>
		<content:encoded><![CDATA[<p>Sounds like a job for GEF! In fact you&#8217;ve described one of the best use cases. I think that one way to think about GEF edit parts is precisely as you say &#8212; a &#8220;view model&#8221;. And an overlooked aspect of GEF is  that it can be useful without any 2d content at all &#8212; just use the tree model. Sound like overkill? Perhaps, but if you think your usage is likely to grow to become more complex you&#8217;ll be ready &#8212; and GEF implementation really isn&#8217;t that much more complex than TreeProviders.</p>
<p>p.s. it&#8217;s really nice when people post general issues like this as it gives us a chance to step back a bit and thing about high level usages.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on JFace&#8217;s Viewers Usage Thoughts by Del Myers</title>
		<link>http://manuelselva.wordpress.com/2009/11/26/jfaces-viewers-usage-thoughts/#comment-370</link>
		<dc:creator>Del Myers</dc:creator>
		<pubDate>Thu, 26 Nov 2009 18:09:13 +0000</pubDate>
		<guid isPermaLink="false">http://manuelselva.wordpress.com/?p=289#comment-370</guid>
		<description>It really depends. One problem with building a view model is that you have to be careful about what objects you return to the viewer. If there are any other views in the workbench that respond to selections that are related to your original model, then making a simple view model just won&#039;t work.

When I&#039;m faced with that situation, I will sometimes create an internal view model that is contained inside the content provider which keeps a map to the original POJOs so that they can be returned by &quot;getChildren&quot; etc.. The internal view model is built on demand and stored with the content provider. You can clear it when the provider is disposed. This solution only works when there is a 1:1 relationship between content provider and viewer, though--which is the way that you really should do it.

The data binding may work as well. It could be a good alternate solution. I&#039;ve never really worked with data binding myself.</description>
		<content:encoded><![CDATA[<p>It really depends. One problem with building a view model is that you have to be careful about what objects you return to the viewer. If there are any other views in the workbench that respond to selections that are related to your original model, then making a simple view model just won&#8217;t work.</p>
<p>When I&#8217;m faced with that situation, I will sometimes create an internal view model that is contained inside the content provider which keeps a map to the original POJOs so that they can be returned by &#8220;getChildren&#8221; etc.. The internal view model is built on demand and stored with the content provider. You can clear it when the provider is disposed. This solution only works when there is a 1:1 relationship between content provider and viewer, though&#8211;which is the way that you really should do it.</p>
<p>The data binding may work as well. It could be a good alternate solution. I&#8217;ve never really worked with data binding myself.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on JFace&#8217;s Viewers Usage Thoughts by Boris Bokowski</title>
		<link>http://manuelselva.wordpress.com/2009/11/26/jfaces-viewers-usage-thoughts/#comment-369</link>
		<dc:creator>Boris Bokowski</dc:creator>
		<pubDate>Thu, 26 Nov 2009 17:32:50 +0000</pubDate>
		<guid isPermaLink="false">http://manuelselva.wordpress.com/?p=289#comment-369</guid>
		<description>Thinking about the static structure of your tree is only the first - and easiest - step. It gets much more complicated as soon as you add dynamics, in the sense that your tree&#039;s items, and its shape, change over time. (Calling viewer.refresh() doesn&#039;t scale.)

My recommendation would be to use parts of the data binding framework - have a look at ViewerSupport.bind (and its implementation, if your use case is covered by the simple helper API). Here&#039;s a snippet that shows how you can use it: http://tinyurl.com/yefrj97

The basic idea here is that a tree is composed of a number of observable lists, one for each parent node, containing the child nodes. If you can provide a factory that creates an observable list for a given parent node, or returns null if the given node is a leaf, then that&#039;s all we need for the content side of a dynamic tree. If there is any computation involved, you can worry about that computation at the level of &quot;how do I compute the observable list of children for a given parent node&quot;.

(An observable list is a java.util.List with additional methods for adding and removing listeners. It will fire events as elements are being added or removed. One simple implementation is WritableList.)</description>
		<content:encoded><![CDATA[<p>Thinking about the static structure of your tree is only the first &#8211; and easiest &#8211; step. It gets much more complicated as soon as you add dynamics, in the sense that your tree&#8217;s items, and its shape, change over time. (Calling viewer.refresh() doesn&#8217;t scale.)</p>
<p>My recommendation would be to use parts of the data binding framework &#8211; have a look at ViewerSupport.bind (and its implementation, if your use case is covered by the simple helper API). Here&#8217;s a snippet that shows how you can use it: <a href="http://tinyurl.com/yefrj97" rel="nofollow">http://tinyurl.com/yefrj97</a></p>
<p>The basic idea here is that a tree is composed of a number of observable lists, one for each parent node, containing the child nodes. If you can provide a factory that creates an observable list for a given parent node, or returns null if the given node is a leaf, then that&#8217;s all we need for the content side of a dynamic tree. If there is any computation involved, you can worry about that computation at the level of &#8220;how do I compute the observable list of children for a given parent node&#8221;.</p>
<p>(An observable list is a java.util.List with additional methods for adding and removing listeners. It will fire events as elements are being added or removed. One simple implementation is WritableList.)</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Linux / Eclipse / GTK by Gergo</title>
		<link>http://manuelselva.wordpress.com/2008/05/30/linux-eclipse-gtk/#comment-367</link>
		<dc:creator>Gergo</dc:creator>
		<pubDate>Tue, 10 Nov 2009 18:59:45 +0000</pubDate>
		<guid isPermaLink="false">http://manuelselva.wordpress.com/?p=38#comment-367</guid>
		<description>&gt; Also, have you seen any clear definition of what GTK version Eclipse/SWT 
This seems the best so far:
http://www.eclipse.org/swt/faq.php#gtkstartup</description>
		<content:encoded><![CDATA[<p>&gt; Also, have you seen any clear definition of what GTK version Eclipse/SWT<br />
This seems the best so far:<br />
<a href="http://www.eclipse.org/swt/faq.php#gtkstartup" rel="nofollow">http://www.eclipse.org/swt/faq.php#gtkstartup</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Linux / Eclipse / GTK by Gergo</title>
		<link>http://manuelselva.wordpress.com/2008/05/30/linux-eclipse-gtk/#comment-366</link>
		<dc:creator>Gergo</dc:creator>
		<pubDate>Tue, 10 Nov 2009 18:54:16 +0000</pubDate>
		<guid isPermaLink="false">http://manuelselva.wordpress.com/?p=38#comment-366</guid>
		<description>Oh, so that&#039;s feasible - great to know.
I&#039;ve run into GTK/GDK crash on an old system, which is RHEL4 at this time.
So I was wondering, as a last resort bundle a custom-build GTK/GDK with my product.

Do you still remember, what are the .so files SWT requires, and which is the minimum subset of source packages that build these?

Also, have you seen any clear definition of what GTK version Eclipse/SWT requires? The best I&#039;ve found so far are the Release notes - but that&#039;s not too concise.

Thanks a million,
Gergo</description>
		<content:encoded><![CDATA[<p>Oh, so that&#8217;s feasible &#8211; great to know.<br />
I&#8217;ve run into GTK/GDK crash on an old system, which is RHEL4 at this time.<br />
So I was wondering, as a last resort bundle a custom-build GTK/GDK with my product.</p>
<p>Do you still remember, what are the .so files SWT requires, and which is the minimum subset of source packages that build these?</p>
<p>Also, have you seen any clear definition of what GTK version Eclipse/SWT requires? The best I&#8217;ve found so far are the Release notes &#8211; but that&#8217;s not too concise.</p>
<p>Thanks a million,<br />
Gergo</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on JFace Bug 9262 by Russell Thamm</title>
		<link>http://manuelselva.wordpress.com/2009/01/16/bug-9262/#comment-358</link>
		<dc:creator>Russell Thamm</dc:creator>
		<pubDate>Fri, 23 Oct 2009 04:41:50 +0000</pubDate>
		<guid isPermaLink="false">http://manuelselva.wordpress.com/?p=154#comment-358</guid>
		<description>Thanks Manuel,

fortunately I realised pretty quickly about the bug (thanks to Javadoc).

I had no idea how to fix it until I read your post.</description>
		<content:encoded><![CDATA[<p>Thanks Manuel,</p>
<p>fortunately I realised pretty quickly about the bug (thanks to Javadoc).</p>
<p>I had no idea how to fix it until I read your post.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How do you handle OutOfMemoryError ?? by Angelo</title>
		<link>http://manuelselva.wordpress.com/2009/07/06/how-do-you-handle-outofmemoryerror/#comment-353</link>
		<dc:creator>Angelo</dc:creator>
		<pubDate>Fri, 25 Sep 2009 12:03:34 +0000</pubDate>
		<guid isPermaLink="false">http://manuelselva.wordpress.com/?p=257#comment-353</guid>
		<description>Hi Manuel, try increasing your heap size. You check the link below on how to do this on eclipse

http://javasprint.blogspot.com/2009/07/eclipse-shorcut-icon.html</description>
		<content:encoded><![CDATA[<p>Hi Manuel, try increasing your heap size. You check the link below on how to do this on eclipse</p>
<p><a href="http://javasprint.blogspot.com/2009/07/eclipse-shorcut-icon.html" rel="nofollow">http://javasprint.blogspot.com/2009/07/eclipse-shorcut-icon.html</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>
