Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 348859 - [General]When creating a diagram, suggest the same name as the container
Summary: [General]When creating a diagram, suggest the same name as the container
Status: NEW
Alias: None
Product: Papyrus
Classification: Modeling
Component: Core (show other bugs)
Version: 0.10.0   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-09 05:52 EDT by Vincent Hémery CLA
Modified: 2016-10-24 03:54 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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)