Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 486367 - [Tooling] Ordinary attributes shall not be visualized in the capsule structure diagram
Summary: [Tooling] Ordinary attributes shall not be visualized in the capsule structur...
Status: CLOSED FIXED
Alias: None
Product: Papyrus-rt
Classification: Modeling
Component: tool (show other bugs)
Version: 0.7.2   Edit
Hardware: All All
: P3 normal
Target Milestone: 0.8.0   Edit
Assignee: Christian Damus CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-01-22 10:25 EST by Peter Cigehn CLA
Modified: 2016-09-29 14:49 EDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Cigehn CLA 2016-01-22 10:25:19 EST
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.
Comment 1 Celine Janssens CLA 2016-01-25 05:36:07 EST
Analysis: This should be done through CSS
Comment 2 Christian Damus CLA 2016-03-11 14:07:05 EST
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?
Comment 3 Eclipse Genie CLA 2016-03-11 16:30:49 EST
New Gerrit change created: https://git.eclipse.org/r/68249
Comment 5 Remi Schnekenburger CLA 2016-03-17 03:26:43 EDT
As for the bug 483637, can you provide JUnit tests here?
Comment 6 Remi Schnekenburger CLA 2016-03-17 03:56:41 EDT
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.
Comment 7 Peter Cigehn CLA 2016-03-17 05:05:07 EDT
I have checked the latest Papyrus-RT build, and now attributes of a capsule is not visualized in the capsule structure diagram as expected.
Comment 8 Charles Rivet CLA 2016-09-29 14:49:32 EDT
Closing in preparation of v0.8 release - fixed