Skip to main content



      Home
Home » Eclipse Projects » Rich Client Platform (RCP) » PropertTester
PropertTester [message #480720] Tue, 18 August 2009 06:09 Go to next message
Eclipse UserFriend
Why Property tester Expression Node does not resolve actual value while
expression runs.

in complex environment, that's not easy to determine point when property
changes.

For example: in word processor, bold state of current text selection.
in this case, we have to call requestEvaluation so many times to use
menu contribution.
Re: PropertTester [message #480830 is a reply to message #480720] Tue, 18 August 2009 11:45 Go to previous messageGo to next message
Eclipse UserFriend
The property tester does resolve its value every time the expression is run. Do you mean why do you have to call requestEvaluation(*) when you know your property has changed? Because in any event driven system, something has to create and feed the events into the system.

When using an AbstractSourceProvider to provide a variable (for use with "with" elements) to the evaluation service, the ASP fires events into the system (basically hooking up the client eventing mechanism to the system). When you use a property tester/property, you must hook up your known eventing mechanism to the system.

PW
Thanks! (no contents) [message #480932 is a reply to message #480830] Tue, 18 August 2009 21:39 Go to previous messageGo to next message
Eclipse UserFriend
I told you.
Re: Thanks! (no contents) [message #481036 is a reply to message #480932] Wed, 19 August 2009 08:07 Go to previous messageGo to next message
Eclipse UserFriend
"I told you" what, exactly?

You started your post with: "Why Property tester Expression ..." a question. My post was answering your question. So what did you tell me? That you noticed the same thing in your example? Yes, true, but you asked why ... hence my post.

PW
Re: Thanks! (no contents) [message #481180 is a reply to message #481036] Wed, 19 August 2009 21:06 Go to previous messageGo to next message
Eclipse UserFriend
ooops, "I told you" just means "no contents" in subject.

I told you "no content" in subject because I don't want someone try to
click that post to read, To prevent wasting their time. In Korea, that's
general expression.

I'm sorry if it made you feel bad.


Paul Webster wrote:
> "I told you" what, exactly?
>
> You started your post with: "Why Property tester Expression ..." a
> question. My post was answering your question. So what did you tell
> me? That you noticed the same thing in your example? Yes, true, but
> you asked why ... hence my post.
>
> PW
>
Re: Thanks! (no contents) [message #481599 is a reply to message #481180] Fri, 21 August 2009 13:25 Go to previous message
Eclipse UserFriend
Jiyul wrote on Wed, 19 August 2009 21:06
ooops, "I told you" just means "no contents" in subject.

[...snip...]

I'm sorry if it made you feel bad.



Don't worry, I'm good Smile

Thank you for the clarification, it makes sense now.

PW
Previous Topic:Load Jar from system variable
Next Topic:Blocking command execution (wainting for results)
Goto Forum:
  


Current Time: Sun Aug 31 03:34:58 EDT 2025

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

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

Back to the top