<?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: &#9873; Add a filter to a TreeViewer</title>
	<atom:link href="http://jmesnil.net/weblog/2007/02/26/add-a-filter-to-a-treeviewer/feed/" rel="self" type="application/rss+xml" />
	<link>http://jmesnil.net/weblog/2007/02/26/add-a-filter-to-a-treeviewer/</link>
	<description>Thoughts about Java, Web and Software Development</description>
	<lastBuildDate>Wed, 11 May 2011 05:38:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Evan Williams</title>
		<link>http://jmesnil.net/weblog/2007/02/26/add-a-filter-to-a-treeviewer/comment-page-1/#comment-17610</link>
		<dc:creator>Evan Williams</dc:creator>
		<pubDate>Wed, 07 Mar 2007 23:11:52 +0000</pubDate>
		<guid isPermaLink="false">http://jmesnil.net/weblog/2007/02/21/filter-a-tree-and-search-widget/#comment-17610</guid>
		<description>&lt;p&gt;Hi Jeff,&lt;/p&gt;

&lt;p&gt;well, as it always happens, just after I posted the comment - I realized that maybe I should check how the code works on my newer trial of Eclipse 3.3 M5. I was using Eclipse 3.2&lt;/p&gt;

&lt;p&gt;Naturally enough, it works fine on the latest release :-)&lt;/p&gt;

&lt;p&gt;thanks for your time, and suggestion too.&lt;/p&gt;

&lt;p&gt;Evan&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hi Jeff,</p>

<p>well, as it always happens, just after I posted the comment &#8211; I realized that maybe I should check how the code works on my newer trial of Eclipse 3.3 M5. I was using Eclipse 3.2</p>

<p>Naturally enough, it works fine on the latest release :-)</p>

<p>thanks for your time, and suggestion too.</p>

<p>Evan</p>]]></content:encoded>
	</item>
	<item>
		<title>By: jmesnil</title>
		<link>http://jmesnil.net/weblog/2007/02/26/add-a-filter-to-a-treeviewer/comment-page-1/#comment-17541</link>
		<dc:creator>jmesnil</dc:creator>
		<pubDate>Wed, 07 Mar 2007 10:10:09 +0000</pubDate>
		<guid isPermaLink="false">http://jmesnil.net/weblog/2007/02/21/filter-a-tree-and-search-widget/#comment-17541</guid>
		<description>&lt;p&gt;Hi Evan,&lt;/p&gt;

&lt;p&gt;I don&#039;t really know how expanding and filtering work together.&lt;/p&gt;

&lt;p&gt;In &lt;a href=&quot;http://code.google.com/p/eclipse-jmx/&quot;&gt;eclipse-jmx&lt;/a&gt;, I extended &lt;code&gt;PatternFilter&lt;/code&gt; so that nodes were revealed (and thus &quot;expanded&quot;) if any of their ancestors were matching the filter text.
See &lt;a href=&quot;http://eclipse-jmx.googlecode.com/svn/tags/R0.1.2/net.jmesnil.jmx.ui/src/net/jmesnil/jmx/ui/internal/views/explorer/MBeanExplorer.java&quot;&gt;MBeanExplorer&lt;/a&gt; and search for &lt;code&gt;PatternFilter&lt;/code&gt; to see how I made it work.&lt;/p&gt;

&lt;p&gt;hope it may help you,
jeff&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hi Evan,</p>

<p>I don&#8217;t really know how expanding and filtering work together.</p>

<p>In <a href="http://code.google.com/p/eclipse-jmx/">eclipse-jmx</a>, I extended <code>PatternFilter</code> so that nodes were revealed (and thus &#8220;expanded&#8221;) if any of their ancestors were matching the filter text.
See <a href="http://eclipse-jmx.googlecode.com/svn/tags/R0.1.2/net.jmesnil.jmx.ui/src/net/jmesnil/jmx/ui/internal/views/explorer/MBeanExplorer.java">MBeanExplorer</a> and search for <code>PatternFilter</code> to see how I made it work.</p>

<p>hope it may help you,
jeff</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Evan Williams</title>
		<link>http://jmesnil.net/weblog/2007/02/26/add-a-filter-to-a-treeviewer/comment-page-1/#comment-17516</link>
		<dc:creator>Evan Williams</dc:creator>
		<pubDate>Wed, 07 Mar 2007 05:59:44 +0000</pubDate>
		<guid isPermaLink="false">http://jmesnil.net/weblog/2007/02/21/filter-a-tree-and-search-widget/#comment-17516</guid>
		<description>&lt;p&gt;Hi Jeff,&lt;/p&gt;

&lt;p&gt;thanks for the very informative posting ... it was exactly what I needed for a current project.&lt;/p&gt;

&lt;p&gt;One point I&#039;m having a problem with is getting the tree to auto expand as I&#039;m searching.&lt;/p&gt;

&lt;p&gt;I&#039;ve set the viewer with setAutoExpandLevel(TreeViewer.ALL_LEVELS) - which makes the initial tree expand ok, but after a search commences, the tree seems to revert to only showing the top level nodes.&lt;/p&gt;

&lt;p&gt;Are you aware of any post-filter event that I need to handle and then expand the tree myself ?&lt;/p&gt;

&lt;p&gt;Any suggestions ?&lt;/p&gt;

&lt;p&gt;thanks again,
Evan Williams&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hi Jeff,</p>

<p>thanks for the very informative posting &#8230; it was exactly what I needed for a current project.</p>

<p>One point I&#8217;m having a problem with is getting the tree to auto expand as I&#8217;m searching.</p>

<p>I&#8217;ve set the viewer with setAutoExpandLevel(TreeViewer.ALL_LEVELS) &#8211; which makes the initial tree expand ok, but after a search commences, the tree seems to revert to only showing the top level nodes.</p>

<p>Are you aware of any post-filter event that I need to handle and then expand the tree myself ?</p>

<p>Any suggestions ?</p>

<p>thanks again,
Evan Williams</p>]]></content:encoded>
	</item>
</channel>
</rss>

