[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.rcp] Re: Removing editor area after perspective creation

Hello Sebastian,

Teichgraf schrieb:
In a previous post ("How to programmatically close all visible EditorViews?") I asked a similar think and Sebastian Davids replied the following:


******************************************************************************** Use

IWorkbench#getActiveWorkbenchWindow()
-> IWorkbenchWindow#getActivePage()
-> IWorkbenchPage#closeAllEditors(boolean)

to close all editors.


Yes, that is right, but it does not answer by actual question ;-) (At least I assume so).

The behaviour I want to realize is that the **editor area** is removed,
if the last editor is closed. Manually closing of all editors does not
remove the editor area, although I specified it as initially invisible
in my perspective factory.

Thanks for your input,

Daniel