Class ErdConnectionRouter

  • All Implemented Interfaces:
    org.eclipse.draw2d.ConnectionRouter

    public class ErdConnectionRouter
    extends com._1c.g5.v8.dt.diagram.framework.ui.model.AbstractDiagramRouter
    ERD implementation of AbstractDiagramRouter.
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface org.eclipse.draw2d.ConnectionRouter

        org.eclipse.draw2d.ConnectionRouter.NullConnectionRouter
    • Field Summary

      • Fields inherited from interface org.eclipse.draw2d.ConnectionRouter

        NULL
    • Constructor Summary

      Constructors 
      Constructor Description
      ErdConnectionRouter​(com._1c.g5.v8.dt.diagram.framework.ui.IDiagram diagram)
      Constuctor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected Collection<? extends org.eclipse.draw2d.IFigure> getDiagramFigures()  
      protected com._1c.g5.v8.dt.diagram.framework.ui.IDiagram getDiagramGui()  
      protected boolean isOrthogonalLines()  
      void route​(org.eclipse.draw2d.Connection connection)  
      • Methods inherited from class com._1c.g5.v8.dt.diagram.framework.ui.model.AbstractDiagramRouter

        clearAutoCreatedPoitns, getCleanPath, getTolerance, setRouteAroundFigures, setTolerance
      • Methods inherited from class com._1c.g5.v8.dt.diagram.framework.ui.model.AbstractPointCreatingRouter

        getAutoCreatedPoints
      • Methods inherited from class org.eclipse.draw2d.AbstractRouter

        getConstraint, getEndPoint, getStartPoint, invalidate, remove, setConstraint
    • Constructor Detail

      • ErdConnectionRouter

        public ErdConnectionRouter​(com._1c.g5.v8.dt.diagram.framework.ui.IDiagram diagram)
        Constuctor.
        Parameters:
        diagram - - diagram where routed connection located. Can't be null.
    • Method Detail

      • route

        public void route​(org.eclipse.draw2d.Connection connection)
        Specified by:
        route in interface org.eclipse.draw2d.ConnectionRouter
        Overrides:
        route in class com._1c.g5.v8.dt.diagram.framework.ui.model.AbstractDiagramRouter
      • getDiagramFigures

        protected Collection<? extends org.eclipse.draw2d.IFigure> getDiagramFigures()
        Specified by:
        getDiagramFigures in class com._1c.g5.v8.dt.diagram.framework.ui.model.AbstractDiagramRouter
      • getDiagramGui

        protected com._1c.g5.v8.dt.diagram.framework.ui.IDiagram getDiagramGui()
        Specified by:
        getDiagramGui in class com._1c.g5.v8.dt.diagram.framework.ui.model.AbstractDiagramRouter
      • isOrthogonalLines

        protected boolean isOrthogonalLines()
        Specified by:
        isOrthogonalLines in class com._1c.g5.v8.dt.diagram.framework.ui.model.AbstractDiagramRouter