Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Need help Exporting Perspective (saving opening etc)(Programatically do the things eclipse does in window->Save/open)
Need help Exporting Perspective (saving opening etc) [message #484252] Fri, 04 September 2009 19:28
No real name is currently offline No real nameFriend
Messages: 1
Registered: September 2009
Junior Member
Hey, I am creating an eclipse rcp 3.4 program which upon startup we contact a server (during the eclipse splashhandler login). At this time I was hoping to get back a string to represent an eclipse perspective like from org.eclipse.ui.workbench.prefs

trytry_persp=<?xml version\="1.0" encoding\="UTF-8"?>\r\n<perspective editorAreaTrimState\="2" editorAreaVisible\="1" fixed\="0" version\="0.016">\r\n<descriptor descriptor\="org.eclipse.pde.ui.PDEPerspective"
...

So basically I want to open a perspective based from that string, just like eclipse is saving it in its own preference. In addition, when I want to save a perspective, I want to send an equivelent xml string of the perspective like from the prefs, but I don't know how to generate that string and the prefs don't seem to save on disk until the workspace is saved on closing the rcp program.


-- Shagoto Nandi
Previous Topic:How to change property of action defined in plugin.xml in other components?
Next Topic:[jface.databinding] empty-selection state not supported by SingleSelectionObservableValue?
Goto Forum:
  


Current Time: Wed Feb 05 05:56:33 GMT 2025

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

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

Back to the top