Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » expression-based activities and perspective(not starting of perspectives during startup)
expression-based activities and perspective [message #742334] Thu, 20 October 2011 12:02
Marcus Kalthoff is currently offline Marcus KalthoffFriend
Messages: 5
Registered: October 2011
Junior Member
I have understood, that expression-based activities are not meant for actually closing an already open UI Element: especially a perspective or an editor.

We have a business case, were the enablement of a perspective is determined during startup (it depends on being "online" or "offline"). I thougt of using an expression-based activity for that case, but if the perspective is regularly opened in the last session, it will be shown after the next startup, regardless of the activity enablement. The funny thing is, that the "disabled" perspective is not in the "getPerspectiveRegistry()" of the worbench, but it is in the "getWorkbenchWindows().getPages().getOpenPerspectives()".

Is there a way to tell the workbench "Do not restore a disabled perspective"?
Previous Topic:[SOLVED] Which book to buy?
Next Topic:Customize New File Wizard
Goto Forum:

Current Time: Sat Jun 23 04:39:55 GMT 2018

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

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

Back to the top