<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0">
  <channel>
    <title>lekkimworld.comeclipse</title>
    <link>http://lekkimworld.com/tags/eclipse/</link>
    <description>IBM Lotus Notes/Domino, Websphere, IBM Connections, mobile, web, JavaScript, Java...</description>
    <language>en</language>
    <copyright>Mikkel Flindt Heisterberg (mh [at] intravision [dot] dk</copyright>
    <pubDate>Sat, 19 May 2012 06:50:25 GMT</pubDate>
    <dc:creator>Mikkel Flindt Heisterberg (mh [at] intravision [dot] dk</dc:creator>
    <dc:date>2012-05-19T06:50:25Z</dc:date>
    <dc:language>en</dc:language>
    <dc:rights>Mikkel Flindt Heisterberg (mh [at] intravision [dot] dk</dc:rights>
    <image>
      <title>lekkimworld.comeclipse</title>
      <url>http://lekkimworld.com/tags/eclipse/</url>
    </image>
    <item>
      <title>Configure Eclipse 3.5 for Notes 8.5.3</title>
      <link>http://lekkimworld.com/2011/10/08/configure_eclipse_3_5_for_notes_8_5_3.html</link>
      <content:encoded>&lt;p&gt;
For completeness sake I just updated my guide to manually configuring Eclipse 3.5 for Notes plugin development to work with Notes 8.5.3 which went Gold the other day. Please find a like to the guide below.
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://lekkimworld.com/pages/eclipse35_notes853.html"&gt;Configuring Eclipse 3.5 for Notes 8.5.3&lt;/a&gt;.
&lt;/p&gt;</content:encoded>
      <category domain="http://lekkimworld.com/tags/eclipse/">eclipse</category>
      <category domain="http://lekkimworld.com/tags/java/">java</category>
      <category domain="http://lekkimworld.com/tags/notes8/">notes8</category>
      <category domain="http://lekkimworld.com/tags/notes85/">notes85</category>
      <category domain="http://lekkimworld.com/tags/notes853/">notes853</category>
      <pubDate>Sat, 08 Oct 2011 09:33:14 GMT</pubDate>
      <guid isPermaLink="false">tag:lekkimworld.com,2011-10-08:default/1318066394078</guid>
      <dc:date>2011-10-08T09:33:14Z</dc:date>
    </item>
    <item>
      <title>Using a queue to wait for a job to complete</title>
      <link>http://lekkimworld.com/2011/05/19/using_a_queue_to_wait_for_a_job_to_complete.html</link>
      <content:encoded>&lt;p&gt;
A question I get often is how to perform an operation synchronously (that is blocking) instead of asynchronously when developing plugins. The question stems from the fact that most operations are done using the Job-framework where code is run in a background thread. But what if you need the result before continuing. What if you don't want to wait or the code doesn't lend itself to that approach?
&lt;/p&gt;
&lt;p&gt;
I find that the easiest way (without resorting to Job scheduling rules) is to use the java.util.concurrent classes to make the calling thread wait for the Job to complete. This approach works for all job-types including Notes based operations using NotesSessionJob. 
&lt;/p&gt;
&lt;p&gt;
Code could look like this:
&lt;pre&gt;
import java.util.concurrent.ArrayBlockingQueue;

public FeedLoader() {
   // define queue to hold a maximum of 1 element
   final ArrayBlockingQueue&amp;lt;Object&amp;gt; queue = 
      new ArrayBlockingQueue&amp;lt;Object&amp;gt;(1);
   
   // create and schedule job
   new NotesSessionJob("Getting Notes username") {
      @Override
      protected IStatus runInNotesThread(Session session, 
       IProgressMonitor monitor) 
       throws NotesException {
         // perform operation and store result
         FeedLoader.this.username = session.getUserName();

         // put stuff in the queue to signal we're done (we 
         // could also have used the queue to return the value)
         queue.offer(new Object());

         // return
         return Status.OK_STATUS;
      }
   }.schedule();
   
   // wait for job to complete (Queue.take() wont return until 
   // the job puts something in the queue)
   try {
      queue.take();
   } catch (Throwable t) {}
}
&lt;/pre&gt;
&lt;/p&gt;
&lt;p&gt;
I'm sure there are other, and probably easier and better, ways to do it but this is how I often do it.
&lt;/p&gt;</content:encoded>
      <category domain="http://lekkimworld.com/tags/eclipse/">eclipse</category>
      <pubDate>Thu, 19 May 2011 11:36:53 GMT</pubDate>
      <guid isPermaLink="false">tag:lekkimworld.com,2011-05-19:default/1305805013625</guid>
      <dc:date>2011-05-19T11:36:53Z</dc:date>
    </item>
    <item>
      <title>Developing an Eclipse plug-in from start to finish</title>
      <link>http://lekkimworld.com/2011/04/01/developing_an_eclipse_plug_in_from_start_to_finish.html</link>
      <content:encoded>&lt;p&gt;
&lt;a href="http://ryanjbaxter.wordpress.com"&gt;Ryan Baxter&lt;/a&gt; from IBM who I had the honor of co-presenting with at Lotusphere just published a new article on the appdev wiki titled &lt;a href="http://www-10.lotus.com/ldd/ddwiki.nsf/dx/Developing_an_Eclipse_plug-in_from_start_to_finish"&gt;Developing an Eclipse plug-in from start to finish&lt;/a&gt;. The article takes you step-by-step through building a nice plugin and uses the &lt;a href="http://www.eclipse.org/windowbuilder"&gt;Eclipse WindowBuilder&lt;/a&gt; (GUI editor) for taking the hassle out of building the UI.
&lt;/p&gt;
&lt;p&gt;
A very nice Friday read.
&lt;/p&gt;</content:encoded>
      <category domain="http://lekkimworld.com/tags/eclipse/">eclipse</category>
      <category domain="http://lekkimworld.com/tags/notes8/">notes8</category>
      <category domain="http://lekkimworld.com/tags/notes85/">notes85</category>
      <category domain="http://lekkimworld.com/tags/swt/">swt</category>
      <category domain="http://lekkimworld.com/tags/windowbuilder/">windowbuilder</category>
      <pubDate>Fri, 01 Apr 2011 07:27:36 GMT</pubDate>
      <guid isPermaLink="false">tag:lekkimworld.com,2011-04-01:default/1301642856500</guid>
      <dc:date>2011-04-01T07:27:36Z</dc:date>
    </item>
    <item>
      <title>Intelligent recommendations</title>
      <link>http://lekkimworld.com/2011/02/16/intelligent_recommendations.html</link>
      <content:encoded>&lt;p&gt;
Just came across the new &lt;a href="http://eclipse.org/recommenders/"&gt;code.recommenders incubation project&lt;/a&gt; over at eclipse.org and wow does that look cool. Very cool indeed especially if you spend part of your day in Eclipse. Actually the uses for this goes beyond code completion just like Mylyn goes beyond code as well (see &lt;a href="http://lekkimworld.com/2008/02/07/imagine_combining_this_with_notes_8.html"&gt;Imagine combining this with Notes 8!&lt;/a&gt;). Imagine this for email addressing and/or collaboration. Think how analytics technology like this could make "recent contacts" so much better. Imagine how spell check could be improved. 
&lt;/p&gt;</content:encoded>
      <category domain="http://lekkimworld.com/tags/eclipse/">eclipse</category>
      <category domain="http://lekkimworld.com/tags/mylyn/">mylyn</category>
      <pubDate>Wed, 16 Feb 2011 08:03:47 GMT</pubDate>
      <guid isPermaLink="false">tag:lekkimworld.com,2011-02-16:default/1297843427515</guid>
      <dc:date>2011-02-16T08:03:47Z</dc:date>
    </item>
    <item>
      <title>jWidgets to make it easier to develop Eclipse based components for composite applications</title>
      <link>http://lekkimworld.com/2010/12/10/jwidgets_to_make_it_easier_to_develop_eclipse_based_components_for_composite_applications.html</link>
      <content:encoded>&lt;p&gt;
Perusing the the Composite Application Wiki I discovered a technology IBM calls jWidgets. Basically they are for Composite Application Java component development what iWidgets are to websites that is a widget framework for easily and more quickly doing stuff. Developing Java components for composite applications is a little hard as you have to manage wires etc. yourself. A framework would make that a lot easier and that's exactly what jWidgets are. 
&lt;/p&gt;
&lt;p&gt;
Having the technology available to Lotus Notes (and not just Lotus Expeditor) would be really cool. From an IBM'er I however learned that they haven't been formally tested in Notes, but the technical capability is there. They have only been tested formally in Lotus Expeditor 6.2.2.
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www-10.lotus.com/ldd/compappwiki.nsf/dx/Complete_for_6.5.2-jWidget-Easy_Creation_of_Java_Composite_Applicaiton_Components"&gt;jWidgets - Easy Creation of Java Composite Application Components&lt;/a&gt;
&lt;/p&gt;</content:encoded>
      <category domain="http://lekkimworld.com/tags/compapps/">compapps</category>
      <category domain="http://lekkimworld.com/tags/composite_application/">composite_application</category>
      <category domain="http://lekkimworld.com/tags/eclipse/">eclipse</category>
      <category domain="http://lekkimworld.com/tags/ibm/">ibm</category>
      <category domain="http://lekkimworld.com/tags/java/">java</category>
      <category domain="http://lekkimworld.com/tags/notes/">notes</category>
      <category domain="http://lekkimworld.com/tags/notes85/">notes85</category>
      <category domain="http://lekkimworld.com/tags/notes852/">notes852</category>
      <category domain="http://lekkimworld.com/tags/xpd/">xpd</category>
      <pubDate>Fri, 10 Dec 2010 13:24:27 GMT</pubDate>
      <guid isPermaLink="false">tag:lekkimworld.com,2010-12-10:default/1291987467484</guid>
      <dc:date>2010-12-10T13:24:27Z</dc:date>
    </item>
    <item>
      <title>Lotus Expeditor Toolkit 6.2.2 now available as a ZIP-file</title>
      <link>http://lekkimworld.com/2010/10/13/lotus_expeditor_toolkit_6_2_2_now_available_as_a_zip_file.html</link>
      <content:encoded>&lt;p&gt;
Lotus Expeditor Toolkit 6.2.2 is now available as a ZIP-file download from the below link. Previously it only available as an ISO-file. Will download and try out.
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www14.software.ibm.com/webapp/download/nochargesearch.jsp?q=Lotus+Expeditor+Toolkit"&gt;Lotus Expeditor Toolkit 6.2.2&lt;/a&gt;
&lt;/p&gt;</content:encoded>
      <category domain="http://lekkimworld.com/tags/eclipse/">eclipse</category>
      <category domain="http://lekkimworld.com/tags/lotus_expeditor/">lotus_expeditor</category>
      <category domain="http://lekkimworld.com/tags/toolkit/">toolkit</category>
      <category domain="http://lekkimworld.com/tags/xpd/">xpd</category>
      <pubDate>Tue, 12 Oct 2010 22:15:57 GMT</pubDate>
      <guid isPermaLink="false">tag:lekkimworld.com,2010-10-12:default/1286921757558</guid>
      <dc:date>2010-10-12T22:15:57Z</dc:date>
    </item>
    <item>
      <title>Bob Balfe: plugin_customization.ini and Eclipse preferences</title>
      <link>http://lekkimworld.com/2010/10/09/bob_balfe_plugin_customization_ini_and_eclipse_preferences.html</link>
      <content:encoded>&lt;p&gt;
Bob has, once again, written a very nice post on his blog. This time it's on plugin preferences and how the plugin_customization.ini file fits in and where Eclipse preferences are stored. As this is common cause of concern and questions from plugin developers and admins I wanted to point to the post. 
&lt;/p&gt;
&lt;p&gt;
Bob Balfe: &lt;a href="http://blog.balfes.net/?p=1725"&gt;plugin_customization.ini and Eclipse preferences&lt;/a&gt;
&lt;/p&gt;</content:encoded>
      <category domain="http://lekkimworld.com/tags/eclipse/">eclipse</category>
      <category domain="http://lekkimworld.com/tags/notes8/">notes8</category>
      <category domain="http://lekkimworld.com/tags/notes85/">notes85</category>
      <category domain="http://lekkimworld.com/tags/plugin/">plugin</category>
      <category domain="http://lekkimworld.com/tags/preferences/">preferences</category>
      <pubDate>Sat, 09 Oct 2010 09:26:27 GMT</pubDate>
      <guid isPermaLink="false">tag:lekkimworld.com,2010-10-09:default/1286616387527</guid>
      <dc:date>2010-10-09T09:26:27Z</dc:date>
    </item>
    <item>
      <title>I'm on The Taking Notes Podcast episode 122</title>
      <link>http://lekkimworld.com/2010/09/27/im_on_the_taking_notes_podcast_episode_122.html</link>
      <content:encoded>&lt;p&gt;
On Friday Bruce and Julian let me on The Taking Notes podcast to talk about plug-in development and how to get started with plug-in development. We also talked a bit about the RedWiki &lt;a href="http://lekkimworld.com/2010/08/31/redbook_so_we_are_writing_this_redbook_on_plugin_development_what_do_you_wanna_know.html"&gt;we're writing&lt;/a&gt;. I think it's a pretty decent discussion about the topic and I hope it's a pleasant listen.
&lt;/p&gt;
&lt;i&gt;
&lt;p&gt;
"Let's talk Eclipse plugins! It's not just an Eclipse thing, plugins can be used to extend the functionality of your Lotus Notes client. 
&lt;/p&gt;
&lt;p&gt;
Mikkel Heisterberg has been instrumental in helping developers wade through the murky waters of Lotus Notes sidebar app and plugin development for several years, through Lotusphere and user group presentations, blog articles, and onsite training. Bruce and Julian talked to him about how this plugin technology can be used and what's going to be in the new IBM Redbook he's been working on."
&lt;/p&gt;&lt;/i&gt;
&lt;p&gt;
The podcast may be found in iTunes or directly using the following link: &lt;a href="http://itunes.apple.com/dk/podcast/repost-taking-notes-episode/id91747976?i=87733063"&gt;Taking Notes Episode 122: 2010.09.24 - Sidebar, Plugins, and Notes Client Extensions with Mikkel Heisterberg&lt;/a&gt;
&lt;/p&gt;</content:encoded>
      <category domain="http://lekkimworld.com/tags/eclipse/">eclipse</category>
      <category domain="http://lekkimworld.com/tags/plugin/">plugin</category>
      <category domain="http://lekkimworld.com/tags/podcast/">podcast</category>
      <category domain="http://lekkimworld.com/tags/redbook/">redbook</category>
      <category domain="http://lekkimworld.com/tags/redwiki/">redwiki</category>
      <pubDate>Mon, 27 Sep 2010 08:48:34 GMT</pubDate>
      <guid isPermaLink="false">tag:lekkimworld.com,2010-09-27:default/1285577314152</guid>
      <dc:date>2010-09-27T08:48:34Z</dc:date>
    </item>
  </channel>
</rss>


