org.eclipse.gmt.umlx.editor.view
Class ViewFactory

java.lang.Object
  extended by org.eclipse.gmt.umlx.editor.view.ViewFactory
All Implemented Interfaces:
org.eclipse.gef.EditPartFactory

public class ViewFactory
extends java.lang.Object
implements org.eclipse.gef.EditPartFactory


Method Summary
 org.eclipse.gef.EditPart createEditPart(org.eclipse.gef.EditPart context, java.lang.Object model)
           
<T> org.eclipse.gef.EditPart
createView(org.eclipse.gef.EditPart context, T model)
           
static ViewFactory getInstance()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static final ViewFactory getInstance()

createEditPart

public org.eclipse.gef.EditPart createEditPart(org.eclipse.gef.EditPart context,
                                               java.lang.Object model)
Specified by:
createEditPart in interface org.eclipse.gef.EditPartFactory

createView

public <T> org.eclipse.gef.EditPart createView(org.eclipse.gef.EditPart context,
                                               T model)
                                    throws NoRegimeException
Throws:
NoRegimeException