Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 319584

Summary: [SysML Block Definition Diagram] In Block Definition Diagram, Block nodes keep enlarging at each creation
Product: [Modeling] Papyrus Reporter: Vincent Hémery <vincent.hemery>
Component: CoreAssignee: Vincent Hémery <vincent.hemery>
Status: RESOLVED FIXED QA Contact:
Severity: major    
Priority: P3 CC: yann.tanguy
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: All   
Whiteboard:

Description Vincent Hémery CLA 2010-07-12 10:47:10 EDT
In block definition diagram, each time a new block is created, the newly created figure becomes larger.
This impacts the class diagram too, since the class figure created after a block become larger too.
Comment 1 Vincent Hémery CLA 2010-07-12 10:59:16 EDT
Problem has been resolved :
The bug was due to the fact that the constant list of compartments was updated (by adding systematically blocks compartments to the list of class compartments) instead of updating a copy of it.
Hence, the minimum size was computed taking in account this number of compartment, which was increasing at each block creation, as the list's size.