Class Property.WithArguments<RECEIVER>
- java.lang.Object
-
- org.eclipse.net4j.util.properties.Property<RECEIVER>
-
- org.eclipse.net4j.util.properties.Property.WithArguments<RECEIVER>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.eclipse.net4j.util.properties.Property
Property.WithArguments<RECEIVER>
-
-
Constructor Summary
Constructors Constructor Description WithArguments(java.lang.String name)WithArguments(java.lang.String name, java.lang.String label, java.lang.String description)WithArguments(java.lang.String name, java.lang.String label, java.lang.String description, java.lang.String category)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected java.lang.Objecteval(RECEIVER receiver)Returns the receiver's value for this property, either aStringor a boxed primitive type.protected abstract java.lang.Objecteval(RECEIVER receiver, java.lang.Object[] args)booleantestValue(RECEIVER receiver, java.lang.Object[] args, java.lang.Object expectedValue)-
Methods inherited from class org.eclipse.net4j.util.properties.Property
getCategory, getDescription, getLabel, getName, getValue
-
-
-
-
Constructor Detail
-
WithArguments
public WithArguments(java.lang.String name, java.lang.String label, java.lang.String description, java.lang.String category)
-
WithArguments
public WithArguments(java.lang.String name, java.lang.String label, java.lang.String description)
-
WithArguments
public WithArguments(java.lang.String name)
-
-
Method Detail
-
testValue
public boolean testValue(RECEIVER receiver, java.lang.Object[] args, java.lang.Object expectedValue)
-
eval
protected final java.lang.Object eval(RECEIVER receiver)
Description copied from class:PropertyReturns the receiver's value for this property, either aStringor a boxed primitive type. Return values of all other types are converted withObject.toString()inProperty.eval(Object).
-
eval
protected abstract java.lang.Object eval(RECEIVER receiver, java.lang.Object[] args)
-
-