Community
Participate
Working Groups
Open NewModelFilePage (first page) of New Papyrus Model wizard. Names of model file that are suggested by default are very weird. I can give as an example several cases: 1. Default names should be valid names -- every new session of Eclipse starts couting from the beginning: Create a new Papyrus Model with default file name (it will be 'model1.di') Restart Eclipse. Now create a new Papyrus Model, default file name will be 'model1.di' again. Wizard will show a error message "'model1.di' already exists.". Taking into account bug #313099 'Validate file name on NewModelFilePage' it is not so simple 2. Default naming doesn't take into account actual names of previosly created diagram: Create a new Papyrus Model with non-default file name, say 'model2.di'. Create a second new Papyrus Model -- proposed name will be 'model2.di', not 'model1.di' as I expect it to be. Such naming looks weird and may cause "'model2.di' already exists." problem. Here I don't understand reasons why default mechanizm of file-naming (provided by GMF-Generation) wasn't used.
Created attachment 171271 [details] Proposed patch
Fixed