Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 317450 - [Wizard] Customize InitModelWizard
Summary: [Wizard] Customize InitModelWizard
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: 0.7.0   Edit
Assignee: Tatiana Fesenko CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 314834
Blocks:
  Show dependency tree
 
Reported: 2010-06-21 10:13 EDT by Tatiana Fesenko CLA
Modified: 2010-06-22 08:45 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 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