Class NumberValueComponentPart
- java.lang.Object
-
- com._1c.g5.v8.dt.md.ui.aef.components.value.AbstractValueComponentPart<NumberValueControlViewModel,NumberValue>
-
- com._1c.g5.v8.dt.md.ui.aef.components.value.NumberValueComponentPart
-
- All Implemented Interfaces:
IValueComponentPart<NumberValueControlViewModel,IValueModel,NumberValue>
- Direct Known Subclasses:
ChartReferenceValueComponentPart
public class NumberValueComponentPart extends AbstractValueComponentPart<NumberValueControlViewModel,NumberValue>
TheIValueComponentPart
implementation forNumberValue
.
-
-
Constructor Summary
Constructors Constructor Description NumberValueComponentPart()
Creates a new component part.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IMapper<NumberValue,?>
createMapper(NumberValueControlViewModel viewModel, IValueModel model)
Returns the newly created mapper that maps theValue
to view model.NumberValueControlViewModel
createViewModel(IValueModel model)
Creates a view model for the givenmodel
.org.eclipse.emf.ecore.EStructuralFeature
getViewModelBindingFeature()
Returns the view model feature that is binds by value component.-
Methods inherited from class com._1c.g5.v8.dt.md.ui.aef.components.value.AbstractValueComponentPart
bindViewModel, getTypeName, handleButtonPressed, hasClearAction, isEditable, isSuitable, isSuitableTypeName, isSuitableValue
-
-
-
-
Method Detail
-
createViewModel
public NumberValueControlViewModel createViewModel(IValueModel model)
Description copied from interface:IValueComponentPart
Creates a view model for the givenmodel
.- Parameters:
model
- theIValueModel
.- Returns:
- the newly created view model.
-
getViewModelBindingFeature
public org.eclipse.emf.ecore.EStructuralFeature getViewModelBindingFeature()
Description copied from interface:IValueComponentPart
Returns the view model feature that is binds by value component.- Returns:
- the view model feature that is binds by
value component or
null
.
-
createMapper
public IMapper<NumberValue,?> createMapper(NumberValueControlViewModel viewModel, IValueModel model)
Description copied from interface:IValueComponentPart
Returns the newly created mapper that maps theValue
to view model.- Parameters:
viewModel
- the view model.model
- theIValueModel
.- Returns:
- the mapper.
-
-