Community
Participate
Working Groups
I'm uncertain because may this is already possible and I simply haven't found it. It would be nice if one can set some flag when creating the ITableFolderLayout to always display the Tab-Image. Actually it is vanishing if another View is focused.
Can you tell me what package ITableFolderLayout is in? I can't find it in our source or via a Google search.
pas de problem ;-) The Interface can be found: - org.eclipse.ui.IFolderLayout The Class implementing this Interface: - org.eclipse.ui.internal.FolderLayout The responsible to to show icons on focus lost time is: - org.eclipse.ui.presentations.WorkbenchPresentationFactory The code in question is: ----------------8<---------------------- public StackPresentation createViewPresentation(Composite parent, IStackPresentationSite site) { // ... folder.setUnselectedImageVisible(false); // ... } My idea is to add the following methods to IFolderLayout: - public void setUnselectedImageVisible(boolean unselectedImageVisible); - public boolean getUnselectedImageVisible(); And the it could be used like at the moment e.g.: setCloseable(), setMoveable()
(In reply to comment #1) > Can you tell me what package ITableFolderLayout is in? I can't find it in our > source or via a Google search. > sorry should be FolderLayout, corrected the title
It's currently the active presentation (org.eclipse.ui.presentations extension point) that gets to decide whether to show icons for inactive views or not. Are you requesting an overall change to the application look and feel, or do you really want per-folder control over this? The former could be addressed by using a different presentation, or adding a preference to the default presentation to show icons for inactive views.
I didn't know that this is possible how can I control with presentation is selected? I've started learning RCP by taking a look at the Mail-Example. How can I change the presentation to have one showing inactive icons. Nevertheless I think it would be nice to control whether icons should be shown when the tab is inactive would be a nice feature. At the moment you can also control whether e.g. the title is shown or not and you have not to change the presentation.
For more on the presentations mechanism, see: http://wiki.eclipse.org/index.php/RCP_FAQ#presentations
There are currently no plans to work on this feature. PW
Changes requested on bug 193523
The PresentationAPI has been deprecated with the Eclipse 4.x release and it has been replaced with the CSS engine. I therefore close this bugs as WONTFIX. In case your bug report is still valid for the Eclipse 4.4 release, please open a new bug report for it.