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

Bug 317450

Summary: [Wizard] Customize InitModelWizard
Product: [Modeling] Papyrus Reporter: Tatiana Fesenko <tatiana.fesenko>
Component: CoreAssignee: Tatiana Fesenko <tatiana.fesenko>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: ansgar.radermacher, yann.tanguy
Version: unspecified   
Target Milestone: 0.7.0   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Bug Depends on: 314834    
Bug Blocks:    

Description Tatiana Fesenko CLA 2010-06-21 10:13:41 EDT
InitModelWizard should be different from NewModelWizard:

1. Do not display CreateNewModelFile page
Current implementation of ModelSet allows to create .di and .notation files only with the same name as the original uml model. It makes CreateNewModelFile page useless as the user basically cannot change a name of the diagram

2. Disable SelectTemplate control in SelectDiagramKindPage. 
Current implementation of loading templates copies content of the template model. It means that a content of the uml model will be lost. In order to prevent it disable SelectTemplate group.

3. Let the user know that he actually initializes a new diagram, not creates a new model. It can be another title of the wizard, or description, or an icon.
Comment 1 Tatiana Fesenko CLA 2010-06-22 08:44:49 EDT
1. Do not display CreateNewModelFile page
- I've added a validation that diagram file name is compatible with domain model file name. It will allow us to show the the same UI to the user when it will be possible to have arbitrary file names

2. Disable SelectTemplate control in SelectDiagramKindPage. 
Disabled

3. Let the user know that he actually initializes a new diagram, not creates a
new model. 
I modified title of the wizard and its description
Comment 2 Tatiana Fesenko CLA 2010-06-22 08:45:13 EDT
Fixed in HEAD