Skip to main content


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 LiFriend
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:My update site does not work very well...
Next Topic:how to detach the editors
Goto Forum:
  


Current Time: Thu Apr 25 14:39:22 GMT 2024

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

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

Back to the top