vocleditor.model
Class ModelCreationFactory

java.lang.Object
  extended by vocleditor.model.ModelCreationFactory
All Implemented Interfaces:
org.eclipse.gef.requests.CreationFactory

public class ModelCreationFactory
extends java.lang.Object
implements org.eclipse.gef.requests.CreationFactory

This class implements the CreationFactory used by the CreationTool. It in turn uses the EMF-generated factories to create the model instances


Constructor Summary
ModelCreationFactory(java.lang.Class targetClass)
           
 
Method Summary
 java.lang.Object getNewObject()
          Returns the Objects associated with the c.
 java.lang.Object getObjectType()
          inherited abstract method
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ModelCreationFactory

public ModelCreationFactory(java.lang.Class targetClass)
Method Detail

getNewObject

public java.lang.Object getNewObject()
Returns the Objects associated with the c. Object creation are made through that factory.

Specified by:
getNewObject in interface org.eclipse.gef.requests.CreationFactory
Returns:
the Object

getObjectType

public java.lang.Object getObjectType()
inherited abstract method

Specified by:
getObjectType in interface org.eclipse.gef.requests.CreationFactory
Returns:
object