Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Tree from Resources
Tree from Resources [message #166793] Sat, 06 December 2003 13:38 Go to next message
Eclipse UserFriend
Originally posted by: dcorbin.machturtle.com

Is there a handy-dandy class that will, given a collection of resources, act
as a Tree content provider for them?

Thanks
David
Re: Tree from Resources [message #167104 is a reply to message #166793] Mon, 08 December 2003 06:49 Go to previous messageGo to next message
Eclipse UserFriend
i don't know if this is what you're looking for, but check out the common
navigator:

http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/plat form-ui-home/docs.html

cam

"David Corbin" <dcorbin@machturtle.com> wrote in message
news:bqt7hs$eht$1@eclipse.org...
> Is there a handy-dandy class that will, given a collection of resources,
act
> as a Tree content provider for them?
>
> Thanks
> David
Re: Tree from Resources [message #167685 is a reply to message #167104] Mon, 08 December 2003 18:36 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: dcorbin.machturtle.com

I took a quick look, but don't think it does. The closest thing I've found
so far is a FileFolderSelectionDialog, but that's internal.

Perhaps if the ContentProvider, sorter, etc. from this were available as
part of the API, that would go 90% of the way.

David

Cameron Jones wrote:

> i don't know if this is what you're looking for, but check out the common
> navigator:
>
>
http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/plat form-ui-home/docs.html
>
> cam
>
> "David Corbin" <dcorbin@machturtle.com> wrote in message
> news:bqt7hs$eht$1@eclipse.org...
>> Is there a handy-dandy class that will, given a collection of resources,
> act
>> as a Tree content provider for them?
>>
>> Thanks
>> David
Re: Tree from Resources [message #168792 is a reply to message #166793] Wed, 10 December 2003 13:10 Go to previous message
Eclipse UserFriend
Originally posted by: John_Arthorne.oti.com_

By "resources" do you mean IResource objects? In that case
WorkbenchContentProvider will work for you. This content provider uses
the IAdaptable mechanism to defer the work to the object in the tree.
See also WorkbenchLabelProvider and IWorkbenchAdapter.
--

David Corbin wrote:
> Is there a handy-dandy class that will, given a collection of resources, act
> as a Tree content provider for them?
>
> Thanks
> David
Previous Topic:Need help Creating an ImageDescriptor
Next Topic:Dynamic Action Contribution
Goto Forum:
  


Current Time: Wed Jul 23 14:12:36 EDT 2025

Powered by FUDForum. Page generated in 0.06682 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top