|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectroneditor.model.ModelCreationFactory
public class ModelCreationFactory
This class implements the CreationFactory used by the CreationTool. It uses the EMF-generated factories to create the model instances.
Field Summary | |
---|---|
private java.lang.Class<?> |
targetClass
|
Constructor Summary | |
---|---|
ModelCreationFactory(java.lang.Class<?> targetClass)
|
Method Summary | |
---|---|
java.lang.Object |
getNewObject()
|
java.lang.Object |
getObjectType()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private final java.lang.Class<?> targetClass
Constructor Detail |
---|
public ModelCreationFactory(java.lang.Class<?> targetClass)
Method Detail |
---|
public java.lang.Object getNewObject()
getNewObject
in interface org.eclipse.gef.requests.CreationFactory
public java.lang.Object getObjectType()
getObjectType
in interface org.eclipse.gef.requests.CreationFactory
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |