Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » How to set start perspective
How to set start perspective [message #1173247] Wed, 06 November 2013 11:42 Go to next message
Thomas Wilhelm is currently offline Thomas WilhelmFriend
Messages: 28
Registered: September 2013
Junior Member
Hey all,

I have a simple question: How can i define the starting or default perspective in e4?

I defined a perspective stack in my applicatione4xmi, but of course i cannot choose a "selected element" because the application.e4xmi does not know about any of my contributed perspectives. In Eclipse 3.8 i set this programmatically during startup, how can i do that in e4? Or is there any other trick?

Thanks alot,

Re: How to set start perspective [message #1173540 is a reply to message #1173247] Wed, 06 November 2013 15:43 Go to previous message
Sopot Cela is currently offline Sopot CelaFriend
Messages: 597
Registered: December 2010
Senior Member

When the APP_STARTUP_COMPLETE event is published, get the perspective stack (etiher through EModelService#find) and set the selected element there.
Previous Topic:How can I implement 'not save and not close the part' behavior when dirty part will be closed?
Next Topic:InjectionException when attempting to send a map on event bus
Goto Forum:

Current Time: Thu Feb 22 23:01:43 GMT 2018

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

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