Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sapphire-dev] refresh 0.7 migration

Similarly to @DependsOn, property refresh is no longer effective at updating
the data maintained by services that extend from DataService. A service
implementation is responsible for listening on its dependencies and calling
the internal refresh method on the service.

- Konstantin


-----Original Message-----
From: sapphire-dev-bounces@xxxxxxxxxxx
[mailto:sapphire-dev-bounces@xxxxxxxxxxx] On Behalf Of Ling Hao
Sent: Friday, December 06, 2013 4:33 PM
To: Sapphire project
Subject: [sapphire-dev] refresh 0.7 migration

I'm in the process of migrating to Sapphire 0.7. I was using the deprecated
refresh(true/*force*/, true/*deep*/) and it appears there is no equivalent
migration. Found this in the migration doc: "The concepts of forcing a
refresh and deep refresh are no longer supported."  I suppose I can add a
listener in all of my default value providers, validators, enablement
services...etc.  But I'm hoping you suggest a better way?

Thanks!
_______________________________________________
sapphire-dev mailing list
sapphire-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/sapphire-dev



Back to the top