Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » [CommonNavigator] save selection in a memento?
[CommonNavigator] save selection in a memento? [message #336919] Mon, 13 July 2009 16:21 Go to next message
Eclipse UserFriend
Originally posted by: aczerwonka.3esi.com

What's the strategy I would employ to bring back my Navigator with selection
from the previous session? I'm thinking that I need to delegate to each
content provider somehow, but as we know all content providers are
declarative. Given that this is probably a pedestrian case for the Common
Navigator, is there API for this somewhere?

--
Andy Czerwonka
Re: [CommonNavigator] save selection in a memento? [message #336920 is a reply to message #336919] Mon, 13 July 2009 16:47 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: aczerwonka.3esi.com

I found an interface, IMementoAware that seen to get called if the declared
content providers implement it. That may do the trick as long as I can set
the selection.

"Andy Czerwonka" <aczerwonka@3esi.com> wrote in message
news:h3g50g$n73$1@build.eclipse.org...
> What's the strategy I would employ to bring back my Navigator with
> selection from the previous session? I'm thinking that I need to delegate
> to each content provider somehow, but as we know all content providers are
> declarative. Given that this is probably a pedestrian case for the Common
> Navigator, is there API for this somewhere?
>
> --
> Andy Czerwonka
>
>
Re: [CommonNavigator] save selection in a memento? [message #336923 is a reply to message #336919] Tue, 14 July 2009 06:36 Go to previous message
Eclipse UserFriend
Andy Czerwonka wrote:
> What's the strategy I would employ to bring back my Navigator with selection
> from the previous session?
In general this is not done due to performance reasons as showing the
selection might expand and hence load the model(s).

Dani
> I'm thinking that I need to delegate to each
> content provider somehow, but as we know all content providers are
> declarative. Given that this is probably a pedestrian case for the Common
> Navigator, is there API for this somewhere?
>
>
Previous Topic:newbie: display a form
Next Topic:Problem view grouped by type by default
Goto Forum:
  


Current Time: Wed Apr 16 08:46:33 EDT 2025

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

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

Back to the top