Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

RCP: Passing data to workbench/ Saving workbench data

Michael Imhof
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Passing data to new workbench
I'm developing an RCP application using different workbench windows using

new OpenInNewWindowAction(workbenchWindow).run();

With this call, I get a new workbench window with default content (set
in my WorkbenchWindowAdvisor.preWindowOpen())
But i want to customize the content of this new workbench!!!

How can I send any data to the new workbench???
Is there a construct in the RCP framework??

Saving workbench data
Closing the application and open again is working fine for the number of
windows and the window positions. But if I had Data A in the first workbench
window and Data B in the second workbench window, after restart this data is lost (of course!).

How can I save/restore workbench specific data?

Both problems are solved with eclipse IDE (if your open a new perspective outside of the current perspective and close the application, all the settings are restored when reopened).

  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic