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

Bug 315768

Summary: [Profile] Create Profile as a root element for a Profile Diagram
Product: [Modeling] Papyrus Reporter: Tatiana Fesenko <tatiana.fesenko>
Component: CoreAssignee: Tatiana Fesenko <tatiana.fesenko>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Initial patch sebastien.gerard: iplog+

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