<?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/"
	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>Manuel Selva's Eclipse blog</title>
	<atom:link href="http://manuelselva.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://manuelselva.wordpress.com</link>
	<description>My Eclipse Experiences</description>
	<lastBuildDate>Mon, 30 Nov 2009 10:22:54 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='manuelselva.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/60cb836544be073a7a6b22db9662a9d0?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>Manuel Selva's Eclipse blog</title>
		<link>http://manuelselva.wordpress.com</link>
	</image>
			<item>
		<title>JFace&#8217;s Viewers Usage Thoughts</title>
		<link>http://manuelselva.wordpress.com/2009/11/26/jfaces-viewers-usage-thoughts/</link>
		<comments>http://manuelselva.wordpress.com/2009/11/26/jfaces-viewers-usage-thoughts/#comments</comments>
		<pubDate>Thu, 26 Nov 2009 15:54:47 +0000</pubDate>
		<dc:creator>Manuel</dc:creator>
				<category><![CDATA[Eclipse Misc]]></category>
		<category><![CDATA[eclipse]]></category>
		<category><![CDATA[JFace]]></category>
		<category><![CDATA[Models]]></category>
		<category><![CDATA[SWT]]></category>
		<category><![CDATA[TreeViewer]]></category>
		<category><![CDATA[Viewers]]></category>

		<guid isPermaLink="false">http://manuelselva.wordpress.com/?p=289</guid>
		<description><![CDATA[Thanks to JFace viewers I can easily present anyone of my &#8220;model&#8221; inside an Eclipse view.
After several usages of this technology I am still sometime wondering how should I use it. Here is my dilemma:
Lets say we want to display a &#8220;model&#8221; (by model I mean here some Java POJOs representing application data) as a [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=manuelselva.wordpress.com&blog=2529905&post=289&subd=manuelselva&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Thanks to <a href="http://wiki.eclipse.org/index.php/JFace">JFace </a>viewers I can easily present anyone of my &#8220;model&#8221; inside an Eclipse view.</p>
<p>After several usages of this technology I am still sometime wondering how should I use it. Here is my dilemma:</p>
<p>Lets say we want to display a &#8220;model&#8221; (by model I mean here some Java POJOs representing application data) as a tree. Tree concepts are Children, Parent and Leaf. Of course these concepts must exist somewhere in my data model to present this model as a tree.</p>
<p>From here, depending on the relation between my data model and the tree concept, two solutions come in my mind (I am maybe missing something and that&#8217;s why I am blogging on the subject, so let me know about all your ideas, experiences &#8230;)</p>
<p><span style="text-decoration:underline;">First solution</span>: we perform <strong>ALL </strong>the  &#8220;model to tree&#8221; mapping in the content provider (Note that this <strong>IS</strong> the content provider <strong>purpose</strong>)</p>
<p><a href="http://manuelselva.files.wordpress.com/2009/11/directmapping.jpg"><img class="size-full wp-image-292 alignleft" title="directMapping" src="http://manuelselva.files.wordpress.com/2009/11/directmapping.jpg?w=450&#038;h=202" alt="Direct mapping from model to tree in ContentProvider" width="450" height="202" /></a></p>
<p>This solution works perfectly when the data model IS a tree. I.e children, parent and leaf exists as it in the model. The data model of the <a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jface.snippets/Eclipse%20JFace%20Snippets/org/eclipse/jface/snippets/viewers/Snippet002TreeViewer.java?view=markup">first JFace TreeViewer Snippet</a> is a good example of such a model.</p>
<p>Unfortunately, in real situations where we need to present data as trees, we must sometimes &#8220;Compute&#8221; the tree from the data. In such situations the ContentProvider implementation can quickly increase in terms of complexity and thus in terms of readability and maintainability.</p>
<p>Here&#8217;s come the <span style="text-decoration:underline;">second solution</span>:</p>
<p><a href="http://manuelselva.files.wordpress.com/2009/11/undirectmapping.jpg"><img class="alignleft size-full wp-image-296" title="undirectMapping" src="http://manuelselva.files.wordpress.com/2009/11/undirectmapping.jpg?w=446&#038;h=174" alt="Undirect mapping of model to tree" width="446" height="174" /></a>In this solution, we first compute a &#8220;tree model&#8221; of the original data model. Then the ContentProvider implementation becomes really easy, since (as in the previously mentioned snippet) we directly return model&#8217;s children, parent and leaf to the viewer. In this case we created an intermediate model: <strong>&#8220;the view model</strong>&#8220;</p>
<p>As I said previously, which solution I choose really depends on the context and mainly on the &#8220;Cost&#8221; and &#8220;Complexity&#8221; of the computation required to convert the model into a tree.</p>
<p style="text-align:left;">I will be interested in community feedback regarding this subject. How do you convert your data models to be presented in JFace viewers ??</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/manuelselva.wordpress.com/289/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/manuelselva.wordpress.com/289/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/manuelselva.wordpress.com/289/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/manuelselva.wordpress.com/289/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/manuelselva.wordpress.com/289/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/manuelselva.wordpress.com/289/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/manuelselva.wordpress.com/289/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/manuelselva.wordpress.com/289/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/manuelselva.wordpress.com/289/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/manuelselva.wordpress.com/289/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=manuelselva.wordpress.com&blog=2529905&post=289&subd=manuelselva&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://manuelselva.wordpress.com/2009/11/26/jfaces-viewers-usage-thoughts/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4aae0706706516adf2151816c4a65f20?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Manuel</media:title>
		</media:content>

		<media:content url="http://manuelselva.files.wordpress.com/2009/11/directmapping.jpg" medium="image">
			<media:title type="html">directMapping</media:title>
		</media:content>

		<media:content url="http://manuelselva.files.wordpress.com/2009/11/undirectmapping.jpg" medium="image">
			<media:title type="html">undirectMapping</media:title>
		</media:content>
	</item>
		<item>
		<title>SWT FileDialog and Windows Hide Extensions For Known File Types</title>
		<link>http://manuelselva.wordpress.com/2009/11/19/swt-filedialog-and-windows-hide-extensions-for-known-file-types/</link>
		<comments>http://manuelselva.wordpress.com/2009/11/19/swt-filedialog-and-windows-hide-extensions-for-known-file-types/#comments</comments>
		<pubDate>Thu, 19 Nov 2009 09:41:42 +0000</pubDate>
		<dc:creator>Manuel</dc:creator>
				<category><![CDATA[SWT]]></category>
		<category><![CDATA[Hide Extensions For Known File Types]]></category>

		<guid isPermaLink="false">http://manuelselva.wordpress.com/?p=272</guid>
		<description><![CDATA[This morning we encountered a strange difference while running the following code on two Windows workstations and directly clicking the OK button of the dialog.

 FileDialog dialog = new FileDialog(window.getShell(), SWT.SAVE);
 dialog.setText(&#34;Save as...&#34;);
 dialog.setFileName(&#34;C:\\Test\\toSave.test&#34;);
 dialog.setFilterPath(&#34;C:\\Test\\&#34;);
 dialog.setFilterExtensions(new String[]{&#34;*.sav&#34;});
 String path = dialog.open();
 System.out.println(path);

The first workstation printed C:\Test\toSave.test while the second one printed C:\Test\toSave.test.sav
 Of course the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=manuelselva.wordpress.com&blog=2529905&post=272&subd=manuelselva&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>This morning we encountered a strange difference while running the following code on two Windows workstations and directly clicking the OK button of the dialog.</p>
<pre class="brush: java;">
 FileDialog dialog = new FileDialog(window.getShell(), SWT.SAVE);
 dialog.setText(&quot;Save as...&quot;);
 dialog.setFileName(&quot;C:\\Test\\toSave.test&quot;);
 dialog.setFilterPath(&quot;C:\\Test\\&quot;);
 dialog.setFilterExtensions(new String[]{&quot;*.sav&quot;});
 String path = dialog.open();
 System.out.println(path);
</pre>
<p>The first workstation printed C:\Test\toSave.test while the second one printed C:\Test\toSave.test<strong>.sav</strong></p>
<p><strong> </strong>Of course the wanted behaviour is the second one !!!</p>
<p>After investigations we identified the difference on the workstations causing this &#8220;SWT&#8221; difference: the first workstation HAS the windows folder option called Hide Extensions For Known File Types checked while the second one HASN&#8217;T !!!</p>
<p>To fix the issue we had to modify the setFileName method call as following:</p>
<pre class="brush: java;">
 dialog.setFileName(&quot;C:\\Test\\toSave.test.sav&quot;);
</pre>
<p><span style="text-decoration:underline;">Conclusion</span>: Looking back to the initial code, it seems logic to have to set a file name <strong>matching</strong> the specified filter extensions.</p>
<p>&nbsp;</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/manuelselva.wordpress.com/272/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/manuelselva.wordpress.com/272/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/manuelselva.wordpress.com/272/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/manuelselva.wordpress.com/272/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/manuelselva.wordpress.com/272/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/manuelselva.wordpress.com/272/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/manuelselva.wordpress.com/272/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/manuelselva.wordpress.com/272/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/manuelselva.wordpress.com/272/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/manuelselva.wordpress.com/272/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=manuelselva.wordpress.com&blog=2529905&post=272&subd=manuelselva&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://manuelselva.wordpress.com/2009/11/19/swt-filedialog-and-windows-hide-extensions-for-known-file-types/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4aae0706706516adf2151816c4a65f20?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Manuel</media:title>
		</media:content>
	</item>
		<item>
		<title>ANT directory &#8220;ziping&#8221;</title>
		<link>http://manuelselva.wordpress.com/2009/10/23/ant-directory-ziping/</link>
		<comments>http://manuelselva.wordpress.com/2009/10/23/ant-directory-ziping/#comments</comments>
		<pubDate>Fri, 23 Oct 2009 14:15:42 +0000</pubDate>
		<dc:creator>Manuel</dc:creator>
				<category><![CDATA[Eclipse Misc]]></category>

		<guid isPermaLink="false">http://manuelselva.wordpress.com/?p=268</guid>
		<description><![CDATA[I spent lot of time today to find how to zip an eclipse directory with ANT WHILE KEEPING the root directory in the archive, thus when unziping, clients get only one directory called eclipse containing all eclipse&#8217;s stuff.
Here&#8217;s my directories structure:

buildfolder

eclipse

configuration

config.ini


eclipse
&#8230;





Here is the ant code to zip the eclipse directory into a zip called eclipse.zip [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=manuelselva.wordpress.com&blog=2529905&post=268&subd=manuelselva&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I spent lot of time today to find how to zip an eclipse directory with ANT WHILE KEEPING the root directory in the archive, thus when unziping, clients get only one directory called eclipse containing all eclipse&#8217;s stuff.</p>
<p>Here&#8217;s my directories structure:</p>
<ul>
<li>buildfolder
<ul>
<li>eclipse
<ul>
<li>configuration
<ul>
<li>config.ini</li>
</ul>
</li>
<li>eclipse</li>
<li>&#8230;</li>
</ul>
</li>
</ul>
</li>
</ul>
<p>Here is the ant code to zip the eclipse directory into a zip called eclipse.zip containing the eclipse directory as root:</p>
<pre class="brush: xml;">
 &lt;zip destfile=&quot;eclipse.zip&quot;&gt;
   &lt;zipfileset dir=&quot;buildfolder&quot;&gt;
      &lt;include name=&quot;eclipse/**/**&quot; /&gt;
   &lt;/zipfileset&gt;
 &lt;/zip&gt;
</pre>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/manuelselva.wordpress.com/268/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/manuelselva.wordpress.com/268/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/manuelselva.wordpress.com/268/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/manuelselva.wordpress.com/268/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/manuelselva.wordpress.com/268/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/manuelselva.wordpress.com/268/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/manuelselva.wordpress.com/268/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/manuelselva.wordpress.com/268/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/manuelselva.wordpress.com/268/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/manuelselva.wordpress.com/268/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=manuelselva.wordpress.com&blog=2529905&post=268&subd=manuelselva&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://manuelselva.wordpress.com/2009/10/23/ant-directory-ziping/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4aae0706706516adf2151816c4a65f20?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Manuel</media:title>
		</media:content>
	</item>
		<item>
		<title>No More Eclipse Auto Completion</title>
		<link>http://manuelselva.wordpress.com/2009/10/15/no-more-eclipse-auto-completion/</link>
		<comments>http://manuelselva.wordpress.com/2009/10/15/no-more-eclipse-auto-completion/#comments</comments>
		<pubDate>Thu, 15 Oct 2009 14:07:39 +0000</pubDate>
		<dc:creator>Manuel</dc:creator>
				<category><![CDATA[Eclipse Misc]]></category>

		<guid isPermaLink="false">http://manuelselva.wordpress.com/?p=265</guid>
		<description><![CDATA[Hi there,
After pressing accidentally several keys on my keyboard I lost the Auto Completion  in my PDE environment !!!
I already had the same problem long time ago but I wasn&#8217;t able to remember how I solved it. In order to solve it quickly next time and of course for others encountering it here is the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=manuelselva.wordpress.com&blog=2529905&post=265&subd=manuelselva&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Hi there,</p>
<p>After pressing accidentally several keys on my keyboard I lost the Auto Completion  in my PDE environment !!!</p>
<p>I already had the same problem long time ago but I wasn&#8217;t able to remember how I solved it. In order to solve it quickly next time and of course for others encountering it here is the solution:</p>
<p><strong>Window -&gt; Preferences -&gt; Java -&gt; Editor -&gt;Content Assist Advanced -&gt; Restore Defaults </strong>in order to have Java Proposals checked.</p>
<p>On a side note, I am curious to understand how I disabled this feature with my keyboard &#8230;.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/manuelselva.wordpress.com/265/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/manuelselva.wordpress.com/265/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/manuelselva.wordpress.com/265/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/manuelselva.wordpress.com/265/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/manuelselva.wordpress.com/265/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/manuelselva.wordpress.com/265/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/manuelselva.wordpress.com/265/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/manuelselva.wordpress.com/265/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/manuelselva.wordpress.com/265/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/manuelselva.wordpress.com/265/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=manuelselva.wordpress.com&blog=2529905&post=265&subd=manuelselva&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://manuelselva.wordpress.com/2009/10/15/no-more-eclipse-auto-completion/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4aae0706706516adf2151816c4a65f20?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Manuel</media:title>
		</media:content>
	</item>
		<item>
		<title>-Xms Question for long (French) week end</title>
		<link>http://manuelselva.wordpress.com/2009/07/10/xms-question-for-long-french-week-end/</link>
		<comments>http://manuelselva.wordpress.com/2009/07/10/xms-question-for-long-french-week-end/#comments</comments>
		<pubDate>Fri, 10 Jul 2009 14:55:24 +0000</pubDate>
		<dc:creator>Manuel</dc:creator>
				<category><![CDATA[Java]]></category>

		<guid isPermaLink="false">http://manuelselva.wordpress.com/?p=261</guid>
		<description><![CDATA[Hi all,
Before leaving in a 4 days week end (July 14th is Bastille Day ;o)) I would like to like to get your inputs regarding -Xms Sun JVM&#8217;s option.
This week I tried to find the best way to manage memory usage of our Eclipse&#8217;s based product. This work led me to ask my self How [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=manuelselva.wordpress.com&blog=2529905&post=261&subd=manuelselva&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Hi all,</p>
<p>Before leaving in a 4 days week end (July 14th is <a href="http://en.wikipedia.org/wiki/Bastille_Day">Bastille Day</a> ;o)) I would like to like to get your inputs regarding -Xms Sun JVM&#8217;s option.</p>
<p>This week I tried to find the best way to manage memory usage of our Eclipse&#8217;s based product. This work led me to ask my self How should I manage <a href="http://manuelselva.wordpress.com/2009/07/06/how-do-you-handle-outofmemoryerror/">OutOfMemoryErrors</a> and also bring me to -Xmx and to the mysterious (to my blinded eyes) -Xms option.</p>
<p>In our product we are setting -Xmx to 512m. All is clear and works perfectly with this option.</p>
<p>Regarding -Xms things are more complicate (once again, to my blinded eyes).</p>
<p>Sun &#8220;Tuning Garbage Collection&#8221; document says: &#8220;If the value of -Xms is smaller than the value of the -Xmx parameter, not all of the space that is reserved is immediately committed to the virtual machine&#8221;</p>
<p>I am wondering :</p>
<ul>
<li>What &#8220;is immediately committed&#8221; exactly means ? Does it concern other running applications to the system ?</li>
<li>What&#8217;s the best value for -Xms is order to increase product performances and in order to not decrease other system applications performances ?</li>
<li>Is there any drawback to set this -Xms option to the same value than -Xmx ?? I am not a system expert at all, but it seems that setting this -Xms option to an high value doesn&#8217;t affect other running applications &#8230;</li>
<li>Is there any Virtual memory management relationship there ?</li>
</ul>
<p>I would appreciate any Java expert comment on that topic in order to have a clear view of what this -Xms option really do and to use it.</p>
<p>Thanks in advance and have a nice week end.</p>
<p>Manu</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/manuelselva.wordpress.com/261/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/manuelselva.wordpress.com/261/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/manuelselva.wordpress.com/261/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/manuelselva.wordpress.com/261/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/manuelselva.wordpress.com/261/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/manuelselva.wordpress.com/261/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/manuelselva.wordpress.com/261/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/manuelselva.wordpress.com/261/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/manuelselva.wordpress.com/261/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/manuelselva.wordpress.com/261/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=manuelselva.wordpress.com&blog=2529905&post=261&subd=manuelselva&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://manuelselva.wordpress.com/2009/07/10/xms-question-for-long-french-week-end/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4aae0706706516adf2151816c4a65f20?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Manuel</media:title>
		</media:content>
	</item>
		<item>
		<title>How do you handle OutOfMemoryError ??</title>
		<link>http://manuelselva.wordpress.com/2009/07/06/how-do-you-handle-outofmemoryerror/</link>
		<comments>http://manuelselva.wordpress.com/2009/07/06/how-do-you-handle-outofmemoryerror/#comments</comments>
		<pubDate>Mon, 06 Jul 2009 14:50:13 +0000</pubDate>
		<dc:creator>Manuel</dc:creator>
				<category><![CDATA[Eclipse Misc]]></category>
		<category><![CDATA[eclipse]]></category>
		<category><![CDATA[OutOfMemoryError]]></category>

		<guid isPermaLink="false">http://manuelselva.wordpress.com/?p=257</guid>
		<description><![CDATA[Sometimes, depending on a lot of circumstances, Eclipse user can face the famous OutOfMemoryError. Unfortunately our users sometime face this error.
Eclipse default handling for such errors prompts the user as following:
I am asking myself: is there any more useful information we can provide to the end user in order to prevent such errors to occur [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=manuelselva.wordpress.com&blog=2529905&post=257&subd=manuelselva&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Sometimes, depending on a lot of circumstances, Eclipse user can face the famous OutOfMemoryError. Unfortunately our users sometime face this error.</p>
<p>Eclipse default handling for such errors prompts the user as following:</p>
<div id="attachment_258" class="wp-caption aligncenter" style="width: 451px"><img class="size-full wp-image-258" title="out_of_memory" src="http://manuelselva.files.wordpress.com/2009/07/out_of_memory.gif?w=441&#038;h=218" alt="Out Of Memory handling" width="441" height="218" /><p class="wp-caption-text">Out Of Memory handling</p></div>
<p>I am asking myself: is there any more useful information we can provide to the end user in order to prevent such errors to occur again ???</p>
<p>May be I can parse the Error message to check if it&#8217;s a heap or permanent generation out of memory ? Thus I will be able to tell the user: add the following option when launching the product.</p>
<p>It also appears that sometimes this dialog is not opened, and the error is only logged in the .log file. Does it depends on the thread throwing the error &#8230;</p>
<p>Do you handle these errors differently than Eclipse in you custom products ? If yes, how ?</p>
<p>I would be interested in any comments suggestions on that topic.</p>
<p>Manu</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/manuelselva.wordpress.com/257/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/manuelselva.wordpress.com/257/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/manuelselva.wordpress.com/257/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/manuelselva.wordpress.com/257/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/manuelselva.wordpress.com/257/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/manuelselva.wordpress.com/257/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/manuelselva.wordpress.com/257/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/manuelselva.wordpress.com/257/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/manuelselva.wordpress.com/257/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/manuelselva.wordpress.com/257/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=manuelselva.wordpress.com&blog=2529905&post=257&subd=manuelselva&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://manuelselva.wordpress.com/2009/07/06/how-do-you-handle-outofmemoryerror/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4aae0706706516adf2151816c4a65f20?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Manuel</media:title>
		</media:content>

		<media:content url="http://manuelselva.files.wordpress.com/2009/07/out_of_memory.gif" medium="image">
			<media:title type="html">out_of_memory</media:title>
		</media:content>
	</item>
		<item>
		<title>Draw2d Enhancements – Part 1 – Labels on Polylines =&gt; Bug 281246</title>
		<link>http://manuelselva.wordpress.com/2009/06/23/draw2d-enhancements-%e2%80%93-part-1-%e2%80%93-labels-on-polylines-bug-281246/</link>
		<comments>http://manuelselva.wordpress.com/2009/06/23/draw2d-enhancements-%e2%80%93-part-1-%e2%80%93-labels-on-polylines-bug-281246/#comments</comments>
		<pubDate>Tue, 23 Jun 2009 16:48:16 +0000</pubDate>
		<dc:creator>Manuel</dc:creator>
				<category><![CDATA[Eclipse Misc]]></category>
		<category><![CDATA[Draw2d]]></category>

		<guid isPermaLink="false">http://manuelselva.wordpress.com/?p=254</guid>
		<description><![CDATA[For interested people I opened an enhancement request in bugzilla regarding &#8220;Labels on Polylines&#8221; in Draw2d.
As mentioned in the bugzilla entry the patch provided is a FIRST ugly patch and should be really improved. Any help, comments, enhancements are welcome ;o)
The next post regarding Draw2d Enhancements will concern a Graphics class able to scale according [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=manuelselva.wordpress.com&blog=2529905&post=254&subd=manuelselva&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>For interested people I opened an <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=281246">enhancement request</a> in bugzilla regarding &#8220;<a href="http://manuelselva.wordpress.com/2009/05/06/draw2d-enhancements-part-1-labels-on-polylines/">Labels on Polylines</a>&#8221; in Draw2d.</p>
<p>As mentioned in the bugzilla entry the patch provided is a FIRST ugly patch and should be really improved. Any help, comments, enhancements are welcome ;o)</p>
<p>The next post regarding Draw2d Enhancements will concern a Graphics class able to scale according to x OR y independently.</p>
<p>Manu</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/manuelselva.wordpress.com/254/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/manuelselva.wordpress.com/254/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/manuelselva.wordpress.com/254/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/manuelselva.wordpress.com/254/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/manuelselva.wordpress.com/254/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/manuelselva.wordpress.com/254/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/manuelselva.wordpress.com/254/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/manuelselva.wordpress.com/254/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/manuelselva.wordpress.com/254/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/manuelselva.wordpress.com/254/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=manuelselva.wordpress.com&blog=2529905&post=254&subd=manuelselva&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://manuelselva.wordpress.com/2009/06/23/draw2d-enhancements-%e2%80%93-part-1-%e2%80%93-labels-on-polylines-bug-281246/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4aae0706706516adf2151816c4a65f20?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Manuel</media:title>
		</media:content>
	</item>
		<item>
		<title>Stackoverflow.com</title>
		<link>http://manuelselva.wordpress.com/2009/06/12/stackoverflow-com/</link>
		<comments>http://manuelselva.wordpress.com/2009/06/12/stackoverflow-com/#comments</comments>
		<pubDate>Fri, 12 Jun 2009 13:32:04 +0000</pubDate>
		<dc:creator>Manuel</dc:creator>
				<category><![CDATA[Eclipse Misc]]></category>

		<guid isPermaLink="false">http://manuelselva.wordpress.com/?p=252</guid>
		<description><![CDATA[I recently discovered http://stackoverflow.com/ a very cool and dynamic &#8220;programming Q &#38; A site that&#8217;s free&#8221;.  This  site is note specific  to a given programming language  and guess what &#8230;. ???? There is an eclipse section here.
I know the Eclipse foundation provides dynamic newsgroups, but for users as me behind enterprise firewalls who can access [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=manuelselva.wordpress.com&blog=2529905&post=252&subd=manuelselva&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I recently discovered <a href="http://stackoverflow.com/">http://stackoverflow.com/</a> a very cool and dynamic <em>&#8220;<strong>programming Q &amp; A site that&#8217;s free&#8221;</strong></em>.  This  site is note specific  to a given programming language  and guess what &#8230;. ???? There is an eclipse section <a href="http://stackoverflow.com/questions/tagged/eclipse">here</a>.</p>
<p>I know the Eclipse foundation provides dynamic newsgroups, but for users as me behind enterprise firewalls who can access newsgroups only through the basic user interface I think it would be nice to see this Eclipse&#8217;s section more and more active.</p>
<p>Hope to see you on stackoverflow to give our Eclipse&#8217;s community more pertinent questions and answers.</p>
<p>Manu</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/manuelselva.wordpress.com/252/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/manuelselva.wordpress.com/252/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/manuelselva.wordpress.com/252/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/manuelselva.wordpress.com/252/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/manuelselva.wordpress.com/252/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/manuelselva.wordpress.com/252/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/manuelselva.wordpress.com/252/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/manuelselva.wordpress.com/252/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/manuelselva.wordpress.com/252/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/manuelselva.wordpress.com/252/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=manuelselva.wordpress.com&blog=2529905&post=252&subd=manuelselva&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://manuelselva.wordpress.com/2009/06/12/stackoverflow-com/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4aae0706706516adf2151816c4a65f20?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Manuel</media:title>
		</media:content>
	</item>
		<item>
		<title>Draw2d Enhancements &#8211; Part 1 &#8211; Labels on Polylines</title>
		<link>http://manuelselva.wordpress.com/2009/05/06/draw2d-enhancements-part-1-labels-on-polylines/</link>
		<comments>http://manuelselva.wordpress.com/2009/05/06/draw2d-enhancements-part-1-labels-on-polylines/#comments</comments>
		<pubDate>Wed, 06 May 2009 14:56:22 +0000</pubDate>
		<dc:creator>Manuel</dc:creator>
				<category><![CDATA[Eclipse Misc]]></category>

		<guid isPermaLink="false">http://manuelselva.wordpress.com/?p=239</guid>
		<description><![CDATA[Long time ago I blogged about Draw2d here. In fact I have been working with Draw2d, without GEF, during the last 2 years.
I&#8217;ll try through several posts to show the &#8220;missing features required for my needs&#8221; I implemented from my side. &#8220;Missing&#8221; is quoted because it was until today, ALWAYS possible to implement these features [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=manuelselva.wordpress.com&blog=2529905&post=239&subd=manuelselva&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Long time ago I blogged about Draw2d <a href="http://manuelselva.wordpress.com/2008/04/06/draw2d-outside-eclipse/" target="_blank">here</a>. In fact I have been working with Draw2d, without GEF, during the last 2 years.</p>
<p>I&#8217;ll try through several posts to show the &#8220;missing features required for my needs&#8221; I implemented from my side. &#8220;Missing&#8221; is quoted because it was until today, ALWAYS possible to implement these features thanks to Draw2d flexibility ;o)</p>
<p>The first one I want to share is &#8220;<strong>Label Decoration For Polylines</strong>&#8220;. Because <a href="http://en.wikipedia.org/wiki/A_picture_is_worth_a_thousand_words"><strong><em><strong>A picture is worth a thousand words</strong></em></strong></a> here it is:</p>
<p style="text-align:center;"><a href="http://manuelselva.files.wordpress.com/2009/05/labeledpolyline.png"><img class="aligncenter size-full wp-image-242" title="labeledpolyline" src="../files/2009/05/labeledpolyline.png" alt="labeledpolyline" width="528" height="312" /></a></p>
<p style="text-align:left;">May be this feature can be interesting for some of you and thus can be contributed  ? May be it&#8217;s already existing somewhere and I missed it ?</p>
<p style="text-align:left;">Next post will show XYScaledGraphics able to scale X axis independtly from Y axis and vice versa.</p>
<p style="text-align:left;">Manu</p>
<p style="text-align:center;">
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/manuelselva.wordpress.com/239/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/manuelselva.wordpress.com/239/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/manuelselva.wordpress.com/239/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/manuelselva.wordpress.com/239/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/manuelselva.wordpress.com/239/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/manuelselva.wordpress.com/239/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/manuelselva.wordpress.com/239/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/manuelselva.wordpress.com/239/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/manuelselva.wordpress.com/239/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/manuelselva.wordpress.com/239/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=manuelselva.wordpress.com&blog=2529905&post=239&subd=manuelselva&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://manuelselva.wordpress.com/2009/05/06/draw2d-enhancements-part-1-labels-on-polylines/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4aae0706706516adf2151816c4a65f20?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Manuel</media:title>
		</media:content>

		<media:content url="../files/2009/05/labeledpolyline.png" medium="image">
			<media:title type="html">labeledpolyline</media:title>
		</media:content>
	</item>
		<item>
		<title>Headless Build Benefits</title>
		<link>http://manuelselva.wordpress.com/2009/04/29/headless-build-benefits/</link>
		<comments>http://manuelselva.wordpress.com/2009/04/29/headless-build-benefits/#comments</comments>
		<pubDate>Wed, 29 Apr 2009 11:18:50 +0000</pubDate>
		<dc:creator>Manuel</dc:creator>
				<category><![CDATA[Eclipse Tools]]></category>

		<guid isPermaLink="false">http://manuelselva.wordpress.com/?p=234</guid>
		<description><![CDATA[Several weeks ago I blogged a lot about headless build and mainly about the problems I encountered to set up this build. I must admit that it was difficult and long to have the final build working properly but I also MUST admit than the benefits are now really appreciable.
These benefits are mainly :

Each time [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=manuelselva.wordpress.com&blog=2529905&post=234&subd=manuelselva&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Several weeks ago I blogged a lot about headless build and mainly about the problems I encountered to set up this build. I must admit that it was difficult and long to have the final build working properly but I also MUST admit than the benefits are now <strong>really</strong> <strong>appreciable</strong>.</p>
<p>These benefits are mainly :</p>
<ol>
<li>Each time we have to release our features I feel <strong>confident</strong>. First, I am confident about the content of the packages thanks to automation. Then I am also confident about the compiled code build in the packages thanks to the integration of our J-Unit tests in the build.</li>
<li>The workload to perform the release thanks to the headless build can be summed-up by: <em>./manu-linux-build.sh build.all.</em> In other words, it&#8217;s <strong>FREE</strong>. Who wants a release ?? You or you ? You ? No problem I can do that in one click !! You need an engineering release ? Ok here it is !!!</li>
</ol>
<p>If your are not already building your Eclipse&#8217;s product automatically I strongly encourage you to get started with headless build.</p>
<p>Manu</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/manuelselva.wordpress.com/234/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/manuelselva.wordpress.com/234/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/manuelselva.wordpress.com/234/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/manuelselva.wordpress.com/234/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/manuelselva.wordpress.com/234/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/manuelselva.wordpress.com/234/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/manuelselva.wordpress.com/234/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/manuelselva.wordpress.com/234/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/manuelselva.wordpress.com/234/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/manuelselva.wordpress.com/234/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=manuelselva.wordpress.com&blog=2529905&post=234&subd=manuelselva&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://manuelselva.wordpress.com/2009/04/29/headless-build-benefits/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4aae0706706516adf2151816c4a65f20?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Manuel</media:title>
		</media:content>
	</item>
	</channel>
</rss>