Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Sapphire » Refreshing a FunctionResult
Refreshing a FunctionResult [message #819190] Mon, 12 March 2012 15:59 Go to next message
Roded Bahat is currently offline Roded BahatFriend
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 16:29 Go to previous messageGo to next message
Konstantin Komissarchik is currently offline Konstantin KomissarchikFriend
Messages: 1077
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 16:48 Go to previous messageGo to next message
Roded Bahat is currently offline Roded BahatFriend
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 17:15 Go to previous message
Konstantin Komissarchik is currently offline Konstantin KomissarchikFriend
Messages: 1077
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: Fri Apr 26 02:20:15 GMT 2024

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

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

Back to the top