Class CommonAttributeAutoUsePropertyStateModel
- java.lang.Object
-
- com._1c.g5.aef2.validators.Validable
-
- com._1c.g5.aef2.models.Model
-
- com._1c.g5.aef2.models.EditableModel
-
- com._1c.g5.aef2.models.value.Value<T>
-
- com._1c.g5.v8.dt.aef2.bm.models.BmValue<MdPropertyState>
-
- com._1c.g5.v8.dt.md.ui.extension.aef.models.PropertyStateModel
-
- com._1c.g5.v8.dt.md.ui.extension.aef.models.CommonAttributeAutoUsePropertyStateModel
-
- All Implemented Interfaces:
IAttribute<IBmObject,org.eclipse.emf.ecore.EStructuralFeature>
,IEditableModel
,IEmfAttribute<IBmObject>
,IModel
,IEmfValueAttribute<MdPropertyState,IBmObject>
,IValue<MdPropertyState>
,IValidable
,IModelApiAwareModel
public class CommonAttributeAutoUsePropertyStateModel extends PropertyStateModel
CustomPropertyStateModel
implementation forCommonAttributeAutoUse
property
-
-
Constructor Summary
Constructors Constructor Description CommonAttributeAutoUsePropertyStateModel(org.eclipse.emf.ecore.EObject object, org.eclipse.emf.ecore.EStructuralFeature feature, IMdAdoptedPropertyAccess mdAdoptedPropertyAccess, IMdAdoptedPropertyNotifier mdAdoptedPropertyNotifier, IModelObjectAdopter modelObjectAdopter)
Constructor ofCommonAttributeAutoUsePropertyStateModel
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
unsetValue(org.eclipse.emf.ecore.EObject object, org.eclipse.emf.ecore.EStructuralFeature feature)
Set default value to given object in specified feature-
Methods inherited from class com._1c.g5.v8.dt.md.ui.extension.aef.models.PropertyStateModel
dispose, getObjectValue, processBmValueChange, setObjectValue, shouldSetSourceValue, shouldUnsetValue
-
Methods inherited from class com._1c.g5.v8.dt.aef2.bm.models.BmValue
adapt, createTask, getChange, getModelApi, getObject, getProperty, setModelApi
-
Methods inherited from class com._1c.g5.aef2.models.value.Value
addValueListener, createWorkingCopy, discard, get, getCommittedValue, getUncommittedValue, getValidatorTarget, isEqual, notifyValueChanged, queueNotifyValueChanged, removeValueListener, set, setCommittedValue, setUncommittedValue, setValue, toString
-
Methods inherited from class com._1c.g5.aef2.models.EditableModel
isEditable, setEditable
-
Methods inherited from class com._1c.g5.aef2.models.Model
addModelListener, beginExternalUpdate, checkOffline, checkOnline, commit, endExternalUpdate, getComponent, getCurrentChangeOrigin, getRunnableQueue, isOnline, notifyModelChanged, notifyModelCommitted, removeModelListener, setComponent, setOnline
-
Methods inherited from class com._1c.g5.aef2.validators.Validable
addValidator, removeValidator, validate, validate
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com._1c.g5.aef2.models.IModel
addModelListener, commit, discard, getComponent, isOnline, removeModelListener, setComponent
-
Methods inherited from interface com._1c.g5.aef2.validators.IValidable
addValidator, removeValidator, validate, validate
-
Methods inherited from interface com._1c.g5.aef2.models.value.IValue
addValueListener, createWorkingCopy, get, isEqual, removeValueListener, set
-
-
-
-
Constructor Detail
-
CommonAttributeAutoUsePropertyStateModel
public CommonAttributeAutoUsePropertyStateModel(org.eclipse.emf.ecore.EObject object, org.eclipse.emf.ecore.EStructuralFeature feature, IMdAdoptedPropertyAccess mdAdoptedPropertyAccess, IMdAdoptedPropertyNotifier mdAdoptedPropertyNotifier, IModelObjectAdopter modelObjectAdopter)
Constructor ofCommonAttributeAutoUsePropertyStateModel
.- Parameters:
object
- the object, cannot benull
feature
- the object feature, cannot benull
mdAdoptedPropertyAccess
- the metadata adopted property access, cannot benull
mdAdoptedPropertyNotifier
- the metadata adopted property notifier, cannot benull
modelObjectAdopter
- the model object adopter, cannot benull
-
-
Method Detail
-
unsetValue
protected void unsetValue(org.eclipse.emf.ecore.EObject object, org.eclipse.emf.ecore.EStructuralFeature feature)
Description copied from class:PropertyStateModel
Set default value to given object in specified feature- Overrides:
unsetValue
in classPropertyStateModel
- Parameters:
object
- the object to set new value, cannot benull
.feature
- the feture to set, cannot benull
.
-
-