| Summary: | Structure diagram label in model explorer if diagram is unnamed | ||
|---|---|---|---|
| Product: | [Modeling] Papyrus | Reporter: | Robert Lundbäck <robert.lundback> |
| Component: | Core | Assignee: | Alexey Shatilov <shatilov> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | benoit.maggi, borlander, cletavernier, papyrus-bugs, peter.cigehn, rschnekenburger, shatilov |
| Version: | 1.1.0 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | montages | ||
| Bug Depends on: | |||
| Bug Blocks: | 469851 | ||
|
Description
Robert Lundbäck
*** Bug 462335 has been marked as a duplicate of this bug. *** This has now partly been fixed. In the latest Papyrus-RT build the name label of a composite structure diagram gets picked from its parent capsule. But if you give the composite structure diagram an explicit name (instead of leaving it empty), the name label is still picked from the parent capsule. As proposed, the name shall only be picked from the capsule when the diagram itself is left unnamed. If the diagram is given an (explicit) name, then that name shall be displayed as the name label of the diagram. The label provider for diagrams should be updated => it does not check if the name is null or not. In the latest build of Papyrus-RT this now works as expected, i.e. if the name of the capsule's structure diagram is left unnamed, then the name label is picked from the owning capsule. If the diagram have an explicit name, then that name used. In base Papyrus on the Neon track there is a similar generic naming scheme, where unnamed diagrams gets a name label on the editor tab that looks like "( <Diagram type> of <Root element>)". The name label in the model explorer though is named "Diagram <Name of diagram>", which causes a label of simply "Diagram" for unnamed diagrams in the model explorer. I suggest that we put this one into resolved/verified fixed, since the original case was related specifically to the case of a capsules structure diagram which is fixed in Papyrus-RT. as suggested by Peter I change the bug to fixed. |