Thursday, December 3, 2009

What did I learn today - Adding new style tabs in Eclipse RCP application

If you are building an Eclipse RCP application, by default all of the views and editors would have the traditional old style rectangular tabs. If you want curvy ended tabs, like the one in Eclipse IDE, you can implement that by setting this preference value in PlatformUI preference store. Just add the following line to preWindowOpen() method in your ApplicationWorkbenchWindowAdvisor.

IWorkbenchPreferenceConstants.SHOW_TRADITIONAL_STYLE_TABS, false);

By default, traditional style tabs are set to true. You need to turn it OFF to get new style tabs.


Unknown said...

Useful tip

Hill said...

Thanks for every other informative website. Where else could I am getting that type of information written in such an ideal method? I have a undertaking that I’m simply now running on, and I have been on the look out for such information.

at Digital Brief