Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » [CommonNavigator] save selection in a memento?
[CommonNavigator] save selection in a memento? [message #336919] Mon, 13 July 2009 20: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 20: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 10:36 Go to previous message
Dani Megert is currently offline Dani MegertFriend
Messages: 3802
Registered: July 2009
Senior Member
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: Thu Apr 25 15:30:36 GMT 2024

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

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

Back to the top