Bug 441973 - Transfert containement responsibility to DContainer
Summary: Transfert containement responsibility to DContainer
Status: NEW
Alias: None
Product: Sirius
Classification: Modeling
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows NT
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2014-08-18 10:08 EDT by Daniel Liabeuf CLA
Modified: 2014-08-21 02:47 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Liabeuf CLA 2014-08-18 10:08:09 EDT
Currently, DContainer have no responsabilities.
I suggest to transfert some methods to it, like DDiagramElementContainer.getOwnedDiagramElements, DDiagram.getOwnedDiagramElements and DNodeList.getOwnedElements.
Comment 1 Maxime Porhel CLA 2014-08-18 10:28:21 EDT
One preparation step of Bug 436359 is to merge DNodeContainer and DNodeList concepts, this will require to remove/migrate the DNodeList.getOwnedElements feature. Then it would be easier to transfert getOwnedDiagramElements to DContainer. 


Note that border nodes are not contained in this feature but in org.eclipse.sirius.diagram.AbstractDNode.getOwnedBorderedNodes().