Interface ComboLabelViewModel
- All Superinterfaces:
ControlViewModel,org.eclipse.emf.ecore.EObject,IControlViewModel,IViewModel,LabelViewModel,org.eclipse.emf.common.notify.Notifier
- All Known Subinterfaces:
ComboLabelExtensionViewModel
- All Known Implementing Classes:
ComboLabelExtensionViewModelImpl,ComboLabelViewModelImpl
A representation of the model object 'Combo Label View Model'.
Combo control view model.
The following features are supported:
-
Method Summary
Modifier and TypeMethodDescriptionorg.eclipse.emf.common.util.EList<ComboItemViewModel>getItems()Returns the value of the 'Items' containment reference list.Returns the value of the 'Selected Item' reference.voidSets the value of the 'Selected Item' reference.Methods inherited from interface com._1c.g5.aef2.standard.viewModels.ControlViewModel
getApplyValueChange, getContexts, getExternalValidationStatus, getLayoutData, getStatus, isEditable, isEnabled, setApplyValueChange, setEditable, setEnabled, setExternalValidationStatus, setLayoutData, setStatusMethods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnsetMethods inherited from interface com._1c.g5.aef2.viewModels.IViewModel
getEventChannel, getParent, setEventChannel, setParentMethods inherited from interface com._1c.g5.aef2.standard.viewModels.LabelViewModel
getText, setTextMethods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Method Details
-
getItems
org.eclipse.emf.common.util.EList<ComboItemViewModel> getItems()Returns the value of the 'Items' containment reference list. The list contents are of typeComboItemViewModel. Combo items.- Returns:
- the value of the 'Items' containment reference list.
- See Also:
-
getSelectedItem
ComboItemViewModel getSelectedItem()Returns the value of the 'Selected Item' reference. Selected combo item ornullif nothing is selected.- Returns:
- the value of the 'Selected Item' reference.
- See Also:
-
setSelectedItem
Sets the value of the 'Selected Item' reference.- Parameters:
value- the new value of the 'Selected Item' reference.- See Also:
-