Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Sapphire » Refreshing a FunctionResult
Refreshing a FunctionResult [message #819190] Mon, 12 March 2012 11:59 Go to next message
Roded Bahat is currently offline Roded Bahat
Messages: 152
Registered: August 2011
Senior Member
Hi,
Is there any acceptable method of refreshing a FunctionResult via a listener?
Thanks
Re: Refreshing a FunctionResult [message #819214 is a reply to message #819190] Mon, 12 March 2012 12:29 Go to previous messageGo to next message
Konstantin Komissarchik is currently offline Konstantin Komissarchik
Messages: 790
Registered: July 2009
Senior Member
If you know inputs to your function have changed (you've detected this condition via a listener), you should call refresh() method on the FunctionResult object. It's protected method as you are expected to do listening/refreshing from within your FunctionResult implementation.

Was this what you were asking?

- Konstantin
Re: Refreshing a FunctionResult [message #819228 is a reply to message #819214] Mon, 12 March 2012 12:48 Go to previous messageGo to next message
Roded Bahat is currently offline Roded Bahat
Messages: 152
Registered: August 2011
Senior Member
Yes, precisely, thanks.
Hasty post.. it seems you already answered this question for me in a different post.
Re: Refreshing a FunctionResult [message #819250 is a reply to message #819228] Mon, 12 March 2012 13:15 Go to previous message
Konstantin Komissarchik is currently offline Konstantin Komissarchik
Messages: 790
Registered: July 2009
Senior Member
No problem. Glad to help.
Previous Topic:disabling the formatting of values from a ValueLabelService
Next Topic:Reading nodes' labels using Sapphire Expression Language
Goto Forum:
  


Current Time: Tue Jun 18 02:00:20 EDT 2013

Powered by FUDForum. Page generated in 0.02063 seconds