Package com._1c.g5.v8.dt.erd
Interface IErdDiagramController
-
- All Superinterfaces:
com._1c.g5.v8.dt.diagram.framework.IDiagramController<MdObject,IErdEntity,com._1c.g5.v8.dt.diagram.framework.IRelation>
- All Known Implementing Classes:
DiagramUiController
,ErdDiagramController
public interface IErdDiagramController extends com._1c.g5.v8.dt.diagram.framework.IDiagramController<MdObject,IErdEntity,com._1c.g5.v8.dt.diagram.framework.IRelation>
Extension forIDiagramController
. AcceptIErdEntity
in build methods.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Collection<? extends IErdEntity>
addEntities(Collection<? extends IErdEntity> entities)
Adds new items to the existing diagram.Collection<? extends IErdEntity>
deleteEntities(Collection<? extends IErdEntity> entities)
Deletes items from the existing diagram.ErdEntityGroup
getAssociatedGroup()
Returns group associated with this controller.IErdDiagramCore
getDiagramCore()
Returned type changed fromIDiagramCore
toIErdDiagramCore
.IErdDiagramCoreController
getDiagramCoreController()
Returns diagram core controller without progress monitor.IErdDiagramController
getParentController()
Returns parent diagram controller.void
initializeFromEntities(Collection<? extends IErdEntity> entities)
Initializes diagram from given items.
-
-
-
Method Detail
-
initializeFromEntities
void initializeFromEntities(Collection<? extends IErdEntity> entities)
Initializes diagram from given items.
Use this method to initialize new diagram.- Parameters:
entities
- - diagram entities which will be shown on diagram. Can't benull
.
-
addEntities
Collection<? extends IErdEntity> addEntities(Collection<? extends IErdEntity> entities)
Adds new items to the existing diagram. If diagram already has contained some items, they will be returned.- Parameters:
entities
- - diagram entities which will be added to the existing diagram. Can't benull
.- Returns:
- entities from given collection already containing on diagram.
If all items were added to diagram returned collection will be zero size. Can't return
null
.
-
deleteEntities
Collection<? extends IErdEntity> deleteEntities(Collection<? extends IErdEntity> entities)
Deletes items from the existing diagram. If diagram did not contain some items, they will be returned.- Parameters:
entities
- - entities to delete. Can't benull
.- Returns:
- entities from given collection not containing on diagram.
If all items contained on diagram returned collection will be zero size. Can't return
null
.
-
getDiagramCoreController
IErdDiagramCoreController getDiagramCoreController()
Returns diagram core controller without progress monitor.- Returns:
- diagram core controller without progress monitor. Can't return
null
.
-
getParentController
IErdDiagramController getParentController()
Returns parent diagram controller.- Returns:
- parent diagram controller. Returns
null
if diagram has no parent.
-
getAssociatedGroup
ErdEntityGroup getAssociatedGroup()
Returns group associated with this controller. Returnsnull
if there is no associated group.- Returns:
- group associated with this controller. Can return
null
.
-
getDiagramCore
IErdDiagramCore getDiagramCore()
Returned type changed fromIDiagramCore
toIErdDiagramCore
.- Specified by:
getDiagramCore
in interfacecom._1c.g5.v8.dt.diagram.framework.IDiagramController<MdObject,IErdEntity,com._1c.g5.v8.dt.diagram.framework.IRelation>
-
-