Bug 502417

Summary: Improve Papyrus-RT usability of multiple diagrams for capsule structure and state machine diagrams
Product: [Modeling] Papyrus-rt Reporter: Charles Rivet <charles>
Component: toolAssignee: Project Inbox <papyrusrt-inbox>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P3 CC: charles, peter.cigehn
Version: 0.8.0Keywords: ui, usability
Target Milestone: Future   
Hardware: PC   
OS: Mac OS X   
See Also: https://bugs.eclipse.org/bugs/show_bug.cgi?id=494639
Whiteboard: depends_on_papyrus
Bug Depends on: 502010    
Bug Blocks:    

Description Charles Rivet CLA 2016-09-28 09:25:07 EDT
It is possible and sometimes desirable to have multiple diagrams associated with a capsule's structure or state machine diagrams.

Currently, these are created with no assigned name, resulting in the displayed name matching the capsule's name.

The following usability enhancement is proposed:

If a UML-RT capsule structure or state machine diagram with an unset name does not already exist, it is created without a prompt to the user. If such a diagram does exist, then then user should be made aware of this and a prompted for a name.

Validation is needed to provide a warning when multiple unnamed structure or state machine diagrams exist for a capsule.

This requires that bug 502010 also be addressed to provide this capability in the base Papyrus.