Class SectionViewModelImpl
- 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.CompositeControlViewModelImpl
-
- com._1c.g5.aef2.standard.viewModels.impl.CompositeViewModelImpl
-
- com._1c.g5.aef2.standard.viewModels.impl.SectionViewModelImpl
-
- All Implemented Interfaces:
CompositeControlViewModel
,CompositeViewModel
,ControlViewModel
,SectionViewModel
,IContainerControlViewModel
,IContainerViewModel
,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
public class SectionViewModelImpl extends CompositeViewModelImpl implements SectionViewModel
An implementation of the model object 'Section 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 org.eclipse.emf.common.util.EList<SectionActionItemViewModel>
actionItems
The cached value of the 'Action Items
' containment reference list.protected boolean
collapsible
The cached value of the 'Collapsible
' attribute.protected static boolean
COLLAPSIBLE_EDEFAULT
The default value of the 'Collapsible
' attribute.protected static boolean
INITIAL_EXPANSION_STATE_EDEFAULT
The default value of the 'Initial Expansion State
' attribute.protected boolean
initialExpansionState
The cached value of the 'Initial Expansion State
' attribute.protected String
title
The cached value of the 'Title
' attribute.protected static String
TITLE_EDEFAULT
The default value of the 'Title
' attribute.protected static String
TOOLBAR_ID_EDEFAULT
The default value of the 'Toolbar Id
' attribute.protected String
toolbarId
The cached value of the 'Toolbar Id
' attribute.-
Fields inherited from class com._1c.g5.aef2.standard.viewModels.impl.CompositeViewModelImpl
DOUBLE_BUFFERED_EDEFAULT, doubleBuffered, layout
-
Fields inherited from class com._1c.g5.aef2.standard.viewModels.impl.CompositeControlViewModelImpl
children
-
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
SectionViewModelImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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)
org.eclipse.emf.common.util.EList<SectionActionItemViewModel>
getActionItems()
String
getTitle()
String
getToolbarId()
boolean
isCollapsible()
boolean
isInitialExpansionState()
void
setCollapsible(boolean newCollapsible)
void
setInitialExpansionState(boolean newInitialExpansionState)
void
setTitle(String newTitle)
void
setToolbarId(String newToolbarId)
String
toString()
-
Methods inherited from class com._1c.g5.aef2.standard.viewModels.impl.CompositeViewModelImpl
basicGetLayout, getLayout, isDoubleBuffered, setDoubleBuffered, setLayout
-
Methods inherited from class com._1c.g5.aef2.standard.viewModels.impl.CompositeControlViewModelImpl
eBaseStructuralFeatureID, eDerivedStructuralFeatureID, eInverseAdd, getChildren
-
Methods inherited from class com._1c.g5.aef2.standard.viewModels.impl.ControlViewModelImpl
basicGetLayoutData, basicGetParent, basicSetExternalValidationStatus, basicSetParent, eBasicRemoveFromContainerFeature, 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, eBasicRemoveFromContainer, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eDerivedOperationID, eDerivedOperationID, 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.CompositeViewModel
getLayout, isDoubleBuffered, setDoubleBuffered, setLayout
-
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.IContainerViewModel
getChildren
-
Methods inherited from interface com._1c.g5.aef2.viewModels.IViewModel
getEventChannel, getParent, setEventChannel, setParent
-
-
-
-
Field Detail
-
COLLAPSIBLE_EDEFAULT
protected static final boolean COLLAPSIBLE_EDEFAULT
The default value of the 'Collapsible
' attribute.- See Also:
isCollapsible()
, Constant Field Values
-
collapsible
protected boolean collapsible
The cached value of the 'Collapsible
' attribute.- See Also:
isCollapsible()
-
TITLE_EDEFAULT
protected static final String TITLE_EDEFAULT
The default value of the 'Title
' attribute.- See Also:
getTitle()
-
title
protected String title
The cached value of the 'Title
' attribute.- See Also:
getTitle()
-
actionItems
protected org.eclipse.emf.common.util.EList<SectionActionItemViewModel> actionItems
The cached value of the 'Action Items
' containment reference list.- See Also:
getActionItems()
-
TOOLBAR_ID_EDEFAULT
protected static final String TOOLBAR_ID_EDEFAULT
The default value of the 'Toolbar Id
' attribute.- See Also:
getToolbarId()
-
toolbarId
protected String toolbarId
The cached value of the 'Toolbar Id
' attribute.- See Also:
getToolbarId()
-
INITIAL_EXPANSION_STATE_EDEFAULT
protected static final boolean INITIAL_EXPANSION_STATE_EDEFAULT
The default value of the 'Initial Expansion State
' attribute.- See Also:
isInitialExpansionState()
, Constant Field Values
-
initialExpansionState
protected boolean initialExpansionState
The cached value of the 'Initial Expansion State
' attribute.- See Also:
isInitialExpansionState()
-
-
Method Detail
-
eStaticClass
protected org.eclipse.emf.ecore.EClass eStaticClass()
- Overrides:
eStaticClass
in classCompositeViewModelImpl
-
isCollapsible
public boolean isCollapsible()
- Specified by:
isCollapsible
in interfaceSectionViewModel
- Returns:
- the value of the 'Collapsible' attribute.
- See Also:
SectionViewModel.setCollapsible(boolean)
,AefStandardPackage.getSectionViewModel_Collapsible()
-
setCollapsible
public void setCollapsible(boolean newCollapsible)
- Specified by:
setCollapsible
in interfaceSectionViewModel
- Parameters:
newCollapsible
- the new value of the 'Collapsible' attribute.- See Also:
SectionViewModel.isCollapsible()
-
getTitle
public String getTitle()
- Specified by:
getTitle
in interfaceSectionViewModel
- Returns:
- the value of the 'Title' attribute.
- See Also:
SectionViewModel.setTitle(String)
,AefStandardPackage.getSectionViewModel_Title()
-
setTitle
public void setTitle(String newTitle)
- Specified by:
setTitle
in interfaceSectionViewModel
- Parameters:
newTitle
- the new value of the 'Title' attribute.- See Also:
SectionViewModel.getTitle()
-
getActionItems
public org.eclipse.emf.common.util.EList<SectionActionItemViewModel> getActionItems()
- Specified by:
getActionItems
in interfaceSectionViewModel
- Returns:
- the value of the 'Action Items' containment reference list.
- See Also:
AefStandardPackage.getSectionViewModel_ActionItems()
-
getToolbarId
public String getToolbarId()
- Specified by:
getToolbarId
in interfaceSectionViewModel
- Returns:
- the value of the 'Toolbar Id' attribute.
- See Also:
SectionViewModel.setToolbarId(String)
,AefStandardPackage.getSectionViewModel_ToolbarId()
-
setToolbarId
public void setToolbarId(String newToolbarId)
- Specified by:
setToolbarId
in interfaceSectionViewModel
- Parameters:
newToolbarId
- the new value of the 'Toolbar Id' attribute.- See Also:
SectionViewModel.getToolbarId()
-
isInitialExpansionState
public boolean isInitialExpansionState()
- Specified by:
isInitialExpansionState
in interfaceSectionViewModel
- Returns:
- the value of the 'Initial Expansion State' attribute.
- See Also:
SectionViewModel.setInitialExpansionState(boolean)
,AefStandardPackage.getSectionViewModel_InitialExpansionState()
-
setInitialExpansionState
public void setInitialExpansionState(boolean newInitialExpansionState)
- Specified by:
setInitialExpansionState
in interfaceSectionViewModel
- Parameters:
newInitialExpansionState
- the new value of the 'Initial Expansion State' attribute.- See Also:
SectionViewModel.isInitialExpansionState()
-
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 classCompositeControlViewModelImpl
-
eGet
public Object eGet(int featureID, boolean resolve, boolean coreType)
- Specified by:
eGet
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eGet
in classCompositeViewModelImpl
-
eSet
public void eSet(int featureID, Object newValue)
- Specified by:
eSet
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eSet
in classCompositeViewModelImpl
-
eUnset
public void eUnset(int featureID)
- Specified by:
eUnset
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eUnset
in classCompositeViewModelImpl
-
eIsSet
public boolean eIsSet(int featureID)
- Specified by:
eIsSet
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eIsSet
in classCompositeViewModelImpl
-
toString
public String toString()
- Overrides:
toString
in classCompositeViewModelImpl
-
-