Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » how to implemet native file browser and treeviewer
how to implemet native file browser and treeviewer [message #202643] Sun, 01 April 2007 15:11 Go to next message
Eclipse UserFriend
Originally posted by: thomas.vequaud.gmail.com

Hi everebody!

It seems to be simples questions but I don't find how to do this! : /

How I can open a native file browser like this:
http://www.epitech.net/~vequau_t/rcp/browser.gif

I have another question: how I can use in a native file treeviewer
embedded in my RCP application like this:
http://www.epitech.net/~vequau_t/rcp/localtree.png

Thank you!
Re: how to implemet native file browser and treeviewer [message #202670 is a reply to message #202643] Sun, 01 April 2007 15:44 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: irbull.cs.uvic.ca

The SWT snippet page is probably your best resource for things like this
[1]. In paticular, Snippet number 72 [2] shows how to use the file
browser (you can use this for either open or save).

[1]http://www.eclipse.org/swt/snippets/
[2] http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.swt.sni ppets/src/org/eclipse/swt/snippets/Snippet72.java?view=co

As for your second question, I'm not sure that the file tree viewer is a
native control. I imagine they use the native tree viewer and populate
it with the contents of the file system. Again, I think the snippet
page will show you some examples that can help.

cheers,
ian


Echo wrote:
>
> Hi everebody!
>
> It seems to be simples questions but I don't find how to do this! : /
>
> How I can open a native file browser like this:
> http://www.epitech.net/~vequau_t/rcp/browser.gif
>
> I have another question: how I can use in a native file treeviewer
> embedded in my RCP application like this:
> http://www.epitech.net/~vequau_t/rcp/localtree.png
>
> Thank you!
>
>
Re: how to implemet native file browser and treeviewer [message #202701 is a reply to message #202670] Sun, 01 April 2007 23:42 Go to previous message
Eclipse UserFriend
Originally posted by: thomas.vequaud._NOSPAM_gmail.com

A lot of examples! I couldn't dream better! \o/
Thank you very much for this URL: I bookmark it right now... It will
help me for future features that I will need!

Thank you again Ian


Ian Bull a écrit :
> The SWT snippet page is probably your best resource for things like this
> [1]. In paticular, Snippet number 72 [2] shows how to use the file
> browser (you can use this for either open or save).
>
> [1]http://www.eclipse.org/swt/snippets/
> [2] http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.swt.sni ppets/src/org/eclipse/swt/snippets/Snippet72.java?view=co
>
>
> As for your second question, I'm not sure that the file tree viewer is a
> native control. I imagine they use the native tree viewer and populate
> it with the contents of the file system. Again, I think the snippet
> page will show you some examples that can help.
>
> cheers,
> ian
>
>
Previous Topic:How to add connection in database explorer for mysql?
Next Topic:access objects among plugins
Goto Forum:
  


Current Time: Fri Apr 26 10:41:53 GMT 2024

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

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

Back to the top