[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.tools.emf] Re: label providers

Ed Merks schrieb:
Tom,

It seems to me the tree viewer won't expect to refresh multiple instances of the same object when it's told to refresh a particular object and in fact won't do it. It's also tricky to do the notification for when the parent changes. I'm really not sure it works, but of course the TreePath stuff came long after we did the EMF.Edit support.



I'm not sure I have understood what you are saying above.

Well it depends how you call:
=> Viewer#update(object,null) it will update the labels of the object
   no matter where they are located in the Tree
=> Viewer#update(new TreePath(...),null) it will update only the label
   found at this specific path

Tom

--
B e s t S o l u t i o n . at
--------------------------------------------------------------------
Tom Schindl                                          JFace-Committer
--------------------------------------------------------------------