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.e1c.g5.dt.applications.ui.editor.aef.impl.TreeViewModelImpl
-
- All Implemented Interfaces:
ControlViewModel
,IControlViewModel
,IViewModel
,TreeViewModel
,org.eclipse.emf.common.notify.Notifier
,org.eclipse.emf.ecore.EObject
,org.eclipse.emf.ecore.EStructuralFeature.Internal.DynamicValueHolder
,org.eclipse.emf.ecore.InternalEObject
public class TreeViewModelImpl extends ControlViewModelImpl implements TreeViewModel
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
-
-
Field Summary
Fields Modifier and Type Field Description protected static String
CONTROL_ID_EDEFAULT
The default value of the 'Control Id
' attribute.protected String
controlId
The cached value of the 'Control Id
' attribute.protected static int
EXPAND_LEVEL_EDEFAULT
The default value of the 'Expand Level
' attribute.protected int
expandLevel
The cached value of the 'Expand Level
' attribute.protected TreeInput
input
The cached value of the 'Input
' containment reference.protected static boolean
SHOW_CONTEXT_MENU_EDEFAULT
The default value of the 'Show Context Menu
' attribute.protected boolean
showContextMenu
The cached value of the 'Show Context Menu
' attribute.-
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.BasicEObjectImpl
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSET
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
TreeViewModelImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.eclipse.emf.common.notify.NotificationChain
basicSetInput(TreeInput newInput, org.eclipse.emf.common.notify.NotificationChain msgs)
Object
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
eSet(int featureID, Object newValue)
protected org.eclipse.emf.ecore.EClass
eStaticClass()
void
eUnset(int featureID)
String
getControlId()
int
getExpandLevel()
TreeInput
getInput()
boolean
isShowContextMenu()
void
setControlId(String newControlId)
void
setExpandLevel(int newExpandLevel)
void
setInput(TreeInput newInput)
void
setShowContextMenu(boolean newShowContextMenu)
String
toString()
-
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 com._1c.g5.aef2.viewModels.IViewModel
getEventChannel, getParent, setEventChannel, setParent
-
-
-
-
Field Detail
-
CONTROL_ID_EDEFAULT
protected static final String CONTROL_ID_EDEFAULT
The default value of the 'Control Id
' attribute.- See Also:
getControlId()
, Constant Field Values
-
controlId
protected String controlId
The cached value of the 'Control Id
' attribute.- See Also:
getControlId()
-
SHOW_CONTEXT_MENU_EDEFAULT
protected static final boolean SHOW_CONTEXT_MENU_EDEFAULT
The default value of the 'Show Context Menu
' attribute.- See Also:
isShowContextMenu()
, Constant Field Values
-
showContextMenu
protected boolean showContextMenu
The cached value of the 'Show Context Menu
' attribute.- See Also:
isShowContextMenu()
-
EXPAND_LEVEL_EDEFAULT
protected static final int EXPAND_LEVEL_EDEFAULT
The default value of the 'Expand Level
' attribute.- See Also:
getExpandLevel()
, Constant Field Values
-
expandLevel
protected int expandLevel
The cached value of the 'Expand Level
' attribute.- See Also:
getExpandLevel()
-
input
protected TreeInput input
The cached value of the 'Input
' containment reference.- See Also:
getInput()
-
-
Method Detail
-
eStaticClass
protected org.eclipse.emf.ecore.EClass eStaticClass()
- Overrides:
eStaticClass
in classControlViewModelImpl
-
getControlId
public String getControlId()
- Specified by:
getControlId
in interfaceTreeViewModel
- Returns:
- the value of the 'Control Id' attribute.
- See Also:
TreeViewModel.setControlId(String)
,ApplicationEditorAefPackage.getTreeViewModel_ControlId()
-
setControlId
public void setControlId(String newControlId)
- Specified by:
setControlId
in interfaceTreeViewModel
- Parameters:
newControlId
- the new value of the 'Control Id' attribute.- See Also:
TreeViewModel.getControlId()
-
isShowContextMenu
public boolean isShowContextMenu()
- Specified by:
isShowContextMenu
in interfaceTreeViewModel
- Returns:
- the value of the 'Show Context Menu' attribute.
- See Also:
TreeViewModel.setShowContextMenu(boolean)
,ApplicationEditorAefPackage.getTreeViewModel_ShowContextMenu()
-
setShowContextMenu
public void setShowContextMenu(boolean newShowContextMenu)
- Specified by:
setShowContextMenu
in interfaceTreeViewModel
- Parameters:
newShowContextMenu
- the new value of the 'Show Context Menu' attribute.- See Also:
TreeViewModel.isShowContextMenu()
-
getExpandLevel
public int getExpandLevel()
- Specified by:
getExpandLevel
in interfaceTreeViewModel
- Returns:
- the value of the 'Expand Level' attribute.
- See Also:
TreeViewModel.setExpandLevel(int)
,ApplicationEditorAefPackage.getTreeViewModel_ExpandLevel()
-
setExpandLevel
public void setExpandLevel(int newExpandLevel)
- Specified by:
setExpandLevel
in interfaceTreeViewModel
- Parameters:
newExpandLevel
- the new value of the 'Expand Level' attribute.- See Also:
TreeViewModel.getExpandLevel()
-
getInput
public TreeInput getInput()
- Specified by:
getInput
in interfaceTreeViewModel
- Returns:
- the value of the 'Input' containment reference.
- See Also:
TreeViewModel.setInput(TreeInput)
,ApplicationEditorAefPackage.getTreeViewModel_Input()
-
basicSetInput
public org.eclipse.emf.common.notify.NotificationChain basicSetInput(TreeInput newInput, org.eclipse.emf.common.notify.NotificationChain msgs)
-
setInput
public void setInput(TreeInput newInput)
- Specified by:
setInput
in interfaceTreeViewModel
- Parameters:
newInput
- the new value of the 'Input' containment reference.- See Also:
TreeViewModel.getInput()
-
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
public Object eGet(int featureID, boolean resolve, boolean coreType)
- Specified by:
eGet
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eGet
in classControlViewModelImpl
-
eSet
public void eSet(int featureID, Object newValue)
- Specified by:
eSet
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eSet
in classControlViewModelImpl
-
eUnset
public void eUnset(int featureID)
- Specified by:
eUnset
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eUnset
in classControlViewModelImpl
-
eIsSet
public boolean eIsSet(int featureID)
- Specified by:
eIsSet
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eIsSet
in classControlViewModelImpl
-
toString
public String toString()
- Overrides:
toString
in classControlViewModelImpl
-
-