net.refractions.udig.printing.model
Interface ModelFactory


public interface ModelFactory

The Factory for the model. It provides a create method for each non-abstract class of the model.

See Also:
ModelPackage

Field Summary
static ModelFactory eINSTANCE
          The singleton instance of the factory.
 
Method Summary
 Box createBox()
          Returns a new object of class 'Box'.
 Connection createConnection()
          Returns a new object of class 'Connection'.
 DecoratorBox createDecoratorBox()
          Returns a new object of class 'Decorator Box'.
 Element createElement()
          Returns a new object of class 'Element'.
 Page createPage()
          Returns a new object of class 'Page'.
 ModelPackage getModelPackage()
          Returns the package supported by this factory.
 

Field Detail

eINSTANCE

static final ModelFactory eINSTANCE
The singleton instance of the factory.

Method Detail

createBox

Box createBox()
Returns a new object of class 'Box'.

Returns:
a new object of class 'Box'.

createConnection

Connection createConnection()
Returns a new object of class 'Connection'.

Returns:
a new object of class 'Connection'.
See Also:

createDecoratorBox

DecoratorBox createDecoratorBox()
Returns a new object of class 'Decorator Box'.

Returns:
a new object of class 'Decorator Box'.
See Also:

createElement

Element createElement()
Returns a new object of class 'Element'.

Returns:
a new object of class 'Element'.

createPage

Page createPage()
Returns a new object of class 'Page'.

Returns:
a new object of class 'Page'.
See Also:

getModelPackage

ModelPackage getModelPackage()
Returns the package supported by this factory.

Returns:
the package supported by this factory.
See Also: