Interface ToolBarViewModel
- All Superinterfaces:
ControlViewModel
,org.eclipse.emf.ecore.EObject
,IControlViewModel
,IViewModel
,org.eclipse.emf.common.notify.Notifier
- All Known Implementing Classes:
ToolBarViewModelImpl
A representation of the model object 'Tool Bar View Model'.
The view model for ToolBar
The following features are supported:
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionorg.eclipse.emf.common.util.EList<ToolBarItemViewModel>
getItems()
Returns the value of the 'Items' containment reference list.boolean
Returns the value of the 'Horizontal' attribute.void
setHorizontal
(boolean value) Sets the value of the 'Horizontal
' attribute.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 org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Method Details
-
isHorizontal
boolean isHorizontal()Returns the value of the 'Horizontal' attribute. The default value is"true"
. The horizontal flag- Returns:
- the value of the 'Horizontal' attribute.
- See Also:
-
setHorizontal
void setHorizontal(boolean value) Sets the value of the 'Horizontal
' attribute.- Parameters:
value
- the new value of the 'Horizontal' attribute.- See Also:
-
getItems
org.eclipse.emf.common.util.EList<ToolBarItemViewModel> getItems()Returns the value of the 'Items' containment reference list. The list contents are of typeToolBarItemViewModel
. ToolBar items- Returns:
- the value of the 'Items' containment reference list.
- See Also:
-