vocleditor.model
Class ModelCreationFactory
java.lang.Object
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
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 |
ModelCreationFactory
public ModelCreationFactory(java.lang.Class targetClass)
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