|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PropertyValue<T>
Determines whether a property value is true or false given an object.
This class is must be implemented by objectProperty extensions to teach the system new properties for objects.
You can compare this to the idea of "core expressions" introduced to the RCP platform in eclipse. This is something like a core expression that can only be a Boolean.
Method Summary | |
---|---|
void |
addListener(IOpFilterListener listener)
Adds a listener to listen for events indicating the value has changed. |
boolean |
canCacheResult()
Returns true if the results can be cached. |
boolean |
isBlocking()
Returns true if processing this filter may block when #accept(Object) is called. |
boolean |
isTrue(T object,
java.lang.String value)
Returns true if the value provided is a legal value for the object. |
void |
removeListener(IOpFilterListener listener)
Removes a listeners |
Method Detail |
---|
boolean isTrue(T object, java.lang.String value)
object
- the object that will be used to determine if the value is legalvalue
- an arbitrary string.
boolean canCacheResult()
addListener(IOpFilterListener)
method
boolean isBlocking()
#accept(Object)
is called.
#accept(Object)
is called.void addListener(IOpFilterListener listener)
listener
- listener to addvoid removeListener(IOpFilterListener listener)
listener
- listener to remove
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |