0 comments Monday, October 27, 2008

I looked for this for a while. Eclipse 3.x has the swooshed tab headers that taper towards the end.

To get that in your RCP application where you may use IFolderLayout to group views, or have multiple editors you need to make your Eclipse application a product and do the following:


To get the swoosh on any tabfolder that you create in your code. You have to use CTabFolder as follows:


CTabFolder tabFolder = new CTabFolder(shell, SWT.CLOSE | SWT.BOTTOM);


The following line does the magic:

tabFolder.setSimple(false);