Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » persist or retain view state (persist or retain view state )
persist or retain view state [message #1263651] Tue, 04 March 2014 17:10
manu m is currently offline manu mFriend
Messages: 19
Registered: February 2014
Junior Member
I use savestate method to persist view when closed. Ie init (site,memento).the view is restored when I call user defined method from create part control. Which access the memento and restore the tree view. Now I close and reopen the view, again the view is restored to the state it was previously closed. I don't want this othis happen. Once the view is restored and then for subsequent close and open it should not restore from memento. The problem is whenever the init method is called the memento is always there and it always tries to restore from memento.the view must be restored only once.I don't want to use static variable or session variable to remember whether it has restored. Once view is restored on further close and reopen of view it should go for default implementation.
Previous Topic:(eclipse rcp 3.x) No view-elements displayed when launching via .product
Next Topic:Eclipse p2 updates for RCP
Goto Forum:

Current Time: Fri May 25 11:09:05 GMT 2018

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

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

Back to the top