[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
|
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.
@@@@
Sebastian
********************************************************************************
-Rene-
"Daniel Krügler" <dsp@xxxxxxx> schrieb im Newsbeitrag
news:ck0uls$4c8$1@xxxxxxxxxxxxxx
> Hello,
>
> I have an RCP with editors and my perspective factory
> sets the initial layout via
>
> layout.setEditorAreaVisible(false);
>
> to prevent the editor area to be visible initially.
> Now consider the situation that you open editors and
> close them again. After the final editor closure the
> editor area is still visible. How can I realize that
> the editor area disappears after the last editor has closed?
>
> Thank you very much in advance,
>
> Daniel Krügler
>