<?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>Hackerdude &#187; Eclipse</title>
	<atom:link href="http://www.hackerdude.com/category/dev-platforms/eclipse/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.hackerdude.com</link>
	<description>Software Development Blog by David Martinez</description>
	<lastBuildDate>Fri, 17 Sep 2010 18:31:30 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.4</generator>
		<item>
		<title>Wazaabi &#8211; XUL for RCP.</title>
		<link>http://www.hackerdude.com/2006/12/08/wazaabi-xul-for-rcp/</link>
		<comments>http://www.hackerdude.com/2006/12/08/wazaabi-xul-for-rcp/#comments</comments>
		<pubDate>Fri, 08 Dec 2006 16:17:31 +0000</pubDate>
		<dc:creator>David Martinez</dc:creator>
				<category><![CDATA[Eclipse]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Mozilla XUL]]></category>
		<category><![CDATA[Web Development: Client Side]]></category>
		<category><![CDATA[XML]]></category>

		<guid isPermaLink="false">http://www.hackerdude.com/2006/12/08/wazaabi-xul-for-rcp/</guid>
		<description><![CDATA[This opens pretty interesting possibilities: Via TheServerSide: Wazaabi includes a GUI framework that brings XUL to Eclipse RCP plugin developers and a set of components that link the client-side XUL based viewers and forms to server-side business components. Thus, rich client developers can use XUL to code a GUI, rather than using SWT. Wazaabi brings [...]]]></description>
			<content:encoded><![CDATA[<p>This opens pretty interesting possibilities:</p>
<p>
</p>
<p>Via TheServerSide:</p>
<blockquote cite="http://www.theserverside.com/news/thread.tss?thread_id=43385"><p>
Wazaabi includes a GUI framework that brings XUL to Eclipse RCP plugin developers and a set of components that link the client-side XUL based viewers and forms to server-side business components. Thus, rich client developers can use XUL to code a GUI, rather than using SWT.</p></blockquote>
<p class="citation"><cite cite="http://www.theserverside.com/news/thread.tss?thread_id=43385"><a href="http://www.theserverside.com/news/thread.tss?thread_id=43385">Wazaabi brings XUL to Eclipse RCP based rich client applications</a></cite></p>
<p />This is an actual XUL viewer, not a similar syntax like XSWT or similar attempts. They use servlets to communicate between the XUL side and your application, to keep the flexibility of sending the XUL to a mozilla browser. Very interesting.</p>
<p /><!-- technorati tags begin -->
<p style="font-size:10px;text-align:right;">technorati tags:<a href="http://technorati.com/tag/java" rel="tag">java</a>, <a href="http://technorati.com/tag/xul" rel="tag">xul</a>, <a href="http://technorati.com/tag/eclipse" rel="tag">eclipse</a></p>
<p><!-- technorati tags end --></p>
]]></content:encoded>
			<wfw:commentRss>http://www.hackerdude.com/2006/12/08/wazaabi-xul-for-rcp/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Cheatsheet: Favorite Eclipse Plugins</title>
		<link>http://www.hackerdude.com/2006/11/15/cheatsheet-favorite-eclipse-plugins/</link>
		<comments>http://www.hackerdude.com/2006/11/15/cheatsheet-favorite-eclipse-plugins/#comments</comments>
		<pubDate>Wed, 15 Nov 2006 18:15:33 +0000</pubDate>
		<dc:creator>David Martinez</dc:creator>
				<category><![CDATA[Eclipse]]></category>

		<guid isPermaLink="false">http://www.hackerdude.com/2006/11/15/cheatsheet-favorite-eclipse-plugins/</guid>
		<description><![CDATA[This is a quick little cheatsheet with my favorite eclipse plugins and the locations of their update sites. It's so I can get back up and running quickly when reinstalling eclipse from scratch. Eclipse Checkstyle - http://eclipse-cs.sourceforge.net/update Spring IDE - http://springide.org/updatesite/ Fitnesse by Band XI - http://www.bandxi.com/fitnesse/ Subversion for Eclipse - http://subclipse.tigris.org/update_1.0.x Memory Monitor - [...]]]></description>
			<content:encoded><![CDATA[<p>This is a quick little cheatsheet with my favorite eclipse plugins and the locations of their update sites. It's so I can get back up and running quickly when reinstalling eclipse from scratch.</p>
<ul>
<li>Eclipse Checkstyle - http://eclipse-cs.sourceforge.net/update</li>
<li>Spring IDE - http://springide.org/updatesite/</li>
<li>Fitnesse by Band XI - http://www.bandxi.com/fitnesse/</li>
<li>Subversion for Eclipse - http://subclipse.tigris.org/update_1.0.x</li>
<li>Memory Monitor - http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/platform-ui-home/updates</li>
<li>Mylar - http://download.eclipse.org/technology/mylar/update-site/e3.2 (or e3.3)</li>
</ul>
<p>Also, here's some stuff that I like to install manually:</p>
<ul>
<li><a href="http://www.interaktonline.com/Products/Eclipse/JSEclipse/Overview/">JSEclipse</a> - no offense to the WTP folks, but their JS editor is not that great. This one can understand OO javascript, common ajax libraries, JSDoc and more.</li>
</ul>
<p><!-- technorati tags begin --></p>
<p style="font-size: 10px; text-align: right">technorati tags:<a rel="tag" href="http://technorati.com/tag/eclipse">eclipse</a>, <a rel="tag" href="http://technorati.com/tag/plugins">plugins</a>, <a rel="tag" href="http://technorati.com/tag/java">java</a></p>
<p><!-- technorati tags end --></p>
]]></content:encoded>
			<wfw:commentRss>http://www.hackerdude.com/2006/11/15/cheatsheet-favorite-eclipse-plugins/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Graphical Modeling Framework</title>
		<link>http://www.hackerdude.com/2006/09/15/graphical-modeling-framework/</link>
		<comments>http://www.hackerdude.com/2006/09/15/graphical-modeling-framework/#comments</comments>
		<pubDate>Sat, 16 Sep 2006 04:51:24 +0000</pubDate>
		<dc:creator>David Martinez</dc:creator>
				<category><![CDATA[Eclipse]]></category>

		<guid isPermaLink="false">http://www.hackerdude.com/2006/09/15/graphical-modeling-framework/</guid>
		<description><![CDATA[Boy don't I know this - in a prior life I wrote a GEF editor for a workflow engine. Let me be blunt: In the past, creating graphical editors within Eclipse using the Graphical Editor Framework (GEF) was slow and painful. It involved understanding a complex framework and quite a bit of redundant code. That [...]]]></description>
			<content:encoded><![CDATA[<p>Boy don't I know this - in a prior life I wrote a GEF editor for a workflow engine.</p>
<blockquote cite="http://www-128.ibm.com/developerworks/opensource/library/os-ecl-gmf/"><p>Let me be blunt: In the past, creating graphical editors within Eclipse using the Graphical Editor Framework (GEF) was slow and painful. It involved understanding a complex framework and quite a bit of redundant code. That said, GEF is an excellent framework for creating graphical editors because it is model-agnostic. On the other hand, being model-agnostic creates its own problems.</p></blockquote>
<p class="citation"><cite cite="http://www-128.ibm.com/developerworks/opensource/library/os-ecl-gmf/"><a href="http://www-128.ibm.com/developerworks/opensource/library/os-ecl-gmf/">Learn Eclipse GMF in 15 minutes</a></cite></p>
]]></content:encoded>
			<wfw:commentRss>http://www.hackerdude.com/2006/09/15/graphical-modeling-framework/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using Jobs API and asyncExec</title>
		<link>http://www.hackerdude.com/2005/11/17/jobsapiasyncexec/</link>
		<comments>http://www.hackerdude.com/2005/11/17/jobsapiasyncexec/#comments</comments>
		<pubDate>Fri, 18 Nov 2005 00:09:45 +0000</pubDate>
		<dc:creator>David Martinez</dc:creator>
				<category><![CDATA[CBBTR]]></category>
		<category><![CDATA[Eclipse]]></category>
		<category><![CDATA[Java]]></category>

		<guid isPermaLink="false">http://www.hackerdude.com/?p=419</guid>
		<description><![CDATA[Using the Jobs API (Job and IProgressMonitor) you can implement code that will run in a thread and update the standard Eclipse progress monitoring service as you go along in your thread. To create a job, extend from org.eclipse.core.runtime.Job and implement the run method: &#160; &#160; protected IStatus run&#40;IProgressMonitor monitor&#41; &#123; int steps = 100000; [...]]]></description>
			<content:encoded><![CDATA[<p>Using the Jobs API (Job and IProgressMonitor) you can implement code that will run in a thread and update the standard Eclipse progress monitoring service as you go along in your thread.</p>
<p>To create a job, extend from org.eclipse.core.runtime.Job and implement the run method:</p>
<pre class="java">&nbsp;
&nbsp;
<span style="color: #000000; font-weight: bold;">protected</span> IStatus run<span style="color: #66cc66;">&#40;</span>IProgressMonitor monitor<span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span>
  <span style="color: #993333;">int</span> steps = <span style="color: #cc66cc;">100000</span>;
  monitor.<span style="color: #006600;">beginTask</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;My Task&quot;</span>, steps<span style="color: #66cc66;">&#41;</span>;
  <span style="color: #b1b100;">for</span> <span style="color: #66cc66;">&#40;</span> <span style="color: #993333;">int</span> i=<span style="color: #cc66cc;">0</span>; i&lt;steps ; i++ <span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span>
    monitor.<span style="color: #006600;">subTask</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;Step &quot;</span>+i<span style="color: #66cc66;">&#41;</span>;
    monitor.<span style="color: #006600;">worked</span><span style="color: #66cc66;">&#40;</span>i<span style="color: #66cc66;">&#41;</span>;
    <span style="color: #b1b100;">if</span> <span style="color: #66cc66;">&#40;</span> monitor.<span style="color: #006600;">isCanceled</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#41;</span> <span style="color: #000000; font-weight: bold;">break</span>;
  <span style="color: #66cc66;">&#125;</span>
  inputForTableViewer = <a href="http://www.google.com/search?hl=en&amp;q=allinurl%3AArrays+java.sun.com&amp;btnI=I%27m%20Feeling%20Lucky"><span style="color: #aaaadd; font-weight: bold;">Arrays</span></a>.<span style="color: #006600;">asList</span><span style="color: #66cc66;">&#40;</span><span style="color: #000000; font-weight: bold;">new</span> <a href="http://www.google.com/search?hl=en&amp;q=allinurl%3AString+java.sun.com&amp;btnI=I%27m%20Feeling%20Lucky"><span style="color: #aaaadd; font-weight: bold;">String</span></a><span style="color: #66cc66;">&#91;</span><span style="color: #66cc66;">&#93;</span> <span style="color: #66cc66;">&#123;</span><span style="color: #ff0000;">&quot;One&quot;</span>,
             <span style="color: #ff0000;">&quot;Two&quot;</span>, <span style="color: #ff0000;">&quot;Three&quot;</span><span style="color: #66cc66;">&#125;</span><span style="color: #66cc66;">&#41;</span>;
  <span style="color: #000000; font-weight: bold;">return</span> Status.<span style="color: #006600;">OK_STATUS</span>;
<span style="color: #66cc66;">&#125;</span>
&nbsp;</pre>
<p>To activate the job in MyClass (say it's a page with a tableViewer which we use to set the input), you do the following:</p>
<pre class="java">&nbsp;
MySampleJob myJob = <span style="color: #000000; font-weight: bold;">new</span> MySampleJob<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
myJob .<span style="color: #006600;">addJobChangeListener</span><span style="color: #66cc66;">&#40;</span><span style="color: #000000; font-weight: bold;">new</span> JobChangeAdapter<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span>
  <span style="color: #000000; font-weight: bold;">public</span> <span style="color: #993333;">void</span> done<span style="color: #66cc66;">&#40;</span>IJobChangeEvent event<span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span>
    Display.<span style="color: #006600;">getDefault</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>.<span style="color: #006600;">asyncExec</span><span style="color: #66cc66;">&#40;</span><span style="color: #000000; font-weight: bold;">new</span> <a href="http://www.google.com/search?hl=en&amp;q=allinurl%3ARunnable+java.sun.com&amp;btnI=I%27m%20Feeling%20Lucky"><span style="color: #aaaadd; font-weight: bold;">Runnable</span></a><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span>
      <span style="color: #000000; font-weight: bold;">public</span> <span style="color: #993333;">void</span> run<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span>
        MyClass.<span style="color: #000000; font-weight: bold;">this</span>.<span style="color: #006600;">tableViewer</span>.
                        <span style="color: #006600;">setInput</span><span style="color: #66cc66;">&#40;</span>myJob .<span style="color: #006600;">getInputForTableViewer</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span>;
      <span style="color: #66cc66;">&#125;</span>
    <span style="color: #66cc66;">&#125;</span><span style="color: #66cc66;">&#41;</span>;
  <span style="color: #66cc66;">&#125;</span>
<span style="color: #66cc66;">&#125;</span><span style="color: #66cc66;">&#41;</span>;
myJob.<span style="color: #006600;">schedule</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
&nbsp;</pre>
<p>Have fun!</steps></pre>
]]></content:encoded>
			<wfw:commentRss>http://www.hackerdude.com/2005/11/17/jobsapiasyncexec/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Folding in Eclipse Text Editors</title>
		<link>http://www.hackerdude.com/2005/03/30/folding-in-eclipse-text-editors/</link>
		<comments>http://www.hackerdude.com/2005/03/30/folding-in-eclipse-text-editors/#comments</comments>
		<pubDate>Wed, 30 Mar 2005 04:16:09 +0000</pubDate>
		<dc:creator>David Martinez</dc:creator>
				<category><![CDATA[Eclipse]]></category>
		<category><![CDATA[Java]]></category>

		<guid isPermaLink="false">http://www.hackerdude.com/2005/03/30/folding-in-eclipse-text-editors/</guid>
		<description><![CDATA[In this article on the Eclipse website, Prashant Deva explains the new projection infrastructure introduced in the JFace Text framework and shows how to extend the XML Editor example provided with Eclipse to allow folding of text..]]></description>
			<content:encoded><![CDATA[<p>In <a href="http://www.eclipse.org/articles/Article-Folding-in-Eclipse-Text-Editors/folding.html">this article</a> on the Eclipse website, Prashant Deva explains the new projection infrastructure introduced in the JFace Text framework and shows how to extend the XML Editor example provided with Eclipse to allow folding of text..</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hackerdude.com/2005/03/30/folding-in-eclipse-text-editors/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Eclipse as a Platform</title>
		<link>http://www.hackerdude.com/2004/12/31/eclipse-as-a-platform/</link>
		<comments>http://www.hackerdude.com/2004/12/31/eclipse-as-a-platform/#comments</comments>
		<pubDate>Fri, 31 Dec 2004 06:18:47 +0000</pubDate>
		<dc:creator>David Martinez</dc:creator>
				<category><![CDATA[Eclipse]]></category>
		<category><![CDATA[Java]]></category>

		<guid isPermaLink="false">http://www.hackerdude.com/2004/12/31/eclipse-as-a-platform/</guid>
		<description><![CDATA[Lately I've been doing all kinds of Eclipse work. It's a good IDE, and a better platform for application development. The Rich Client Platform tutorial shows you how to go about doing this..]]></description>
			<content:encoded><![CDATA[<p>Lately I've been doing all kinds of Eclipse work. It's a good IDE, and a better platform for application development. <span id="more-356"></span> The <a href="http://www.eclipse.org/articles/Article-RCP-1/tutorial1.html">Rich Client Platform tutorial </a> shows you how to go about doing this..</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hackerdude.com/2004/12/31/eclipse-as-a-platform/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

