model.di is empty [message #800293] |
Thu, 16 February 2012 17:47  |
Eclipse User |
|
|
|
Hi,
I'm new with Papyrus and I tried to create a sequence diagram using the Palette and "drawing" into the model.di file.
It worked great and I could save my work.
I can see that the model.uml file is updated and contains all the objects I created using the Palette.
I closed Eclipse, and on the next start :
- the model.uml file is still the same, containing everything I put in my sequence diagram
- but the model.di file is empty, showing nothing.
Did I do something wrong ? Is there a way to "update" de model.di with the content of the model.uml file ?
thanks
Francois
|
|
|
Re: model.di is empty [message #800572 is a reply to message #800293] |
Fri, 17 February 2012 03:30   |
Eclipse User |
|
|
|
Hello Francois,
It is possible to import a UML Model into Papyrus. It won't restore your diagrams, though. For most models, you can easily recreate a Diagram from importing a UML model and drag & droping elements from the ModelExplorer. However, I think there are undroppable elements in the sequence diagram... So this solution won't really work.
If the .di file is the only empty one, and if you're familiar with the xmi syntax, you can try to create a whole new Model, then replace the .notation and .uml files with your own. Don't forget to edit the Xmi ID in your new .di file, so that it can find your diagram(s).
Regards,
Camille
|
|
|
|
|
Re: model.di is empty [message #802751 is a reply to message #802722] |
Mon, 20 February 2012 06:51  |
Eclipse User |
|
|
|
ok, thanks
I'll start from scratch then ...
Maybe this can help you with the save problem :
When I use the palette to draw on the .di file, it also updates the .uml and .notation files => OK
But when I press Ctrl+S to save my modifications, the star (*) near model.di stays displayed, showing that the .di file is not saved, even if the two other files are saved.
|
|
|
Powered by
FUDForum. Page generated in 0.08693 seconds