Package com._1c.g5.v8.dt.ui.aef.models
Class EmfUnsettablePropertyFieldModel<T>
- 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.aef2.emf.models.EmfValue<T>
-
- com._1c.g5.v8.dt.ui.aef.models.EmfUnsettablePropertyFieldModel<T>
-
- All Implemented Interfaces:
IAttribute<org.eclipse.emf.ecore.EObject,org.eclipse.emf.ecore.EStructuralFeature>
,IEditableModel
,IEmfAttribute<org.eclipse.emf.ecore.EObject>
,IModel
,IEmfValueAttribute<T,org.eclipse.emf.ecore.EObject>
,IValue<T>
,IValidable
,IUnsettablePropertyFieldModel<T,org.eclipse.emf.ecore.EObject>
public class EmfUnsettablePropertyFieldModel<T> extends EmfValue<T> implements IUnsettablePropertyFieldModel<T,org.eclipse.emf.ecore.EObject>
Emf model for unsettable property field.
-
-
Constructor Summary
Constructors Constructor Description EmfUnsettablePropertyFieldModel(org.eclipse.emf.ecore.EObject object, org.eclipse.emf.ecore.EStructuralFeature feature)
Constructor ofEmfUnsettablePropertyFieldModel
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
dispose()
Disposes this model.IValue<Boolean>
getSetStateModel()
Returns the set state model.boolean
isSetStateEditable()
Checks is set state model enable.-
Methods inherited from class com._1c.g5.aef2.emf.models.EmfValue
getChange, getObject, getProperty
-
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.IAttribute
getProperty
-
Methods inherited from interface com._1c.g5.aef2.models.IEditableModel
isEditable, setEditable
-
Methods inherited from interface com._1c.g5.aef2.models.IModel
addModelListener, commit, discard, getChange, getComponent, isOnline, removeModelListener, setComponent
-
Methods inherited from interface com._1c.g5.v8.dt.ui.aef.component.IUnsettablePropertyFieldModel
getObject
-
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
-
EmfUnsettablePropertyFieldModel
public EmfUnsettablePropertyFieldModel(org.eclipse.emf.ecore.EObject object, org.eclipse.emf.ecore.EStructuralFeature feature)
Constructor ofEmfUnsettablePropertyFieldModel
.- Parameters:
object
- the object, cannot benull
feature
- the object feature, cannot benull
-
-
Method Detail
-
dispose
public void dispose()
Description copied from interface:IModel
Disposes this model.
-
getSetStateModel
public IValue<Boolean> getSetStateModel()
Description copied from interface:IUnsettablePropertyFieldModel
Returns the set state model.- Specified by:
getSetStateModel
in interfaceIUnsettablePropertyFieldModel<T,org.eclipse.emf.ecore.EObject>
- Returns:
- the set state model, cannot be
null
-
isSetStateEditable
public boolean isSetStateEditable()
Description copied from interface:IUnsettablePropertyFieldModel
Checks is set state model enable.- Specified by:
isSetStateEditable
in interfaceIUnsettablePropertyFieldModel<T,org.eclipse.emf.ecore.EObject>
- Returns:
true
if enable.
-
-