Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » PartSashContainer: cascading delete
PartSashContainer: cascading delete [message #814489] Tue, 06 March 2012 09:09
Laura V is currently offline Laura V
Messages: 32
Registered: March 2012
Member
I have the following structure
2 PartSashContainer, one left and one right

in the left PartSashContainer I have 2 stacks (one up, one down)
in the one down I have a closeable part.

The problem is: when I click on the X and close the part, all the containing stuff gets deleted: the stack around it and even the PartSashContainer left!!

I have to be able to restore the part clicking on a menu entry, but that means recreating almost the whole structure of the application dynamically and it's really annoying...
I saw in this not-yet solved bug 355763 that it's not yet possible to define a stack as "not deleteble from the model"
Is it possible to define this at least on a PartSashContainer?
I tried to add the tag NoClose to the PartSashContainer, but no result.
Or am I using simply the wrong containers for this type of situation?
Thanks

Laura
Previous Topic:Event handler not called (button)
Next Topic:Headless Build with Tycho
Goto Forum:
  


Current Time: Sat Apr 19 06:08:55 EDT 2014

Powered by FUDForum. Page generated in 0.01650 seconds