[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.platform.rcp] Need help Exporting Perspective (saving opening etc)
|
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