Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » IFolderLayout folder vanishes...
IFolderLayout folder vanishes... [message #413469] Thu, 03 March 2005 17:54 Go to next message
Axel Schlueter is currently offline Axel SchlueterFriend
Messages: 41
Registered: July 2009
Member
Hi,

I'm having a perspective with a standalone list view
on the left side and an IFolderLayout folder with a
placeholder for some detail views. On application startup
the perspective creates the left side view spanning
about one third of the area, the empty folder gets
displayed in the remaining part. This is what I would
expect.

While running the appliation some detail views open
in the folder, everything's fine. But if the last
detail view gets closed, I would expect the folder
to be displayed empty the same way it was displayed
on startup (like the editor area would stay visible
even if the last editor was closed). But it collapses,
the left side list view automatically gets larger and
spans the whole area. Any ideas how to prevent the
folder area from collapsing ? I tried to set the
layout to be fixed and the views not to be movable,
but that didn't help.

Regards,
Axel
Re: IFolderLayout folder vanishes... [message #460297 is a reply to message #413469] Tue, 19 December 2006 09:47 Go to previous messageGo to next message
Robert Reinhardt is currently offline Robert ReinhardtFriend
Messages: 7
Registered: July 2009
Junior Member
Hi,

I have exactly the same problem and wanted to ask if an solution came up
in the mean time for that problem?

My application has one standalone view on the left side that controlls
"details views" that are set to a IFolderLayout located on the right
side. If the last detail view is closed the standalone view from the
left side spans the whole area.
My application uses the "RCP Mail Template" example as code basis and
the general gui set up is similar to the mail template example.

Regards,
Robert

Axel Schlueter wrote:
> Hi,
>
> I'm having a perspective with a standalone list view
> on the left side and an IFolderLayout folder with a
> placeholder for some detail views. On application startup
> the perspective creates the left side view spanning
> about one third of the area, the empty folder gets
> displayed in the remaining part. This is what I would
> expect.
>
> While running the appliation some detail views open
> in the folder, everything's fine. But if the last
> detail view gets closed, I would expect the folder
> to be displayed empty the same way it was displayed
> on startup (like the editor area would stay visible
> even if the last editor was closed). But it collapses,
> the left side list view automatically gets larger and
> spans the whole area. Any ideas how to prevent the
> folder area from collapsing ? I tried to set the
> layout to be fixed and the views not to be movable,
> but that didn't help.
>
> Regards,
> Axel
>
> ------------------------------
> email scanned by Ikarus ContentWall
> filename: mailbody --> clean
> SCANMODULE: Ikarus vdb: 19.12.2006(68102) version: 0.2.65.0
> ------------------------------
>
Re: IFolderLayout folder vanishes... [message #460308 is a reply to message #460297] Tue, 19 December 2006 12:45 Go to previous messageGo to next message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

that's not a problem, it's a feature :-)

The Editor Area is the only folder that can hang around empty. All
other view stacks disappear when empty.

I'm actually not sure why it's displaying the original empty folder, but
I can see that it's inconsistent.

There must be an open bug in bugzilla to fix this behaviour.

Later,
PW


Re: IFolderLayout folder vanishes... [message #992300 is a reply to message #460308] Fri, 21 December 2012 10:10 Go to previous messageGo to next message
gaurav dubey is currently offline gaurav dubeyFriend
Messages: 45
Registered: July 2009
Member
In ApplicationworkbenchWindowAdvisor class, override method isDurableFolder and return true. Using this folder will never dispose, even all views displayed in folder get disposed.
Re: IFolderLayout folder vanishes... [message #992337 is a reply to message #992300] Fri, 21 December 2012 11:33 Go to previous message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
Problem with this API is that it does not survive a restore on the next
start up!

Tom

Am 21.12.12 11:10, schrieb gaurav dubey:
> In ApplicationworkbenchWindowAdvisor class, override method
> isDurableFolder and return true. Using this folder will never dispose,
> even all views displayed in folder get disposed.
>
Previous Topic:Export Eclipse RCP Application
Next Topic:Progress Service Not Working
Goto Forum:
  


Current Time: Thu Apr 25 10:18:46 GMT 2024

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

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

Back to the top