[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
|
- From: Daniel Krügler <dsp@xxxxxxx>
- Date: Thu, 07 Oct 2004 10:38:50 +0200
- Newsgroups: eclipse.platform.rcp
- Organization: EclipseCorner
- User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-DE; rv:1.4) Gecko/20030619 Netscape/7.1 (ax)
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