| [news.eclipse.platform.swt] Re: eclipse style tab folder |
Henry,
Ali.
Thank you for your reply Ali :)
actually I am learning RCP. At the same time, I am trying to come up with a small pilot application without using RCP. This one-off application is for demonstration purpose and I want it to be simple. Is there any way I can reproduce the eclipse view with SWT and Jface? I just want a main frame with 2 areas. after a user close the last tab in area 1, area 2 will fill the whole frame and a button will reopen area 1 in its original position...
Cheers, HS
Ali Naddaf wrote:Henry,
Eclipse is using the RCP platform and what you see as different "areas" in there correspond to Editors or Views; they are defined by sub classing appropriate classes and "Perspectives" are in charge of putting them together to form what you see. Using RCP platform, a lot of what you want comes for free and is provided by the platform out of the box. You may want to look into that if you have time to play with something new.
Ali.
Henry wrote:Hi all,
I want to add a navigation tree to my GUI and I want it works like the Package Explorer view and it's container from Eclipse. So if a user choose to close this navigation tree and if the navigation tree is the last tab in the container, the container should be closed automatically at the same time.
I guess the eclipse view is a number of sashforms each one with a cTabFolder in it. Am I right? And how can I hide the container that contains the cTabfolder after the last tab is closed? Since I am new to SWT and Jface, an example or a link to an example well be very helpful. Any help will be highly appreciated.
Cheers, Henry