Interface TreeViewModel
-
- All Superinterfaces:
ControlViewModel
,org.eclipse.emf.ecore.EObject
,IControlViewModel
,IViewModel
,org.eclipse.emf.common.notify.Notifier
,StructuredViewModel
- All Known Subinterfaces:
CommonAttributeContentViewModel
,ConfigurationStandaloneContentViewModel
,ExchangePlanContentViewModel
,ExtendedExchangePlanContentViewModel
,PredefinedDataViewModel
,RequiredPermissionsViewModel
- All Known Implementing Classes:
CommonAttributeContentViewModelImpl
,ConfigurationStandaloneContentViewModelImpl
,ExchangePlanContentViewModelImpl
,ExtendedExchangePlanContentViewModelImpl
,PredefinedDataViewModelImpl
,RequiredPermissionsViewModelImpl
,TreeViewModelImpl
public interface TreeViewModel extends StructuredViewModel
A representation of the model object 'Tree View Model'. The view model for trees.The following features are supported:
- See Also:
AefStandardPackage.getTreeViewModel()
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getExpandLevel()
Returns the value of the 'Expand Level' attribute.ITreeInput
getInput()
Returns the value of the 'Input' containment reference.TreeItemViewModel
getSelectedItem()
Returns the value of the 'Selected Item' reference.boolean
isSubtreeMulti()
Returns the value of the 'Subtree Multi' attribute.void
setExpandLevel(int value)
Sets the value of the 'Expand Level
' attribute.void
setInput(ITreeInput value)
Sets the value of the 'Input
' containment reference.void
setSelectedItem(TreeItemViewModel value)
Sets the value of the 'Selected Item
' reference.void
setSubtreeMulti(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, 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
-
Methods 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 Detail
-
getInput
ITreeInput getInput()
Returns the value of the 'Input' containment reference. Tree input.- Returns:
- the value of the 'Input' containment reference.
- See Also:
setInput(ITreeInput)
,AefStandardPackage.getTreeViewModel_Input()
-
setInput
void setInput(ITreeInput value)
Sets the value of the 'Input
' containment reference.- Parameters:
value
- the new value of the 'Input' containment reference.- See Also:
getInput()
-
getSelectedItem
TreeItemViewModel getSelectedItem()
Returns the value of the 'Selected Item' reference. Selected item.- Returns:
- the value of the 'Selected Item' reference.
- See Also:
setSelectedItem(TreeItemViewModel)
,AefStandardPackage.getTreeViewModel_SelectedItem()
-
setSelectedItem
void setSelectedItem(TreeItemViewModel value)
Sets the value of the 'Selected Item
' reference.- Parameters:
value
- the new value of the 'Selected Item' reference.- See Also:
getSelectedItem()
-
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(int)
,AefStandardPackage.getTreeViewModel_ExpandLevel()
-
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:
getExpandLevel()
-
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(boolean)
,AefStandardPackage.getTreeViewModel_SubtreeMulti()
-
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:
isSubtreeMulti()
-
-