Community
Participate
Working Groups
If you create an attribute using the UMLRealTime new child menu, then this attribute will automatically be visualized/synchronized in the capsules' structure diagram. Only capsule parts shall be shown in the structure diagram. Steps to reproduce: 1) Create a new capsule in a UML-RT model 2) Open the structure diagram of this capsule 3) Create a new attribute owned by this capsule by right clicking on the capsule and select UMLRealTime > Attribute 4) Result: The new attribute is shown inside the capsule in its structure diagram. The expected result is that no attributes are shown in the structure, only capsule parts shall be visualized/synchronized in the canonical structure diagram.
Analysis: This should be done through CSS
I have a fix in hand using the canonical edit-policy strategy extensions. (In reply to Celine Janssens from comment #1) > Analysis: This should be done through CSS What has this problem to do with CSS?
New Gerrit change created: https://git.eclipse.org/r/68249
Gerrit change https://git.eclipse.org/r/68249 was merged to [master]. Commit: http://git.eclipse.org/c/papyrus-rt/org.eclipse.papyrus-rt.git/commit/?id=8557ce14506064ac2b8f27bbcd6ee3c393c13afb
As for the bug 483637, can you provide JUnit tests here?
Please forget my last comment, gerrit 68455 also commits regression tests on attribute and capsule part display: see - CapsuleDiagramTest#newSimpleAttributeNotShown() - CapsuleDiagramTest#newCapsulePartIsShown() closing bug, as the contribution 68455 has been merged also.
I have checked the latest Papyrus-RT build, and now attributes of a capsule is not visualized in the capsule structure diagram as expected.
Closing in preparation of v0.8 release - fixed