Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » E4 RCP Application - persist state
E4 RCP Application - persist state [message #1721255] Tue, 26 January 2016 08:26
Marcin Kokoszka is currently offline Marcin KokoszkaFriend
Messages: 4
Registered: January 2016
Junior Member
Hello,
regarding this topic I checked the whole forum. I think that I already tested all possible flags (clearPersistedState, persistState) with all possible configurations. I have to admit that I was not able to force my application to save its model state on exit and load it during startup automatically. Finally I used the IModelResourceHandler and handler.save() at the application ExitHandler. Is there any way to do it automatically? Removing the
clearPersistedState flag does not work. Adding the persistState flag also does not help. I use the Mars.1 Release (4.5.1).

Another question is, how to restart the E4 application. I found some tips (e.g. overriding the IApplication and creating E4Application object "manually") but nothing seems to work. I also found that there is a IWorkbench restart() function, but it closes the application as close() function. No restart.

Thank you in advance for any tips.
Marcin

[Updated on: Wed, 27 January 2016 11:28]

Report message to a moderator

Previous Topic:Eclipse causing glitch
Next Topic:Disappearing Error Dialog
Goto Forum:
  


Current Time: Thu Mar 28 07:55:46 GMT 2024

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

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

Back to the top