| Summary: | [Profile Diagram] Show/hide contents doesn't work for Enumerations | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Modeling] Papyrus | Reporter: | Toni Siljamäki <toni.siljamaki> | ||||
| Component: | Diagram | Assignee: | Gabriel Pascual <gabriel.pascual> | ||||
| Status: | VERIFIED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | Celine.janssens, cletavernier, papyrus-bugs, rschnekenburger, vincent.lorenzo | ||||
| Version: | 1.0.0 | ||||||
| Target Milestone: | SR2 | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| Whiteboard: | dx deploy | ||||||
| Bug Depends on: | |||||||
| Bug Blocks: | 433206 | ||||||
| Attachments: |
|
||||||
Maybe you're trying to drop both the two Enumeration literals and the Comment at the same time? They nearly have the same icon. When dropping only the EnumerationLiteral (Or using Ctrl + Drop on the Enumeration itself), it works as expected. I just drag-and-dropped the Enumeration in the same way as I can drag-and-drop a Stereotype and then display its attributes. Drag-and-dropping an Enumeration including its literals works fine in the tool the profile came from, displaying the literals in the order they appear in Model Explorer. Ok, so there are three different ways to display the EnumerationLiterals in an Enumeration: - Ctrl + Drop the Enumeration. It will display the Enumeration and its Literals - Drop the Enumeration, then drop each Literal in the Enumeration - Drop the Enumeration, then go to Filters > Show/Hide contents (F4) > Select all I can confirm that the "Show/Hide contents" action doesn't work for Enumerations in the Profile Diagram (The action is disabled). It works fine on e.g. Enumerations on Class Diagram. I rename the task accordingly the synchronization can also solve the problem The behavior Show Hide Compartment Contents is missing for the Enumeration into profile Diagram. Fixed in change 37579 https://git.eclipse.org/r/#/c/37579/ https://git.eclipse.org/r/#/c/37579/ has been merged with commit ada6770709d9356b2820ef9b7b45df42997f22d7 in master Warning, this bug should be fixed also on maintenance branch, if possible. review has been pushed on maintenance/branch for this bug: https://git.eclipse.org/r/#/c/39373/ The cherry pick has been pushed on maintenance branch, closing bug. Yep, works fine on Mars. |
Created attachment 235712 [details] Obfuscated existing profile. Attached is a project containing an obfuscated version of an existing profile, one which has been attached also to other bug reports earlier. In this profile there is an Enumeration named Lifecycle. When drag-and-dropping it into a profile diagram the enumeration literals cannot be made visible.