org.eclipse.xtext.xtext.ui.graph.figures.primitives
Class PrimitiveFigureFactory
java.lang.Object
org.eclipse.xtext.xtext.ui.graph.figures.primitives.PrimitiveFigureFactory
public class PrimitiveFigureFactory
- extends java.lang.Object
Method Summary |
Connection |
createConnection(CrossPoint source,
CrossPoint target,
org.eclipse.draw2d.IFigure containerFigure)
|
Connection |
createConnection(CrossPoint source,
CrossPoint target,
org.eclipse.draw2d.IFigure containerFigure,
RailroadConnectionRouter.BendConstraint bendConstraint)
|
CrossPoint |
createCrossPoint(org.eclipse.draw2d.IFigure containerFigure)
|
AbstractNode |
createNode(NodeType nodeType,
org.eclipse.emf.ecore.EObject eObject,
java.lang.String name,
org.eclipse.draw2d.IFigure containerFigure,
org.eclipse.jface.text.Region textRegion)
|
protected org.eclipse.swt.graphics.Font |
getFont()
|
protected AbstractNode |
newNode(NodeType type,
org.eclipse.emf.ecore.EObject eObject,
java.lang.String text,
org.eclipse.jface.text.Region textRegion)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PrimitiveFigureFactory
public PrimitiveFigureFactory()
createNode
public AbstractNode createNode(NodeType nodeType,
org.eclipse.emf.ecore.EObject eObject,
java.lang.String name,
org.eclipse.draw2d.IFigure containerFigure,
org.eclipse.jface.text.Region textRegion)
createCrossPoint
public CrossPoint createCrossPoint(org.eclipse.draw2d.IFigure containerFigure)
createConnection
public Connection createConnection(CrossPoint source,
CrossPoint target,
org.eclipse.draw2d.IFigure containerFigure)
createConnection
public Connection createConnection(CrossPoint source,
CrossPoint target,
org.eclipse.draw2d.IFigure containerFigure,
RailroadConnectionRouter.BendConstraint bendConstraint)
newNode
protected AbstractNode newNode(NodeType type,
org.eclipse.emf.ecore.EObject eObject,
java.lang.String text,
org.eclipse.jface.text.Region textRegion)
getFont
protected org.eclipse.swt.graphics.Font getFont()