Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-ui-dev] View persistance during a session


Jared,

Please enter a feature request in Bugzilla for this.
Note that it's unclear that you'd actually want it to restore the content if you opened the same view in a different window.

Thanks,
Nick



Jared Burns <jared-eclipse@xxxxxxxxx>
Sent by: platform-ui-dev-admin@xxxxxxxxxxx

05/06/03 02:55 PM
Please respond to platform-ui-dev

       
        To:        platform-ui-dev@xxxxxxxxxxx
        cc:        
        Subject:        [platform-ui-dev] View persistance during a session



Hola.

View contents are only persisted during shutdown. For views without a model
underneath them (e.g. Ant view, Display view), this means that the view
contents are lost when you close and reopen the view in the same session. If
a client wants to save the state of the view when it's closed, they have to
either hold the view's contents in memory (wasteful) or write a competing
mechanism for storing the contents on disk (their own memento).

Is there any chance that the view lifecycle could be extended to include
modelless views? Possibly something like IModellessViewPart that extends
IViewPart and adds a save(IMemento) and init(IMemento) method for when the
view is closed and reopened at times between startup and shutdown?

Thanks,
- Jared
_______________________________________________
platform-ui-dev mailing list
platform-ui-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/platform-ui-dev



Back to the top