Class DiagramUiController

  • All Implemented Interfaces:
    com._1c.g5.v8.dt.diagram.framework.IDiagramController<MdObject,​IErdEntity,​com._1c.g5.v8.dt.diagram.framework.IRelation>, IErdDiagramController

    public class DiagramUiController
    extends ErdDiagramController
    Instance of this class connects diagram controller to ui.
    • Constructor Detail

      • DiagramUiController

        public DiagramUiController​(org.eclipse.core.runtime.IProgressMonitor progressMonitor,
                                   DiagramTabItem tab)
        Constructor
        Parameters:
        progressMonitor - - progress monitor to report progress. Can be null.
        tab - - tab to create controller for. Can't be null.
      • DiagramUiController

        public DiagramUiController​(org.eclipse.core.runtime.IProgressMonitor progressMonitor,
                                   IErdDiagramController parentController,
                                   ErdEntityGroup associatedGroup,
                                   DiagramTabItem tab)
        Constructor.
        Parameters:
        progressMonitor - - progress monitor to report progress. Can be null.
        parentController - - parent diagram controller. null means this is main controller. Can be null.
        associatedGroup - - associated with this controller group. Can't be null.
        tab - - tab to create controller for. Can't be null.
    • Method Detail

      • initializeLayoutAlgorithm

        protected com._1c.g5.v8.dt.diagram.framework.layout.IDiagramLayoutAlgorithm initializeLayoutAlgorithm()
        Description copied from class: ErdDiagramController
        Initializes diagram layout algorithm.
        Overrides:
        initializeLayoutAlgorithm in class ErdDiagramController
        Returns:
        diagram layout algorithm. Can't return null.