Durable folder [message #668615] |
Fri, 06 May 2011 08:09  |
Eclipse User |
|
|
|
Hi.
Can someone explain exactly what's the purpouse of a durable folder
layout ? I mean when WorkbenchWindowAdvisor.isDurableFolder returns true
for a certain perspective/folder id combination, what should I expect to
see on the UI ?
I tried to use that method in the hope that a view stack folder remains
visible even when empty, but that doesn't seems to be the meaning of
that flag despite the javadoc description.
|
|
|
Re: Durable folder [message #669713 is a reply to message #668615] |
Wed, 11 May 2011 05:00  |
Eclipse User |
|
|
|
On 06/05/2011 14:09 Marco Maccaferri ha scritto:
> Can someone explain exactly what's the purpouse of a durable folder
> layout ? I mean when WorkbenchWindowAdvisor.isDurableFolder returns true
> for a certain perspective/folder id combination, what should I expect to
> see on the UI ?
>
> I tried to use that method in the hope that a view stack folder remains
> visible even when empty, but that doesn't seems to be the meaning of
> that flag despite the javadoc description.
FYI, the durable flag works as described but only when the perspective
is reset or created for the first time. After a restart the flag is
lost, I have opened a bug for it:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=345050
I would like to write a patch to fix it, I managed to save and restore
the flag settings, however at startup, if the folder is empty it is
still invisible.
Can someone give me a hint about where the code makes the folders
visible/invisible at startup ?
Regards,
Marco.
|
|
|
Powered by
FUDForum. Page generated in 0.04454 seconds