[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.rcp] Re: Is it possible to open 2 editors in different tab groups ?

Bob Foster wrote:
Is it possible to get those tabs off the stack (leaving just the drop-down list)?

Bob Foster


I know in 3.1 there's a preference in General > Editors called "Show multiple editor tabs". Uncheck that and the tabs disappear, and the only way to get at your other editors is through the show-list.


Is this what you are asking?

I found code that controls single or multiple tabs in org.eclipse.ui.internal.presentations.defaultpresentation.DefaultTabFolder.

This could probably be triggered by setting IPreferenceConstants.SHOW_MULTIPLE_EDITOR_TABS to false in the Workbench Preferences. Check out org.eclipse.ui.presentations.WorkbenchPresentationFactory, there must be a publicly available way to do this.


Later, Paul