| Summary: | [Wizard] Wrong suffix for file name when creating a profile model | ||
|---|---|---|---|
| Product: | [Modeling] Papyrus | Reporter: | Sébastien Gérard <sebastien.gerard> |
| Component: | Core | Assignee: | Tatiana Fesenko <tatiana.fesenko> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | yann.tanguy |
| Version: | unspecified | Keywords: | plan |
| Target Milestone: | 0.7.0 | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
|
Description
Sébastien Gérard
In the wizard we ask the user how to name a diagram file before making decision if he wants to crteate s Profile diagram. Thus this task needs a creative solution. My solution is: 1. If the last selected value of the diagram language is "Profile" then "profile.uml" is used as an extension 2. If the last selected value of the diagram language is NOT "Profile" , but the user selects "Profile" then the file name is changed in order to have "profile.uml" extension. The user is notified by message about the chnage of the file name. 3. And vise versa. If it was "profile" and became "UML" (or, non-profile) then file has just "uml" extension, message informs about changes of file name Talking about implementation, in order to have more generaic approach, I introduced a new attribute into diagramCategory extension point called "extensionPrefix" Fixed in HEAD |