org.eclipse.graphiti.mm.impl
Class MmPackageImpl

java.lang.Object
  extended by EPackageImpl
      extended by org.eclipse.graphiti.mm.impl.MmPackageImpl
All Implemented Interfaces:
MmPackage

public class MmPackageImpl
extends EPackageImpl
implements MmPackage

An implementation of the model Package.


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.eclipse.graphiti.mm.MmPackage
MmPackage.Literals
 
Field Summary
private  EClass graphicsAlgorithmContainerEClass
           
private  boolean isCreated
           
private static boolean isInited
           
private  boolean isInitialized
           
private  EClass propertyContainerEClass
           
private  EClass propertyEClass
           
private  EClass styleContainerEClass
           
 
Fields inherited from interface org.eclipse.graphiti.mm.MmPackage
eINSTANCE, eNAME, eNS_PREFIX, eNS_URI, GRAPHICS_ALGORITHM_CONTAINER, GRAPHICS_ALGORITHM_CONTAINER__PROPERTIES, GRAPHICS_ALGORITHM_CONTAINER_FEATURE_COUNT, PROPERTY, PROPERTY__KEY, PROPERTY__VALUE, PROPERTY_CONTAINER, PROPERTY_CONTAINER__PROPERTIES, PROPERTY_CONTAINER_FEATURE_COUNT, PROPERTY_FEATURE_COUNT, STYLE_CONTAINER, STYLE_CONTAINER__STYLES, STYLE_CONTAINER_FEATURE_COUNT
 
Constructor Summary
private MmPackageImpl()
          Creates an instance of the model Package, registered with EPackage.Registry by the package package URI value.
 
Method Summary
 void createPackageContents()
          Creates the meta-model objects for the package.
 EClass getGraphicsAlgorithmContainer()
           
 MmFactory getMmFactory()
           
 EAttribute getProperty_Key()
           
 EAttribute getProperty_Value()
           
 EClass getProperty()
           
 EReference getPropertyContainer_Properties()
           
 EClass getPropertyContainer()
           
 EReference getStyleContainer_Styles()
           
 EClass getStyleContainer()
           
static MmPackage init()
          Creates, registers, and initializes the Package for this model, and for any others upon which it depends.
 void initializePackageContents()
          Complete the initialization of the package and its meta-model.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

propertyEClass

private EClass propertyEClass


graphicsAlgorithmContainerEClass

private EClass graphicsAlgorithmContainerEClass


propertyContainerEClass

private EClass propertyContainerEClass


styleContainerEClass

private EClass styleContainerEClass


isInited

private static boolean isInited


isCreated

private boolean isCreated


isInitialized

private boolean isInitialized

Constructor Detail

MmPackageImpl

private MmPackageImpl()
Creates an instance of the model Package, registered with EPackage.Registry by the package package URI value.

Note: the correct way to create the package is via the static factory method init(), which also performs initialization of the package, or returns the registered package, if one already exists.

See Also:
EPackage.Registry, MmPackage.eNS_URI, init()
Method Detail

init

public static MmPackage init()
Creates, registers, and initializes the Package for this model, and for any others upon which it depends.

This method is used to initialize MmPackage.eINSTANCE when that field is accessed. Clients should not invoke it directly. Instead, they should simply access that field to obtain the package.

See Also:
MmPackage.eNS_URI, createPackageContents(), initializePackageContents()

getProperty

public EClass getProperty()

Specified by:
getProperty in interface MmPackage
Returns:
the meta object for class 'Property'.
See Also:
Property

getProperty_Key

public EAttribute getProperty_Key()

Specified by:
getProperty_Key in interface MmPackage
Returns:
the meta object for the attribute 'Key'.
See Also:
Property.getKey(), MmPackage.getProperty()

getProperty_Value

public EAttribute getProperty_Value()

Specified by:
getProperty_Value in interface MmPackage
Returns:
the meta object for the attribute 'Value'.
See Also:
Property.getValue(), MmPackage.getProperty()

getGraphicsAlgorithmContainer

public EClass getGraphicsAlgorithmContainer()

Specified by:
getGraphicsAlgorithmContainer in interface MmPackage
Returns:
the meta object for class 'Graphics Algorithm Container'.
See Also:
GraphicsAlgorithmContainer

getPropertyContainer

public EClass getPropertyContainer()

Specified by:
getPropertyContainer in interface MmPackage
Returns:
the meta object for class 'Property Container'.
See Also:
PropertyContainer

getPropertyContainer_Properties

public EReference getPropertyContainer_Properties()

Specified by:
getPropertyContainer_Properties in interface MmPackage
Returns:
the meta object for the containment reference list 'Properties'.
See Also:
PropertyContainer.getProperties(), MmPackage.getPropertyContainer()

getStyleContainer

public EClass getStyleContainer()

Specified by:
getStyleContainer in interface MmPackage
Returns:
the meta object for class 'Style Container'.
See Also:
StyleContainer

getStyleContainer_Styles

public EReference getStyleContainer_Styles()

Specified by:
getStyleContainer_Styles in interface MmPackage
Returns:
the meta object for the containment reference list 'Styles'.
See Also:
StyleContainer.getStyles(), MmPackage.getStyleContainer()

getMmFactory

public MmFactory getMmFactory()

Specified by:
getMmFactory in interface MmPackage
Returns:
the factory that creates the instances of the model.

createPackageContents

public void createPackageContents()
Creates the meta-model objects for the package. This method is guarded to have no affect on any invocation but its first.


initializePackageContents

public void initializePackageContents()
Complete the initialization of the package and its meta-model. This method is guarded to have no affect on any invocation but its first.



Copyright (c) SAP AG 2005, 2010.