| Summary: | Make diagram file extension shorter | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Modeling] GMF-Tooling | Reporter: | Tatiana Fesenko <tatiana.fesenko> | ||||||
| Component: | Samples | Assignee: | Tatiana Fesenko <tatiana.fesenko> | ||||||
| Status: | RESOLVED FIXED | QA Contact: | |||||||
| Severity: | normal | ||||||||
| Priority: | P3 | CC: | borlander | ||||||
| Version: | unspecified | ||||||||
| Target Milestone: | --- | ||||||||
| Hardware: | PC | ||||||||
| OS: | Windows XP | ||||||||
| Whiteboard: | |||||||||
| Attachments: |
|
||||||||
|
Description
Tatiana Fesenko
Created attachment 99058 [details]
Simple patch
Changed generated code, that allows to edit both 'umlclass_diagram' and 'umlclass' files, files with extension 'umlclass' are created by wizard.
TODO: Make code generated.
Xpt templates should be changed n order to generate required code. Gmfgen model should be changed to provide available extensions.
Created attachment 99172 [details]
Modified Generator
Diagram file extensions rea stored in 'diagramFileExtension' prorperty as comma-separated list. The first one is a default one, it is used for diagram creation.
GMF Generator was modified to solve the problem - xpt templates were changed in 'def' plugin.
ClassD was re-generated.
Other changes that were made: CompD -> .umlcomp DeployD -> .umldepl CompositeStructuresD -> .umlcsd UseCaseD -> .umlusc ActivityD -> .umlact StateD -> .umlstm SequenceD -> .umlseq All those changes are backward compatible -- we are processing old diagram files correctly, but all new diagrams are created with short extensions Verified in M7 for all diagrams |