Interface TreeViewModel
- All Superinterfaces:
ControlViewModel,org.eclipse.emf.ecore.EObject,IControlViewModel,IViewModel,org.eclipse.emf.common.notify.Notifier,StructuredViewModel
- All Known Subinterfaces:
CommonAttributeContentViewModel,ConfigurationStandaloneContentViewModel,DistributionSupportViewModel,ExchangePlanContentViewModel,ExtendedCommonAttributeContentViewModel,ExtendedExchangePlanContentViewModel,ExtendedPredefinedDataViewModel,PredefinedDataViewModel,RequiredPermissionsViewModel
- All Known Implementing Classes:
CommonAttributeContentViewModelImpl,ConfigurationStandaloneContentViewModelImpl,DistributionSupportViewModelImpl,ExchangePlanContentViewModelImpl,ExtendedCommonAttributeContentViewModelImpl,ExtendedExchangePlanContentViewModelImpl,ExtendedPredefinedDataViewModelImpl,PredefinedDataViewModelImpl,RequiredPermissionsViewModelImpl,TreeViewModelImpl
A representation of the model object 'Tree View Model'.
The view model for trees.
The following features are supported:
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionintReturns the value of the 'Expand Level' attribute.getInput()Returns the value of the 'Input' containment reference.Returns the value of the 'Selected Item' reference.booleanReturns the value of the 'Subtree Multi' attribute.voidsetExpandLevel(int value) Sets the value of the 'Expand Level' attribute.voidsetInput(ITreeInput value) Sets the value of the 'Input' containment reference.voidsetSelectedItem(TreeItemViewModel value) Sets the value of the 'Selected Item' reference.voidsetSubtreeMulti(boolean value) Sets the value of the 'Subtree Multi' attribute.Methods inherited from interface com._1c.g5.aef2.standard.viewModels.ControlViewModel
getApplyValueChange, getContexts, getExternalValidationStatus, getLayoutData, getStatus, isEditable, isEnabled, setApplyValueChange, setEditable, setEnabled, setExternalValidationStatus, setLayoutData, setStatusMethods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnsetMethods inherited from interface com._1c.g5.aef2.viewModels.IViewModel
getEventChannel, getParent, setEventChannel, setParentMethods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliverMethods inherited from interface com._1c.g5.aef2.standard.viewModels.StructuredViewModel
getComparator, getHeader, getImageKeyPrefix, getSearchHistoryId, isBold, isEmptyChoiceAllowed, isMulti, isSearchBoxVisible, isShowCheckboxes, isShowContextMenu, isShowImages, isShowLines, setBold, setComparator, setEmptyChoiceAllowed, setHeader, setImageKeyPrefix, setMulti, setSearchBoxVisible, setSearchHistoryId, setShowCheckboxes, setShowContextMenu, setShowImages, setShowLines
-
Method Details
-
getInput
ITreeInput getInput()Returns the value of the 'Input' containment reference. Tree input.- 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:
-
getSelectedItem
TreeItemViewModel getSelectedItem()Returns the value of the 'Selected Item' reference. Selected item.- Returns:
- the value of the 'Selected Item' reference.
- See Also:
-
setSelectedItem
Sets the value of the 'Selected Item' reference.- Parameters:
value- the new value of the 'Selected Item' reference.- See Also:
-
getExpandLevel
int getExpandLevel()Returns the value of the 'Expand Level' attribute. The default value is"1". Expand level.- 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:
-
isSubtreeMulti
boolean isSubtreeMulti()Returns the value of the 'Subtree Multi' attribute. Multiselection in subtree- Returns:
- the value of the 'Subtree Multi' attribute.
- See Also:
-
setSubtreeMulti
void setSubtreeMulti(boolean value) Sets the value of the 'Subtree Multi' attribute.- Parameters:
value- the new value of the 'Subtree Multi' attribute.- See Also:
-