|
|
|
|
Re: TreeViewer refresh [message #548098 is a reply to message #547539] |
Tue, 20 July 2010 16:15 |
|
Tom Schindl wrote on Sun, 18 July 2010 08:15 | Implement an IElementComparer
|
So what do equals and hashCode have to do with the tree being open or closed?
A guess: Refresh recreates the tree such that it is "equal". If the new equal/hash function that includes the nodes "open-ness" will force refesh() to preserve the tree's state.
(and presumably the root node is a special case that already handles this... which makes me wonder why the default tree node doesn't as well.)
--Mark Storer
Senior Software Engineer
Autonomy Cardiff
import legalese.disclaimer;
Disclaimer<Cardiff> disCard = null;
Google Code Search
[Updated on: Tue, 20 July 2010 16:21] Report message to a moderator
|
|
|
|
Powered by
FUDForum. Page generated in 0.04571 seconds