Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » [commands] notify about property changes
[commands] notify about property changes [message #481146] Wed, 19 August 2009 18:22 Go to next message
Will Horn is currently offline Will HornFriend
Messages: 265
Registered: July 2009
Senior Member
Is there a way to notify the framework when a PropertyTester's property has
changed? In my particular case, I have a handler with an enabledWhen that
references the property:

I'd like to refresh the enablement state as soon as the property value
changes. Right now, I have to refocus the view for the PropertyTester to be
invoked again.

Re: [commands] notify about property changes [message #481148 is a reply to message #481146] Wed, 19 August 2009 18:50 Go to previous message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

You need (String)

This will update evaluations for things like visibleWhen, enabledWhen, and activeWhen.


Previous Topic:Re: How to open URL contents in editor.
Next Topic:Command appearing enabled when editPart not in focus
Goto Forum:

Current Time: Thu May 24 00:31:52 GMT 2018

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

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

Back to the top