Class PresentationCommandBaseImpl
- 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.form.presentation.model.impl.PresentationCommandBaseImpl
-
- All Implemented Interfaces:
Presentation
,PresentationCommandBase
,PresentationEnabled
,PresentationPicture
,PresentationReadOnly
,PresentationTitle
,org.eclipse.emf.common.notify.Notifier
,org.eclipse.emf.ecore.EObject
,org.eclipse.emf.ecore.EStructuralFeature.Internal.DynamicValueHolder
,org.eclipse.emf.ecore.InternalEObject
- Direct Known Subclasses:
PresentationBarCommandImpl
,PresentationCommandImpl
,PresentationDropDownCommandBaseImpl
,PresentationLinkCommandImpl
public abstract class PresentationCommandBaseImpl extends org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container implements PresentationCommandBase
An implementation of the model object 'Command Base'.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
default_
The cached value of the 'Default
' attribute.protected static boolean
DEFAULT_EDEFAULT
The default value of the 'Default
' 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 boolean
GROUP_ENABLED_EDEFAULT
The default value of the 'Group Enabled
' attribute.protected static boolean
GROUP_READ_ONLY_EDEFAULT
The default value of the 'Group Read Only
' attribute.protected boolean
groupEnabled
The cached value of the 'Group Enabled
' attribute.protected boolean
groupReadOnly
The cached value of the 'Group Read Only
' attribute.protected PresentationImage
picture
The cached value of the 'Picture
' containment reference.protected static boolean
READ_ONLY_EDEFAULT
The default value of the 'Read Only
' attribute.protected boolean
readOnly
The cached value of the 'Read Only
' attribute.protected String
shortcut
The cached value of the 'Shortcut
' attribute.protected static String
SHORTCUT_EDEFAULT
The default value of the 'Shortcut
' attribute.protected PresentationCommandStyle
style
The cached value of the 'Style
' attribute.protected static PresentationCommandStyle
STYLE_EDEFAULT
The default value of the 'Style
' attribute.protected String
title
The cached value of the 'Title
' attribute.protected static String
TITLE_EDEFAULT
The default value of the 'Title
' 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
PresentationCommandBaseImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.eclipse.emf.common.notify.NotificationChain
basicSetPicture(PresentationImage newPicture, org.eclipse.emf.common.notify.NotificationChain msgs)
int
eBaseStructuralFeatureID(int derivedFeatureID, Class<?> baseClass)
int
eDerivedStructuralFeatureID(int baseFeatureID, Class<?> baseClass)
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)
PresentationImage
getPicture()
String
getShortcut()
PresentationCommandStyle
getStyle()
String
getTitle()
boolean
isDefault()
boolean
isEnabled()
boolean
isGroupEnabled()
boolean
isGroupReadOnly()
boolean
isReadOnly()
void
setDefault(boolean newDefault)
void
setEnabled(boolean newEnabled)
void
setGroupEnabled(boolean newGroupEnabled)
void
setGroupReadOnly(boolean newGroupReadOnly)
void
setPicture(PresentationImage newPicture)
void
setReadOnly(boolean newReadOnly)
void
setShortcut(String newShortcut)
void
setStyle(PresentationCommandStyle newStyle)
void
setTitle(String newTitle)
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, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, 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, 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
-
READ_ONLY_EDEFAULT
protected static final boolean READ_ONLY_EDEFAULT
The default value of the 'Read Only
' attribute.- See Also:
isReadOnly()
, Constant Field Values
-
readOnly
protected boolean readOnly
The cached value of the 'Read Only
' attribute.- See Also:
isReadOnly()
-
GROUP_READ_ONLY_EDEFAULT
protected static final boolean GROUP_READ_ONLY_EDEFAULT
The default value of the 'Group Read Only
' attribute.- See Also:
isGroupReadOnly()
, Constant Field Values
-
groupReadOnly
protected boolean groupReadOnly
The cached value of the 'Group Read Only
' attribute.- See Also:
isGroupReadOnly()
-
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()
-
GROUP_ENABLED_EDEFAULT
protected static final boolean GROUP_ENABLED_EDEFAULT
The default value of the 'Group Enabled
' attribute.- See Also:
isGroupEnabled()
, Constant Field Values
-
groupEnabled
protected boolean groupEnabled
The cached value of the 'Group Enabled
' attribute.- See Also:
isGroupEnabled()
-
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()
-
picture
protected PresentationImage picture
The cached value of the 'Picture
' containment reference.- See Also:
getPicture()
-
STYLE_EDEFAULT
protected static final PresentationCommandStyle STYLE_EDEFAULT
The default value of the 'Style
' attribute.- See Also:
getStyle()
-
style
protected PresentationCommandStyle style
The cached value of the 'Style
' attribute.- See Also:
getStyle()
-
DEFAULT_EDEFAULT
protected static final boolean DEFAULT_EDEFAULT
The default value of the 'Default
' attribute.- See Also:
isDefault()
, Constant Field Values
-
default_
protected boolean default_
The cached value of the 'Default
' attribute.- See Also:
isDefault()
-
SHORTCUT_EDEFAULT
protected static final String SHORTCUT_EDEFAULT
The default value of the 'Shortcut
' attribute.- See Also:
getShortcut()
-
shortcut
protected String shortcut
The cached value of the 'Shortcut
' attribute.- See Also:
getShortcut()
-
-
Method Detail
-
eStaticClass
protected org.eclipse.emf.ecore.EClass eStaticClass()
- Overrides:
eStaticClass
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
isReadOnly
public boolean isReadOnly()
- Specified by:
isReadOnly
in interfacePresentationReadOnly
- Returns:
- the value of the 'Read Only' attribute.
- See Also:
PresentationReadOnly.setReadOnly(boolean)
,PresentationPackage.getPresentationReadOnly_ReadOnly()
-
setReadOnly
public void setReadOnly(boolean newReadOnly)
- Specified by:
setReadOnly
in interfacePresentationReadOnly
- Parameters:
newReadOnly
- the new value of the 'Read Only' attribute.- See Also:
PresentationReadOnly.isReadOnly()
-
isGroupReadOnly
public boolean isGroupReadOnly()
- Specified by:
isGroupReadOnly
in interfacePresentationReadOnly
- Returns:
- the value of the 'Group Read Only' attribute.
- See Also:
PresentationReadOnly.setGroupReadOnly(boolean)
,PresentationPackage.getPresentationReadOnly_GroupReadOnly()
-
setGroupReadOnly
public void setGroupReadOnly(boolean newGroupReadOnly)
- Specified by:
setGroupReadOnly
in interfacePresentationReadOnly
- Parameters:
newGroupReadOnly
- the new value of the 'Group Read Only' attribute.- See Also:
PresentationReadOnly.isGroupReadOnly()
-
isEnabled
public boolean isEnabled()
- Specified by:
isEnabled
in interfacePresentationEnabled
- Returns:
- the value of the 'Enabled' attribute.
- See Also:
PresentationEnabled.setEnabled(boolean)
,PresentationPackage.getPresentationEnabled_Enabled()
-
setEnabled
public void setEnabled(boolean newEnabled)
- Specified by:
setEnabled
in interfacePresentationEnabled
- Parameters:
newEnabled
- the new value of the 'Enabled' attribute.- See Also:
PresentationEnabled.isEnabled()
-
isGroupEnabled
public boolean isGroupEnabled()
- Specified by:
isGroupEnabled
in interfacePresentationEnabled
- Returns:
- the value of the 'Group Enabled' attribute.
- See Also:
PresentationEnabled.setGroupEnabled(boolean)
,PresentationPackage.getPresentationEnabled_GroupEnabled()
-
setGroupEnabled
public void setGroupEnabled(boolean newGroupEnabled)
- Specified by:
setGroupEnabled
in interfacePresentationEnabled
- Parameters:
newGroupEnabled
- the new value of the 'Group Enabled' attribute.- See Also:
PresentationEnabled.isGroupEnabled()
-
getTitle
public String getTitle()
- Specified by:
getTitle
in interfacePresentationTitle
- Returns:
- the value of the 'Title' attribute.
- See Also:
PresentationTitle.setTitle(String)
,PresentationPackage.getPresentationTitle_Title()
-
setTitle
public void setTitle(String newTitle)
- Specified by:
setTitle
in interfacePresentationTitle
- Parameters:
newTitle
- the new value of the 'Title' attribute.- See Also:
PresentationTitle.getTitle()
-
getPicture
public PresentationImage getPicture()
- Specified by:
getPicture
in interfacePresentationPicture
- Returns:
- the value of the 'Picture' containment reference.
- See Also:
PresentationPicture.setPicture(PresentationImage)
,PresentationPackage.getPresentationPicture_Picture()
-
basicSetPicture
public org.eclipse.emf.common.notify.NotificationChain basicSetPicture(PresentationImage newPicture, org.eclipse.emf.common.notify.NotificationChain msgs)
-
setPicture
public void setPicture(PresentationImage newPicture)
- Specified by:
setPicture
in interfacePresentationPicture
- Parameters:
newPicture
- the new value of the 'Picture' containment reference.- See Also:
PresentationPicture.getPicture()
-
getStyle
public PresentationCommandStyle getStyle()
- Specified by:
getStyle
in interfacePresentationCommandBase
- Returns:
- the value of the 'Style' attribute.
- See Also:
PresentationCommandStyle
,PresentationCommandBase.setStyle(PresentationCommandStyle)
,PresentationPackage.getPresentationCommandBase_Style()
-
setStyle
public void setStyle(PresentationCommandStyle newStyle)
- Specified by:
setStyle
in interfacePresentationCommandBase
- Parameters:
newStyle
- the new value of the 'Style' attribute.- See Also:
PresentationCommandStyle
,PresentationCommandBase.getStyle()
-
isDefault
public boolean isDefault()
- Specified by:
isDefault
in interfacePresentationCommandBase
- Returns:
- the value of the 'Default' attribute.
- See Also:
PresentationCommandBase.setDefault(boolean)
,PresentationPackage.getPresentationCommandBase_Default()
-
setDefault
public void setDefault(boolean newDefault)
- Specified by:
setDefault
in interfacePresentationCommandBase
- Parameters:
newDefault
- the new value of the 'Default' attribute.- See Also:
PresentationCommandBase.isDefault()
-
getShortcut
public String getShortcut()
- Specified by:
getShortcut
in interfacePresentationCommandBase
- Returns:
- the value of the 'Shortcut' attribute.
- See Also:
PresentationCommandBase.setShortcut(String)
,PresentationPackage.getPresentationCommandBase_Shortcut()
-
setShortcut
public void setShortcut(String newShortcut)
- Specified by:
setShortcut
in interfacePresentationCommandBase
- Parameters:
newShortcut
- the new value of the 'Shortcut' attribute.- See Also:
PresentationCommandBase.getShortcut()
-
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
-
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
-
eBaseStructuralFeatureID
public int eBaseStructuralFeatureID(int derivedFeatureID, Class<?> baseClass)
- Specified by:
eBaseStructuralFeatureID
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eBaseStructuralFeatureID
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eDerivedStructuralFeatureID
public int eDerivedStructuralFeatureID(int baseFeatureID, Class<?> baseClass)
- Specified by:
eDerivedStructuralFeatureID
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eDerivedStructuralFeatureID
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
toString
public String toString()
- Overrides:
toString
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
-