Class ToolBarItemViewModelImpl
- 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.ToolBarItemViewModelImpl
-
- All Implemented Interfaces:
IViewModel
,ToolBarItemViewModel
,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 ToolBarItemViewModelImpl extends org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container implements ToolBarItemViewModel
An implementation of the model object 'Tool Bar 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 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 boolean
selected
The cached value of the 'Selected
' attribute.protected static boolean
SELECTED_EDEFAULT
The default value of the 'Selected
' attribute.protected int
style
The cached value of the 'Style
' attribute.protected static int
STYLE_EDEFAULT
The default value of the 'Style
' attribute.protected static String
TOOLTIP_TEXT_EDEFAULT
The default value of the 'Tooltip Text
' attribute.protected String
tooltipText
The cached value of the 'Tooltip Text
' 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
ToolBarItemViewModelImpl()
-
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()
org.eclipse.swt.graphics.Image
getImage()
IContainerViewModel
getParent()
int
getStyle()
String
getTooltipText()
boolean
isEnabled()
boolean
isSelected()
void
setEnabled(boolean newEnabled)
void
setEventChannel(IEventChannel newEventChannel)
void
setImage(org.eclipse.swt.graphics.Image newImage)
void
setParent(IContainerViewModel newParent)
void
setSelected(boolean newSelected)
void
setStyle(int newStyle)
void
setTooltipText(String newTooltipText)
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()
-
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()
-
TOOLTIP_TEXT_EDEFAULT
protected static final String TOOLTIP_TEXT_EDEFAULT
The default value of the 'Tooltip Text
' attribute.- See Also:
getTooltipText()
, Constant Field Values
-
tooltipText
protected String tooltipText
The cached value of the 'Tooltip Text
' attribute.- See Also:
getTooltipText()
-
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()
-
SELECTED_EDEFAULT
protected static final boolean SELECTED_EDEFAULT
The default value of the 'Selected
' attribute.- See Also:
isSelected()
, Constant Field Values
-
selected
protected boolean selected
The cached value of the 'Selected
' attribute.- See Also:
isSelected()
-
STYLE_EDEFAULT
protected static final int STYLE_EDEFAULT
The default value of the 'Style
' attribute.- See Also:
getStyle()
, Constant Field Values
-
style
protected int style
The cached value of the 'Style
' attribute.- See Also:
getStyle()
-
-
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()
-
getImage
public org.eclipse.swt.graphics.Image getImage()
- Specified by:
getImage
in interfaceToolBarItemViewModel
- Returns:
- the value of the 'Image' attribute.
- See Also:
ToolBarItemViewModel.setImage(Image)
,DtAefPackage.getToolBarItemViewModel_Image()
-
setImage
public void setImage(org.eclipse.swt.graphics.Image newImage)
- Specified by:
setImage
in interfaceToolBarItemViewModel
- Parameters:
newImage
- the new value of the 'Image' attribute.- See Also:
ToolBarItemViewModel.getImage()
-
getTooltipText
public String getTooltipText()
- Specified by:
getTooltipText
in interfaceToolBarItemViewModel
- Returns:
- the value of the 'Tooltip Text' attribute.
- See Also:
ToolBarItemViewModel.setTooltipText(String)
,DtAefPackage.getToolBarItemViewModel_TooltipText()
-
setTooltipText
public void setTooltipText(String newTooltipText)
- Specified by:
setTooltipText
in interfaceToolBarItemViewModel
- Parameters:
newTooltipText
- the new value of the 'Tooltip Text' attribute.- See Also:
ToolBarItemViewModel.getTooltipText()
-
isEnabled
public boolean isEnabled()
- Specified by:
isEnabled
in interfaceToolBarItemViewModel
- Returns:
- the value of the 'Enabled' attribute.
- See Also:
ToolBarItemViewModel.setEnabled(boolean)
,DtAefPackage.getToolBarItemViewModel_Enabled()
-
setEnabled
public void setEnabled(boolean newEnabled)
- Specified by:
setEnabled
in interfaceToolBarItemViewModel
- Parameters:
newEnabled
- the new value of the 'Enabled' attribute.- See Also:
ToolBarItemViewModel.isEnabled()
-
isSelected
public boolean isSelected()
- Specified by:
isSelected
in interfaceToolBarItemViewModel
- Returns:
- the value of the 'Selected' attribute.
- See Also:
ToolBarItemViewModel.setSelected(boolean)
,DtAefPackage.getToolBarItemViewModel_Selected()
-
setSelected
public void setSelected(boolean newSelected)
- Specified by:
setSelected
in interfaceToolBarItemViewModel
- Parameters:
newSelected
- the new value of the 'Selected' attribute.- See Also:
ToolBarItemViewModel.isSelected()
-
getStyle
public int getStyle()
- Specified by:
getStyle
in interfaceToolBarItemViewModel
- Returns:
- the value of the 'Style' attribute.
- See Also:
ToolBarItemViewModel.setStyle(int)
,DtAefPackage.getToolBarItemViewModel_Style()
-
setStyle
public void setStyle(int newStyle)
- Specified by:
setStyle
in interfaceToolBarItemViewModel
- Parameters:
newStyle
- the new value of the 'Style' attribute.- See Also:
ToolBarItemViewModel.getStyle()
-
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
-
-