Class MenuFactoryImpl
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
org.eclipse.emf.ecore.impl.EModelElementImpl
org.eclipse.emf.ecore.impl.EFactoryImpl
org.eclipse.e4.ui.model.application.ui.menu.impl.MenuFactoryImpl
- All Implemented Interfaces:
MMenuFactory,org.eclipse.emf.common.notify.Notifier,org.eclipse.emf.ecore.EFactory,org.eclipse.emf.ecore.EModelElement,org.eclipse.emf.ecore.EObject,org.eclipse.emf.ecore.EStructuralFeature.Internal.DynamicValueHolder,org.eclipse.emf.ecore.InternalEObject,org.eclipse.emf.ecore.resource.impl.BinaryResourceImpl.DataConverter.Factory
public class MenuFactoryImpl
extends org.eclipse.emf.ecore.impl.EFactoryImpl
implements MMenuFactory
An implementation of the model Factory.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container.DynamicNested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl
org.eclipse.emf.ecore.impl.MinimalEObjectImpl.ContainerNested 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.EPropertiesHolderImplNested 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.EScannableAdapterListNested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject
org.eclipse.emf.ecore.InternalEObject.EStore -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final MenuFactoryImplThe singleton instance of the factory.Fields inherited from class org.eclipse.emf.ecore.impl.EFactoryImpl
EDATE_FORMATS, ePackageFields inherited from class org.eclipse.emf.ecore.impl.EModelElementImpl
eAnnotations, eFlags, EFROZEN, ELAST_EMODEL_ELEMENT_FLAGFields inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
eContainerFields inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSETFields inherited from interface org.eclipse.emf.ecore.EStructuralFeature.Internal.DynamicValueHolder
NILFields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASEFields inherited from interface org.eclipse.e4.ui.model.application.ui.menu.MMenuFactory
INSTANCE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionconvertItemTypeToString(org.eclipse.emf.ecore.EDataType eDataType, Object instanceValue) convertToString(org.eclipse.emf.ecore.EDataType eDataType, Object instanceValue) org.eclipse.emf.ecore.EObjectcreate(org.eclipse.emf.ecore.EClass eClass) createFromString(org.eclipse.emf.ecore.EDataType eDataType, String initialValue) createItemTypeFromString(org.eclipse.emf.ecore.EDataType eDataType, String initialValue) static MenuFactoryImplinit()Creates the default factory implementation.Methods inherited from class org.eclipse.emf.ecore.impl.EFactoryImpl
basicCreate, basicSetEPackage, collapseWhiteSpace, convertToString, create, createFromString, eGet, eInverseAdd, eInverseRemove, eInvoke, eIsSet, eSet, eStaticClass, eUnset, getEPackage, replaceWhiteSpace, setEPackage, splitMethods inherited from class org.eclipse.emf.ecore.impl.EModelElementImpl
eObjectForURIFragmentSegment, eSetDirectResource, eURIFragmentSegment, freeze, freeze, getEAnnotation, getEAnnotations, isFrozen, setFrozenMethods inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
eBasicSetContainer, eInternalContainerMethods 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, eSetProxyURI, eSettingsMethods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, 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, eIsSet, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eSettingDelegate, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStaticOperationCount, eStore, eUnset, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValues, toStringMethods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eNotificationRequired, eNotifyMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.eclipse.emf.ecore.EModelElement
getEAnnotation, getEAnnotationsMethods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnsetMethods inherited from interface org.eclipse.emf.ecore.InternalEObject
eNotificationRequiredMethods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Field Details
-
eINSTANCE
The singleton instance of the factory.
-
-
Constructor Details
-
MenuFactoryImpl
public MenuFactoryImpl()Creates an instance of the factory.
-
-
Method Details
-
init
Creates the default factory implementation. -
create
public org.eclipse.emf.ecore.EObject create(org.eclipse.emf.ecore.EClass eClass) - Specified by:
createin interfaceorg.eclipse.emf.ecore.EFactory- Overrides:
createin classorg.eclipse.emf.ecore.impl.EFactoryImpl
-
createFromString
- Specified by:
createFromStringin interfaceorg.eclipse.emf.ecore.EFactory- Overrides:
createFromStringin classorg.eclipse.emf.ecore.impl.EFactoryImpl
-
convertToString
- Specified by:
convertToStringin interfaceorg.eclipse.emf.ecore.EFactory- Overrides:
convertToStringin classorg.eclipse.emf.ecore.impl.EFactoryImpl
-
createMenuSeparator
- Specified by:
createMenuSeparatorin interfaceMMenuFactory- Returns:
- a new object of class 'Separator'.
- Since:
- 1.0
-
createMenu
- Specified by:
createMenuin interfaceMMenuFactory- Returns:
- a new object of class 'Menu'.
- Since:
- 1.0
-
createMenuContribution
- Specified by:
createMenuContributionin interfaceMMenuFactory- Returns:
- a new object of class 'Contribution'.
- Since:
- 1.0
- Restriction:
- See
model documentationfor details.
-
createPopupMenu
- Specified by:
createPopupMenuin interfaceMMenuFactory- Returns:
- a new object of class 'Popup Menu'.
- Since:
- 1.0
-
createDirectMenuItem
- Specified by:
createDirectMenuItemin interfaceMMenuFactory- Returns:
- a new object of class 'Direct Menu Item'.
- Since:
- 1.0
-
createHandledMenuItem
- Specified by:
createHandledMenuItemin interfaceMMenuFactory- Returns:
- a new object of class 'Handled Menu Item'.
- Since:
- 1.0
-
createToolBar
- Specified by:
createToolBarin interfaceMMenuFactory- Returns:
- a new object of class 'Tool Bar'.
- Since:
- 1.0
-
createToolControl
- Specified by:
createToolControlin interfaceMMenuFactory- Returns:
- a new object of class 'Tool Control'.
- Since:
- 1.0
-
createHandledToolItem
- Specified by:
createHandledToolItemin interfaceMMenuFactory- Returns:
- a new object of class 'Handled Tool Item'.
- Since:
- 1.0
-
createDirectToolItem
- Specified by:
createDirectToolItemin interfaceMMenuFactory- Returns:
- a new object of class 'Direct Tool Item'.
- Since:
- 1.0
-
createToolBarSeparator
- Specified by:
createToolBarSeparatorin interfaceMMenuFactory- Returns:
- a new object of class 'Tool Bar Separator'.
- Since:
- 1.0
-
createToolBarContribution
- Specified by:
createToolBarContributionin interfaceMMenuFactory- Returns:
- a new object of class 'Tool Bar Contribution'.
- Since:
- 1.0
- Restriction:
- See
model documentationfor details.
-
createTrimContribution
- Specified by:
createTrimContributionin interfaceMMenuFactory- Returns:
- a new object of class 'Trim Contribution'.
- Since:
- 1.0
- Restriction:
- See
model documentationfor details.
-
createDynamicMenuContribution
- Specified by:
createDynamicMenuContributionin interfaceMMenuFactory- Returns:
- a new object of class 'Dynamic Menu Contribution'.
- Since:
- 1.0
-
createItemTypeFromString
public ItemType createItemTypeFromString(org.eclipse.emf.ecore.EDataType eDataType, String initialValue) - Since:
- 1.0
-
convertItemTypeToString
public String convertItemTypeToString(org.eclipse.emf.ecore.EDataType eDataType, Object instanceValue) - Since:
- 1.0
-
getMenuPackage
-