Class GridColumnViewModelImpl
- 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.v8.dt.ui.aef.viewModels.impl.GridColumnViewModelImpl
-
- All Implemented Interfaces:
IViewModel
,GridColumnViewModel
,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 GridColumnViewModelImpl extends org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container implements GridColumnViewModel
An implementation of the model object 'Grid Column 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 boolean
editable
The cached value of the 'Editable
' attribute.protected static boolean
EDITABLE_EDEFAULT
The default value of the 'Editable
' attribute.protected static IEventChannel
EVENT_CHANNEL_EDEFAULT
The default value of the 'Event Channel
' attribute.protected IEventChannel
eventChannel
The cached value of the 'Event Channel
' attribute.protected String
header
The cached value of the 'Header
' attribute.protected static String
HEADER_EDEFAULT
The default value of the 'Header
' attribute.protected org.eclipse.emf.common.util.EList<String>
headers
The cached value of the 'Headers
' attribute list.protected static int
HEIGHT_IN_ROWS_EDEFAULT
The default value of the 'Height In Rows
' attribute.protected int
heightInRows
The cached value of the 'Height In Rows
' attribute.protected int
index
The cached value of the 'Index
' attribute.protected static int
INDEX_EDEFAULT
The default value of the 'Index
' attribute.protected boolean
tree
The cached value of the 'Tree
' attribute.protected static boolean
TREE_EDEFAULT
The default value of the 'Tree
' attribute.protected GridColumnType
type
The cached value of the 'Type
' attribute.protected static GridColumnType
TYPE_EDEFAULT
The default value of the 'Type
' attribute.protected int
width
The cached value of the 'Width
' attribute.protected static int
WIDTH_EDEFAULT
The default value of the 'Width
' attribute.-
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
GridColumnViewModelImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IContainerViewModel
basicGetParent()
org.eclipse.emf.common.notify.NotificationChain
basicSetParent(IContainerViewModel newParent, org.eclipse.emf.common.notify.NotificationChain msgs)
org.eclipse.emf.common.notify.NotificationChain
eBasicRemoveFromContainerFeature(org.eclipse.emf.common.notify.NotificationChain msgs)
Object
eGet(int featureID, boolean resolve, boolean coreType)
org.eclipse.emf.common.notify.NotificationChain
eInverseAdd(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)
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)
IEventChannel
getEventChannel()
String
getHeader()
org.eclipse.emf.common.util.EList<String>
getHeaders()
int
getHeightInRows()
int
getIndex()
IContainerViewModel
getParent()
GridColumnType
getType()
int
getWidth()
boolean
isEditable()
boolean
isTree()
void
setEditable(boolean newEditable)
void
setEventChannel(IEventChannel newEventChannel)
void
setHeader(String newHeader)
void
setHeightInRows(int newHeightInRows)
void
setIndex(int newIndex)
void
setParent(IContainerViewModel newParent)
void
setTree(boolean newTree)
void
setType(GridColumnType newType)
void
setWidth(int newWidth)
String
toString()
-
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
-
-
-
-
Field Detail
-
EVENT_CHANNEL_EDEFAULT
protected static final IEventChannel EVENT_CHANNEL_EDEFAULT
The default value of the 'Event Channel
' attribute.- See Also:
getEventChannel()
-
eventChannel
protected IEventChannel eventChannel
The cached value of the 'Event Channel
' attribute.- See Also:
getEventChannel()
-
HEADER_EDEFAULT
protected static final String HEADER_EDEFAULT
The default value of the 'Header
' attribute.- See Also:
getHeader()
, Constant Field Values
-
header
protected String header
The cached value of the 'Header
' attribute.- See Also:
getHeader()
-
INDEX_EDEFAULT
protected static final int INDEX_EDEFAULT
The default value of the 'Index
' attribute.- See Also:
getIndex()
, Constant Field Values
-
index
protected int index
The cached value of the 'Index
' attribute.- See Also:
getIndex()
-
TREE_EDEFAULT
protected static final boolean TREE_EDEFAULT
The default value of the 'Tree
' attribute.- See Also:
isTree()
, Constant Field Values
-
TYPE_EDEFAULT
protected static final GridColumnType TYPE_EDEFAULT
The default value of the 'Type
' attribute.- See Also:
getType()
-
type
protected GridColumnType type
The cached value of the 'Type
' attribute.- See Also:
getType()
-
EDITABLE_EDEFAULT
protected static final boolean EDITABLE_EDEFAULT
The default value of the 'Editable
' attribute.- See Also:
isEditable()
, Constant Field Values
-
editable
protected boolean editable
The cached value of the 'Editable
' attribute.- See Also:
isEditable()
-
WIDTH_EDEFAULT
protected static final int WIDTH_EDEFAULT
The default value of the 'Width
' attribute.- See Also:
getWidth()
, Constant Field Values
-
width
protected int width
The cached value of the 'Width
' attribute.- See Also:
getWidth()
-
headers
protected org.eclipse.emf.common.util.EList<String> headers
The cached value of the 'Headers
' attribute list.- See Also:
getHeaders()
-
HEIGHT_IN_ROWS_EDEFAULT
protected static final int HEIGHT_IN_ROWS_EDEFAULT
The default value of the 'Height In Rows
' attribute.- See Also:
getHeightInRows()
, Constant Field Values
-
heightInRows
protected int heightInRows
The cached value of the 'Height In Rows
' attribute.- See Also:
getHeightInRows()
-
-
Method Detail
-
eStaticClass
protected org.eclipse.emf.ecore.EClass eStaticClass()
- Overrides:
eStaticClass
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
getEventChannel
public IEventChannel getEventChannel()
- Specified by:
getEventChannel
in interfaceIViewModel
- Returns:
- the value of the 'Event Channel' attribute.
- See Also:
IViewModel.setEventChannel(IEventChannel)
,AefPackage.getIViewModel_EventChannel()
-
setEventChannel
public void setEventChannel(IEventChannel newEventChannel)
- Specified by:
setEventChannel
in interfaceIViewModel
- Parameters:
newEventChannel
- the new value of the 'Event Channel' attribute.- See Also:
IViewModel.getEventChannel()
-
getParent
public IContainerViewModel getParent()
- Specified by:
getParent
in interfaceIViewModel
- Returns:
- the value of the 'Parent' container reference.
- See Also:
IViewModel.setParent(IContainerViewModel)
,AefPackage.getIViewModel_Parent()
,IContainerViewModel.getChildren()
-
basicGetParent
public IContainerViewModel basicGetParent()
-
basicSetParent
public org.eclipse.emf.common.notify.NotificationChain basicSetParent(IContainerViewModel newParent, org.eclipse.emf.common.notify.NotificationChain msgs)
-
setParent
public void setParent(IContainerViewModel newParent)
- Specified by:
setParent
in interfaceIViewModel
- Parameters:
newParent
- the new value of the 'Parent' container reference.- See Also:
IViewModel.getParent()
-
getHeader
public String getHeader()
- Specified by:
getHeader
in interfaceGridColumnViewModel
- Returns:
- the value of the 'Header' attribute.
- See Also:
GridColumnViewModel.setHeader(String)
,DtAefPackage.getGridColumnViewModel_Header()
-
setHeader
public void setHeader(String newHeader)
- Specified by:
setHeader
in interfaceGridColumnViewModel
- Parameters:
newHeader
- the new value of the 'Header' attribute.- See Also:
GridColumnViewModel.getHeader()
-
getIndex
public int getIndex()
- Specified by:
getIndex
in interfaceGridColumnViewModel
- Returns:
- the value of the 'Index' attribute.
- See Also:
GridColumnViewModel.setIndex(int)
,DtAefPackage.getGridColumnViewModel_Index()
-
setIndex
public void setIndex(int newIndex)
- Specified by:
setIndex
in interfaceGridColumnViewModel
- Parameters:
newIndex
- the new value of the 'Index' attribute.- See Also:
GridColumnViewModel.getIndex()
-
isTree
public boolean isTree()
- Specified by:
isTree
in interfaceGridColumnViewModel
- Returns:
- the value of the 'Tree' attribute.
- See Also:
GridColumnViewModel.setTree(boolean)
,DtAefPackage.getGridColumnViewModel_Tree()
-
setTree
public void setTree(boolean newTree)
- Specified by:
setTree
in interfaceGridColumnViewModel
- Parameters:
newTree
- the new value of the 'Tree' attribute.- See Also:
GridColumnViewModel.isTree()
-
getType
public GridColumnType getType()
- Specified by:
getType
in interfaceGridColumnViewModel
- Returns:
- the value of the 'Type' attribute.
- See Also:
GridColumnType
,GridColumnViewModel.setType(GridColumnType)
,DtAefPackage.getGridColumnViewModel_Type()
-
setType
public void setType(GridColumnType newType)
- Specified by:
setType
in interfaceGridColumnViewModel
- Parameters:
newType
- the new value of the 'Type' attribute.- See Also:
GridColumnType
,GridColumnViewModel.getType()
-
isEditable
public boolean isEditable()
- Specified by:
isEditable
in interfaceGridColumnViewModel
- Returns:
- the value of the 'Editable' attribute.
- See Also:
GridColumnViewModel.setEditable(boolean)
,DtAefPackage.getGridColumnViewModel_Editable()
-
setEditable
public void setEditable(boolean newEditable)
- Specified by:
setEditable
in interfaceGridColumnViewModel
- Parameters:
newEditable
- the new value of the 'Editable' attribute.- See Also:
GridColumnViewModel.isEditable()
-
getWidth
public int getWidth()
- Specified by:
getWidth
in interfaceGridColumnViewModel
- Returns:
- the value of the 'Width' attribute.
- See Also:
GridColumnViewModel.setWidth(int)
,DtAefPackage.getGridColumnViewModel_Width()
-
setWidth
public void setWidth(int newWidth)
- Specified by:
setWidth
in interfaceGridColumnViewModel
- Parameters:
newWidth
- the new value of the 'Width' attribute.- See Also:
GridColumnViewModel.getWidth()
-
getHeaders
public org.eclipse.emf.common.util.EList<String> getHeaders()
- Specified by:
getHeaders
in interfaceGridColumnViewModel
- Returns:
- the value of the 'Headers' attribute list.
- See Also:
DtAefPackage.getGridColumnViewModel_Headers()
-
getHeightInRows
public int getHeightInRows()
- Specified by:
getHeightInRows
in interfaceGridColumnViewModel
- Returns:
- the value of the 'Height In Rows' attribute.
- See Also:
GridColumnViewModel.setHeightInRows(int)
,DtAefPackage.getGridColumnViewModel_HeightInRows()
-
setHeightInRows
public void setHeightInRows(int newHeightInRows)
- Specified by:
setHeightInRows
in interfaceGridColumnViewModel
- Parameters:
newHeightInRows
- the new value of the 'Height In Rows' attribute.- See Also:
GridColumnViewModel.getHeightInRows()
-
eInverseAdd
public org.eclipse.emf.common.notify.NotificationChain eInverseAdd(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)
- Overrides:
eInverseAdd
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
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 classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eBasicRemoveFromContainerFeature
public org.eclipse.emf.common.notify.NotificationChain eBasicRemoveFromContainerFeature(org.eclipse.emf.common.notify.NotificationChain msgs)
- Overrides:
eBasicRemoveFromContainerFeature
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eGet
public Object eGet(int featureID, boolean resolve, boolean coreType)
- Specified by:
eGet
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eGet
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eSet
public void eSet(int featureID, Object newValue)
- Specified by:
eSet
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eSet
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eUnset
public void eUnset(int featureID)
- Specified by:
eUnset
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eUnset
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eIsSet
public boolean eIsSet(int featureID)
- Specified by:
eIsSet
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eIsSet
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
toString
public String toString()
- Overrides:
toString
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
-