|
|
Re: Phantom sticky shells [message #665197 is a reply to message #665123] |
Wed, 13 April 2011 15:45 |
David Pérez Messages: 228 Registered: July 2009 |
Senior Member |
|
|
Thanks Paul, you're right, it's better to fix the mess before saving, than in the restore phase.
Empirically, I've discovered that there is only on IWorkbenchPage that contains all views of the current perspective, even floating views.
In this way I can close all non-restorable views of the CURRENT perspective.
But what about the other perspectives?
I promise to publish a working code to fix this (it could even be be used to patch Eclipse, as I consider this a bug).
David
Paul Webster wrote on Wed, 13 April 2011 07:19 | On 04/12/2011 12:10 PM, David Pérez wrote:
> I open some views as a floating (detached) view.
> So, it has its own shell.
Your best bet is to close those non-persistent views in your RCP app
workbench advisor preShutdown() method.
PW
[/url]
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03013 seconds