Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Save Perspective As..
Save Perspective As.. [message #465494] Fri, 30 March 2007 08:41 Go to next message
Himansu Sekhar Swain is currently offline Himansu Sekhar SwainFriend
Messages: 22
Registered: July 2009
Junior Member
Hi All,

I ve a perspective with only view having treeviewer. When I am
dragging nodes from tree and dropping in the perspective's editor area,
views are created in stack. Then I am dragging thoes views to place in
different position to make thoes view's content visible in that
perspective.

Problems :
How to save that perspective in database and again opening in the
workbench, using my own dialog.

(Required :
I have created my own dialog for saving and opening perspective.
I am not using the eclipse's Save perspective As.. dialog or Open
perspective dialog of windows menu.)
Re: Save Perspective As.. [message #465508 is a reply to message #465494] Fri, 30 March 2007 14:51 Go to previous message
Paul E. Keyser is currently offline Paul E. KeyserFriend
Messages: 878
Registered: July 2009
Senior Member
Just guessing -- if you have a Dialog, you have a pointer to a window, and thus you could try using
<code>ActionFactory.SAVE_PERSPECTIVE.create(window)</code> to make the action, and then run that
action (when the user presses "Finish" or "OK" or whatever you have in your dialog). The module
ActionFactory is in org.eclipse.ui.actions, btw.

HTH,
Paul
Previous Topic:How to use my own Extension point as Extension by other plugin?
Next Topic:Changing the "property" and "value" headings in the property view
Goto Forum:
  


Current Time: Fri Apr 26 15:05:46 GMT 2024

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

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

Back to the top