|Configure PartStack to be displayed minimized [message #990895]
||Fri, 14 December 2012 17:25
| Benno Luthiger
Registered: December 2012
I'd like to display a PartStack component minimized at startup.|
Consulting the lifeeditor I noticed that a minimized PartStack is tagged "Minimized" and has it's visibility set to false.
However, if I configure my PartStack control this way, instead of displayed minimized it isn't visible at all.
I tried to produce the desired state programmatically. I first tried it in my lifecycle classe's @ProcessAdditions method using the EModelService:
MUIElement partStack = modelService.find("my.part.stack", application);
However, this has in exactly the same outcome as the model configuration.
As workaround, I succeeded to produce the desired state using a child element's @PostConstruct method.
I think this behavior far from intuitive. In addition, I see the following error in my console:
java.lang.IllegalStateException: Application does not have an active window
Is there a clean way to display a PartStack minimized a startup?
(I guess, this my post addresses the same issue as http://www.eclipse.org/forums/index.php/m/784379/?srch=partstack+minimized#msg_784379)
Powered by FUDForum
. Page generated in 0.18799 seconds