Interface ComboViewModel
-
- All Superinterfaces:
ControlViewModel,org.eclipse.emf.ecore.EObject,IControlViewModel,IViewModel,org.eclipse.emf.common.notify.Notifier
- All Known Subinterfaces:
BooleanValueControlViewModel,BorderValueControlViewModel,ComboSelectViewModel,EditableComboViewModel,EnumValueControlViewModel,SysEnumValueControlViewModel
- All Known Implementing Classes:
BooleanValueControlViewModelImpl,BorderValueControlViewModelImpl,ComboSelectViewModelImpl,ComboViewModelImpl,EditableComboViewModelImpl,EnumValueControlViewModelImpl,SysEnumValueControlViewModelImpl
public interface ComboViewModel extends ControlViewModel
A representation of the model object 'Combo View Model'. Combo control view model.The following features are supported:
- See Also:
AefStandardPackage.getComboViewModel()
-
-
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.StringgetQuickSearchText()Returns the value of the 'Quick Search Text' attribute.ComboItemViewModelgetSelectedItem()Returns the value of the 'Selected Item' reference.booleanisQuickSearchAllowed()Returns the value of the 'Quick Search Allowed' attribute.voidsetQuickSearchAllowed(boolean value)Sets the value of the 'Quick Search Allowed' attribute.voidsetQuickSearchText(String value)Sets the value of the 'Quick Search Text' attribute.voidsetSelectedItem(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
-
-
-
-
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.getComboViewModel_Items()
-
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(ComboItemViewModel),AefStandardPackage.getComboViewModel_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()
-
isQuickSearchAllowed
boolean isQuickSearchAllowed()
Returns the value of the 'Quick Search Allowed' attribute. Iftrue, the text representing the selected item may be edited for quick search in the combo list- Returns:
- the value of the 'Quick Search Allowed' attribute.
- See Also:
setQuickSearchAllowed(boolean),AefStandardPackage.getComboViewModel_QuickSearchAllowed()
-
setQuickSearchAllowed
void setQuickSearchAllowed(boolean value)
Sets the value of the 'Quick Search Allowed' attribute.- Parameters:
value- the new value of the 'Quick Search Allowed' attribute.- See Also:
isQuickSearchAllowed()
-
getQuickSearchText
String getQuickSearchText()
Returns the value of the 'Quick Search Text' attribute. The text used for quick search. Used whenquickSearchAllowedistrue- Returns:
- the value of the 'Quick Search Text' attribute.
- See Also:
setQuickSearchText(String),AefStandardPackage.getComboViewModel_QuickSearchText()
-
setQuickSearchText
void setQuickSearchText(String value)
Sets the value of the 'Quick Search Text' attribute.- Parameters:
value- the new value of the 'Quick Search Text' attribute.- See Also:
getQuickSearchText()
-
-