|
Re: how to change filter list without effecting the change in event list? [message #1058997 is a reply to message #1058992] |
Thu, 16 May 2013 07:33 |
Dirk Fauth Messages: 2902 Registered: July 2012 |
Senior Member |
|
|
Hi,
Seems you are not familiar with GlazedLists. For an introduction look here: http://www.glazedlists.com/
In short, the FilterList is a wrapper around the EventList, which is usually a wrapper on a Java collection. Every list operation like add(), remove(), clear() is performed down on the base list. The GlazedLists are doing transformations dependent on their scope, so the FilterList for example adds a filter transformation that removes pointers to elements in the base list, but it does not remove them from the base list. That's how a filter should work.
So the real question is, what are you trying to do? What kind of changes do you want to perform on the FilterList that should not be performed on the base list?
Greez,
Dirk
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.05040 seconds