Interface IValueModel
-
- All Superinterfaces:
IModel
,IValidable
,IValue<Value>
- All Known Implementing Classes:
AddressingAttributeModel
,BmCharacteristicsDescriptionValueModel
,BmValueModel
,EmfCharacteristicsDescriptionValueModel
,EmfValueModel
,StandardObjectValueModel
,UnfilledParentValueModel
public interface IValueModel extends IValue<Value>
The AEF model for component that works withValue
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default Value
convertTypeItemToValue(TypeItem typeItem)
Converts the giventypeItem
toValue
.IColorProvider
getColorProvider()
TypeItem
getCurrentTypeItem()
Returns the currentTypeItem
.IFontProvider
getFontProvider()
org.eclipse.emf.ecore.EObject
getObject()
Returns value property object.TypeDescription
getTypeDescription()
Returns theTypeDescription
of the object that keeps theValue
.IValue<TypeItem>
getTypeItemModel()
Returns the model ofTypeItem
.IV8Project
getV8project()
Returns the {@link IV8Project).-
Methods inherited from interface com._1c.g5.aef2.models.IModel
addModelListener, commit, discard, dispose, getChange, 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
-
-
-
-
Method Detail
-
getTypeDescription
TypeDescription getTypeDescription()
Returns theTypeDescription
of the object that keeps theValue
.- Returns:
- the
TypeDescription
instance.
-
getTypeItemModel
IValue<TypeItem> getTypeItemModel()
Returns the model ofTypeItem
. It is the changeable model that can be changed from component, i.e. in case the user select the type from type selection dialog, or can be changed in automatically in case if theTypeDescription
was changed.- Returns:
- the model of
TypeItem
, cannot benull
-
getCurrentTypeItem
TypeItem getCurrentTypeItem()
Returns the currentTypeItem
. It is calculated object that is depends on current state ofgetTypeItemModel()
andgetTypeDescription()
.- Returns:
- the current
TypeItem
.
-
getObject
org.eclipse.emf.ecore.EObject getObject()
Returns value property object.- Returns:
- the value property object.
-
getV8project
IV8Project getV8project()
Returns the {@link IV8Project).- Returns:
- the v8 project.
-
getColorProvider
IColorProvider getColorProvider()
- Returns:
- the color provider, can be
null
-
getFontProvider
IFontProvider getFontProvider()
- Returns:
- the font provider, can be
null
-
-