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
public interface ComboLabelViewModel extends LabelViewModel
A representation of the model object 'Combo Label View Model'. Combo control view model.The following features are supported:
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.eclipse.emf.common.util.EList<ComboItemViewModel>
getItems()
Returns the value of the 'Items' containment reference list.ComboItemViewModel
getSelectedItem()
Returns the value of the 'Selected Item' reference.void
setSelectedItem(ComboItemViewModel value)
Sets 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, setStatus
-
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
-
Methods inherited from interface com._1c.g5.aef2.viewModels.IViewModel
getEventChannel, getParent, setEventChannel, setParent
-
Methods inherited from interface com._1c.g5.aef2.standard.viewModels.LabelViewModel
getText, setText
-
-
-
-
Method Detail
-
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:
AefStandardPackage.getComboLabelViewModel_Items()
-
getSelectedItem
ComboItemViewModel getSelectedItem()
Returns the value of the 'Selected Item' reference. Selected combo item ornull
if nothing is selected.- Returns:
- the value of the 'Selected Item' reference.
- See Also:
setSelectedItem(ComboItemViewModel)
,AefStandardPackage.getComboLabelViewModel_SelectedItem()
-
setSelectedItem
void setSelectedItem(ComboItemViewModel value)
Sets the value of the 'Selected Item
' reference.- Parameters:
value
- the new value of the 'Selected Item' reference.- See Also:
getSelectedItem()
-
-