Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Durable folder
Durable folder [message #668615] Fri, 06 May 2011 12:09 Go to next message
Marco Maccaferri is currently offline Marco Maccaferri
Messages: 132
Registered: July 2009
Senior Member
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 09:00 Go to previous message
Marco Maccaferri is currently offline Marco Maccaferri
Messages: 132
Registered: July 2009
Senior Member
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.
Previous Topic:Command: hook in before OpenWorkspaceAction is called
Next Topic:Tabbed Properties View always shows "Properties are not available"
Goto Forum:
  


Current Time: Fri Oct 31 05:56:05 GMT 2014

Powered by FUDForum. Page generated in 0.03485 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software