<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<id>tag:old.nabble.com,2006:forum-2574</id>
	<title>Nabble - GlazedLists</title>
	<updated>2009-11-12T05:43:17Z</updated>
	<link rel="self" type="application/atom+xml" href="http://old.nabble.com/GlazedLists-f2574.xml" />
	<link rel="alternate" type="text/html" href="http://old.nabble.com/GlazedLists-f2574.html" />
	<subtitle type="html">Glazed Lists is a toolkit for list transformations. GlazedLists home is &lt;a href=&quot;http://www.publicobject.com/glazedlists/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;here&lt;/a&gt;.</subtitle>
	
<entry>
	<id>tag:old.nabble.com,2006:post-26318879</id>
	<title>re: BasicEventList's ListEvent has no information</title>
	<published>2009-11-12T05:43:17Z</published>
	<updated>2009-11-12T05:43:17Z</updated>
	<author>
		<name>Kevin Day</name>
	</author>
	<content type="html">&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0 Transitional//EN&quot;&gt;
&lt;HTML&gt;&lt;HEAD&gt;


&lt;META name=GENERATOR content=&quot;MSHTML 8.00.6001.18812&quot;&gt;&lt;/HEAD&gt;
&lt;BODY leftMargin=1 rightMargin=1 topMargin=1&gt;&lt;FONT size=2 face=Arial&gt;
&lt;DIV&gt;Not sure if you are still having issues here or not.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;It's possible that the ListEvent is only a valid object in the context of the event itself.&amp;nbsp; If you do your tests inside the listChanged() method, do they still fail?&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;- K&lt;BR&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/FONT&gt;
&lt;DIV style=&quot;FONT-FAMILY: Tahoma; FONT-SIZE: x-small&quot;&gt;
&lt;DIV&gt;----------------------- &lt;B&gt;Original Message&lt;/B&gt; -----------------------&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;B&gt;From:&lt;/B&gt;&amp;nbsp;reibans &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26318879&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;esticbo@...&lt;/a&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;B&gt;To:&lt;/B&gt;&amp;nbsp;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26318879&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users@...&lt;/a&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;B&gt;Cc:&lt;/B&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;B&gt;Date:&lt;/B&gt;&amp;nbsp;Tue, 3 Nov 2009 09:37:19 -0800 (PST)&lt;/DIV&gt;
&lt;DIV&gt;&lt;B&gt;Subject:&amp;nbsp;&lt;U&gt;BasicEventList's ListEvent has no information&lt;/U&gt;&lt;/B&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;FONT size=2 face=Tahoma&gt;
&lt;DIV&gt;&lt;BR&gt;I want to use glazedlists-1.8.0_java15 in my project and I wrote a little&lt;BR&gt;unit test beforehand to play with the API and get to know how it works. In&lt;BR&gt;the test, I'm using a BasicEventList and I register a mock listener. When I&lt;BR&gt;add one element to the list, the listener is called but the resulting&lt;BR&gt;ListEvent has no info. The test is failing in the first assert because&lt;BR&gt;ListEvent.next() method is returning false. Could somebody tell me what I'm&lt;BR&gt;doing wrong? Here is the test code:&lt;BR&gt;&lt;BR&gt;package checklist;&lt;BR&gt;&lt;BR&gt;import ca.odell.glazedlists.BasicEventList;&lt;BR&gt;import ca.odell.glazedlists.EventList;&lt;BR&gt;import ca.odell.glazedlists.event.ListEvent;&lt;BR&gt;import ca.odell.glazedlists.event.ListEventListener;&lt;BR&gt;import org.junit.Test;&lt;BR&gt;import static org.junit.Assert.*;&lt;BR&gt;&lt;BR&gt;public class BasicEventListTest {&lt;BR&gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;@Test&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;public void addElement() {&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;EventList&amp;lt;String&amp;gt; eventList = new BasicEventList&amp;lt;String&amp;gt;();&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;MockListEventListener&amp;lt;String&amp;gt; listener = new&lt;BR&gt;MockListEventListener&amp;lt;String&amp;gt;();&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;eventList.addListEventListener(listener);&lt;BR&gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;eventList.add(&quot;hello&quot;);&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;assertEquals(1, listener.callCount);&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;assertTrue(&quot;true expected&quot;, listener.event.next());&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;assertEquals(ListEvent.INSERT, listener.event.getType());&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;assertEquals(0, listener.event.getIndex());&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;private static class MockListEventListener&amp;lt;E&amp;gt; implements&lt;BR&gt;ListEventListener&amp;lt;E&amp;gt; {&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;int callCount;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;ListEvent&amp;lt;E&amp;gt; event;&lt;BR&gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;public void listChanged(ListEvent&amp;lt;E&amp;gt; listChanges) {&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;callCount++;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;event = listChanges;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;BR&gt;}&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;Many thanks,&lt;BR&gt;-- &lt;BR&gt;View this message in context: &lt;A href=&quot;http://old.nabble.com/BasicEventList%27s-ListEvent-has-no-information-tp26160593p26160593.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;&lt;FONT color=#0000ff&gt;http://old.nabble.com/BasicEventList%27s-ListEvent-has-no-information-tp26160593p26160593.html&lt;/FONT&gt;&lt;/A&gt;&lt;BR&gt;Sent from the GlazedLists - User mailing list archive at Nabble.com.&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;---------------------------------------------------------------------&lt;BR&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26318879&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;&lt;BR&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26318879&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;/DIV&gt;&lt;/FONT&gt;&lt;/BODY&gt;&lt;/HTML&gt;


---------------------------------------------------------------------
To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26318879&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;
For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26318879&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;

&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/GlazedLists---User-f2578.html&quot; embed=&quot;fixTarget[2578]&quot; target=&quot;_top&quot; &gt;GlazedLists - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/re%3A-BasicEventList%27s-ListEvent-has-no-information-tp26318879p26318879.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26318374</id>
	<title>re: GlazedLists, JTable and sorting</title>
	<published>2009-11-12T05:10:19Z</published>
	<updated>2009-11-12T05:10:19Z</updated>
	<author>
		<name>Kevin Day</name>
	</author>
	<content type="html">&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0 Transitional//EN&quot;&gt;
&lt;HTML&gt;&lt;HEAD&gt;


&lt;META name=GENERATOR content=&quot;MSHTML 8.00.6001.18812&quot;&gt;&lt;/HEAD&gt;
&lt;BODY leftMargin=1 rightMargin=1 topMargin=1&gt;&lt;FONT size=2 face=Arial&gt;
&lt;DIV&gt;Create a FunctionList that transforms the File object into an object with the fields you wish to have.&amp;nbsp; Then build your table format around this intermediate object.&amp;nbsp; This effectively caches your transform so downstream operations (filtering, sorting, etc...) won't result in re-calculation.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;- K&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/FONT&gt;
&lt;DIV style=&quot;FONT-FAMILY: Tahoma; FONT-SIZE: x-small&quot;&gt;
&lt;DIV&gt;----------------------- &lt;B&gt;Original Message&lt;/B&gt; -----------------------&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;B&gt;From:&lt;/B&gt;&amp;nbsp;Endors &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26318374&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;endors84@...&lt;/a&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;B&gt;To:&lt;/B&gt;&amp;nbsp;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26318374&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users@...&lt;/a&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;B&gt;Cc:&lt;/B&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;B&gt;Date:&lt;/B&gt;&amp;nbsp;Thu, 12 Nov 2009 03:17:10 -0800 (PST)&lt;/DIV&gt;
&lt;DIV&gt;&lt;B&gt;Subject:&amp;nbsp;&lt;U&gt;GlazedLists, JTable and sorting&lt;/U&gt;&lt;/B&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;FONT size=2 face=Tahoma&gt;
&lt;DIV&gt;&lt;BR&gt;Hello,&lt;BR&gt;&lt;BR&gt;I have currently implemented glazed lists to use with JTable. It works&lt;BR&gt;pretty good except for the sorting of columns. The problem is that i use the&lt;BR&gt;java File object and my tableformat returns different variables from this&lt;BR&gt;object. I have observed that when im sorting the table with GL the method&lt;BR&gt;getColumnValue will run again for each element in the EventList. 2 of my&lt;BR&gt;values getColumnValue returns take som time to process. Is it possible to&lt;BR&gt;only sort on the current data in the JTable?&lt;BR&gt;&lt;BR&gt;Some sample code:&lt;BR&gt;&lt;BR&gt;@Override&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;public Object getColumnValue(Object baseObject, int column) {&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;File file = (File) baseObject;&lt;BR&gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;switch (column) {&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;case 0:&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;return file.getName();&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;case 1:&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;String date = FileTools.getLastModifiedDate(file);&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;return date;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;case 2:&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;String extension = !file.isDirectory() ?&lt;BR&gt;FilenameUtils.getExtension(file.getName()) : &quot;Folder&quot;;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;return extension;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;case 3:&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;return FileTools.getFileSize(file.length(), fileSizeUnit);&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;case 4:&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;return file.getAbsolutePath();&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;default:&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;return null;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;Thanks in advance!&lt;BR&gt;-- &lt;BR&gt;View this message in context: &lt;A href=&quot;http://old.nabble.com/GlazedLists%2C-JTable-and-sorting-tp26315312p26315312.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;&lt;FONT color=#0000ff&gt;http://old.nabble.com/GlazedLists%2C-JTable-and-sorting-tp26315312p26315312.html&lt;/FONT&gt;&lt;/A&gt;&lt;BR&gt;Sent from the GlazedLists - User mailing list archive at Nabble.com.&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;---------------------------------------------------------------------&lt;BR&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26318374&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;&lt;BR&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26318374&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;/DIV&gt;&lt;/FONT&gt;&lt;/BODY&gt;&lt;/HTML&gt;


---------------------------------------------------------------------
To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26318374&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;
For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26318374&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;

&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/GlazedLists---User-f2578.html&quot; embed=&quot;fixTarget[2578]&quot; target=&quot;_top&quot; &gt;GlazedLists - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/GlazedLists%2C-JTable-and-sorting-tp26315312p26318374.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26315312</id>
	<title>GlazedLists, JTable and sorting</title>
	<published>2009-11-12T03:17:09Z</published>
	<updated>2009-11-12T03:17:09Z</updated>
	<author>
		<name>Endors</name>
	</author>
	<content type="html">Hello,
&lt;br&gt;&lt;br&gt;I have currently implemented glazed lists to use with JTable. It works pretty good except for the sorting of columns. The problem is that i use the java File object and my tableformat returns different variables from this object. I have observed that when im sorting the table with GL the method getColumnValue will run again for each element in the EventList. 2 of my values getColumnValue returns take som time to process. Is it possible to only sort on the current data in the JTable?
&lt;br&gt;&lt;br&gt;Some sample code:
&lt;br&gt;&lt;br&gt;@Override
&lt;br&gt;&amp;nbsp; &amp;nbsp; public Object getColumnValue(Object baseObject, int column) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; File file = (File) baseObject;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; switch (column) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; case 0:
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return file.getName();
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; case 1:
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; String date = FileTools.getLastModifiedDate(file);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return date;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; case 2:
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; String extension = !file.isDirectory() ? FilenameUtils.getExtension(file.getName()) : &amp;quot;Folder&amp;quot;;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return extension;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; case 3:
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return FileTools.getFileSize(file.length(), fileSizeUnit);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; case 4:
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return file.getAbsolutePath();
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; default:
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return null;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;Thanks in advance!&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/GlazedLists---User-f2578.html&quot; embed=&quot;fixTarget[2578]&quot; target=&quot;_top&quot; &gt;GlazedLists - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/GlazedLists%2C-JTable-and-sorting-tp26315312p26315312.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26189422</id>
	<title>Re: Problem with class listening to different EventLists</title>
	<published>2009-11-03T16:58:10Z</published>
	<updated>2009-11-03T16:58:10Z</updated>
	<author>
		<name>James Lemieux</name>
	</author>
	<content type="html">My educated guess tells me you&amp;#39;re getting the wrong list because List.equals() considers the equality and order of elements. So event.getSourceList() will match the FIRST list from dataManager that contains the SAME kinds of elements.&lt;br&gt;
&lt;br&gt;                       if (event.getSourceList().equals(dataManager.getListA())){&lt;br&gt;&lt;div class=&quot;h5&quot;&gt;
                                handleFsrListEvent(event);&lt;br&gt;
                        }else if (event.getSource().equals(dataManager.getListB())){&lt;br&gt;
                                handleFsrFunctionListEvent(event);&lt;br&gt;
                        }else if (event.getSource().equals(dataManager.getListC())){&lt;br&gt;
                                handleElementListEvent(event);&lt;br&gt;
                        }&lt;br&gt;&lt;br&gt;If you like your design and want to keep it that way, consider switching to identity equals if you know the Lists in question are precisely equal:&lt;br&gt;&lt;br&gt;                       if (event.getSourceList() == dataManager.getListA()){&lt;br&gt;

&lt;div class=&quot;h5&quot;&gt;
                                handleFsrListEvent(event);&lt;br&gt;
                        }else if (event.getSource() == dataManager.getListB()){&lt;br&gt;
                                handleFsrFunctionListEvent(event);&lt;br&gt;
                        }else if (event.getSource() == dataManager.getListC()){&lt;br&gt;
                                handleElementListEvent(event);&lt;br&gt;
                        }&lt;/div&gt;&lt;br&gt;&lt;/div&gt;otherwise I&amp;#39;m uncertain of how you&amp;#39;ll be to make that code work reliably.&lt;br&gt;&lt;br&gt;James&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Tue, Nov 3, 2009 at 5:58 AM, Fritz Richter &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26189422&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;fritz@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;
&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div class=&quot;h5&quot;&gt;Hi together,&lt;br&gt;
I&amp;#39;ve got a component which must listen to different eventLists.&lt;br&gt;
It is not possible to implement the ListEventListener typed via generics interface more than once.&lt;br&gt;
Therefore I added just one method (without generics), ask the event for the eventListSource, compare it to the different eventLists and call specific methods which handle the specific events.&lt;br&gt;
&lt;br&gt;
If my if-clause says that the eventListSource is the eventList A than I call handleAEvent(...) method. In this method I try to retrieve the object either via event.getOldObject or via getIndex and get(index). My problem is, that sometimes i get objects of other lists...&lt;br&gt;

&lt;br&gt;
Is my problem described clearly? Can anyone help me?&lt;br&gt;
Here a code snipped...&lt;br&gt;
&lt;br&gt;
dataManager.getFsrs().addListEventListener(this);&lt;br&gt;
dataManager.getFsrFunctions().addListEventListener(this);&lt;br&gt;
dataManager.getElements().addListEventListener(this);&lt;br&gt;
...&lt;br&gt;
&lt;br&gt;
public void listChanged(ListEvent event) {&lt;br&gt;
                //Iterate through all list changes&lt;br&gt;
                while (event.hasNext()) {&lt;br&gt;
                        event.next(); //get the next change event&lt;br&gt;
                        if (event.getSourceList().equals(dataManager.getListA())){&lt;br&gt;
                                handleFsrListEvent(event);&lt;br&gt;
                        }else if (event.getSource().equals(dataManager.getListB())){&lt;br&gt;
                                handleFsrFunctionListEvent(event);&lt;br&gt;
                        }else if (event.getSource().equals(dataManager.getListC())){&lt;br&gt;
                                handleElementListEvent(event);&lt;br&gt;
                        }&lt;br&gt;
                }&lt;br&gt;
        }&lt;br&gt;
&lt;br&gt;
...&lt;br&gt;
&lt;br&gt;
        private void handleFunctionListEvent(ListEvent&amp;lt;Function&amp;gt; event) {&lt;br&gt;
                if (event.getType() == ListEvent.INSERT){&lt;br&gt;
                        Function function = event.getSourceList().get(event.getIndex());&lt;br&gt;
                        ElementRow&amp;lt;Function&amp;gt; functionRow = new ElementRow&amp;lt;Function&amp;gt;(function);&lt;br&gt;
                        ElementRow parentRow = findRow(function.getElement());&lt;br&gt;
                        addRow(parentRow, functionRow);&lt;br&gt;
                } else if (event.getType() == ListEvent.DELETE){&lt;br&gt;
                        Function function = event.getOldValue();&lt;br&gt;
                        //SOMETIMES HERE I GOT OTHER VALUES THAN FUNCTIONS...&lt;br&gt;
                        Row row = findRow(function);&lt;br&gt;
                        removeRow(row);&lt;br&gt;
                }&lt;br&gt;
        }&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div class=&quot;h5&quot;&gt;
---------------------------------------------------------------------&lt;br&gt;
To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26189422&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-unsubscribe@...&lt;/a&gt;&lt;br&gt;
For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26189422&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-help@...&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;
&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/GlazedLists---Dev-f2577.html&quot; embed=&quot;fixTarget[2577]&quot; target=&quot;_top&quot; &gt;GlazedLists - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Problem-with-class-listening-to-different-EventLists-tp26182978p26189422.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26183469</id>
	<title>BasicEventList's ListEvent has no information</title>
	<published>2009-11-03T09:37:19Z</published>
	<updated>2009-11-03T09:37:19Z</updated>
	<author>
		<name>reibans</name>
	</author>
	<content type="html">&lt;br&gt;I want to use glazedlists-1.8.0_java15 in my project and I wrote a little
&lt;br&gt;unit test beforehand to play with the API and get to know how it works. In
&lt;br&gt;the test, I'm using a BasicEventList and I register a mock listener. When I
&lt;br&gt;add one element to the list, the listener is called but the resulting
&lt;br&gt;ListEvent has no info. The test is failing in the first assert because
&lt;br&gt;ListEvent.next() method is returning false. Could somebody tell me what I'm
&lt;br&gt;doing wrong? Here is the test code:
&lt;br&gt;&lt;br&gt;package checklist;
&lt;br&gt;&lt;br&gt;import ca.odell.glazedlists.BasicEventList;
&lt;br&gt;import ca.odell.glazedlists.EventList;
&lt;br&gt;import ca.odell.glazedlists.event.ListEvent;
&lt;br&gt;import ca.odell.glazedlists.event.ListEventListener;
&lt;br&gt;import org.junit.Test;
&lt;br&gt;import static org.junit.Assert.*;
&lt;br&gt;&lt;br&gt;public class BasicEventListTest {
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; @Test
&lt;br&gt;&amp;nbsp; &amp;nbsp; public void addElement() {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; EventList&amp;lt;String&amp;gt; eventList = new BasicEventList&amp;lt;String&amp;gt;();
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; MockListEventListener&amp;lt;String&amp;gt; listener = new
&lt;br&gt;MockListEventListener&amp;lt;String&amp;gt;();
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; eventList.addListEventListener(listener);
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; eventList.add(&amp;quot;hello&amp;quot;);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; assertEquals(1, listener.callCount);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; assertTrue(&amp;quot;true expected&amp;quot;, listener.event.next());
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; assertEquals(ListEvent.INSERT, listener.event.getType());
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; assertEquals(0, listener.event.getIndex());
&lt;br&gt;&amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; private static class MockListEventListener&amp;lt;E&amp;gt; implements
&lt;br&gt;ListEventListener&amp;lt;E&amp;gt; {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; int callCount;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ListEvent&amp;lt;E&amp;gt; event;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; public void listChanged(ListEvent&amp;lt;E&amp;gt; listChanges) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; callCount++;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; event = listChanges;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; }
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;&lt;br&gt;Many thanks,
&lt;br&gt;-- 
&lt;br&gt;View this message in context: &lt;a href=&quot;http://old.nabble.com/BasicEventList%27s-ListEvent-has-no-information-tp26160593p26160593.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://old.nabble.com/BasicEventList%27s-ListEvent-has-no-information-tp26160593p26160593.html&lt;/a&gt;&lt;br&gt;Sent from the GlazedLists - User mailing list archive at Nabble.com.
&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26183469&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26183469&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/GlazedLists---User-f2578.html&quot; embed=&quot;fixTarget[2578]&quot; target=&quot;_top&quot; &gt;GlazedLists - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/BasicEventList%27s-ListEvent-has-no-information-tp26183469p26183469.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26183452</id>
	<title>BasicEventList's ListEvent has no information</title>
	<published>2009-11-03T09:36:30Z</published>
	<updated>2009-11-03T09:36:30Z</updated>
	<author>
		<name>reibans</name>
	</author>
	<content type="html">&lt;br&gt;I want to use glazedlists-1.8.0_java15 in my project and I wrote a little
&lt;br&gt;unit test beforehand to play with the API and get to know how it works. In
&lt;br&gt;the test, I'm using a BasicEventList and I register a mock listener. When I
&lt;br&gt;add one element to the list, the listener is called but the resulting
&lt;br&gt;ListEvent has no info. The test is failing in the first assert because
&lt;br&gt;ListEvent.next() method is returning false. Could somebody tell me what I'm
&lt;br&gt;doing wrong? Here is the test code:
&lt;br&gt;&lt;br&gt;package checklist;
&lt;br&gt;&lt;br&gt;import ca.odell.glazedlists.BasicEventList;
&lt;br&gt;import ca.odell.glazedlists.EventList;
&lt;br&gt;import ca.odell.glazedlists.event.ListEvent;
&lt;br&gt;import ca.odell.glazedlists.event.ListEventListener;
&lt;br&gt;import org.junit.Test;
&lt;br&gt;import static org.junit.Assert.*;
&lt;br&gt;&lt;br&gt;public class BasicEventListTest {
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; @Test
&lt;br&gt;&amp;nbsp; &amp;nbsp; public void addElement() {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; EventList&amp;lt;String&amp;gt; eventList = new BasicEventList&amp;lt;String&amp;gt;();
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; MockListEventListener&amp;lt;String&amp;gt; listener = new
&lt;br&gt;MockListEventListener&amp;lt;String&amp;gt;();
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; eventList.addListEventListener(listener);
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; eventList.add(&amp;quot;hello&amp;quot;);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; assertEquals(1, listener.callCount);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; assertTrue(&amp;quot;true expected&amp;quot;, listener.event.next());
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; assertEquals(ListEvent.INSERT, listener.event.getType());
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; assertEquals(0, listener.event.getIndex());
&lt;br&gt;&amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; private static class MockListEventListener&amp;lt;E&amp;gt; implements
&lt;br&gt;ListEventListener&amp;lt;E&amp;gt; {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; int callCount;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ListEvent&amp;lt;E&amp;gt; event;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; public void listChanged(ListEvent&amp;lt;E&amp;gt; listChanges) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; callCount++;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; event = listChanges;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; }
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;&lt;br&gt;Many thanks,
&lt;br&gt;-- 
&lt;br&gt;View this message in context: &lt;a href=&quot;http://old.nabble.com/BasicEventList%27s-ListEvent-has-no-information-tp26160591p26160591.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://old.nabble.com/BasicEventList%27s-ListEvent-has-no-information-tp26160591p26160591.html&lt;/a&gt;&lt;br&gt;Sent from the GlazedLists - User mailing list archive at Nabble.com.
&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26183452&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26183452&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/GlazedLists---User-f2578.html&quot; embed=&quot;fixTarget[2578]&quot; target=&quot;_top&quot; &gt;GlazedLists - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/BasicEventList%27s-ListEvent-has-no-information-tp26183452p26183452.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26160208</id>
	<title>Re: Request for an SWT Glazedlists &quot;gentil&quot; tutorial</title>
	<published>2009-11-03T07:44:07Z</published>
	<updated>2009-11-03T07:44:07Z</updated>
	<author>
		<name>Oceanys</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;Thanks a lot for your valuable help.
&lt;br&gt;I'm really happy to find this source code because it's useful for my work.
&lt;br&gt;All my best regards and good luck.
&lt;br&gt;God bless.
&lt;br&gt;&lt;quote author=&quot;fab|an&quot;&gt;&lt;br&gt;Ok, here's a running example.
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://github.com/fab1an/gl-addons/blob/master/src/at/busta/glazedlists/test/swt/EventTableViewerDemo.java&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://github.com/fab1an/gl-addons/blob/master/src/at/busta/glazedlists/test/swt/EventTableViewerDemo.java&lt;/a&gt;&lt;br&gt;&lt;br&gt;you can checkout the whole repo or just this file to build it.
&lt;br&gt;&lt;br&gt;It shows:
&lt;br&gt;* population of Table via a background thread
&lt;br&gt;* locking which is needed in this case
&lt;br&gt;* &amp;quot;filtering via Buttons&amp;quot;
&lt;br&gt;* filtering by a Text-input
&lt;br&gt;* sorting of the table
&lt;br&gt;* selection
&lt;br&gt;&lt;br&gt;HTH
&lt;br&gt;fabian
&lt;br&gt;&lt;br&gt;&lt;quote author=&quot;Oceanys&quot;&gt;&lt;br&gt;Hi,
&lt;br&gt;Thank you for the replay, but the example is still incomplete (for me as a beginner in the GlazedList API).
&lt;br&gt;All that I need is a clear snippet where an SWT table is created and populated and then the sort and filter feature is added.
&lt;br&gt;Thanks in advance and good luck.
&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;fab|an wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message shrinkable-quote&quot;&gt;Hi,
&lt;br&gt;&lt;br&gt;&amp;nbsp;here's something I quickly copy'n'pasted together: &lt;a href=&quot;http://gist.github.com/224365&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://gist.github.com/224365&lt;/a&gt;&lt;br&gt;&lt;br&gt;HTH
&lt;br&gt;fabian
&lt;br&gt;&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;Oceanys wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message&quot;&gt;Hi, I'm new to the good GlazedLists API and I'm using SWT tables.
&lt;br&gt;&lt;br&gt;I was happy when I found the GlazedLists API. I have a problem with SWT GlazedLists integration because the majority of the available tutorials are written for Swing or for other SWT widgets (I mean the pixel example in the link 
&lt;br&gt;&lt;a href=&quot;http://hexapixel.com/2009/01/02/glazed-lists-swt-tables-true&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://hexapixel.com/2009/01/02/glazed-lists-swt-tables-true&lt;/a&gt;).
&lt;br&gt;&lt;br&gt;Is anyone have a simple source code or snippet to start with a simple SWT table and Glazed lists in order to show how we can sort and filter it.
&lt;br&gt;Thanks in advance and cordially.
&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
&lt;/quote&gt;&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
&lt;/quote&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/GlazedLists---User-f2578.html&quot; embed=&quot;fixTarget[2578]&quot; target=&quot;_top&quot; &gt;GlazedLists - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Request-for-an-SWT-Glazedlists-%22gentil%22-tutorial-tp26157774p26160208.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26160203</id>
	<title>Re: Request for an SWT Glazedlists &quot;gentil&quot; tutorial</title>
	<published>2009-11-03T07:41:49Z</published>
	<updated>2009-11-03T07:41:49Z</updated>
	<author>
		<name>Oceanys</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;Thanks a lot for your valuable help.
&lt;br&gt;I'm really happy to find this source code because it's useful for my work.
&lt;br&gt;All my best regards and good luck.
&lt;br&gt;God bless.
&lt;br&gt;&lt;quote author=&quot;fab|an&quot;&gt;&lt;br&gt;Ok, here's a running example.
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://github.com/fab1an/gl-addons/blob/master/src/at/busta/glazedlists/test/swt/EventTableViewerDemo.java&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://github.com/fab1an/gl-addons/blob/master/src/at/busta/glazedlists/test/swt/EventTableViewerDemo.java&lt;/a&gt;&lt;br&gt;&lt;br&gt;you can checkout the whole repo or just this file to build it.
&lt;br&gt;&lt;br&gt;It shows:
&lt;br&gt;* population of Table via a background thread
&lt;br&gt;* locking which is needed in this case
&lt;br&gt;* &amp;quot;filtering via Buttons&amp;quot;
&lt;br&gt;* filtering by a Text-input
&lt;br&gt;* sorting of the table
&lt;br&gt;* selection
&lt;br&gt;&lt;br&gt;HTH
&lt;br&gt;fabian
&lt;br&gt;&lt;br&gt;&lt;quote author=&quot;Oceanys&quot;&gt;&lt;br&gt;Hi,
&lt;br&gt;Thank you for the replay, but the example is still incomplete (for me as a beginner in the GlazedList API).
&lt;br&gt;All that I need is a clear snippet where an SWT table is created and populated and then the sort and filter feature is added.
&lt;br&gt;Thanks in advance and good luck.
&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;fab|an wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message shrinkable-quote&quot;&gt;Hi,
&lt;br&gt;&lt;br&gt;&amp;nbsp;here's something I quickly copy'n'pasted together: &lt;a href=&quot;http://gist.github.com/224365&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://gist.github.com/224365&lt;/a&gt;&lt;br&gt;&lt;br&gt;HTH
&lt;br&gt;fabian
&lt;br&gt;&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;Oceanys wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message&quot;&gt;Hi, I'm new to the good GlazedLists API and I'm using SWT tables.
&lt;br&gt;&lt;br&gt;I was happy when I found the GlazedLists API. I have a problem with SWT GlazedLists integration because the majority of the available tutorials are written for Swing or for other SWT widgets (I mean the pixel example in the link 
&lt;br&gt;&lt;a href=&quot;http://hexapixel.com/2009/01/02/glazed-lists-swt-tables-true&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://hexapixel.com/2009/01/02/glazed-lists-swt-tables-true&lt;/a&gt;).
&lt;br&gt;&lt;br&gt;Is anyone have a simple source code or snippet to start with a simple SWT table and Glazed lists in order to show how we can sort and filter it.
&lt;br&gt;Thanks in advance and cordially.
&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
&lt;/quote&gt;&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
&lt;/quote&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/GlazedLists---User-f2578.html&quot; embed=&quot;fixTarget[2578]&quot; target=&quot;_top&quot; &gt;GlazedLists - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Request-for-an-SWT-Glazedlists-%22gentil%22-tutorial-tp26157774p26160203.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26160161</id>
	<title>Re: Problem with class listening to different EventLists</title>
	<published>2009-11-03T06:32:20Z</published>
	<updated>2009-11-03T06:32:20Z</updated>
	<author>
		<name>fab|an</name>
	</author>
	<content type="html">What are you trying to do? I think you have to refactor at some greater scope in your code.
&lt;br&gt;Can't you divide the Handlers for the ListEvents in different classes?
&lt;br&gt;&lt;br&gt;fabian
&lt;br&gt;&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;fritzr wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message shrinkable-quote&quot;&gt;Hi together,
&lt;br&gt;I've got a component which must listen to different eventLists.
&lt;br&gt;It is not possible to implement the ListEventListener typed via generics interface more than once.
&lt;br&gt;Therefore I added just one method (without generics), ask the event for the eventListSource, compare it to the different eventLists and call specific methods which handle the specific events.
&lt;br&gt;&lt;br&gt;If my if-clause says that the eventListSource is the eventList A than I call handleAEvent(...) method. In this method I try to retrieve the object either via event.getOldObject or via getIndex and get(index). My problem is, that sometimes i get objects of other lists...
&lt;br&gt;&lt;br&gt;Is my problem described clearly? Can anyone help me?
&lt;br&gt;Here a code snipped...
&lt;br&gt;&lt;br&gt;dataManager.getFsrs().addListEventListener(this);
&lt;br&gt;dataManager.getFsrFunctions().addListEventListener(this);
&lt;br&gt;dataManager.getElements().addListEventListener(this);
&lt;br&gt;...
&lt;br&gt;&lt;br&gt;public void listChanged(ListEvent event) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; //Iterate through all list changes
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; while (event.hasNext()) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; event.next(); //get the next change event
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (event.getSourceList().equals(dataManager.getListA())){
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; handleFsrListEvent(event);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }else if (event.getSource().equals(dataManager.getListB())){
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; handleFsrFunctionListEvent(event);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }else if (event.getSource().equals(dataManager.getListC())){
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; handleElementListEvent(event);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;...
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; private void handleFunctionListEvent(ListEvent&amp;lt;Function&amp;gt; event) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (event.getType() == ListEvent.INSERT){
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Function function = event.getSourceList().get(event.getIndex());
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ElementRow&amp;lt;Function&amp;gt; functionRow = new ElementRow&amp;lt;Function&amp;gt;(function);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ElementRow parentRow = findRow(function.getElement());
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; addRow(parentRow, functionRow);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; } else if (event.getType() == ListEvent.DELETE){
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Function function = event.getOldValue();
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; //SOMETIMES HERE I GOT OTHER VALUES THAN FUNCTIONS...
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Row row = findRow(function);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; removeRow(row);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/GlazedLists---Dev-f2577.html&quot; embed=&quot;fixTarget[2577]&quot; target=&quot;_top&quot; &gt;GlazedLists - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Problem-with-class-listening-to-different-EventLists-tp26160133p26160161.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26160150</id>
	<title>Re: Request for an SWT Glazedlists &quot;gentil&quot; tutorial</title>
	<published>2009-11-03T06:13:37Z</published>
	<updated>2009-11-03T06:13:37Z</updated>
	<author>
		<name>fab|an</name>
	</author>
	<content type="html">Ok, here's a running example.
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://github.com/fab1an/gl-addons/blob/master/src/at/busta/glazedlists/test/swt/EventTableViewerDemo.java&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://github.com/fab1an/gl-addons/blob/master/src/at/busta/glazedlists/test/swt/EventTableViewerDemo.java&lt;/a&gt;&lt;br&gt;&lt;br&gt;you can checkout the whole repo or just this file to build it.
&lt;br&gt;&lt;br&gt;It shows:
&lt;br&gt;* population of Table via a background thread
&lt;br&gt;* locking which is needed in this case
&lt;br&gt;* &amp;quot;filtering via Buttons&amp;quot;
&lt;br&gt;* filtering by a Text-input
&lt;br&gt;* sorting of the table
&lt;br&gt;* selection
&lt;br&gt;&lt;br&gt;HTH
&lt;br&gt;fabian
&lt;br&gt;&lt;br&gt;&lt;quote author=&quot;Oceanys&quot;&gt;&lt;br&gt;Hi,
&lt;br&gt;Thank you for the replay, but the example is still incomplete (for me as a beginner in the GlazedList API).
&lt;br&gt;All that I need is a clear snippet where an SWT table is created and populated and then the sort and filter feature is added.
&lt;br&gt;Thanks in advance and good luck.
&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;fab|an wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message shrinkable-quote&quot;&gt;Hi,
&lt;br&gt;&lt;br&gt;&amp;nbsp;here's something I quickly copy'n'pasted together: &lt;a href=&quot;http://gist.github.com/224365&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://gist.github.com/224365&lt;/a&gt;&lt;br&gt;&lt;br&gt;HTH
&lt;br&gt;fabian
&lt;br&gt;&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;Oceanys wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message&quot;&gt;Hi, I'm new to the good GlazedLists API and I'm using SWT tables.
&lt;br&gt;&lt;br&gt;I was happy when I found the GlazedLists API. I have a problem with SWT GlazedLists integration because the majority of the available tutorials are written for Swing or for other SWT widgets (I mean the pixel example in the link 
&lt;br&gt;&lt;a href=&quot;http://hexapixel.com/2009/01/02/glazed-lists-swt-tables-true&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://hexapixel.com/2009/01/02/glazed-lists-swt-tables-true&lt;/a&gt;).
&lt;br&gt;&lt;br&gt;Is anyone have a simple source code or snippet to start with a simple SWT table and Glazed lists in order to show how we can sort and filter it.
&lt;br&gt;Thanks in advance and cordially.
&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
&lt;/quote&gt;&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/GlazedLists---User-f2578.html&quot; embed=&quot;fixTarget[2578]&quot; target=&quot;_top&quot; &gt;GlazedLists - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Request-for-an-SWT-Glazedlists-%22gentil%22-tutorial-tp26157774p26160150.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26180075</id>
	<title>Re: Problem with class listening to different EventLists</title>
	<published>2009-11-03T06:02:32Z</published>
	<updated>2009-11-03T06:02:32Z</updated>
	<author>
		<name>Endre Stølsvik-8</name>
	</author>
	<content type="html">&lt;div&gt;Just a quick reply, possibly w/o any help!&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;Is your equals-method working for sure?&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;You could user inner classes for the problem you have, instead of doing this more hackish &amp;quot;routing&amp;quot;-stuff you do. Either anonymous classes, like directly in the code do &amp;#39;new ListEventListener&amp;lt;Type&amp;gt;() { .. body ..}&amp;#39;, or make inner classes (possibly &amp;quot;non-static&amp;quot;, so that they have direct access to the enclosing class).&lt;/div&gt;

&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Kind regards,&lt;/div&gt;&lt;div&gt;Endre.&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Tue, Nov 3, 2009 at 14:55, fritzr &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26180075&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;fritz@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;&quot;&gt;

&lt;br&gt;
Hi together,&lt;br&gt;
I&amp;#39;ve got a component which must listen to different eventLists.&lt;br&gt;
It is not possible to implement the ListEventListener typed via generics&lt;br&gt;
interface more than once.&lt;br&gt;
Therefore I added just one method (without generics), ask the event for the&lt;br&gt;
eventListSource, compare it to the different eventLists and call specific&lt;br&gt;
methods which handle the specific events.&lt;br&gt;
&lt;br&gt;
If my if-clause says that the eventListSource is the eventList A than I call&lt;br&gt;
handleAEvent(...) method. In this method I try to retrieve the object either&lt;br&gt;
via event.getOldObject or via getIndex and get(index). My problem is, that&lt;br&gt;
sometimes i get objects of other lists...&lt;br&gt;
&lt;br&gt;
Is my problem described clearly? Can anyone help me?&lt;br&gt;
Here a code snipped...&lt;br&gt;
&lt;br&gt;
dataManager.getFsrs().addListEventListener(this);&lt;br&gt;
dataManager.getFsrFunctions().addListEventListener(this);&lt;br&gt;
dataManager.getElements().addListEventListener(this);&lt;br&gt;
...&lt;br&gt;
&lt;br&gt;
public void listChanged(ListEvent event) {&lt;br&gt;
                //Iterate through all list changes&lt;br&gt;
                while (event.hasNext()) {&lt;br&gt;
                        event.next(); //get the next change event&lt;br&gt;
                        if (event.getSourceList().equals(dataManager.getListA())){&lt;br&gt;
                                handleFsrListEvent(event);&lt;br&gt;
                        }else if (event.getSource().equals(dataManager.getListB())){&lt;br&gt;
                                handleFsrFunctionListEvent(event);&lt;br&gt;
                        }else if (event.getSource().equals(dataManager.getListC())){&lt;br&gt;
                                handleElementListEvent(event);&lt;br&gt;
                        }&lt;br&gt;
                }&lt;br&gt;
        }&lt;br&gt;
&lt;br&gt;
...&lt;br&gt;
&lt;br&gt;
        private void handleFunctionListEvent(ListEvent&amp;lt;Function&amp;gt; event) {&lt;br&gt;
                if (event.getType() == ListEvent.INSERT){&lt;br&gt;
                        Function function = event.getSourceList().get(event.getIndex());&lt;br&gt;
                        ElementRow&amp;lt;Function&amp;gt; functionRow = new ElementRow&amp;lt;Function&amp;gt;(function);&lt;br&gt;
                        ElementRow parentRow = findRow(function.getElement());&lt;br&gt;
                        addRow(parentRow, functionRow);&lt;br&gt;
                } else if (event.getType() == ListEvent.DELETE){&lt;br&gt;
                        Function function = event.getOldValue();&lt;br&gt;
                        //SOMETIMES HERE I GOT OTHER VALUES THAN&lt;br&gt;
FUNCTIONS...&lt;br&gt;
                        Row row = findRow(function);&lt;br&gt;
                        removeRow(row);&lt;br&gt;
                }&lt;br&gt;
        }&lt;br&gt;
&lt;font color=&quot;#888888&quot;&gt;&lt;br&gt;
--&lt;br&gt;
View this message in context: &lt;a href=&quot;http://old.nabble.com/Problem-with-class-listening-to-different-EventLists-tp26160133p26160133.html&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://old.nabble.com/Problem-with-class-listening-to-different-EventLists-tp26160133p26160133.html&lt;/a&gt;&lt;br&gt;


Sent from the GlazedLists - Dev mailing list archive at Nabble.com.&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
---------------------------------------------------------------------&lt;br&gt;
To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26180075&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-unsubscribe@...&lt;/a&gt;&lt;br&gt;
For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26180075&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-help@...&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
&lt;/font&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;/div&gt;
&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/GlazedLists---Dev-f2577.html&quot; embed=&quot;fixTarget[2577]&quot; target=&quot;_top&quot; &gt;GlazedLists - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Problem-with-class-listening-to-different-EventLists-tp26160133p26180075.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26182978</id>
	<title>Problem with class listening to different EventLists</title>
	<published>2009-11-03T05:58:39Z</published>
	<updated>2009-11-03T05:58:39Z</updated>
	<author>
		<name>fritzr</name>
	</author>
	<content type="html">Hi together,
&lt;br&gt;I've got a component which must listen to different eventLists.
&lt;br&gt;It is not possible to implement the ListEventListener typed via &amp;nbsp;
&lt;br&gt;generics interface more than once.
&lt;br&gt;Therefore I added just one method (without generics), ask the event &amp;nbsp;
&lt;br&gt;for the eventListSource, compare it to the different eventLists and &amp;nbsp;
&lt;br&gt;call specific methods which handle the specific events.
&lt;br&gt;&lt;br&gt;If my if-clause says that the eventListSource is the eventList A than &amp;nbsp;
&lt;br&gt;I call handleAEvent(...) method. In this method I try to retrieve the &amp;nbsp;
&lt;br&gt;object either via event.getOldObject or via getIndex and get(index). &amp;nbsp;
&lt;br&gt;My problem is, that sometimes i get objects of other lists...
&lt;br&gt;&lt;br&gt;Is my problem described clearly? Can anyone help me?
&lt;br&gt;Here a code snipped...
&lt;br&gt;&lt;br&gt;dataManager.getFsrs().addListEventListener(this);
&lt;br&gt;dataManager.getFsrFunctions().addListEventListener(this);
&lt;br&gt;dataManager.getElements().addListEventListener(this);
&lt;br&gt;...
&lt;br&gt;&lt;br&gt;public void listChanged(ListEvent event) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; //Iterate through all list changes
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; while (event.hasNext()) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; event.next(); //get the next change event
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (event.getSourceList().equals(dataManager.getListA())){
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; handleFsrListEvent(event);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }else if (event.getSource().equals(dataManager.getListB())){
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; handleFsrFunctionListEvent(event);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }else if (event.getSource().equals(dataManager.getListC())){
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; handleElementListEvent(event);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;...
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; private void handleFunctionListEvent(ListEvent&amp;lt;Function&amp;gt; event) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (event.getType() == ListEvent.INSERT){
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Function function = event.getSourceList().get(event.getIndex());
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ElementRow&amp;lt;Function&amp;gt; functionRow = new ElementRow&amp;lt;Function&amp;gt; 
&lt;br&gt;(function);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ElementRow parentRow = findRow(function.getElement());
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; addRow(parentRow, functionRow);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; } else if (event.getType() == ListEvent.DELETE){
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Function function = event.getOldValue();
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;//SOMETIMES HERE I GOT OTHER VALUES THAN &amp;nbsp;
&lt;br&gt;FUNCTIONS...
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Row row = findRow(function);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; removeRow(row);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26182978&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26182978&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/GlazedLists---Dev-f2577.html&quot; embed=&quot;fixTarget[2577]&quot; target=&quot;_top&quot; &gt;GlazedLists - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Problem-with-class-listening-to-different-EventLists-tp26182978p26182978.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26160134</id>
	<title>Problem with class listening to different EventLists</title>
	<published>2009-11-03T05:57:00Z</published>
	<updated>2009-11-03T05:57:00Z</updated>
	<author>
		<name>fritzr</name>
	</author>
	<content type="html">Hi together,
&lt;br&gt;I've got a component which must listen to different eventLists.
&lt;br&gt;It is not possible to implement the ListEventListener typed via generics interface more than once.
&lt;br&gt;Therefore I added just one method (without generics), ask the event for the eventListSource, compare it to the different eventLists and call specific methods which handle the specific events.
&lt;br&gt;&lt;br&gt;If my if-clause says that the eventListSource is the eventList A than I call handleAEvent(...) method. In this method I try to retrieve the object either via event.getOldObject or via getIndex and get(index). My problem is, that sometimes i get objects of other lists...
&lt;br&gt;&lt;br&gt;Is my problem described clearly? Can anyone help me?
&lt;br&gt;Here a code snipped...
&lt;br&gt;&lt;br&gt;dataManager.getFsrs().addListEventListener(this);
&lt;br&gt;dataManager.getFsrFunctions().addListEventListener(this);
&lt;br&gt;dataManager.getElements().addListEventListener(this);
&lt;br&gt;...
&lt;br&gt;&lt;br&gt;public void listChanged(ListEvent event) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; //Iterate through all list changes
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; while (event.hasNext()) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; event.next(); //get the next change event
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (event.getSourceList().equals(dataManager.getListA())){
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; handleFsrListEvent(event);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }else if (event.getSource().equals(dataManager.getListB())){
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; handleFsrFunctionListEvent(event);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }else if (event.getSource().equals(dataManager.getListC())){
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; handleElementListEvent(event);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;...
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; private void handleFunctionListEvent(ListEvent&amp;lt;Function&amp;gt; event) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (event.getType() == ListEvent.INSERT){
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Function function = event.getSourceList().get(event.getIndex());
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ElementRow&amp;lt;Function&amp;gt; functionRow = new ElementRow&amp;lt;Function&amp;gt;(function);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ElementRow parentRow = findRow(function.getElement());
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; addRow(parentRow, functionRow);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; } else if (event.getType() == ListEvent.DELETE){
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Function function = event.getOldValue();
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; //SOMETIMES HERE I GOT OTHER VALUES THAN FUNCTIONS...
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Row row = findRow(function);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; removeRow(row);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/GlazedLists---Dev-f2577.html&quot; embed=&quot;fixTarget[2577]&quot; target=&quot;_top&quot; &gt;GlazedLists - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Problem-with-class-listening-to-different-EventLists-tp26160134p26160134.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26160133</id>
	<title>Problem with class listening to different EventLists</title>
	<published>2009-11-03T05:55:24Z</published>
	<updated>2009-11-03T05:55:24Z</updated>
	<author>
		<name>fritzr</name>
	</author>
	<content type="html">Hi together,
&lt;br&gt;I've got a component which must listen to different eventLists.
&lt;br&gt;It is not possible to implement the ListEventListener typed via generics interface more than once.
&lt;br&gt;Therefore I added just one method (without generics), ask the event for the eventListSource, compare it to the different eventLists and call specific methods which handle the specific events.
&lt;br&gt;&lt;br&gt;If my if-clause says that the eventListSource is the eventList A than I call handleAEvent(...) method. In this method I try to retrieve the object either via event.getOldObject or via getIndex and get(index). My problem is, that sometimes i get objects of other lists...
&lt;br&gt;&lt;br&gt;Is my problem described clearly? Can anyone help me?
&lt;br&gt;Here a code snipped...
&lt;br&gt;&lt;br&gt;dataManager.getFsrs().addListEventListener(this);
&lt;br&gt;dataManager.getFsrFunctions().addListEventListener(this);
&lt;br&gt;dataManager.getElements().addListEventListener(this);
&lt;br&gt;...
&lt;br&gt;&lt;br&gt;public void listChanged(ListEvent event) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; //Iterate through all list changes
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; while (event.hasNext()) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; event.next(); //get the next change event
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (event.getSourceList().equals(dataManager.getListA())){
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; handleFsrListEvent(event);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }else if (event.getSource().equals(dataManager.getListB())){
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; handleFsrFunctionListEvent(event);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }else if (event.getSource().equals(dataManager.getListC())){
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; handleElementListEvent(event);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;...
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; private void handleFunctionListEvent(ListEvent&amp;lt;Function&amp;gt; event) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (event.getType() == ListEvent.INSERT){
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Function function = event.getSourceList().get(event.getIndex());
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ElementRow&amp;lt;Function&amp;gt; functionRow = new ElementRow&amp;lt;Function&amp;gt;(function);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ElementRow parentRow = findRow(function.getElement());
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; addRow(parentRow, functionRow);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; } else if (event.getType() == ListEvent.DELETE){
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Function function = event.getOldValue();
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; //SOMETIMES HERE I GOT OTHER VALUES THAN FUNCTIONS...
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Row row = findRow(function);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; removeRow(row);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/GlazedLists---Dev-f2577.html&quot; embed=&quot;fixTarget[2577]&quot; target=&quot;_top&quot; &gt;GlazedLists - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Problem-with-class-listening-to-different-EventLists-tp26160133p26160133.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26160022</id>
	<title>Re: Request for an SWT Glazedlists &quot;gentil&quot; tutorial</title>
	<published>2009-11-03T00:13:37Z</published>
	<updated>2009-11-03T00:13:37Z</updated>
	<author>
		<name>Oceanys</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;Thank you for the replay, but the example is still incomplete (for me as a beginner in the GlazedList API).
&lt;br&gt;All that I need is a clear snippet where an SWT table is created and populated and then the sort and filter feature is added.
&lt;br&gt;Thanks in advance and good luck.
&lt;br&gt;&lt;quote author=&quot;fab|an&quot;&gt;&lt;br&gt;Hi,
&lt;br&gt;&lt;br&gt;&amp;nbsp;here's something I quickly copy'n'pasted together: &lt;a href=&quot;http://gist.github.com/224365&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://gist.github.com/224365&lt;/a&gt;&lt;br&gt;&lt;br&gt;HTH
&lt;br&gt;fabian
&lt;br&gt;&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;Oceanys wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message&quot;&gt;Hi, I'm new to the good GlazedLists API and I'm using SWT tables.
&lt;br&gt;&lt;br&gt;I was happy when I found the GlazedLists API. I have a problem with SWT GlazedLists integration because the majority of the available tutorials are written for Swing or for other SWT widgets (I mean the pixel example in the link 
&lt;br&gt;&lt;a href=&quot;http://hexapixel.com/2009/01/02/glazed-lists-swt-tables-true&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://hexapixel.com/2009/01/02/glazed-lists-swt-tables-true&lt;/a&gt;).
&lt;br&gt;&lt;br&gt;Is anyone have a simple source code or snippet to start with a simple SWT table and Glazed lists in order to show how we can sort and filter it.
&lt;br&gt;Thanks in advance and cordially.
&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
&lt;/quote&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/GlazedLists---User-f2578.html&quot; embed=&quot;fixTarget[2578]&quot; target=&quot;_top&quot; &gt;GlazedLists - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Request-for-an-SWT-Glazedlists-%22gentil%22-tutorial-tp26157774p26160022.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26160021</id>
	<title>Re: Request for an SWT Glazedlists &quot;gentil&quot; tutorial</title>
	<published>2009-11-03T00:08:03Z</published>
	<updated>2009-11-03T00:08:03Z</updated>
	<author>
		<name>Oceanys</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;Thank you for the replay, but the example is still incomplete (for me as a beginner in the GlazedList API).
&lt;br&gt;All that I need is a clear snippet where an SWT table is created and populated and then the sort and filter feature is added.
&lt;br&gt;Thanks in advance and good luck.
&lt;br&gt;&lt;quote author=&quot;fab|an&quot;&gt;&lt;br&gt;Hi,
&lt;br&gt;&lt;br&gt;&amp;nbsp;here's something I quickly copy'n'pasted together: &lt;a href=&quot;http://gist.github.com/224365&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://gist.github.com/224365&lt;/a&gt;&lt;br&gt;&lt;br&gt;HTH
&lt;br&gt;fabian
&lt;br&gt;&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;Oceanys wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message&quot;&gt;Hi, I'm new to the good GlazedLists API and I'm using SWT tables.
&lt;br&gt;&lt;br&gt;I was happy when I found the GlazedLists API. I have a problem with SWT GlazedLists integration because the majority of the available tutorials are written for Swing or for other SWT widgets (I mean the pixel example in the link 
&lt;br&gt;&lt;a href=&quot;http://hexapixel.com/2009/01/02/glazed-lists-swt-tables-true&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://hexapixel.com/2009/01/02/glazed-lists-swt-tables-true&lt;/a&gt;).
&lt;br&gt;&lt;br&gt;Is anyone have a simple source code or snippet to start with a simple SWT table and Glazed lists in order to show how we can sort and filter it.
&lt;br&gt;Thanks in advance and cordially.
&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
&lt;/quote&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/GlazedLists---User-f2578.html&quot; embed=&quot;fixTarget[2578]&quot; target=&quot;_top&quot; &gt;GlazedLists - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Request-for-an-SWT-Glazedlists-%22gentil%22-tutorial-tp26157774p26160021.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26157789</id>
	<title>Re: Request for an SWT Glazedlists &quot;gentil&quot; tutorial</title>
	<published>2009-11-02T11:21:04Z</published>
	<updated>2009-11-02T11:21:04Z</updated>
	<author>
		<name>fab|an</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;&amp;nbsp;here's something I quickly copy'n'pasted together: &lt;a href=&quot;http://gist.github.com/224365&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://gist.github.com/224365&lt;/a&gt;&lt;br&gt;&lt;br&gt;HTH
&lt;br&gt;fabian
&lt;br&gt;&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;Oceanys wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message&quot;&gt;Hi, I'm new to the good GlazedLists API and I'm using SWT tables.
&lt;br&gt;&lt;br&gt;I was happy when I found the GlazedLists API. I have a problem with SWT GlazedLists integration because the majority of the available tutorials are written for Swing or for other SWT widgets (I mean the pixel example in the link 
&lt;br&gt;&lt;a href=&quot;http://hexapixel.com/2009/01/02/glazed-lists-swt-tables-true&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://hexapixel.com/2009/01/02/glazed-lists-swt-tables-true&lt;/a&gt;).
&lt;br&gt;&lt;br&gt;Is anyone have a simple source code or snippet to start with a simple SWT table and Glazed lists in order to show how we can sort and filter it.
&lt;br&gt;Thanks in advance and cordially.
&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/GlazedLists---User-f2578.html&quot; embed=&quot;fixTarget[2578]&quot; target=&quot;_top&quot; &gt;GlazedLists - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Request-for-an-SWT-Glazedlists-%22gentil%22-tutorial-tp26157774p26157789.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26157774</id>
	<title>Request for an SWT Glazedlists &quot;gentil&quot; tutorial</title>
	<published>2009-11-02T10:54:33Z</published>
	<updated>2009-11-02T10:54:33Z</updated>
	<author>
		<name>Oceanys</name>
	</author>
	<content type="html">Hi, I'm new to the good GlazedLists API and I'm using SWT tables.
&lt;br&gt;&lt;br&gt;I was happy when I found the GlazedLists API. I have a problem with SWT GlazedLists integration because the majority of the available tutorials are written for Swing or for other SWT widgets (I mean the pixel example in the link 
&lt;br&gt;&lt;a href=&quot;http://hexapixel.com/2009/01/02/glazed-lists-swt-tables-true&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://hexapixel.com/2009/01/02/glazed-lists-swt-tables-true&lt;/a&gt;).
&lt;br&gt;&lt;br&gt;Is anyone have a simple source code or snippet to start with a simple SWT table and Glazed lists in order to show how we can sort and filter it.
&lt;br&gt;Thanks in advance and cordially.&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/GlazedLists---User-f2578.html&quot; embed=&quot;fixTarget[2578]&quot; target=&quot;_top&quot; &gt;GlazedLists - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Request-for-an-SWT-Glazedlists-%22gentil%22-tutorial-tp26157774p26157774.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26168726</id>
	<title>Re: malware-problem and virus-warnings</title>
	<published>2009-11-02T10:40:16Z</published>
	<updated>2009-11-02T10:40:16Z</updated>
	<author>
		<name>James Lemieux</name>
	</author>
	<content type="html">Wow! Congratulations Holger! Finally got around to solving that bug, huh? :-)&lt;br&gt;&lt;br&gt;James&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Mon, Oct 26, 2009 at 1:02 PM, Rob Eden &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26168726&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rob@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;
&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;Congratulations, Holger!&lt;br&gt;&lt;font color=&quot;#888888&quot;&gt;
&lt;br&gt;
Rob&lt;/font&gt;&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div class=&quot;h5&quot;&gt;&lt;br&gt;
&lt;br&gt;
On Oct 26, 2009, at 4:00 PM, Holger Brands wrote:&lt;br&gt;
&lt;br&gt;
&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;
As I&amp;#39;m getting married on Friday,&lt;br&gt;
I&amp;#39;m pretty busy with other stuff ;-)&lt;br&gt;
Hopefully, Jesse or James will find some time&lt;br&gt;
to have a look at this?&lt;br&gt;
&lt;br&gt;
Thanks,&lt;br&gt;
Holger&lt;br&gt;
&lt;br&gt;
&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;
Hi guys,&lt;br&gt;
&lt;br&gt;
I&amp;#39;ve got the same kind of problem to access the GL main page.&lt;br&gt;
But I get more than one virus warning --&amp;gt; A look at the API is inhibited&lt;br&gt;
by our webscan:&lt;br&gt;
There&amp;#39;s a trojan horse called &amp;#39;Tenia.d&amp;#39;.&lt;br&gt;
A look at the release notes is inhibited due to a virus called&lt;br&gt;
&amp;#39;Mal_Hifrm&amp;#39;.&lt;br&gt;
&lt;br&gt;
I think, for the most of people that use some internet protection&lt;br&gt;
there&amp;#39;s no access to your GL main page.&lt;br&gt;
It doesn&amp;#39;t seem to be a false alarm. if you load the side in a safe&lt;br&gt;
area, the local scanner triggers an alarm, too.&lt;br&gt;
&lt;br&gt;
Thanks,&lt;br&gt;
Markus&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
---------------------------------------------------------------------&lt;br&gt;
To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26168726&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-unsubscribe@...&lt;/a&gt;&lt;br&gt;
For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26168726&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-help@...&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;/blockquote&gt;
&lt;br&gt;
&lt;br&gt;
______________________________________________________&lt;br&gt;
GRATIS für alle WEB.DE-Nutzer: Die maxdome Movie-FLAT!&lt;br&gt;
Jetzt freischalten unter &lt;a href=&quot;http://movieflat.web.de&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://movieflat.web.de&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
---------------------------------------------------------------------&lt;br&gt;
To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26168726&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-unsubscribe@...&lt;/a&gt;&lt;br&gt;
For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26168726&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-help@...&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
&lt;/blockquote&gt;
&lt;br&gt;
&lt;br&gt;
---------------------------------------------------------------------&lt;br&gt;
To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26168726&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-unsubscribe@...&lt;/a&gt;&lt;br&gt;
For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26168726&amp;i=6&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-help@...&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;
&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/GlazedLists---Dev-f2577.html&quot; embed=&quot;fixTarget[2577]&quot; target=&quot;_top&quot; &gt;GlazedLists - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/malware-problem-and-virus-warnings-tp26056473p26168726.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26134792</id>
	<title>GoogleWave invitation</title>
	<published>2009-10-30T11:19:27Z</published>
	<updated>2009-10-30T11:19:27Z</updated>
	<author>
		<name>fab|an</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;&amp;nbsp;sorry if you consider this mail spam, but has anyone access to GW yet? I'm interested but didn't get an invitation.
&lt;br&gt;&lt;br&gt;fabian&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/GlazedLists---User-f2578.html&quot; embed=&quot;fixTarget[2578]&quot; target=&quot;_top&quot; &gt;GlazedLists - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/GoogleWave-invitation-tp26134792p26134792.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26067573</id>
	<title>Re: malware-problem and virus-warnings</title>
	<published>2009-10-26T14:02:01Z</published>
	<updated>2009-10-26T14:02:01Z</updated>
	<author>
		<name>Rob Eden</name>
	</author>
	<content type="html">Congratulations, Holger!
&lt;br&gt;&lt;br&gt;Rob
&lt;br&gt;&lt;br&gt;On Oct 26, 2009, at 4:00 PM, Holger Brands wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; As I'm getting married on Friday,
&lt;br&gt;&amp;gt; I'm pretty busy with other stuff ;-)
&lt;br&gt;&amp;gt; Hopefully, Jesse or James will find some time
&lt;br&gt;&amp;gt; to have a look at this?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thanks,
&lt;br&gt;&amp;gt; Holger
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Hi guys,
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; I've got the same kind of problem to access the GL main page.
&lt;br&gt;&amp;gt;&amp;gt; But I get more than one virus warning --&amp;gt; A look at the API is &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; inhibited
&lt;br&gt;&amp;gt;&amp;gt; by our webscan:
&lt;br&gt;&amp;gt;&amp;gt; There's a trojan horse called 'Tenia.d'.
&lt;br&gt;&amp;gt;&amp;gt; A look at the release notes is inhibited due to a virus called
&lt;br&gt;&amp;gt;&amp;gt; 'Mal_Hifrm'.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; I think, for the most of people that use some internet protection
&lt;br&gt;&amp;gt;&amp;gt; there's no access to your GL main page.
&lt;br&gt;&amp;gt;&amp;gt; It doesn't seem to be a false alarm. if you load the side in a safe
&lt;br&gt;&amp;gt;&amp;gt; area, the local scanner triggers an alarm, too.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Thanks,
&lt;br&gt;&amp;gt;&amp;gt; Markus
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt;&amp;gt; To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26067573&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-unsubscribe@...&lt;/a&gt;
&lt;br&gt;&amp;gt;&amp;gt; For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26067573&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-help@...&lt;/a&gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ______________________________________________________
&lt;br&gt;&amp;gt; GRATIS für alle WEB.DE-Nutzer: Die maxdome Movie-FLAT!
&lt;br&gt;&amp;gt; Jetzt freischalten unter &lt;a href=&quot;http://movieflat.web.de&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://movieflat.web.de&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt; To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26067573&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-unsubscribe@...&lt;/a&gt;
&lt;br&gt;&amp;gt; For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26067573&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-help@...&lt;/a&gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26067573&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26067573&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/GlazedLists---Dev-f2577.html&quot; embed=&quot;fixTarget[2577]&quot; target=&quot;_top&quot; &gt;GlazedLists - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/malware-problem-and-virus-warnings-tp26056473p26067573.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26067555</id>
	<title>Re: malware-problem and virus-warnings</title>
	<published>2009-10-26T14:00:42Z</published>
	<updated>2009-10-26T14:00:42Z</updated>
	<author>
		<name>Holger Brands</name>
	</author>
	<content type="html">As I'm getting married on Friday,
&lt;br&gt;I'm pretty busy with other stuff ;-)
&lt;br&gt;Hopefully, Jesse or James will find some time
&lt;br&gt;to have a look at this?
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;Holger
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi guys,
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; I've got the same kind of problem to access the GL main page.
&lt;br&gt;&amp;gt; But I get more than one virus warning --&amp;gt; A look at the API is inhibited
&lt;br&gt;&amp;gt; by our webscan:
&lt;br&gt;&amp;gt; There's a trojan horse called 'Tenia.d'.
&lt;br&gt;&amp;gt; A look at the release notes is inhibited due to a virus called
&lt;br&gt;&amp;gt; 'Mal_Hifrm'.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I think, for the most of people that use some internet protection
&lt;br&gt;&amp;gt; there's no access to your GL main page.
&lt;br&gt;&amp;gt; It doesn't seem to be a false alarm. if you load the side in a safe
&lt;br&gt;&amp;gt; area, the local scanner triggers an alarm, too.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Thanks,
&lt;br&gt;&amp;gt; Markus
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt; To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26067555&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-unsubscribe@...&lt;/a&gt;
&lt;br&gt;&amp;gt; For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26067555&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-help@...&lt;/a&gt;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;/div&gt;&lt;br&gt;&lt;br&gt;______________________________________________________
&lt;br&gt;GRATIS für alle WEB.DE-Nutzer: Die maxdome Movie-FLAT!
&lt;br&gt;Jetzt freischalten unter &lt;a href=&quot;http://movieflat.web.de&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://movieflat.web.de&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26067555&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26067555&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/GlazedLists---Dev-f2577.html&quot; embed=&quot;fixTarget[2577]&quot; target=&quot;_top&quot; &gt;GlazedLists - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/malware-problem-and-virus-warnings-tp26056473p26067555.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26056473</id>
	<title>malware-problem and virus-warnings</title>
	<published>2009-10-26T02:17:02Z</published>
	<updated>2009-10-26T02:17:02Z</updated>
	<author>
		<name>Grimm, Markus</name>
	</author>
	<content type="html">Hi guys,
&lt;br&gt;&amp;nbsp;
&lt;br&gt;I've got the same kind of problem to access the GL main page.
&lt;br&gt;But I get more than one virus warning --&amp;gt; A look at the API is inhibited
&lt;br&gt;by our webscan:
&lt;br&gt;There's a trojan horse called 'Tenia.d'.
&lt;br&gt;A look at the release notes is inhibited due to a virus called
&lt;br&gt;'Mal_Hifrm'.
&lt;br&gt;&lt;br&gt;I think, for the most of people that use some internet protection
&lt;br&gt;there's no access to your GL main page.
&lt;br&gt;It doesn't seem to be a false alarm. if you load the side in a safe
&lt;br&gt;area, the local scanner triggers an alarm, too.
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;Markus
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26056473&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26056473&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/GlazedLists---Dev-f2577.html&quot; embed=&quot;fixTarget[2577]&quot; target=&quot;_top&quot; &gt;GlazedLists - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/malware-problem-and-virus-warnings-tp26056473p26056473.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26013453</id>
	<title>Re: GL Page Malware Warning</title>
	<published>2009-10-22T09:51:48Z</published>
	<updated>2009-10-22T09:51:48Z</updated>
	<author>
		<name>Jesse Wilson</name>
	</author>
	<content type="html">So remember a long time ago when we had that spam magnet of a wiki? Well apparently it&amp;#39;s distributing malware. GROSS!! I&amp;#39;ve cleaned up wiki, so now I await another crawl by Googlebot.&lt;div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Sorry about this!&lt;br&gt;

&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Thu, Oct 22, 2009 at 8:20 AM, Rob Eden &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26013453&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rob@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;
&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex&quot;&gt;The GL main page is giving a malware warning in Safari at the moment.&lt;br&gt;
&lt;br&gt;
Here&amp;#39;s the Google diagnositc page for &amp;quot;&lt;a href=&quot;http://statanalyze.cn&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;statanalyze.cn&lt;/a&gt;&amp;quot;: &lt;a href=&quot;http://google.com/safebrowsing/diagnostic?tpl=safari&amp;amp;site=statanalyze.cn&amp;amp;hl=en-us&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://google.com/safebrowsing/diagnostic?tpl=safari&amp;amp;site=statanalyze.cn&amp;amp;hl=en-us&lt;/a&gt;&lt;br&gt;



&lt;br&gt;
Screenshot attached.&lt;br&gt;&lt;font color=&quot;#888888&quot;&gt;
&lt;br&gt;
Rob&lt;br&gt;
&lt;/font&gt;&lt;br&gt;---------------------------------------------------------------------&lt;br&gt;
To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26013453&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-unsubscribe@...&lt;/a&gt;&lt;br&gt;
For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26013453&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-help@...&lt;/a&gt;&lt;br&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;br clear=&quot;all&quot;&gt;&lt;br&gt;-- &lt;br&gt;Climate change should be your #1 political issue.&lt;br&gt;


&lt;a href=&quot;http://www.youtube.com/watch?v=zORv8wwiadQ&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://www.youtube.com/watch?v=zORv8wwiadQ&lt;/a&gt;&lt;br&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/GlazedLists---Dev-f2577.html&quot; embed=&quot;fixTarget[2577]&quot; target=&quot;_top&quot; &gt;GlazedLists - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/GL-Page-Malware-Warning-tp26011944p26013453.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26011944</id>
	<title>GL Page Malware Warning</title>
	<published>2009-10-22T08:20:52Z</published>
	<updated>2009-10-22T08:20:52Z</updated>
	<author>
		<name>Rob Eden</name>
	</author>
	<content type="html">The GL main page is giving a malware warning in Safari at the moment.
&lt;br&gt;&lt;br&gt;Here's the Google diagnositc page for &amp;quot;statanalyze.cn&amp;quot;: &lt;a href=&quot;http://google.com/safebrowsing/diagnostic?tpl=safari&amp;site=statanalyze.cn&amp;hl=en-us&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://google.com/safebrowsing/diagnostic?tpl=safari&amp;site=statanalyze.cn&amp;hl=en-us&lt;/a&gt;&lt;br&gt;&lt;br&gt;Screenshot attached.
&lt;br&gt;&lt;br&gt;Rob
&lt;br&gt;&lt;br /&gt; &lt;br /&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26011944&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26011944&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-help@...&lt;/a&gt;&lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://old.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;gl_malware.png&lt;/strong&gt; (90K) &lt;a href=&quot;http://old.nabble.com/attachment/26011944/0/gl_malware.png&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/GlazedLists---Dev-f2577.html&quot; embed=&quot;fixTarget[2577]&quot; target=&quot;_top&quot; &gt;GlazedLists - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/GL-Page-Malware-Warning-tp26011944p26011944.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25952989</id>
	<title>re[3]: SequenceList</title>
	<published>2009-10-18T20:46:43Z</published>
	<updated>2009-10-18T20:46:43Z</updated>
	<author>
		<name>Kevin Day</name>
	</author>
	<content type="html">&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0 Transitional//EN&quot;&gt;
&lt;HTML&gt;&lt;HEAD&gt;


&lt;META name=GENERATOR content=&quot;MSHTML 8.00.6001.18812&quot;&gt;&lt;/HEAD&gt;
&lt;BODY leftMargin=1 rightMargin=1 topMargin=1&gt;&lt;FONT size=2 face=Arial&gt;
&lt;DIV&gt;The use case here is fairly common (we do something similar frequently)&amp;nbsp;- but I think the suggested solution is sufficient for the bulk of cases.&amp;nbsp; It would be *much* more useful to have access to the deleted element in delete events (this would allow effective caching of computed values).&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;- K&lt;BR&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/FONT&gt;
&lt;DIV style=&quot;FONT-FAMILY: Tahoma; FONT-SIZE: x-small&quot;&gt;
&lt;DIV&gt;----------------------- &lt;B&gt;Original Message&lt;/B&gt; -----------------------&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;B&gt;From:&lt;/B&gt;&amp;nbsp;cocoa &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25952989&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cocoa@...&lt;/a&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;B&gt;To:&lt;/B&gt;&amp;nbsp;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25952989&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users@...&lt;/a&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;B&gt;Cc:&lt;/B&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;B&gt;Date:&lt;/B&gt;&amp;nbsp;Mon, 12 Oct 2009 13:47:10 -0700 (PDT)&lt;/DIV&gt;
&lt;DIV&gt;&lt;B&gt;Subject:&amp;nbsp;&lt;U&gt;Re: re: SequenceList&lt;/U&gt;&lt;/B&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;FONT size=2 face=Tahoma&gt;
&lt;DIV&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&amp;gt; The SequenceList problem you mention is a legit bug in my opinion. Would&lt;BR&gt;&amp;gt; you mind filing a bug in our bugtracker?&lt;BR&gt;&amp;gt; &lt;BR&gt;&lt;BR&gt;I've filed a bug, see &lt;BR&gt;&lt;A href=&quot;https://glazedlists.dev.java.net/issues/show_bug.cgi?id=482&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;&lt;FONT color=#0000ff&gt;https://glazedlists.dev.java.net/issues/show_bug.cgi?id=482&lt;/FONT&gt;&lt;/A&gt;&lt;BR&gt;&lt;A href=&quot;https://glazedlists.dev.java.net/issues/show_bug.cgi?id=482&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;&lt;FONT color=#0000ff&gt;https://glazedlists.dev.java.net/issues/show_bug.cgi?id=482&lt;/FONT&gt;&lt;/A&gt; . A bug&lt;BR&gt;attachment contains a failing unit test.&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&amp;gt; As for the approach to your problem (inserting sequence placeholders into&lt;BR&gt;&amp;gt; a list), that's something that isn't trivial to do with our existing&lt;BR&gt;&amp;gt; transformations. If I was in your shoes, I'd consider extending&lt;BR&gt;&amp;gt; TransformedList and implementing that transformation myself from the&lt;BR&gt;&amp;gt; ground up. It actually shouldn't be that hard to implement, overall.&lt;BR&gt;&amp;gt; &lt;BR&gt;&lt;BR&gt;Implementing my own TransformedList seems daunting :S. I've had a quick look&lt;BR&gt;at some TransformedList implementations. The current solution with the&lt;BR&gt;CompositeList seems to work so far. As long as it works I abstain from&lt;BR&gt;implementing any TransformedList ;). Unless somebody is willing to help me&lt;BR&gt;get up to speed with all those internal details of glazed lists.&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&amp;gt; We probably could dream up some type of transformation in the core that,&lt;BR&gt;&amp;gt; given two adjacent items in the source EventList, delegated to a Sequencer&lt;BR&gt;&amp;gt; type of object that filled in the gaps... I'm unsure of how useful that is&lt;BR&gt;&amp;gt; to our general audience.&lt;BR&gt;&amp;gt; &lt;BR&gt;&lt;BR&gt;My use case is to generate a report that shows the total time (or distance)&lt;BR&gt;of activities grouped by a time period (e.g. week, month, ...). Obviously,&lt;BR&gt;it is possible that some period does not contain any activity. So, the&lt;BR&gt;bucket is missing in the GroupingList, which is not acceptable. The missing&lt;BR&gt;bucket is important information by itself (i.e. the user did not perform any&lt;BR&gt;sport activity).&lt;BR&gt;-- &lt;BR&gt;View this message in context: &lt;A href=&quot;http://www.nabble.com/SequenceList-tp25838609p25862874.html&quot; target=&quot;_top&quot;&gt;&lt;FONT color=#0000ff&gt;http://www.nabble.com/SequenceList-tp25838609p25862874.html&lt;/FONT&gt;&lt;/A&gt;&lt;BR&gt;Sent from the GlazedLists - User mailing list archive at Nabble.com.&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;---------------------------------------------------------------------&lt;BR&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25952989&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;&lt;BR&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25952989&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;/DIV&gt;&lt;/FONT&gt;&lt;/BODY&gt;&lt;/HTML&gt;


---------------------------------------------------------------------
To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25952989&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;
For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25952989&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;

&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/GlazedLists---User-f2578.html&quot; embed=&quot;fixTarget[2578]&quot; target=&quot;_top&quot; &gt;GlazedLists - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/SequenceList-tp25838609p25952989.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25895801</id>
	<title>Maven source jar has wrong contents</title>
	<published>2009-10-14T10:25:25Z</published>
	<updated>2009-10-14T10:25:25Z</updated>
	<author>
		<name>Gerhard Radatz</name>
	</author>
	<content type="html">Hi folks,&lt;br&gt;&lt;br&gt;I just added the dependency to glazed-lists to my project:&lt;br&gt;&lt;br&gt;&amp;lt;dependency&amp;gt;&lt;br&gt;  &amp;lt;groupId&amp;gt;net.java.dev.glazedlists&amp;lt;/groupId&amp;gt;&lt;br&gt;  &amp;lt;artifactId&amp;gt;glazedlists_java15&amp;lt;/artifactId&amp;gt;&lt;br&gt;
  &amp;lt;version&amp;gt;1.8.0&amp;lt;/version&amp;gt;&lt;br&gt;&amp;lt;/dependency&amp;gt;&lt;br&gt;&lt;br&gt;which is located at Maven Central.&lt;br&gt;&lt;br&gt;You were kind enough to also provide the source and javadoc artifacts, but I think there is a slight mistake here, since IntelliJ could not display the source correctly:&lt;br&gt;
I think the source.jar should ONLY contain the contents of the &amp;quot;source&amp;quot; subdirectory (that is, ca/odell/glazedlists/...), not the whole &amp;quot;source&amp;quot; download available from your website.&lt;br&gt;So, the source.jar should start one level deeper in the project directory tree in order to conform to maven&amp;#39;s expectations.&lt;br&gt;
&lt;br&gt;Thanks&lt;br&gt;Gerhard&lt;br&gt;&lt;br&gt;
&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/GlazedLists---Dev-f2577.html&quot; embed=&quot;fixTarget[2577]&quot; target=&quot;_top&quot; &gt;GlazedLists - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Maven-source-jar-has-wrong-contents-tp25895801p25895801.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25875817</id>
	<title>TreeList help</title>
	<published>2009-10-13T02:49:13Z</published>
	<updated>2009-10-13T02:49:13Z</updated>
	<author>
		<name>Gal Savranevsky</name>
	</author>
	<content type="html">&lt;div dir=&quot;ltr&quot;&gt;&lt;div&gt;Hi to all,&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;I&amp;#39;m using TreeList with JTree. &lt;/div&gt;
&lt;div&gt;Its seems like there is no support for  ExpansionModel in JTree.&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;my questions are&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt; 1) Am i right? &lt;/div&gt;
&lt;div&gt; 2) What UI componet has a support for this feature? (maybe TreeTable)&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;thanks, &lt;/div&gt;
&lt;div&gt;Gal.&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;&lt;/div&gt;
&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/GlazedLists---User-f2578.html&quot; embed=&quot;fixTarget[2578]&quot; target=&quot;_top&quot; &gt;GlazedLists - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/TreeList-help-tp25875817p25875817.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25862874</id>
	<title>Re: re: SequenceList</title>
	<published>2009-10-12T13:47:08Z</published>
	<updated>2009-10-12T13:47:08Z</updated>
	<author>
		<name>cocoa</name>
	</author>
	<content type="html">&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-message&quot;&gt;The SequenceList problem you mention is a legit bug in my opinion. Would you mind filing a bug in our bugtracker?
&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
I've filed a bug, see &lt;a href=&quot;https://glazedlists.dev.java.net/issues/show_bug.cgi?id=482&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://glazedlists.dev.java.net/issues/show_bug.cgi?id=482&lt;/a&gt;. A bug attachment contains a failing unit test.
&lt;br&gt;&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-message&quot;&gt;As for the approach to your problem (inserting sequence placeholders into a list), that's something that isn't trivial to do with our existing transformations. If I was in your shoes, I'd consider extending TransformedList and implementing that transformation myself from the ground up. It actually shouldn't be that hard to implement, overall.
&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
Implementing my own TransformedList seems daunting :S. I've had a quick look at some TransformedList implementations. The current solution with the CompositeList seems to work so far. As long as it works I abstain from implementing any TransformedList ;). Unless somebody is willing to help me get up to speed with all those internal details of glazed lists.
&lt;br&gt;&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-message&quot;&gt;We probably could dream up some type of transformation in the core that, given two adjacent items in the source EventList, delegated to a Sequencer type of object that filled in the gaps... I'm unsure of how useful that is to our general audience.
&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
My use case is to generate a report that shows the total time (or distance) of activities grouped by a time period (e.g. week, month, ...). Obviously, it is possible that some period does not contain any activity. So, the bucket is missing in the GroupingList, which is not acceptable. The missing bucket is important information by itself (i.e. the user did not perform any sport activity).&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/GlazedLists---User-f2578.html&quot; embed=&quot;fixTarget[2578]&quot; target=&quot;_top&quot; &gt;GlazedLists - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/SequenceList-tp25838609p25862874.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25861094</id>
	<title>[Issue 482]  SequenceList duplicates first element if element is a sequence value</title>
	<published>2009-10-12T11:44:33Z</published>
	<updated>2009-10-12T11:44:33Z</updated>
	<author>
		<name>rasss</name>
	</author>
	<content type="html">&lt;a href=&quot;https://glazedlists.dev.java.net/issues/show_bug.cgi?id=482&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://glazedlists.dev.java.net/issues/show_bug.cgi?id=482&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;------- Additional comments from &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25861094&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rasss@...&lt;/a&gt; Mon Oct 12 18:44:33 +0000 2009 -------
&lt;br&gt;Created an attachment (id=49)
&lt;br&gt;Test Case
&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25861094&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;issues-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25861094&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;issues-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/GlazedLists---Issues-f2575.html&quot; embed=&quot;fixTarget[2575]&quot; target=&quot;_top&quot; &gt;GlazedLists - Issues&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-Issue-482--New---SequenceList-duplicates-first-element-if-element-is-a-sequence-value-tp25860957p25861094.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25860957</id>
	<title>[Issue 482] New - SequenceList duplicates first element if element is a sequence value</title>
	<published>2009-10-12T11:35:16Z</published>
	<updated>2009-10-12T11:35:16Z</updated>
	<author>
		<name>rasss</name>
	</author>
	<content type="html">&lt;a href=&quot;https://glazedlists.dev.java.net/issues/show_bug.cgi?id=482&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://glazedlists.dev.java.net/issues/show_bug.cgi?id=482&lt;/a&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Issue #|482
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Summary|SequenceList duplicates first element if element is a 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |sequence value
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Component|glazedlists
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Version|current
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Platform|All
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; OS/Version|All
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;URL|
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Status|NEW
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Status whiteboard|
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Keywords|
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Resolution|
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Issue type|DEFECT
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Priority|P3
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Subcomponent|core
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Assigned to|jessewilson
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Reported by|rasss
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;------- Additional comments from &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25860957&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rasss@...&lt;/a&gt; Mon Oct 12 18:35:15 +0000 2009 -------
&lt;br&gt;The SequenceList duplicates the first element iff the first element of the source list is a sequence value 
&lt;br&gt;itself. The problem seems to come from the implementation of updateSequence. The if statement at line 
&lt;br&gt;220 inserts the same element twice into the result list (nextSequenceValue == previousSequenceValue). 
&lt;br&gt;&lt;br&gt;The following test outputs: [1,1,2]
&lt;br&gt;&lt;br&gt;instead of [1,2]
&lt;br&gt;&lt;br&gt;public void testSequenceList() {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; EventList&amp;lt;Integer&amp;gt; src = new BasicEventList&amp;lt;Integer&amp;gt;();
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; src.add(1);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; src.add(2);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; SequenceList&amp;lt;Integer&amp;gt; integers = new SequenceList&amp;lt;Integer&amp;gt;(src, new Sequencer&amp;lt;Integer&amp;gt;() {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; public Integer next(Integer value) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return value + 1;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; public Integer previous(Integer value) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return value - 1;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; });
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; for (Integer value : integers) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; System.out.println(value);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25860957&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;issues-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25860957&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;issues-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/GlazedLists---Issues-f2575.html&quot; embed=&quot;fixTarget[2575]&quot; target=&quot;_top&quot; &gt;GlazedLists - Issues&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-Issue-482--New---SequenceList-duplicates-first-element-if-element-is-a-sequence-value-tp25860957p25860957.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25858893</id>
	<title>Re: re: SequenceList</title>
	<published>2009-10-12T09:29:28Z</published>
	<updated>2009-10-12T09:29:28Z</updated>
	<author>
		<name>James Lemieux</name>
	</author>
	<content type="html">Simon,&lt;br&gt;&lt;br&gt;The SequenceList problem you mention is a legit bug in my opinion. Would you mind filing a bug in our bugtracker?&lt;br&gt;&lt;br&gt;As for the approach to your problem (inserting sequence placeholders into a list), that&amp;#39;s something that isn&amp;#39;t trivial to do with our existing transformations. If I was in your shoes, I&amp;#39;d consider extending TransformedList and implementing that transformation myself from the ground up. It actually shouldn&amp;#39;t be that hard to implement, overall.&lt;br&gt;
&lt;br&gt;We probably could dream up some type of transformation in the core that, given two adjacent items in the source EventList, delegated to a Sequencer type of object that filled in the gaps... I&amp;#39;m unsure of how useful that is to our general audience.&lt;br&gt;
&lt;br&gt;Good Luck,&lt;br&gt;&lt;br&gt;James&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Sun, Oct 11, 2009 at 3:02 PM, cocoa &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25858893&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cocoa@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;
&lt;br&gt;
I soon saw that my initial approach does not work. The map, as you mentioned,&lt;br&gt;
is not updated so the approach is broken. Next I&amp;#39;ve tried the proposed&lt;br&gt;
approach using a CompositeList.&lt;br&gt;
&lt;br&gt;
The first list is a SequenceList that produces PlaceholderActivity objects&lt;br&gt;
with a Sequencer. However, I&amp;#39;ve run into an issue with the SequenceList. It&lt;br&gt;
adds the source Activity objects to the SequenceList (not the placeholder&lt;br&gt;
activity objects). This results in incorrect duration totals (i.e. the first&lt;br&gt;
one is twice as large as it should be). So I&amp;#39;ve added a&lt;br&gt;
FunctionList&amp;lt;Activity, PlaceholderActivity&amp;gt; to the source list. That way, I&lt;br&gt;
get the expected sequence lists consisting only of PlaceholderActivity.&lt;br&gt;
&lt;br&gt;
The CompositeList stuff works as advertised. I get the missing buckets with&lt;br&gt;
a 0 total duration.&lt;br&gt;
&lt;br&gt;
Simon&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
PS: I&amp;#39;m not groking why the first value of the SequenceList is duplicated.&lt;br&gt;
It does not hurt in my case, because placeholder activities are not used for&lt;br&gt;
the calculations. Below is a simple snipped that shows what I mean:&lt;br&gt;
&lt;br&gt;
EventList&amp;lt;Integer&amp;gt; src = new BasicEventList&amp;lt;Integer&amp;gt;();&lt;br&gt;
src.add(1);&lt;br&gt;
src.add(3);&lt;br&gt;
&lt;br&gt;
SequenceList&amp;lt;Integer&amp;gt; integers = new SequenceList&amp;lt;Integer&amp;gt;(src, new&lt;br&gt;
Sequencer&amp;lt;Integer&amp;gt;() {&lt;br&gt;
        public Integer next(Integer value) {&lt;br&gt;
                return value + 1;&lt;br&gt;
        }&lt;br&gt;
        public Integer previous(Integer value) {&lt;br&gt;
                return value - 1;&lt;br&gt;
        }&lt;br&gt;
});&lt;br&gt;
&lt;br&gt;
for (Integer value : integers) {&lt;br&gt;
        System.out.println(value);&lt;br&gt;
}&lt;br&gt;
&lt;br&gt;
Output is :&lt;br&gt;
1&lt;br&gt;
1&lt;br&gt;
2&lt;br&gt;
3&lt;br&gt;
&lt;font color=&quot;#888888&quot;&gt;&lt;br&gt;
--&lt;br&gt;
View this message in context: &lt;a href=&quot;http://www.nabble.com/SequenceList-tp25838609p25848064.html&quot; target=&quot;_blank&quot;&gt;http://www.nabble.com/SequenceList-tp25838609p25848064.html&lt;/a&gt;&lt;br&gt;
&lt;/font&gt;&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div class=&quot;h5&quot;&gt;Sent from the GlazedLists - User mailing list archive at Nabble.com.&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
---------------------------------------------------------------------&lt;br&gt;
To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25858893&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;&lt;br&gt;
For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25858893&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;
&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/GlazedLists---User-f2578.html&quot; embed=&quot;fixTarget[2578]&quot; target=&quot;_top&quot; &gt;GlazedLists - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/SequenceList-tp25838609p25858893.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25858087</id>
	<title>[Issue 481] New - SequenceDependenciesEventPublisher.clearRelatedListener() swapped parameters</title>
	<published>2009-10-12T08:48:47Z</published>
	<updated>2009-10-12T08:48:47Z</updated>
	<author>
		<name>brunomedeiros</name>
	</author>
	<content type="html">&lt;a href=&quot;https://glazedlists.dev.java.net/issues/show_bug.cgi?id=481&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://glazedlists.dev.java.net/issues/show_bug.cgi?id=481&lt;/a&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Issue #|481
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Summary|SequenceDependenciesEventPublisher.clearRelatedListene
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |r() swapped parameters
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Component|glazedlists
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Version|current
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Platform|All
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; OS/Version|All
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;URL|
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Status|NEW
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Status whiteboard|
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Keywords|
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Resolution|
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Issue type|DEFECT
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Priority|P3
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Subcomponent|core
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Assigned to|jessewilson
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Reported by|brunomedeiros
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;------- Additional comments from &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25858087&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;brunomedeiros@...&lt;/a&gt; Mon Oct 12 15:48:47 +0000 2009 -------
&lt;br&gt;Apparently SequenceDependenciesEventPublisher.clearRelatedListener() calls
&lt;br&gt;removeListener with wrong swapped parameters:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; public void clearRelatedListener(Object subject, Object relatedListener) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; removeListener(relatedListener, subject);
&lt;br&gt;&amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25858087&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;issues-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25858087&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;issues-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/GlazedLists---Issues-f2575.html&quot; embed=&quot;fixTarget[2575]&quot; target=&quot;_top&quot; &gt;GlazedLists - Issues&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-Issue-481--New---SequenceDependenciesEventPublisher.clearRelatedListener%28%29-swapped-parameters-tp25858087p25858087.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25848064</id>
	<title>Re: re: SequenceList</title>
	<published>2009-10-11T15:01:59Z</published>
	<updated>2009-10-11T15:01:59Z</updated>
	<author>
		<name>cocoa</name>
	</author>
	<content type="html">I soon saw that my initial approach does not work. The map, as you mentioned, is not updated so the approach is broken. Next I've tried the proposed approach using a CompositeList. 
&lt;br&gt;&lt;br&gt;The first list is a SequenceList that produces PlaceholderActivity objects with a Sequencer. However, I've run into an issue with the SequenceList. It adds the source Activity objects to the SequenceList (not the placeholder activity objects). This results in incorrect duration totals (i.e. the first one is twice as large as it should be). So I've added a FunctionList&amp;lt;Activity, PlaceholderActivity&amp;gt; to the source list. That way, I get the expected sequence lists consisting only of PlaceholderActivity. 
&lt;br&gt;&lt;br&gt;The CompositeList stuff works as advertised. I get the missing buckets with a 0 total duration.
&lt;br&gt;&lt;br&gt;Simon
&lt;br&gt;&lt;br&gt;&lt;br&gt;PS: I'm not groking why the first value of the SequenceList is duplicated. It does not hurt in my case, because placeholder activities are not used for the calculations. Below is a simple snipped that shows what I mean:
&lt;br&gt;&lt;br&gt;EventList&amp;lt;Integer&amp;gt; src = new BasicEventList&amp;lt;Integer&amp;gt;();
&lt;br&gt;src.add(1);
&lt;br&gt;src.add(3);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;SequenceList&amp;lt;Integer&amp;gt; integers = new SequenceList&amp;lt;Integer&amp;gt;(src, new Sequencer&amp;lt;Integer&amp;gt;() {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; public Integer next(Integer value) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return value + 1;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; public Integer previous(Integer value) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return value - 1;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;});
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;for (Integer value : integers) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; System.out.println(value);
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;Output is : 
&lt;br&gt;1
&lt;br&gt;1
&lt;br&gt;2
&lt;br&gt;3
&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/GlazedLists---User-f2578.html&quot; embed=&quot;fixTarget[2578]&quot; target=&quot;_top&quot; &gt;GlazedLists - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/SequenceList-tp25838609p25848064.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25846525</id>
	<title>setTableFormat for EventTableViewer</title>
	<published>2009-10-11T12:05:51Z</published>
	<updated>2009-10-11T12:05:51Z</updated>
	<author>
		<name>fab|an</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&amp;nbsp;I've implemented setTableFormat for EventTableViewer.
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://gist.github.com/207822&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://gist.github.com/207822&lt;/a&gt;&lt;br&gt;&lt;br&gt;Regards
&lt;br&gt;fabian&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/GlazedLists---Dev-f2577.html&quot; embed=&quot;fixTarget[2577]&quot; target=&quot;_top&quot; &gt;GlazedLists - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/setTableFormat-for-EventTableViewer-tp25846525p25846525.html" />
</entry>

</feed>
