Interface TreeViewModel
- All Superinterfaces:
ControlViewModel
,org.eclipse.emf.ecore.EObject
,IControlViewModel
,IViewModel
,org.eclipse.emf.common.notify.Notifier
- All Known Implementing Classes:
TreeViewModelImpl
A representation of the model object 'Tree View Model'.
The following features are supported:
-
Method Summary
Modifier and TypeMethodDescriptionReturns the value of the 'Control Id' attribute.int
Returns the value of the 'Expand Level' attribute.getInput()
Returns the value of the 'Input' containment reference.boolean
Returns the value of the 'Show Context Menu' attribute.void
setControlId
(String value) Sets the value of the 'Control Id
' attribute.void
setExpandLevel
(int value) Sets the value of the 'Expand Level
' attribute.void
Sets the value of the 'Input
' containment reference.void
setShowContextMenu
(boolean value) Sets the value of the 'Show Context Menu
' 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
-
getControlId
String getControlId()Returns the value of the 'Control Id' attribute. The default value is""
.- Returns:
- the value of the 'Control Id' attribute.
- See Also:
-
setControlId
Sets the value of the 'Control Id
' attribute.- Parameters:
value
- the new value of the 'Control Id' attribute.- See Also:
-
isShowContextMenu
boolean isShowContextMenu()Returns the value of the 'Show Context Menu' attribute. The default value is"false"
.- Returns:
- the value of the 'Show Context Menu' attribute.
- See Also:
-
setShowContextMenu
void setShowContextMenu(boolean value) Sets the value of the 'Show Context Menu
' attribute.- Parameters:
value
- the new value of the 'Show Context Menu' attribute.- See Also:
-
getExpandLevel
int getExpandLevel()Returns the value of the 'Expand Level' attribute. The default value is"1"
.- Returns:
- the value of the 'Expand Level' attribute.
- See Also:
-
setExpandLevel
void setExpandLevel(int value) Sets the value of the 'Expand Level
' attribute.- Parameters:
value
- the new value of the 'Expand Level' attribute.- See Also:
-
getInput
TreeInput getInput()Returns the value of the 'Input' containment reference.- Returns:
- the value of the 'Input' containment reference.
- See Also:
-
setInput
Sets the value of the 'Input
' containment reference.- Parameters:
value
- the new value of the 'Input' containment reference.- See Also:
-