Skip to main content

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:Reuse of Menu Elements / MenuContributions
Next Topic:How to refresh/ redraw MPart
Goto Forum:

Current Time: Fri Feb 21 17:00:40 GMT 2020

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

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

Back to the top