<?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"
	>
<channel>
	<title>Comments on: 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>
	<pubDate>Wed, 03 Dec 2008 08:07:35 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6</generator>
		<item>
		<title>By: Evan Williams</title>
		<link>http://jmesnil.net/weblog/2007/02/26/add-a-filter-to-a-treeviewer/#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>Hi Jeff,

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

Naturally enough, it works fine on the latest release :-)

thanks for your time, and suggestion too.

Evan
</description>
		<content:encoded><![CDATA[<p>Hi Jeff,</p>
<p>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</p>
<p>Naturally enough, it works fine on the latest release <img src='http://jmesnil.net/weblog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </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-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>Hi Evan,

I don't really know how expanding and filtering work together.

In [eclipse-jmx](http://code.google.com/p/eclipse-jmx/), I extended `PatternFilter` so that nodes were revealed (and thus "expanded") if any of their ancestors were matching the filter text.
See [MBeanExplorer](http://eclipse-jmx.googlecode.com/svn/tags/R0.1.2/net.jmesnil.jmx.ui/src/net/jmesnil/jmx/ui/internal/views/explorer/MBeanExplorer.java) and search for `PatternFilter` to see how I made it work.

hope it may help you,
jeff
</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.<br />
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,<br />
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-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>Hi Jeff,

thanks for the very informative posting ... it was exactly what I needed for a current project.

One point I'm having a problem with is getting the tree to auto expand as I'm searching.

I'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.

Are you aware of any post-filter event that I need to handle and then expand the tree myself ?

Any suggestions ?

thanks again,
Evan Williams</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) - 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,<br />
Evan Williams</p>
]]></content:encoded>
	</item>
</channel>
</rss>
