Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Papyrus » Initialize papyrus diagram(Can not find "Initialize papyrus diagram" menu)
Initialize papyrus diagram [message #1799632] Tue, 11 December 2018 16:53 Go to next message
Pieter Martin is currently offline Pieter MartinFriend
Messages: 37
Registered: July 2013
Member
I have just downloaded the latest Papyrus, 4.8.0
I have a existing ".uml" model.
When right clicking on it there is no "Initialize papyrus diagram" menu.

How can I initialize an existing uml model with Papyrus?
Re: Initialize papyrus diagram [message #1799634 is a reply to message #1799632] Tue, 11 December 2018 17:03 Go to previous messageGo to next message
Christian Damus is currently offline Christian DamusFriend
Messages: 1270
Registered: July 2009
Location: Canada
Senior Member

Hi,

Just launch the usual "New Papyrus Model" wizard and it will see that you already have an UML resource. It will not create a new model but will use the existing one, adding the *.di and *.notation files to it.

HTH,
Christian
Re: Initialize papyrus diagram [message #1799635 is a reply to message #1799632] Tue, 11 December 2018 17:07 Go to previous messageGo to next message
Adriano Carvalho is currently offline Adriano CarvalhoFriend
Messages: 54
Registered: November 2018
Member
I think that if you create a "New > Papyrus Model" and specify the same name as your "*.uml" model it will "initialize" it.

Try it with a test "*..uml" first.
And before trying on your "*.uml" model back it up first to prevent any mishaps.
Re: Initialize papyrus diagram [message #1799639 is a reply to message #1799635] Tue, 11 December 2018 18:32 Go to previous messageGo to next message
Pieter Martin is currently offline Pieter MartinFriend
Messages: 37
Registered: July 2013
Member
Thanks got it to work.
The first time it deleted my model creating a new one.
The trick is too not specify a root model name, then it will use the existing model.
Re: Initialize papyrus diagram [message #1799645 is a reply to message #1799639] Tue, 11 December 2018 20:25 Go to previous messageGo to next message
Christian Damus is currently offline Christian DamusFriend
Messages: 1270
Registered: July 2009
Location: Canada
Senior Member

Oh, that's not good. Would you mind reporting a bug with steps to reproduce? Under no circumstances should the New Model Wizard ever delete an existing file.

https://bugs.eclipse.org/bugs/enter_bug.cgi?component=Core&product=Papyrus&version=4.1.0

Thanks!

Christian
Re: Initialize papyrus diagram [message #1799651 is a reply to message #1799645] Wed, 12 December 2018 05:01 Go to previous message
Pieter Martin is currently offline Pieter MartinFriend
Messages: 37
Registered: July 2013
Member
https://bugs.eclipse.org/bugs/show_bug.cgi?id=542692

Thanks
Previous Topic:Model Explorer and Main Menu problem
Next Topic:Papyrus Viewpoints Extension
Goto Forum:
  


Current Time: Thu Apr 25 21:40:58 GMT 2024

Powered by FUDForum. Page generated in 0.03659 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top