开发者

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":

Curvy tabs in Eclipse RCP App

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

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."

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜