Interface SectionViewModel
- All Superinterfaces:
CompositeControlViewModel
,CompositeViewModel
,ControlViewModel
,org.eclipse.emf.ecore.EObject
,IContainerControlViewModel
,IContainerViewModel
,IControlViewModel
,IViewModel
,org.eclipse.emf.common.notify.Notifier
- All Known Implementing Classes:
SectionViewModelImpl
A representation of the model object 'Section View Model'.
Section control view model.
The following features are supported:
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionorg.eclipse.emf.common.util.EList<SectionActionItemViewModel>
Returns the value of the 'Action Items' containment reference list.getTitle()
Returns the value of the 'Title' attribute.Returns the value of the 'Toolbar Id' attribute.boolean
Returns the value of the 'Collapsible' attribute.boolean
Returns the value of the 'Initial Expansion State' attribute.void
setCollapsible
(boolean value) Sets the value of the 'Collapsible
' attribute.void
setInitialExpansionState
(boolean value) Sets the value of the 'Initial Expansion State
' attribute.void
Sets the value of the 'Title
' attribute.void
setToolbarId
(String value) Sets the value of the 'Toolbar Id
' attribute.Methods inherited from interface com._1c.g5.aef2.standard.viewModels.CompositeViewModel
getLayout, isDoubleBuffered, setDoubleBuffered, setLayout
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.IContainerViewModel
getChildren
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
-
isCollapsible
boolean isCollapsible()Returns the value of the 'Collapsible' attribute. The collapsible flag.- Returns:
- the value of the 'Collapsible' attribute.
- See Also:
-
setCollapsible
void setCollapsible(boolean value) Sets the value of the 'Collapsible
' attribute.- Parameters:
value
- the new value of the 'Collapsible' attribute.- See Also:
-
getTitle
String getTitle()Returns the value of the 'Title' attribute. The title of the section.- Returns:
- the value of the 'Title' attribute.
- See Also:
-
setTitle
Sets the value of the 'Title
' attribute.- Parameters:
value
- the new value of the 'Title' attribute.- See Also:
-
getActionItems
org.eclipse.emf.common.util.EList<SectionActionItemViewModel> getActionItems()Returns the value of the 'Action Items' containment reference list. The list contents are of typeSectionActionItemViewModel
. The action items.- Returns:
- the value of the 'Action Items' containment reference list.
- See Also:
-
getToolbarId
String getToolbarId()Returns the value of the 'Toolbar Id' attribute. The optional id of the toolbar to populate contributed actions with.- Returns:
- the value of the 'Toolbar Id' attribute.
- See Also:
-
setToolbarId
Sets the value of the 'Toolbar Id
' attribute.- Parameters:
value
- the new value of the 'Toolbar Id' attribute.- See Also:
-
isInitialExpansionState
boolean isInitialExpansionState()Returns the value of the 'Initial Expansion State' attribute. The default value is"true"
. The initial expansion state of the section. It is used only if the section is 'collapsible'- Returns:
- the value of the 'Initial Expansion State' attribute.
- See Also:
-
setInitialExpansionState
void setInitialExpansionState(boolean value) Sets the value of the 'Initial Expansion State
' attribute.- Parameters:
value
- the new value of the 'Initial Expansion State' attribute.- See Also:
-