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
public interface SectionViewModel extends CompositeViewModel
A representation of the model object 'Section View Model'. Section control view model.The following features are supported:
- See Also:
AefStandardPackage.getSectionViewModel()
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.eclipse.emf.common.util.EList<SectionActionItemViewModel>
getActionItems()
Returns the value of the 'Action Items' containment reference list.String
getTitle()
Returns the value of the 'Title' attribute.String
getToolbarId()
Returns the value of the 'Toolbar Id' attribute.boolean
isCollapsible()
Returns the value of the 'Collapsible' attribute.boolean
isInitialExpansionState()
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
setTitle(String value)
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
-
-
-
-
Method Detail
-
isCollapsible
boolean isCollapsible()
Returns the value of the 'Collapsible' attribute. The collapsible flag.- Returns:
- the value of the 'Collapsible' attribute.
- See Also:
setCollapsible(boolean)
,AefStandardPackage.getSectionViewModel_Collapsible()
-
setCollapsible
void setCollapsible(boolean value)
Sets the value of the 'Collapsible
' attribute.- Parameters:
value
- the new value of the 'Collapsible' attribute.- See Also:
isCollapsible()
-
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(String)
,AefStandardPackage.getSectionViewModel_Title()
-
setTitle
void setTitle(String value)
Sets the value of the 'Title
' attribute.- Parameters:
value
- the new value of the 'Title' attribute.- See Also:
getTitle()
-
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:
AefStandardPackage.getSectionViewModel_ActionItems()
-
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(String)
,AefStandardPackage.getSectionViewModel_ToolbarId()
-
setToolbarId
void setToolbarId(String value)
Sets the value of the 'Toolbar Id
' attribute.- Parameters:
value
- the new value of the 'Toolbar Id' attribute.- See Also:
getToolbarId()
-
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(boolean)
,AefStandardPackage.getSectionViewModel_InitialExpansionState()
-
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:
isInitialExpansionState()
-
-