[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.rcp] Re: Close button and icon on tab view

Thank you Paul for replying.

Yes I would like to say in the same stack. So it is impossible to display icon for each view !

Ok thanks for the "presentation" pointer.



Paul Webster wrote:

Eyecanseeyou wrote:
Hello,

I did not find in this newsgroup how to display icon on all my views (active and inactives). In the default configuration only the active view display its icon.

Uh, that doesn't make sense ... If i have the Outline view at the side and the Search view at the bottom, both views have their icons visible.

Or do you mean if your views are all in one stack, how could you see the icons for the view at the top of the stack and the view at the bottom of the stack? (short answer, you can't).


Moreover how to hide the close button on the tab view ?

You'd need to write your own presentation (ex: eclipse defaults to the "3.0" presentation but there's a 2.1 presentation available as well). There are a couple of examples in CVS under org.eclipse.ui.examples.presentation.

It's the 3.0 presentation that put's the close "X" and close menu item on view tabs.

Later,
PW