Package com._1c.g5.v8.dt.erd.ui
Class DiagramUiController
- java.lang.Object
-
- com._1c.g5.v8.dt.erd.core.ErdDiagramController
-
- com._1c.g5.v8.dt.erd.ui.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 Summary
Constructors Constructor Description DiagramUiController(org.eclipse.core.runtime.IProgressMonitor progressMonitor, IErdDiagramController parentController, ErdEntityGroup associatedGroup, DiagramTabItem tab)
Constructor.DiagramUiController(org.eclipse.core.runtime.IProgressMonitor progressMonitor, DiagramTabItem tab)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected com._1c.g5.v8.dt.diagram.framework.layout.IDiagramLayoutAlgorithm
initializeLayoutAlgorithm()
Initializes diagram layout algorithm.-
Methods inherited from class com._1c.g5.v8.dt.erd.core.ErdDiagramController
addEntities, addItems, addItems, deleteEntities, deleteItems, getAssociatedGroup, getConvertersService, getDiagramCore, getDiagramCoreController, getLayoutAlgorithm, getParentController, getProjectManager, getRouteAlgorithm, initialize, initializeFromEntities, initializeRouteAlgorithm, refreshItems, setConvertersService, setLayoutAlgorithm, setProgressMonitor, setProjectManager, setRouteAlgorithm
-
-
-
-
Constructor Detail
-
DiagramUiController
public DiagramUiController(org.eclipse.core.runtime.IProgressMonitor progressMonitor, DiagramTabItem tab)
Constructor- Parameters:
progressMonitor
- - progress monitor to report progress. Can benull
.tab
- - tab to create controller for. Can't benull
.
-
DiagramUiController
public DiagramUiController(org.eclipse.core.runtime.IProgressMonitor progressMonitor, IErdDiagramController parentController, ErdEntityGroup associatedGroup, DiagramTabItem tab)
Constructor.- Parameters:
progressMonitor
- - progress monitor to report progress. Can benull
.parentController
- - parent diagram controller.null
means this is main controller. Can benull
.associatedGroup
- - associated with this controller group. Can't benull
.tab
- - tab to create controller for. Can't benull
.
-
-
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 classErdDiagramController
- Returns:
- diagram layout algorithm. Can't return
null
.
-
-