Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Define perspective from a saved perspective
Define perspective from a saved perspective [message #527427] Thu, 15 April 2010 08:55
Dirk Hoffmann is currently offline Dirk HoffmannFriend
Messages: 163
Registered: July 2009
Senior Member

as a user you may customize a perspective in terms of Shortcuts,
Commands which views are visible and how they are layed out on the
workbench window. Then they can save the perspective under some name.

So this was how a user can define his/her own perspective.

As a developer you define a perspective

a) programmatically by implementing the IPerspectiveFactory interface

b) or by editing the plugin.xml file. In the latter case you need to
extend the org.eclipse.ui.perspectiveExtensions extension point

So the question is:
Is there a way for the programmer to take advantage of the fact that a
perspective can be saved somehow. I imagine to just export some XML file
from the saved perspective and tell my application or product to use
this for the default perspective.

Any ideas/pointers on that?

Thanks and Regards,
Previous Topic:How to share plugins between several applications?
Next Topic:Toolbar pulldown "toggles" contribution
Goto Forum:

Current Time: Tue Jun 19 12:57:08 GMT 2018

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

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

Back to the top