Class DateValueComponentPart
- java.lang.Object
-
- com._1c.g5.v8.dt.md.ui.aef.components.value.AbstractValueComponentPart<DateValueControlViewModel,DateValue>
-
- com._1c.g5.v8.dt.md.ui.aef.components.value.DateValueComponentPart
-
- All Implemented Interfaces:
IValueComponentPart<DateValueControlViewModel,IValueModel,DateValue>
public class DateValueComponentPart extends AbstractValueComponentPart<DateValueControlViewModel,DateValue>
TheIValueComponentPart
implementation forDateValue
.
-
-
Constructor Summary
Constructors Constructor Description DateValueComponentPart()
Creates a new component part.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IMapper<DateValue,?>
createMapper(DateValueControlViewModel viewModel, IValueModel model)
Returns the newly created mapper that maps theValue
to view model.DateValueControlViewModel
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 DateValueControlViewModel 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<DateValue,?> createMapper(DateValueControlViewModel 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.
-
-