Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 462329 - [Model Import] State diagram gets a name even if it has none in the source model
Summary: [Model Import] State diagram gets a name even if it has none in the source model
Status: RESOLVED DUPLICATE of bug 462323
Alias: None
Product: Papyrus
Classification: Modeling
Component: Core (show other bugs)
Version: 1.1.0   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-17 05:38 EDT by Robert Lundbäck CLA
Modified: 2015-03-17 06:13 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Lundbäck CLA 2015-03-17 05:38:43 EDT
If you import a rsarte model containing a Capsule with its state and state diagram, and this diagram is unnamed, the resulting diagram after import in Papyrus is named with same name as the Capsule.

The importer shall not add a name if the diagram is unnamed in the source.

An additional and related aspect of this is what label that shall be shown in the model explorer if the diagram is unnamed. One option is to show the name of the state element ( but that is not same thing as giving the state name to the diagram during the import). This last aspect will probable be handled in a separate bugzilla (yet to be written).

A related bug 462323 has been written for structure diagram.
Comment 1 Camille Letavernier CLA 2015-03-17 06:13:58 EDT
This is a generic behavior common to all imported diagrams, so let's keep the discussion inside Bug 462323 only

*** This bug has been marked as a duplicate of bug 462323 ***