Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 315768 - [Profile] Create Profile as a root element for a Profile Diagram
Summary: [Profile] Create Profile as a root element for a Profile Diagram
Status: RESOLVED FIXED
Alias: None
Product: Papyrus
Classification: Modeling
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Tatiana Fesenko CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-04 10:06 EDT by Tatiana Fesenko CLA
Modified: 2010-11-09 17:12 EST (History)
0 users

See Also:


Attachments
Initial patch (18.84 KB, patch)
2010-06-04 10:10 EDT, Tatiana Fesenko CLA
sebastien.gerard: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Tatiana Fesenko CLA 2010-06-04 10:06:28 EDT
I observed several bugs happening when creating of diagrams of different kinds.
Most of them is easy to fix and the chnage should be in the corresponding CreationCommand. That's why I put them into one request

1. Profile diagram should have 'Profile' as a root element.
2. BlockDefinition diagram should have a model with a applied profile as a root element

Besides,
CreateModelWizard now creates a root element and initializes the root with the default name. Basically it repeats (creates a root) functionality implemented by CreationCommand or does the fuctionality (give a default name) which is supposed to be implemented by CreationCommand.
Comment 1 Tatiana Fesenko CLA 2010-06-04 10:10:23 EDT
Created attachment 171103 [details]
Initial patch
Comment 2 Tatiana Fesenko CLA 2010-06-08 05:44:02 EDT
(In reply to comment #0)
> 2. BlockDefinition diagram should have a model with a applied profile as a root
> element
> 
This is more related to bug 315969 '[Wizard] Separate Model and Diagram initialization commands'.
So, rename title:  [General] Issues on New Diagram creation ->  [Profile] Create Profile as a root element for a Profile Diagram
Comment 3 Tatiana Fesenko CLA 2010-06-08 05:44:56 EDT
Fixed