Class BpDiagramGuiBuilder

  • All Implemented Interfaces:
    com._1c.g5.v8.dt.diagram.framework.ui.IDiagramGuiBuilder

    public class BpDiagramGuiBuilder
    extends com._1c.g5.v8.dt.diagram.framework.ui.AbstractDiagramGuiBuilder
    BP implementation of diagram gui builder.
    • Nested Class Summary

      • Nested classes/interfaces inherited from class com._1c.g5.v8.dt.diagram.framework.ui.AbstractDiagramGuiBuilder

        com._1c.g5.v8.dt.diagram.framework.ui.AbstractDiagramGuiBuilder.ConnectionSelectionHelper, com._1c.g5.v8.dt.diagram.framework.ui.AbstractDiagramGuiBuilder.FiguresKeyListener, com._1c.g5.v8.dt.diagram.framework.ui.AbstractDiagramGuiBuilder.FiguresMouseListener
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected com._1c.g5.v8.dt.diagram.framework.ui.model.AbstractDiagramConnection buildConnection​(com._1c.g5.v8.dt.diagram.framework.IRelation relation, Collection<? extends com._1c.g5.v8.dt.diagram.framework.ui.model.AbstractDiagramFigure> figures)  
      protected com._1c.g5.v8.dt.diagram.framework.ui.IDiagram buildDiagram​(Collection<com._1c.g5.v8.dt.diagram.framework.ui.model.AbstractDiagramFigure> figures, Collection<com._1c.g5.v8.dt.diagram.framework.ui.model.AbstractDiagramConnection> connections)  
      protected com._1c.g5.v8.dt.diagram.framework.ui.model.AbstractDiagramFigure buildEntity​(com._1c.g5.v8.dt.diagram.framework.IEntity entity)  
      protected void checkAllItems​(com._1c.g5.v8.dt.diagram.framework.IDiagramCore<? extends com._1c.g5.v8.dt.diagram.framework.IEntity,​? extends com._1c.g5.v8.dt.diagram.framework.IRelation> newDiagramCore, com._1c.g5.v8.dt.diagram.framework.ui.IDiagram diagramGui)  
      protected com._1c.g5.v8.dt.diagram.framework.ui.services.AlignmentListener getFiguresAlignmentListener()  
      protected com._1c.g5.v8.dt.diagram.framework.ui.services.AbstractMouseTracker getMouseTracker()  
      protected void inititalizeListeners​(org.eclipse.draw2d.IFigure figure)  
      protected void postBuild​(com._1c.g5.v8.dt.diagram.framework.IDiagramCore<? extends com._1c.g5.v8.dt.diagram.framework.IEntity,​? extends com._1c.g5.v8.dt.diagram.framework.IRelation> diagramCore, com._1c.g5.v8.dt.diagram.framework.ui.IDiagram diagramGui)  
      protected void renewConnection​(com._1c.g5.v8.dt.diagram.framework.ui.model.AbstractDiagramConnection connection)  
      protected void renewFigure​(com._1c.g5.v8.dt.diagram.framework.ui.model.AbstractDiagramFigure figure)  
      protected void reset()  
      protected void selectFigure​(com._1c.g5.v8.dt.diagram.framework.ui.IDiagram diagram, org.eclipse.draw2d.IFigure figure)  
      • Methods inherited from class com._1c.g5.v8.dt.diagram.framework.ui.AbstractDiagramGuiBuilder

        build, build, figuresMoved, getConnectionSelectionHelper, getLastBuildedDiagram
    • Constructor Detail

      • BpDiagramGuiBuilder

        public BpDiagramGuiBuilder()
    • Method Detail

      • getMouseTracker

        protected com._1c.g5.v8.dt.diagram.framework.ui.services.AbstractMouseTracker getMouseTracker()
        Specified by:
        getMouseTracker in class com._1c.g5.v8.dt.diagram.framework.ui.AbstractDiagramGuiBuilder
      • getFiguresAlignmentListener

        protected com._1c.g5.v8.dt.diagram.framework.ui.services.AlignmentListener getFiguresAlignmentListener()
        Specified by:
        getFiguresAlignmentListener in class com._1c.g5.v8.dt.diagram.framework.ui.AbstractDiagramGuiBuilder
      • buildDiagram

        protected com._1c.g5.v8.dt.diagram.framework.ui.IDiagram buildDiagram​(Collection<com._1c.g5.v8.dt.diagram.framework.ui.model.AbstractDiagramFigure> figures,
                                                                              Collection<com._1c.g5.v8.dt.diagram.framework.ui.model.AbstractDiagramConnection> connections)
        Overrides:
        buildDiagram in class com._1c.g5.v8.dt.diagram.framework.ui.AbstractDiagramGuiBuilder
      • buildEntity

        protected com._1c.g5.v8.dt.diagram.framework.ui.model.AbstractDiagramFigure buildEntity​(com._1c.g5.v8.dt.diagram.framework.IEntity entity)
        Specified by:
        buildEntity in class com._1c.g5.v8.dt.diagram.framework.ui.AbstractDiagramGuiBuilder
      • buildConnection

        protected com._1c.g5.v8.dt.diagram.framework.ui.model.AbstractDiagramConnection buildConnection​(com._1c.g5.v8.dt.diagram.framework.IRelation relation,
                                                                                                        Collection<? extends com._1c.g5.v8.dt.diagram.framework.ui.model.AbstractDiagramFigure> figures)
        Specified by:
        buildConnection in class com._1c.g5.v8.dt.diagram.framework.ui.AbstractDiagramGuiBuilder
      • postBuild

        protected void postBuild​(com._1c.g5.v8.dt.diagram.framework.IDiagramCore<? extends com._1c.g5.v8.dt.diagram.framework.IEntity,​? extends com._1c.g5.v8.dt.diagram.framework.IRelation> diagramCore,
                                 com._1c.g5.v8.dt.diagram.framework.ui.IDiagram diagramGui)
        Specified by:
        postBuild in class com._1c.g5.v8.dt.diagram.framework.ui.AbstractDiagramGuiBuilder
      • inititalizeListeners

        protected void inititalizeListeners​(org.eclipse.draw2d.IFigure figure)
        Overrides:
        inititalizeListeners in class com._1c.g5.v8.dt.diagram.framework.ui.AbstractDiagramGuiBuilder
      • selectFigure

        protected void selectFigure​(com._1c.g5.v8.dt.diagram.framework.ui.IDiagram diagram,
                                    org.eclipse.draw2d.IFigure figure)
        Overrides:
        selectFigure in class com._1c.g5.v8.dt.diagram.framework.ui.AbstractDiagramGuiBuilder
      • reset

        protected void reset()
        Overrides:
        reset in class com._1c.g5.v8.dt.diagram.framework.ui.AbstractDiagramGuiBuilder
      • checkAllItems

        protected void checkAllItems​(com._1c.g5.v8.dt.diagram.framework.IDiagramCore<? extends com._1c.g5.v8.dt.diagram.framework.IEntity,​? extends com._1c.g5.v8.dt.diagram.framework.IRelation> newDiagramCore,
                                     com._1c.g5.v8.dt.diagram.framework.ui.IDiagram diagramGui)
        Overrides:
        checkAllItems in class com._1c.g5.v8.dt.diagram.framework.ui.AbstractDiagramGuiBuilder
      • renewFigure

        protected void renewFigure​(com._1c.g5.v8.dt.diagram.framework.ui.model.AbstractDiagramFigure figure)
        Overrides:
        renewFigure in class com._1c.g5.v8.dt.diagram.framework.ui.AbstractDiagramGuiBuilder
      • renewConnection

        protected void renewConnection​(com._1c.g5.v8.dt.diagram.framework.ui.model.AbstractDiagramConnection connection)
        Overrides:
        renewConnection in class com._1c.g5.v8.dt.diagram.framework.ui.AbstractDiagramGuiBuilder