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 06:42 Go to next message
Thomas Wilhelm is currently offline Thomas Wilhelm
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,

Thomas
Re: How to set start perspective [message #1173540 is a reply to message #1173247] Wed, 06 November 2013 10:43 Go to previous message
Sopot Cela is currently offline Sopot Cela
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:Reuse of Menu Elements / MenuContributions
Next Topic:How to refresh/ redraw MPart
Goto Forum:
  


Current Time: Sat Aug 30 08:41:43 EDT 2014

Powered by FUDForum. Page generated in 0.04522 seconds