Class TreeViewModelImpl
java.lang.Object
org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.eclipse.emf.ecore.impl.MinimalEObjectImpl
org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
com._1c.g5.aef2.standard.viewModels.impl.ControlViewModelImpl
com._1c.g5.aef2.standard.viewModels.impl.StructuredViewModelImpl
com._1c.g5.aef2.standard.viewModels.impl.TreeViewModelImpl
- All Implemented Interfaces:
ControlViewModel
,StructuredViewModel
,TreeViewModel
,IControlViewModel
,IViewModel
,org.eclipse.emf.common.notify.Notifier
,org.eclipse.emf.ecore.EObject
,org.eclipse.emf.ecore.EStructuralFeature.Internal.DynamicValueHolder
,org.eclipse.emf.ecore.InternalEObject
- Direct Known Subclasses:
CommonAttributeContentViewModelImpl
,ConfigurationStandaloneContentViewModelImpl
,DistributionSupportViewModelImpl
,ExchangePlanContentViewModelImpl
,PredefinedDataViewModelImpl
,RequiredPermissionsViewModelImpl
An implementation of the model object 'Tree View Model'.
The following features are implemented:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container.Dynamic
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl
org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolder, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderBaseImpl, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderImpl
Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList<E extends Object & org.eclipse.emf.common.notify.Adapter>, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EObservableAdapterList, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EScannableAdapterList
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject
org.eclipse.emf.ecore.InternalEObject.EStore
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final int
The default value of the 'Expand Level
' attribute.protected int
The cached value of the 'Expand Level
' attribute.protected ITreeInput
The cached value of the 'Input
' containment reference.protected TreeItemViewModel
The cached value of the 'Selected Item
' reference.protected static final boolean
The default value of the 'Subtree Multi
' attribute.protected boolean
The cached value of the 'Subtree Multi
' attribute.Fields inherited from class com._1c.g5.aef2.standard.viewModels.impl.StructuredViewModelImpl
bold, BOLD_EDEFAULT, comparator, EMPTY_CHOICE_ALLOWED_EDEFAULT, emptyChoiceAllowed, header, HEADER_EDEFAULT, IMAGE_KEY_PREFIX_EDEFAULT, imageKeyPrefix, multi, MULTI_EDEFAULT, SEARCH_BOX_VISIBLE_EDEFAULT, SEARCH_HISTORY_ID_EDEFAULT, searchBoxVisible, searchHistoryId, SHOW_CHECKBOXES_EDEFAULT, SHOW_CONTEXT_MENU_EDEFAULT, SHOW_IMAGES_EDEFAULT, SHOW_LINES_EDEFAULT, showCheckboxes, showContextMenu, showImages, showLines
Fields inherited from class com._1c.g5.aef2.standard.viewModels.impl.ControlViewModelImpl
APPLY_VALUE_CHANGE_EDEFAULT, applyValueChange, contexts, editable, EDITABLE_EDEFAULT, enabled, ENABLED_EDEFAULT, EVENT_CHANNEL_EDEFAULT, eventChannel, externalValidationStatus, layoutData, status, STATUS_EDEFAULT
Fields inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
eContainer
Fields inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSET
Fields inherited from interface org.eclipse.emf.ecore.EStructuralFeature.Internal.DynamicValueHolder
NIL
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.eclipse.emf.common.notify.NotificationChain
basicSetInput
(ITreeInput newInput, org.eclipse.emf.common.notify.NotificationChain msgs) eGet
(int featureID, boolean resolve, boolean coreType) org.eclipse.emf.common.notify.NotificationChain
eInverseRemove
(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs) boolean
eIsSet
(int featureID) void
protected org.eclipse.emf.ecore.EClass
void
eUnset
(int featureID) int
getInput()
boolean
void
setExpandLevel
(int newExpandLevel) void
setInput
(ITreeInput newInput) void
setSelectedItem
(TreeItemViewModel newSelectedItem) void
setSubtreeMulti
(boolean newSubtreeMulti) toString()
Methods inherited from class com._1c.g5.aef2.standard.viewModels.impl.StructuredViewModelImpl
getComparator, getHeader, getImageKeyPrefix, getSearchHistoryId, isBold, isEmptyChoiceAllowed, isMulti, isSearchBoxVisible, isShowCheckboxes, isShowContextMenu, isShowImages, isShowLines, setBold, setComparator, setEmptyChoiceAllowed, setHeader, setImageKeyPrefix, setMulti, setSearchBoxVisible, setSearchHistoryId, setShowCheckboxes, setShowContextMenu, setShowImages, setShowLines
Methods inherited from class com._1c.g5.aef2.standard.viewModels.impl.ControlViewModelImpl
basicGetLayoutData, basicGetParent, basicSetExternalValidationStatus, basicSetParent, eBasicRemoveFromContainerFeature, eInverseAdd, getApplyValueChange, getContexts, getEventChannel, getExternalValidationStatus, getLayoutData, getParent, getStatus, isEditable, isEnabled, setApplyValueChange, setEditable, setEnabled, setEventChannel, setExternalValidationStatus, setLayoutData, setParent, setStatus
Methods inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
eBasicSetContainer, eInternalContainer
Methods inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl
dynamicGet, dynamicSet, dynamicUnset, eAdapters, eBasicAdapterArray, eBasicAdapterListeners, eBasicAdapters, eBasicHasAdapters, eBasicProperties, eBasicSetAdapterArray, eBasicSetAdapterListeners, eBasicSetContainer, eBasicSetContainerFeatureID, eBasicSetSettings, eBasicSettings, eClass, eContainerFeatureID, eContents, eCrossReferences, eDeliver, eDirectResource, eDynamicClass, eHasSettings, eIsProxy, eProperties, eProxyURI, eSetClass, eSetDeliver, eSetDirectResource, eSetProxyURI, eSettings
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDynamicBasicRemoveFromContainer, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicInvoke, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseRemove, eInvocationDelegate, eInvoke, eInvoke, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eSettingDelegate, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStaticOperationCount, eStore, eUnset, eURIFragmentSegment, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValues
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eNotificationRequired, eNotify
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
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 org.eclipse.emf.ecore.InternalEObject
eNotificationRequired
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
-
Field Details
-
input
The cached value of the 'Input
' containment reference.- See Also:
-
selectedItem
The cached value of the 'Selected Item
' reference.- See Also:
-
EXPAND_LEVEL_EDEFAULT
protected static final int EXPAND_LEVEL_EDEFAULTThe default value of the 'Expand Level
' attribute.- See Also:
-
expandLevel
protected int expandLevelThe cached value of the 'Expand Level
' attribute.- See Also:
-
SUBTREE_MULTI_EDEFAULT
protected static final boolean SUBTREE_MULTI_EDEFAULTThe default value of the 'Subtree Multi
' attribute.- See Also:
-
subtreeMulti
protected boolean subtreeMultiThe cached value of the 'Subtree Multi
' attribute.- See Also:
-
-
Constructor Details
-
TreeViewModelImpl
protected TreeViewModelImpl()
-
-
Method Details
-
eStaticClass
protected org.eclipse.emf.ecore.EClass eStaticClass()- Overrides:
eStaticClass
in classStructuredViewModelImpl
-
getInput
- Specified by:
getInput
in interfaceTreeViewModel
- Returns:
- the value of the 'Input' containment reference.
- See Also:
-
basicSetInput
public org.eclipse.emf.common.notify.NotificationChain basicSetInput(ITreeInput newInput, org.eclipse.emf.common.notify.NotificationChain msgs) -
setInput
- Specified by:
setInput
in interfaceTreeViewModel
- Parameters:
newInput
- the new value of the 'Input' containment reference.- See Also:
-
getSelectedItem
- Specified by:
getSelectedItem
in interfaceTreeViewModel
- Returns:
- the value of the 'Selected Item' reference.
- See Also:
-
basicGetSelectedItem
-
setSelectedItem
- Specified by:
setSelectedItem
in interfaceTreeViewModel
- Parameters:
newSelectedItem
- the new value of the 'Selected Item' reference.- See Also:
-
getExpandLevel
public int getExpandLevel()- Specified by:
getExpandLevel
in interfaceTreeViewModel
- Returns:
- the value of the 'Expand Level' attribute.
- See Also:
-
setExpandLevel
public void setExpandLevel(int newExpandLevel) - Specified by:
setExpandLevel
in interfaceTreeViewModel
- Parameters:
newExpandLevel
- the new value of the 'Expand Level' attribute.- See Also:
-
isSubtreeMulti
public boolean isSubtreeMulti()- Specified by:
isSubtreeMulti
in interfaceTreeViewModel
- Returns:
- the value of the 'Subtree Multi' attribute.
- See Also:
-
setSubtreeMulti
public void setSubtreeMulti(boolean newSubtreeMulti) - Specified by:
setSubtreeMulti
in interfaceTreeViewModel
- Parameters:
newSubtreeMulti
- the new value of the 'Subtree Multi' attribute.- See Also:
-
eInverseRemove
public org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs) - Overrides:
eInverseRemove
in classControlViewModelImpl
-
eGet
- Specified by:
eGet
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eGet
in classStructuredViewModelImpl
-
eSet
- Specified by:
eSet
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eSet
in classStructuredViewModelImpl
-
eUnset
public void eUnset(int featureID) - Specified by:
eUnset
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eUnset
in classStructuredViewModelImpl
-
eIsSet
public boolean eIsSet(int featureID) - Specified by:
eIsSet
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eIsSet
in classStructuredViewModelImpl
-
toString
- Overrides:
toString
in classStructuredViewModelImpl
-