Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » RCP and perspectives problem
RCP and perspectives problem [message #210933] Sat, 13 March 2004 21:28
Eclipse UserFriend
Originally posted by: martin.javahispano.org

Hi friends.

I'm having a very annoying problem with Eclipse and perspectives in an
Rich Client Platform application. Probably the reason is the fault of
documentation so forgive me if the solution it's very obvious.

The problem is that I'm not able to remember perspectives between RCP
application execution. I have a program with two perspectives. When the
program start, the default perspective appears. Then I load the second
perspective and exit the program. Finally when I restart the application
only the default perspective is loaded.

I'm using the method setSaveAndRestore(true) . This seems to allow save of
perspective state (views for example) but doesn't serve to save the
different opened perspectives.

Do you know any solution ?

Note : I don't override getDefaultWindowInput() from WorkbenchAdvisor
class. I think that this can be the reason of not saving perspectives,
because when Eclipse base tries execute saveState method, input object is
null and so the process returns with a "cannot save input ..." message.
The problem is that I don't know whtat to return from
getDefaultWindowInput method.

Thanks for your help !

Martin.
Previous Topic:Context Menus in Editor
Next Topic:Tomcat not starting from Eclipse - Error - main class not found
Goto Forum:
  


Current Time: Sat Aug 17 11:34:06 GMT 2024

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

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

Back to the top