org.eclipse.gmf.tooldef.impl
Class MenuActionImpl

java.lang.Object
  extended by org.eclipse.emf.common.notify.impl.BasicNotifierImpl
      extended by org.eclipse.emf.ecore.impl.BasicEObjectImpl
          extended by org.eclipse.emf.ecore.impl.EObjectImpl
              extended by org.eclipse.gmf.tooldef.impl.MenuActionImpl
All Implemented Interfaces:
org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.InternalEObject, ContributionItem, ItemBase, MenuAction

public class MenuActionImpl
extends org.eclipse.emf.ecore.impl.EObjectImpl
implements MenuAction

An implementation of the model object 'Menu Action'.

The following features are implemented:

Generated

Nested Class Summary
 
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
 
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject
org.eclipse.emf.ecore.InternalEObject.EStore
 
Field Summary
protected static String HOT_KEY_EDEFAULT
          The default value of the 'Hot Key' attribute.
protected  String hotKey
          The cached value of the 'Hot Key' attribute.
protected  Image icon
          The cached value of the 'Icon' containment reference.
protected  ActionKind kind
          The cached value of the 'Kind' attribute.
protected static ActionKind KIND_EDEFAULT
          The default value of the 'Kind' 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.EObjectImpl
eAdapters, eContainer, eContainerFeatureID, EDELIVER, EDYNAMIC_CLASS, eFlags, ELAST_EOBJECT_FLAG, ELAST_NOTIFIER_FLAG, eProperties, EPROXY
 
Fields inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSET
 
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE
 
Constructor Summary
protected MenuActionImpl()
           
 
Method Summary
 org.eclipse.emf.common.notify.NotificationChain basicSetIcon(Image newIcon, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 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)
           
 String getHotKey()
           
 Image getIcon()
           
 ActionKind getKind()
           
 String getTitle()
           
 void setHotKey(String newHotKey)
           
 void setIcon(Image newIcon)
           
 void setKind(ActionKind newKind)
           
 void setTitle(String newTitle)
           
 String toString()
           
 
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eBasicAdapters, eBasicProperties, eBasicSetContainer, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eInvoke, eIsProxy, eProperties, eSetClass, eSetDeliver, eSetProxyURI
 
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicClass, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicInvoke, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eHasSettings, eInternalResource, eInverseAdd, eInverseAdd, eInverseRemove, eInvocationDelegate, eInvoke, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetDirectResource, eSetResource, eSetStore, eSetting, eSettingDelegate, eSettings, 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
eBasicAdapterArray, eBasicHasAdapters, eNotificationRequired, eNotify
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
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 org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 
Methods inherited from interface org.eclipse.emf.ecore.InternalEObject
eNotificationRequired
 

Field Detail

icon

protected Image icon
The cached value of the 'Icon' containment reference.

See Also:
getIcon()
Generated
Ordered

TITLE_EDEFAULT

protected static final String TITLE_EDEFAULT
The default value of the 'Title' attribute.

See Also:
getTitle()
Generated
Ordered

title

protected String title
The cached value of the 'Title' attribute.

See Also:
getTitle()
Generated
Ordered

KIND_EDEFAULT

protected static final ActionKind KIND_EDEFAULT
The default value of the 'Kind' attribute.

See Also:
getKind()
Generated
Ordered

kind

protected ActionKind kind
The cached value of the 'Kind' attribute.

See Also:
getKind()
Generated
Ordered

HOT_KEY_EDEFAULT

protected static final String HOT_KEY_EDEFAULT
The default value of the 'Hot Key' attribute.

See Also:
getHotKey()
Generated
Ordered

hotKey

protected String hotKey
The cached value of the 'Hot Key' attribute.

See Also:
getHotKey()
Generated
Ordered
Constructor Detail

MenuActionImpl

protected MenuActionImpl()

Generated
Method Detail

eStaticClass

protected org.eclipse.emf.ecore.EClass eStaticClass()

Overrides:
eStaticClass in class org.eclipse.emf.ecore.impl.EObjectImpl
Generated

getIcon

public Image getIcon()

Specified by:
getIcon in interface ContributionItem
Returns:
the value of the 'Icon' containment reference.
See Also:
ContributionItem.setIcon(Image), GMFToolPackage.getContributionItem_Icon()
Generated

basicSetIcon

public org.eclipse.emf.common.notify.NotificationChain basicSetIcon(Image newIcon,
                                                                    org.eclipse.emf.common.notify.NotificationChain msgs)

Generated

setIcon

public void setIcon(Image newIcon)

Specified by:
setIcon in interface ContributionItem
Parameters:
newIcon - the new value of the 'Icon' containment reference.
See Also:
ContributionItem.getIcon()
Generated

getTitle

public String getTitle()

Specified by:
getTitle in interface ContributionItem
Returns:
the value of the 'Title' attribute.
See Also:
ContributionItem.setTitle(String), GMFToolPackage.getContributionItem_Title()
Generated

setTitle

public void setTitle(String newTitle)

Specified by:
setTitle in interface ContributionItem
Parameters:
newTitle - the new value of the 'Title' attribute.
See Also:
ContributionItem.getTitle()
Generated

getKind

public ActionKind getKind()

Specified by:
getKind in interface MenuAction
Returns:
the value of the 'Kind' attribute.
See Also:
ActionKind, MenuAction.setKind(ActionKind), GMFToolPackage.getMenuAction_Kind()
Generated

setKind

public void setKind(ActionKind newKind)

Specified by:
setKind in interface MenuAction
Parameters:
newKind - the new value of the 'Kind' attribute.
See Also:
ActionKind, MenuAction.getKind()
Generated

getHotKey

public String getHotKey()

Specified by:
getHotKey in interface MenuAction
Returns:
the value of the 'Hot Key' attribute.
See Also:
MenuAction.setHotKey(String), GMFToolPackage.getMenuAction_HotKey()
Generated

setHotKey

public void setHotKey(String newHotKey)

Specified by:
setHotKey in interface MenuAction
Parameters:
newHotKey - the new value of the 'Hot Key' attribute.
See Also:
MenuAction.getHotKey()
Generated

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 class org.eclipse.emf.ecore.impl.BasicEObjectImpl
Generated

eGet

public Object eGet(int featureID,
                   boolean resolve,
                   boolean coreType)

Specified by:
eGet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eGet in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
Generated

eSet

public void eSet(int featureID,
                 Object newValue)

Specified by:
eSet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eSet in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
Generated

eUnset

public void eUnset(int featureID)

Specified by:
eUnset in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eUnset in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
Generated

eIsSet

public boolean eIsSet(int featureID)

Specified by:
eIsSet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eIsSet in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
Generated

toString

public String toString()

Overrides:
toString in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
Generated


Copyright © 2012. All Rights Reserved.