Class ModelFactoryImpl
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.epf.diagram.model.impl.ModelFactoryImpl
- All Implemented Interfaces:
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
,ModelFactory
public class ModelFactoryImpl extends org.eclipse.emf.ecore.impl.EFactoryImpl implements ModelFactory
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.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.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList<E extends java.lang.Object & org.eclipse.emf.common.notify.Adapter>, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EObservableAdapterList, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EScannableAdapterList
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject
org.eclipse.emf.ecore.InternalEObject.EStore
-
Field Summary
Fields inherited from interface org.eclipse.emf.ecore.EStructuralFeature.Internal.DynamicValueHolder
NIL
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE
Fields inherited from interface org.eclipse.epf.diagram.model.ModelFactory
eINSTANCE
-
Constructor Summary
Constructors Constructor Description ModelFactoryImpl()
Creates an instance of the factory. -
Method Summary
Modifier and Type Method Description java.lang.String
convertAbsoluteBendpointToString(org.eclipse.emf.ecore.EDataType eDataType, java.lang.Object instanceValue)
java.lang.String
convertPointToString(org.eclipse.emf.ecore.EDataType eDataType, java.lang.Object instanceValue)
java.lang.String
convertRoleDescriptorToString(org.eclipse.emf.ecore.EDataType eDataType, java.lang.Object instanceValue)
java.lang.String
convertToString(org.eclipse.emf.ecore.EDataType eDataType, java.lang.Object instanceValue)
org.eclipse.emf.ecore.EObject
create(org.eclipse.emf.ecore.EClass eClass)
org.eclipse.draw2d.AbsoluteBendpoint
createAbsoluteBendpointFromString(org.eclipse.emf.ecore.EDataType eDataType, java.lang.String initialValue)
ActivityDetailDiagram
createActivityDetailDiagram()
ActivityDiagram
createActivityDiagram()
Diagram
createDiagram()
java.lang.Object
createFromString(org.eclipse.emf.ecore.EDataType eDataType, java.lang.String initialValue)
Link
createLink()
NamedNode
createNamedNode()
org.eclipse.draw2d.geometry.Point
createPointFromString(org.eclipse.emf.ecore.EDataType eDataType, java.lang.String initialValue)
RoleDescriptor
createRoleDescriptorFromString(org.eclipse.emf.ecore.EDataType eDataType, java.lang.String initialValue)
RoleNode
createRoleNode()
RoleTaskComposite
createRoleTaskComposite()
TaskNode
createTaskNode()
TypedNode
createTypedNode()
WorkBreakdownElementNode
createWorkBreakdownElementNode()
WorkProductComposite
createWorkProductComposite()
WorkProductDependencyDiagram
createWorkProductDependencyDiagram()
WorkProductDescriptorNode
createWorkProductDescriptorNode()
WorkProductNode
createWorkProductNode()
ModelPackage
getModelPackage()
static ModelPackage
getPackage()
Deprecated.static ModelFactory
init()
Creates the default factory implementation.Methods inherited from class org.eclipse.emf.ecore.impl.EFactoryImpl
basicSetEPackage, create, eGet, eInverseAdd, eInverseRemove, eInvoke, eIsSet, eSet, eUnset, getEPackage, setEPackage
Methods inherited from class org.eclipse.emf.ecore.impl.EModelElementImpl
eObjectForURIFragmentSegment, eURIFragmentSegment, getEAnnotation, getEAnnotations
Methods inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
eInternalContainer
Methods inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl
dynamicGet, dynamicSet, dynamicUnset, eAdapters, eClass, eContainerFeatureID, eContents, eCrossReferences, eDeliver, eDirectResource, eIsProxy, eProxyURI, eSetClass, eSetDeliver, eSetProxyURI
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eContainer, eContainingFeature, eContainmentFeature, eContains, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDynamicBasicRemoveFromContainer, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseRemove, eInvoke, eIsSet, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eStore, eUnset, eVirtualGet, eVirtualGet, eVirtualIsSet, eVirtualSet, eVirtualUnset, toString
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eNotificationRequired, eNotify
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.eclipse.emf.ecore.EFactory
getEPackage, setEPackage
Methods inherited from interface org.eclipse.emf.ecore.EModelElement
getEAnnotation, getEAnnotations
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.ecore.InternalEObject
eNotificationRequired
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Constructor Details
-
ModelFactoryImpl
public ModelFactoryImpl()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:
create
in interfaceorg.eclipse.emf.ecore.EFactory
- Overrides:
create
in classorg.eclipse.emf.ecore.impl.EFactoryImpl
-
createFromString
public java.lang.Object createFromString(org.eclipse.emf.ecore.EDataType eDataType, java.lang.String initialValue)- Specified by:
createFromString
in interfaceorg.eclipse.emf.ecore.EFactory
- Overrides:
createFromString
in classorg.eclipse.emf.ecore.impl.EFactoryImpl
-
convertToString
public java.lang.String convertToString(org.eclipse.emf.ecore.EDataType eDataType, java.lang.Object instanceValue)- Specified by:
convertToString
in interfaceorg.eclipse.emf.ecore.EFactory
- Overrides:
convertToString
in classorg.eclipse.emf.ecore.impl.EFactoryImpl
-
createDiagram
- Specified by:
createDiagram
in interfaceModelFactory
- Returns:
- a new object of class 'Diagram'.
-
createLink
- Specified by:
createLink
in interfaceModelFactory
- Returns:
- a new object of class 'Link'.
-
createNamedNode
- Specified by:
createNamedNode
in interfaceModelFactory
- Returns:
- a new object of class 'Named Node'.
-
createActivityDiagram
- Specified by:
createActivityDiagram
in interfaceModelFactory
- Returns:
- a new object of class 'Activity Diagram'.
-
createTypedNode
- Specified by:
createTypedNode
in interfaceModelFactory
- Returns:
- a new object of class 'Typed Node'.
-
createWorkProductDependencyDiagram
- Specified by:
createWorkProductDependencyDiagram
in interfaceModelFactory
- Returns:
- a new object of class 'Work Product Dependency Diagram'.
-
createWorkProductNode
- Specified by:
createWorkProductNode
in interfaceModelFactory
- Returns:
- a new object of class 'Work Product Node'.
-
createActivityDetailDiagram
- Specified by:
createActivityDetailDiagram
in interfaceModelFactory
- Returns:
- a new object of class 'Activity Detail Diagram'.
-
createRoleNode
- Specified by:
createRoleNode
in interfaceModelFactory
- Returns:
- a new object of class 'Role Node'.
-
createRoleTaskComposite
- Specified by:
createRoleTaskComposite
in interfaceModelFactory
- Returns:
- a new object of class 'Role Task Composite'.
-
createTaskNode
- Specified by:
createTaskNode
in interfaceModelFactory
- Returns:
- a new object of class 'Task Node'.
-
createWorkProductDescriptorNode
- Specified by:
createWorkProductDescriptorNode
in interfaceModelFactory
- Returns:
- a new object of class 'Work Product Descriptor Node'.
-
createWorkBreakdownElementNode
- Specified by:
createWorkBreakdownElementNode
in interfaceModelFactory
- Returns:
- a new object of class 'Work Breakdown Element Node'.
-
createWorkProductComposite
- Specified by:
createWorkProductComposite
in interfaceModelFactory
- Returns:
- a new object of class 'Work Product Composite'.
-
createAbsoluteBendpointFromString
public org.eclipse.draw2d.AbsoluteBendpoint createAbsoluteBendpointFromString(org.eclipse.emf.ecore.EDataType eDataType, java.lang.String initialValue) -
convertAbsoluteBendpointToString
public java.lang.String convertAbsoluteBendpointToString(org.eclipse.emf.ecore.EDataType eDataType, java.lang.Object instanceValue) -
createPointFromString
public org.eclipse.draw2d.geometry.Point createPointFromString(org.eclipse.emf.ecore.EDataType eDataType, java.lang.String initialValue) -
convertPointToString
public java.lang.String convertPointToString(org.eclipse.emf.ecore.EDataType eDataType, java.lang.Object instanceValue) -
createRoleDescriptorFromString
public RoleDescriptor createRoleDescriptorFromString(org.eclipse.emf.ecore.EDataType eDataType, java.lang.String initialValue) -
convertRoleDescriptorToString
public java.lang.String convertRoleDescriptorToString(org.eclipse.emf.ecore.EDataType eDataType, java.lang.Object instanceValue) -
getModelPackage
- Specified by:
getModelPackage
in interfaceModelFactory
- Returns:
- the package supported by this factory.
-
getPackage
Deprecated.
-