Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 348859

Summary: [General]When creating a diagram, suggest the same name as the container
Product: [Modeling] Papyrus Reporter: Vincent Hémery <vincent.hemery>
Component: CoreAssignee: Project Inbox <mdt-papyrus-inbox>
Status: NEW --- QA Contact:
Severity: enhancement    
Priority: P3 CC: benoit.maggi, cletavernier, ronan.barrett
Version: 0.10.0   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Vincent Hémery CLA 2011-06-09 05:52:45 EDT
At diagram creation, the suggested name should be the same as the diagram's
container.
Instead, we currently have "New Diagram" (in 0.8.0RC2).

To reproduce :
use the new diagram action from model explorer view.
Comment 1 Ronan Bar CLA 2013-09-12 10:57:01 EDT
In 0.10.0 you get "Diagram ClassDiagram" which is equally poor. If you create 2 such class diagrams they will both have the same name which is not good for the user.

The name could be "ContainerName ClassDiagramX" where ContainerName is the holder and X id nothing for the first diagram and then 1, 2, 3 etc.
Comment 2 Benoit Maggi CLA 2016-10-24 03:54:11 EDT
The current version neon1 is still proposing a "static" name (not depending of container)