Class ButtonItemViewModelImpl
- 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.ButtonItemViewModelImpl
-
- All Implemented Interfaces:
IViewModel
,ButtonItemViewModel
,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 ButtonItemViewModelImpl extends org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container implements ButtonItemViewModel
An implementation of the model object 'Button Item 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
CONTEXT_ID_EDEFAULT
The default value of the 'Context Id
' attribute.protected String
contextId
The cached value of the 'Context Id
' attribute.protected boolean
enabled
The cached value of the 'Enabled
' attribute.protected static boolean
ENABLED_EDEFAULT
The default value of the 'Enabled
' 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 org.eclipse.swt.graphics.Image
image
The cached value of the 'Image
' attribute.protected static org.eclipse.swt.graphics.Image
IMAGE_EDEFAULT
The default value of the 'Image
' attribute.protected String
tooltip
The cached value of the 'Tooltip
' attribute.protected static String
TOOLTIP_EDEFAULT
The default value of the 'Tooltip
' attribute.protected boolean
visible
The cached value of the 'Visible
' attribute.protected static boolean
VISIBLE_EDEFAULT
The default value of the 'Visible
' 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
ButtonItemViewModelImpl()
-
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)
String
getContextId()
IEventChannel
getEventChannel()
org.eclipse.swt.graphics.Image
getImage()
IContainerViewModel
getParent()
String
getTooltip()
boolean
isEnabled()
boolean
isVisible()
void
setContextId(String newContextId)
void
setEnabled(boolean newEnabled)
void
setEventChannel(IEventChannel newEventChannel)
void
setImage(org.eclipse.swt.graphics.Image newImage)
void
setParent(IContainerViewModel newParent)
void
setTooltip(String newTooltip)
void
setVisible(boolean newVisible)
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()
-
ENABLED_EDEFAULT
protected static final boolean ENABLED_EDEFAULT
The default value of the 'Enabled
' attribute.- See Also:
isEnabled()
, Constant Field Values
-
enabled
protected boolean enabled
The cached value of the 'Enabled
' attribute.- See Also:
isEnabled()
-
VISIBLE_EDEFAULT
protected static final boolean VISIBLE_EDEFAULT
The default value of the 'Visible
' attribute.- See Also:
isVisible()
, Constant Field Values
-
visible
protected boolean visible
The cached value of the 'Visible
' attribute.- See Also:
isVisible()
-
TOOLTIP_EDEFAULT
protected static final String TOOLTIP_EDEFAULT
The default value of the 'Tooltip
' attribute.- See Also:
getTooltip()
-
tooltip
protected String tooltip
The cached value of the 'Tooltip
' attribute.- See Also:
getTooltip()
-
IMAGE_EDEFAULT
protected static final org.eclipse.swt.graphics.Image IMAGE_EDEFAULT
The default value of the 'Image
' attribute.- See Also:
getImage()
-
image
protected org.eclipse.swt.graphics.Image image
The cached value of the 'Image
' attribute.- See Also:
getImage()
-
CONTEXT_ID_EDEFAULT
protected static final String CONTEXT_ID_EDEFAULT
The default value of the 'Context Id
' attribute.- See Also:
getContextId()
-
contextId
protected String contextId
The cached value of the 'Context Id
' attribute.- See Also:
getContextId()
-
-
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()
-
isEnabled
public boolean isEnabled()
- Specified by:
isEnabled
in interfaceButtonItemViewModel
- Returns:
- the value of the 'Enabled' attribute.
- See Also:
ButtonItemViewModel.setEnabled(boolean)
,DtAefPackage.getButtonItemViewModel_Enabled()
-
setEnabled
public void setEnabled(boolean newEnabled)
- Specified by:
setEnabled
in interfaceButtonItemViewModel
- Parameters:
newEnabled
- the new value of the 'Enabled' attribute.- See Also:
ButtonItemViewModel.isEnabled()
-
isVisible
public boolean isVisible()
- Specified by:
isVisible
in interfaceButtonItemViewModel
- Returns:
- the value of the 'Visible' attribute.
- See Also:
ButtonItemViewModel.setVisible(boolean)
,DtAefPackage.getButtonItemViewModel_Visible()
-
setVisible
public void setVisible(boolean newVisible)
- Specified by:
setVisible
in interfaceButtonItemViewModel
- Parameters:
newVisible
- the new value of the 'Visible' attribute.- See Also:
ButtonItemViewModel.isVisible()
-
getTooltip
public String getTooltip()
- Specified by:
getTooltip
in interfaceButtonItemViewModel
- Returns:
- the value of the 'Tooltip' attribute.
- See Also:
ButtonItemViewModel.setTooltip(String)
,DtAefPackage.getButtonItemViewModel_Tooltip()
-
setTooltip
public void setTooltip(String newTooltip)
- Specified by:
setTooltip
in interfaceButtonItemViewModel
- Parameters:
newTooltip
- the new value of the 'Tooltip' attribute.- See Also:
ButtonItemViewModel.getTooltip()
-
getImage
public org.eclipse.swt.graphics.Image getImage()
- Specified by:
getImage
in interfaceButtonItemViewModel
- Returns:
- the value of the 'Image' attribute.
- See Also:
ButtonItemViewModel.setImage(Image)
,DtAefPackage.getButtonItemViewModel_Image()
-
setImage
public void setImage(org.eclipse.swt.graphics.Image newImage)
- Specified by:
setImage
in interfaceButtonItemViewModel
- Parameters:
newImage
- the new value of the 'Image' attribute.- See Also:
ButtonItemViewModel.getImage()
-
getContextId
public String getContextId()
- Specified by:
getContextId
in interfaceButtonItemViewModel
- Returns:
- the value of the 'Context Id' attribute.
- See Also:
ButtonItemViewModel.setContextId(String)
,DtAefPackage.getButtonItemViewModel_ContextId()
-
setContextId
public void setContextId(String newContextId)
- Specified by:
setContextId
in interfaceButtonItemViewModel
- Parameters:
newContextId
- the new value of the 'Context Id' attribute.- See Also:
ButtonItemViewModel.getContextId()
-
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
-
-