roneditor.ronview.model
Class RONModelCreationFactory

java.lang.Object
  extended by roneditor.ronview.model.RONModelCreationFactory
All Implemented Interfaces:
org.eclipse.gef.requests.CreationFactory

public class RONModelCreationFactory
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


Field Summary
private  java.lang.Class targetClass
           
 
Constructor Summary
RONModelCreationFactory(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

targetClass

private java.lang.Class targetClass
Constructor Detail

RONModelCreationFactory

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

getNewObject

public java.lang.Object getNewObject()
Specified by:
getNewObject in interface org.eclipse.gef.requests.CreationFactory
See Also:
CreationFactory.getNewObject()

getObjectType

public java.lang.Object getObjectType()
Specified by:
getObjectType in interface org.eclipse.gef.requests.CreationFactory
See Also:
CreationFactory.getObjectType()