Attractive tabs in the Eclipse RCP app

I am currently using Eclipse Helios Service Release 1. I am new to the IDE and the platform.

My question is: how do I get the same enticing tab in my application as in the IDE?

+4
source share
1 answer

According to this thread and this blog post :

See " eclipse look & feel customization " for details.

Everyone sees this " java-tips ":

curvy tabs on Eclipse RCP

To change the shape of the view title, the next line of code can be written in the preWindowOpen() method of ApplicationWorkbenchWindowAdvisor .

 PlatformUI.getPreferenceStore().setValue(IWorkbenchPreferenceConstants.SHOW_TRADITIONAL_STYLE_TABS, false); 

Please note that there may be a problem with long headers when there are many tabs:
See error 322623 :
"Editor tabs do not display ellipsis for long file names when using new-style tabs."

+2
source

All Articles