org.eclipse.emf.databinding
Class EMFUpdateValueStrategy
java.lang.Object
org.eclipse.core.databinding.UpdateValueStrategy
org.eclipse.emf.databinding.EMFUpdateValueStrategy
public class EMFUpdateValueStrategy
- extends UpdateValueStrategy
PROVISIONAL: This API is subject to arbitrary change, including renaming or removal.
Method Summary |
protected void |
checkAssignable(java.lang.Object arg0,
java.lang.Object arg1,
java.lang.String arg2)
|
protected IConverter |
createConverter(java.lang.Object fromType,
java.lang.Object toType)
|
protected java.lang.Boolean |
isAssignableFromTo(java.lang.Object arg0,
java.lang.Object arg1)
|
Methods inherited from class org.eclipse.core.databinding.UpdateValueStrategy |
convert, createValidator, doSet, fillDefaults, getUpdatePolicy, setAfterConvertValidator, setAfterGetValidator, setBeforeSetValidator, setConverter, validateAfterConvert, validateAfterGet, validateBeforeSet |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EMFUpdateValueStrategy
public EMFUpdateValueStrategy()
- A value update strategy with default update policy
UpdateListStrategy.POLICY_UPDATE
and default converters and
validators
EMFUpdateValueStrategy
public EMFUpdateValueStrategy(int updatePolicy)
- A value strategy with a specific update policy but with default
converters and validators
- Parameters:
updatePolicy
- the policy
EMFUpdateValueStrategy
public EMFUpdateValueStrategy(boolean provideDefaults,
int updatePolicy)
- A value strategy with a specific update policy and with the
possibility to turn of default converters and validators
- Parameters:
provideDefaults
- false
to turn of default converters and
validatorsupdatePolicy
- the policy
createConverter
protected IConverter createConverter(java.lang.Object fromType,
java.lang.Object toType)
checkAssignable
protected final void checkAssignable(java.lang.Object arg0,
java.lang.Object arg1,
java.lang.String arg2)
isAssignableFromTo
protected java.lang.Boolean isAssignableFromTo(java.lang.Object arg0,
java.lang.Object arg1)