Curvy tabs in Eclipse RCP App
I am currently using Eclipse Helios Service Release 1. I am new to both the IDE and the开发者_开发问答 platform.
My question is, how do I get the same curvy tab on my app that of the IDE?
According to this thread and this blog post:
See "eclipse look&feel customization" for more.
All see this "java-tips":
To change the shape of the title of a view following line of code can be written in the
preWindowOpen()
method of theApplicationWorkbenchWindowAdvisor
.
PlatformUI.getPreferenceStore().setValue(IWorkbenchPreferenceConstants.SHOW_TRADITIONAL_STYLE_TABS, false);
Note that there might be an issue with long titles when there is many tabs:
See bug 322623:
"Editor tabs do not show ellipsis for long filenames when using new style tabs."
精彩评论