| [news.eclipse.platform.swt] Re: eclipse style tab folder |
Cheers, HS
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