<?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/"
		>
<channel>
	<title>Comments on: Using the Common Navigator Framework in an RCP Application</title>
	<atom:link href="http://www.modumind.com/2007/04/20/using-the-common-navigator-framework-in-an-rcp-application/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.modumind.com/2007/04/20/using-the-common-navigator-framework-in-an-rcp-application/</link>
	<description>Eclipse RCP and OSGi training - online or onsite</description>
	<lastBuildDate>Fri, 05 Feb 2010 16:34:53 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Java Blog &#187; Patrick Paulin: Common Navigator Framework Tip #1 – Know when to use it</title>
		<link>http://www.modumind.com/2007/04/20/using-the-common-navigator-framework-in-an-rcp-application/comment-page-1/#comment-2067</link>
		<dc:creator>Java Blog &#187; Patrick Paulin: Common Navigator Framework Tip #1 – Know when to use it</dc:creator>
		<pubDate>Tue, 06 Oct 2009 13:37:59 +0000</pubDate>
		<guid isPermaLink="false">http://rcpquickstart.wordpress.com/2007/04/20/using-the-common-navigator-framework-in-an-rcp-application/#comment-2067</guid>
		<description>[...] all the posts I’ve written on this blog, those on the Common Navigator Framework have been among the most popular. This is a little surprising to [...]</description>
		<content:encoded><![CDATA[<p>[...] all the posts I’ve written on this blog, those on the Common Navigator Framework have been among the most popular. This is a little surprising to [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mihailo</title>
		<link>http://www.modumind.com/2007/04/20/using-the-common-navigator-framework-in-an-rcp-application/comment-page-1/#comment-14</link>
		<dc:creator>Mihailo</dc:creator>
		<pubDate>Wed, 16 Apr 2008 00:03:41 +0000</pubDate>
		<guid isPermaLink="false">http://rcpquickstart.wordpress.com/2007/04/20/using-the-common-navigator-framework-in-an-rcp-application/#comment-14</guid>
		<description>Thanx a lot !!!
You saved my day</description>
		<content:encoded><![CDATA[<p>Thanx a lot !!!<br />
You saved my day</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pjpaulin</title>
		<link>http://www.modumind.com/2007/04/20/using-the-common-navigator-framework-in-an-rcp-application/comment-page-1/#comment-10</link>
		<dc:creator>pjpaulin</dc:creator>
		<pubDate>Thu, 08 Nov 2007 18:56:33 +0000</pubDate>
		<guid isPermaLink="false">http://rcpquickstart.wordpress.com/2007/04/20/using-the-common-navigator-framework-in-an-rcp-application/#comment-10</guid>
		<description>Well that&#039;s good news I suppose. It&#039;s better that there is some bug than that the CNF has a structural issue with table columns. Thanks for the update.</description>
		<content:encoded><![CDATA[<p>Well that&#8217;s good news I suppose. It&#8217;s better that there is some bug than that the CNF has a structural issue with table columns. Thanks for the update.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Raajesh Kashyap</title>
		<link>http://www.modumind.com/2007/04/20/using-the-common-navigator-framework-in-an-rcp-application/comment-page-1/#comment-9</link>
		<dc:creator>Raajesh Kashyap</dc:creator>
		<pubDate>Thu, 08 Nov 2007 15:11:39 +0000</pubDate>
		<guid isPermaLink="false">http://rcpquickstart.wordpress.com/2007/04/20/using-the-common-navigator-framework-in-an-rcp-application/#comment-9</guid>
		<description>Hi Patrick,

I was trying this yesterday. In general, the TreeViewer now supports an ITableLabelProvider as the label provider, so it is possible to add and show TreeColumns inside a TreeViewer (the TableTreeViewer has been deprecated, as seen in the 3.3 documentation).

However, when I try to provide an ITableLabelProvider for the CommonViewer (which extends TreeViewer), it causes a ClassCastException, because somewhere in the CNF code, it expects an ILabelProvider to be the label provider (NavigatorContentDescriptor.java is where the exception comes from). This means that the CNF code needs to be changed to allow this to happen correctly.

I filed a bug report for this at:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=209194</description>
		<content:encoded><![CDATA[<p>Hi Patrick,</p>
<p>I was trying this yesterday. In general, the TreeViewer now supports an ITableLabelProvider as the label provider, so it is possible to add and show TreeColumns inside a TreeViewer (the TableTreeViewer has been deprecated, as seen in the 3.3 documentation).</p>
<p>However, when I try to provide an ITableLabelProvider for the CommonViewer (which extends TreeViewer), it causes a ClassCastException, because somewhere in the CNF code, it expects an ILabelProvider to be the label provider (NavigatorContentDescriptor.java is where the exception comes from). This means that the CNF code needs to be changed to allow this to happen correctly.</p>
<p>I filed a bug report for this at:<br />
<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=209194" rel="nofollow">https://bugs.eclipse.org/bugs/show_bug.cgi?id=209194</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pjpaulin</title>
		<link>http://www.modumind.com/2007/04/20/using-the-common-navigator-framework-in-an-rcp-application/comment-page-1/#comment-12</link>
		<dc:creator>pjpaulin</dc:creator>
		<pubDate>Wed, 07 Nov 2007 21:14:07 +0000</pubDate>
		<guid isPermaLink="false">http://rcpquickstart.wordpress.com/2007/04/20/using-the-common-navigator-framework-in-an-rcp-application/#comment-12</guid>
		<description>Hi Raajesh,

I just looked into the source code for the CommonNavigator class, and it uses a class called CommonViewer with extends TreeViewer. As far as I can tell, this means that CNF doesn&#039;t support a TableTreeViewer.

If you figure out a way to do it, please let me know.

--- Patrick</description>
		<content:encoded><![CDATA[<p>Hi Raajesh,</p>
<p>I just looked into the source code for the CommonNavigator class, and it uses a class called CommonViewer with extends TreeViewer. As far as I can tell, this means that CNF doesn&#8217;t support a TableTreeViewer.</p>
<p>If you figure out a way to do it, please let me know.</p>
<p>&#8212; Patrick</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Raajesh Kashyap</title>
		<link>http://www.modumind.com/2007/04/20/using-the-common-navigator-framework-in-an-rcp-application/comment-page-1/#comment-11</link>
		<dc:creator>Raajesh Kashyap</dc:creator>
		<pubDate>Wed, 07 Nov 2007 17:15:27 +0000</pubDate>
		<guid isPermaLink="false">http://rcpquickstart.wordpress.com/2007/04/20/using-the-common-navigator-framework-in-an-rcp-application/#comment-11</guid>
		<description>It does not seem like the CNF provides a way to configure multiple columns to appear - like a TreeTable. Is there a way to do this?</description>
		<content:encoded><![CDATA[<p>It does not seem like the CNF provides a way to configure multiple columns to appear &#8211; like a TreeTable. Is there a way to do this?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Raajesh Kashyap</title>
		<link>http://www.modumind.com/2007/04/20/using-the-common-navigator-framework-in-an-rcp-application/comment-page-1/#comment-13</link>
		<dc:creator>Raajesh Kashyap</dc:creator>
		<pubDate>Mon, 05 Nov 2007 17:01:04 +0000</pubDate>
		<guid isPermaLink="false">http://rcpquickstart.wordpress.com/2007/04/20/using-the-common-navigator-framework-in-an-rcp-application/#comment-13</guid>
		<description>Thank you very much. I was able to supply the root objects from the content provider of the single root, and then have content extensions for each of those root objects that were added with triggerPoints that triggered using the &quot;instanceof&quot; condition (since my root objects were of different object types).

Our customers basically would contribute by adding plug-ins (they would have their IT department do this) to customize the product for their needs. I think we may be able to use these extensions along with an extension that allows them to specify which root nodes they want to add.</description>
		<content:encoded><![CDATA[<p>Thank you very much. I was able to supply the root objects from the content provider of the single root, and then have content extensions for each of those root objects that were added with triggerPoints that triggered using the &#8220;instanceof&#8221; condition (since my root objects were of different object types).</p>
<p>Our customers basically would contribute by adding plug-ins (they would have their IT department do this) to customize the product for their needs. I think we may be able to use these extensions along with an extension that allows them to specify which root nodes they want to add.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pjpaulin</title>
		<link>http://www.modumind.com/2007/04/20/using-the-common-navigator-framework-in-an-rcp-application/comment-page-1/#comment-15</link>
		<dc:creator>pjpaulin</dc:creator>
		<pubDate>Thu, 01 Nov 2007 15:04:42 +0000</pubDate>
		<guid isPermaLink="false">http://rcpquickstart.wordpress.com/2007/04/20/using-the-common-navigator-framework-in-an-rcp-application/#comment-15</guid>
		<description>Hi Raajesh,

Well there is always a single root node type for a navigator, and that root never appears directly. From that root, you can add top level (root) nodes in various ways.

First, you can attach them by using the &quot;triggerPoint&quot; element in the CNF declarations. Search the Eclipse help for more info. Second, you can return elements directly from the content provider of the single root node.

As for allowing customers/users to add top-level nodes, I&#039;m wondering what type of users they are. I imagine that they must be technical users if they&#039;re specifying their own content and label providers. Are they adding a plug-in to your base product? In that situation, I would just have them add the navigator content via a triggerPoint element that triggers on your single root node type.

If this isn&#039;t the scenario, then I&#039;d need to know more about what you&#039;re trying to achieve and the mechanisms that the customers/users would have access to. Feel free to email me directly if you&#039;d like to talk about this offline.

Regards,

--- Patrick</description>
		<content:encoded><![CDATA[<p>Hi Raajesh,</p>
<p>Well there is always a single root node type for a navigator, and that root never appears directly. From that root, you can add top level (root) nodes in various ways.</p>
<p>First, you can attach them by using the &#8220;triggerPoint&#8221; element in the CNF declarations. Search the Eclipse help for more info. Second, you can return elements directly from the content provider of the single root node.</p>
<p>As for allowing customers/users to add top-level nodes, I&#8217;m wondering what type of users they are. I imagine that they must be technical users if they&#8217;re specifying their own content and label providers. Are they adding a plug-in to your base product? In that situation, I would just have them add the navigator content via a triggerPoint element that triggers on your single root node type.</p>
<p>If this isn&#8217;t the scenario, then I&#8217;d need to know more about what you&#8217;re trying to achieve and the mechanisms that the customers/users would have access to. Feel free to email me directly if you&#8217;d like to talk about this offline.</p>
<p>Regards,</p>
<p>&#8212; Patrick</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Raajesh Kashyap</title>
		<link>http://www.modumind.com/2007/04/20/using-the-common-navigator-framework-in-an-rcp-application/comment-page-1/#comment-16</link>
		<dc:creator>Raajesh Kashyap</dc:creator>
		<pubDate>Wed, 31 Oct 2007 13:54:25 +0000</pubDate>
		<guid isPermaLink="false">http://rcpquickstart.wordpress.com/2007/04/20/using-the-common-navigator-framework-in-an-rcp-application/#comment-16</guid>
		<description>I posted this in the Eclipse platform newsgroup, but have not received a response so far... so I thought I would ask you here.

We have an RCP app where we are looking to have a central navigator tree which would be able to show different kinds of objects. For example, it may be able to show a set of domain objects from the DB, and then also show a set of recent searches performed, and maybe some other set of objects too. All of these must be top-level roots inside the common navigator. I am wondering if this is possible to do (multiple roots), and how each top-level node must be seeded. Obviously, each of those nodes would have their own content and label providers. However, we are looking for a way to allow customers/users to add their own top-level node (along with their content and label providers). Do you know if that is possible with the CNF, and how to do it?</description>
		<content:encoded><![CDATA[<p>I posted this in the Eclipse platform newsgroup, but have not received a response so far&#8230; so I thought I would ask you here.</p>
<p>We have an RCP app where we are looking to have a central navigator tree which would be able to show different kinds of objects. For example, it may be able to show a set of domain objects from the DB, and then also show a set of recent searches performed, and maybe some other set of objects too. All of these must be top-level roots inside the common navigator. I am wondering if this is possible to do (multiple roots), and how each top-level node must be seeded. Obviously, each of those nodes would have their own content and label providers. However, we are looking for a way to allow customers/users to add their own top-level node (along with their content and label providers). Do you know if that is possible with the CNF, and how to do it?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pjpaulin</title>
		<link>http://www.modumind.com/2007/04/20/using-the-common-navigator-framework-in-an-rcp-application/comment-page-1/#comment-8</link>
		<dc:creator>pjpaulin</dc:creator>
		<pubDate>Thu, 21 Jun 2007 22:11:13 +0000</pubDate>
		<guid isPermaLink="false">http://rcpquickstart.wordpress.com/2007/04/20/using-the-common-navigator-framework-in-an-rcp-application/#comment-8</guid>
		<description>Hi Peter,
This should be working for you in Eclipse 3.3. Maybe the best place to start would be to download the Eclipse 3.3 sample code in the &lt;a href=&quot;http://rcpquickstart.wordpress.com/2007/04/25/common-navigator-tutorial-1-hello-world&quot; rel=&quot;nofollow&quot;&gt;Common Navigator Tutorial&lt;/a&gt; post. If the sample runs in your environment, then you can compare the code to yours or use it as a starting point to build your  own navigator.
As for the NewFileCreatonWizard class, I confess I&#039;ve never worked with it before. It looks like a CDT class. I&#039;m not sure what it would take to reuse it in an RCP app, but if you&#039;d like to email me the details, I&#039;d be happy to help.</description>
		<content:encoded><![CDATA[<p>Hi Peter,<br />
This should be working for you in Eclipse 3.3. Maybe the best place to start would be to download the Eclipse 3.3 sample code in the <a href="http://rcpquickstart.wordpress.com/2007/04/25/common-navigator-tutorial-1-hello-world" rel="nofollow">Common Navigator Tutorial</a> post. If the sample runs in your environment, then you can compare the code to yours or use it as a starting point to build your  own navigator.<br />
As for the NewFileCreatonWizard class, I confess I&#8217;ve never worked with it before. It looks like a CDT class. I&#8217;m not sure what it would take to reuse it in an RCP app, but if you&#8217;d like to email me the details, I&#8217;d be happy to help.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
