Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » JFace » TreeNodeContentProvider vs ITreePathContentProvider
TreeNodeContentProvider vs ITreePathContentProvider [message #526610] Mon, 12 April 2010 08:03 Go to previous message
Roland Tepp is currently offline Roland Tepp
Messages: 336
Registered: July 2009
Senior Member
Hi,

I am evaluating the new viewer API in JFace that has appeared since
Eclipse 3.2 and I've stumbled upon 2 seemingly similar concepts in the
JFace tree viewer API's:

TreeNodeContentProvider and ITreePathContentProvider

The question is - since both seem to be operating on structures that
make up a tree, what is the use case of either and which one shoul I use
if I need to implement my own tree-like structure viewer.

I know, I can easily do without either, so I guess, what I am asking is
that what are the relative strengths and weaknesses of either approach
so that I could decide which one to use when...

--
Roland Tepp
 
Read Message
Read Message
Read Message
Previous Topic:Reset DeferredTreeContentManager
Next Topic:[Databinding] Force a validation of a field
Goto Forum:
  


Current Time: Mon May 20 23:20:45 EDT 2013

Powered by FUDForum. Page generated in 0.01662 seconds