org.eclipse.graphiti.mm.algorithms.impl
Class AlgorithmsFactoryImpl

java.lang.Object
  extended by EFactoryImpl
      extended by org.eclipse.graphiti.mm.algorithms.impl.AlgorithmsFactoryImpl
All Implemented Interfaces:
AlgorithmsFactory

public class AlgorithmsFactoryImpl
extends EFactoryImpl
implements AlgorithmsFactory

An implementation of the model Factory.


Field Summary
 
Fields inherited from interface org.eclipse.graphiti.mm.algorithms.AlgorithmsFactory
eINSTANCE
 
Constructor Summary
AlgorithmsFactoryImpl()
          Creates an instance of the factory.
 
Method Summary
 EObject create(EClass eClass)
           
 Ellipse createEllipse()
           
 Image createImage()
           
 MultiText createMultiText()
           
 PlatformGraphicsAlgorithm createPlatformGraphicsAlgorithm()
           
 Polygon createPolygon()
           
 Polyline createPolyline()
           
 Rectangle createRectangle()
           
 RoundedRectangle createRoundedRectangle()
           
 Text createText()
           
 AlgorithmsPackage getAlgorithmsPackage()
           
static AlgorithmsPackage getPackage()
          Deprecated.  
static AlgorithmsFactory init()
          Creates the default factory implementation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AlgorithmsFactoryImpl

public AlgorithmsFactoryImpl()
Creates an instance of the factory.

Method Detail

init

public static AlgorithmsFactory init()
Creates the default factory implementation.


create

public EObject create(EClass eClass)


createPolyline

public Polyline createPolyline()

Specified by:
createPolyline in interface AlgorithmsFactory
Returns:
a new object of class 'Polyline'.

createEllipse

public Ellipse createEllipse()

Specified by:
createEllipse in interface AlgorithmsFactory
Returns:
a new object of class 'Ellipse'.

createText

public Text createText()

Specified by:
createText in interface AlgorithmsFactory
Returns:
a new object of class 'Text'.

createPolygon

public Polygon createPolygon()

Specified by:
createPolygon in interface AlgorithmsFactory
Returns:
a new object of class 'Polygon'.

createRectangle

public Rectangle createRectangle()

Specified by:
createRectangle in interface AlgorithmsFactory
Returns:
a new object of class 'Rectangle'.

createRoundedRectangle

public RoundedRectangle createRoundedRectangle()

Specified by:
createRoundedRectangle in interface AlgorithmsFactory
Returns:
a new object of class 'Rounded Rectangle'.

createImage

public Image createImage()

Specified by:
createImage in interface AlgorithmsFactory
Returns:
a new object of class 'Image'.

createPlatformGraphicsAlgorithm

public PlatformGraphicsAlgorithm createPlatformGraphicsAlgorithm()

Specified by:
createPlatformGraphicsAlgorithm in interface AlgorithmsFactory
Returns:
a new object of class 'Platform Graphics Algorithm'.

createMultiText

public MultiText createMultiText()

Specified by:
createMultiText in interface AlgorithmsFactory
Returns:
a new object of class 'Multi Text'.

getAlgorithmsPackage

public AlgorithmsPackage getAlgorithmsPackage()

Specified by:
getAlgorithmsPackage in interface AlgorithmsFactory
Returns:
the package supported by this factory.

getPackage

@Deprecated
public static AlgorithmsPackage getPackage()
Deprecated. 



Copyright (c) SAP AG 2005, 2010.