Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » How to create TreeViewer with Action/Handler(How to create TreeViewer with Action/Handler)
How to create TreeViewer with Action/Handler [message #1126883] Sun, 06 October 2013 03:02
Charles Li is currently offline Charles Li
Messages: 16
Registered: December 2009
Junior Member
All the TreeViewer tutorials (for example, http://www.vogella.com/articles/EclipseJFaceTree/article.html) simply display a TreeViewer when you start the RCP application. In my case, I would like to create the treeViewer with a menu item click.

I divide the screen into left (30%) and right (70%). The left side will be a placeholder for a couple of tree views, and the right side will be a detail viewer when any single tree items is selected on the left side.

At application start-up, a root folder (just a hard-coded placeholder) is displayed on the left side. With a click on menu item "open" (action/handler), a new tree viewer root is supposed to be added under the root folder.

My question is - how do I do this in Eclipse 4.3?

Thank you very much in advance for your help!
Previous Topic:how do I bundle a jre with an RCP appl on Mac OSX
Next Topic:how to detach the editors
Goto Forum:
  


Current Time: Tue Sep 16 19:46:18 GMT 2014

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

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