|How to create TreeViewer with Action/Handler [message #1126883]
||Sun, 06 October 2013 03:02
| Charles Li
Registered: December 2009
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!
Powered by FUDForum
. Page generated in 0.02079 seconds