Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsBest Way to Import Existing UML model into Papyrus
https://www.eclipse.org/forums/index.php/mv/msg/149654/470453/#msg_470453
create a papyrus model project from an existing uml (xmi 2.1) model. I am
able to create a papyrus project and replace the uml file with a existing
if the names align. Is this the preferred method or approach?
Thanks
Sean]]>Sean Muir2009-08-03T17:19:14-00:00Re: Best Way to Import Existing UML model into Papyrus
https://www.eclipse.org/forums/index.php/mv/msg/149654/470458/#msg_470458
there is another mean to do that: select the uml file, right click on it and
create with this context a new Papyrus model. The current model will be the
base for your new project.
Regards,
S]]>Sébastien Gérard2009-08-05T07:01:13-00:00Re: Best Way to Import Existing UML model into Papyrus
https://www.eclipse.org/forums/index.php/mv/msg/149654/590845/#msg_590845
there is another mean to do that: select the uml file, right click on it and
create with this context a new Papyrus model. The current model will be the
base for your new project.
Regards,
S]]>Sébastien Gérard2009-08-05T07:01:13-00:00Re: Best Way to Import Existing UML model into Papyrus
https://www.eclipse.org/forums/index.php/mv/msg/149654/557105/#msg_557105
Sebastien Gerard wrote on Wed, 05 August 2009 03:01
Hi,
there is another mean to do that: select the uml file, right click on it and
create with this context a new Papyrus model. The current model will be the
base for your new project.
Regards,
S
I have just tried this as I had the same question as the OP. This technique does not work well. It creates no view at all.
You may add a view manually, but then, it is empty, and it is not that easy : you have to peek element from the model explorer, then move it to the view. However, this oftenly goes wrong, and sometime, some stuff cannot be added in the view this way, like comment links and some others;
I guess this would not be easy to create something which would create a layout automatically. But this could be easier and still nice to have something which would do the bare minimum, that, add all element from the model to a view. The user will then have to adjust element position and the like.
]]>Yannick Duchene (Hibou57)2010-09-04T12:10:17-00:00Re: Best Way to Import Existing UML model into Papyrus
https://www.eclipse.org/forums/index.php/mv/msg/149654/606947/#msg_606947
> Hi,
>
> there is another mean to do that: select the uml file, right click on it and
> create with this context a new Papyrus model. The current model will be the
> base for your new project.
>
> Regards,
> S
I have just tried this as I had the same question as the OP. This technique does not work well. It creates no view at all.
You may add a view manually, but then, it is empty, and it is not that easy : you have to peek element from the model explorer, then move it to the view. However, this oftenly goes wrong, and sometime, some stuff cannot be added in the view this way, like comment links and some others;
I guess this would not be easy to create something which would create a layout automatically. But this could be easier and still nice to have something which would do the bare minimum, that, add all element from the model to a view. The user will then have to adjust element position and the like.]]>Yannick Duchene (Hibou57)2010-09-04T12:10:23-00:00Re: Best Way to Import Existing UML model into Papyrus
https://www.eclipse.org/forums/index.php/mv/msg/149654/557140/#msg_557140
http://wiki.eclipse.org/Papyrus_User_Guide#Model_Explorer_Vi ew there is a reference to an *.uml file context menu entry named "Initialize Papyrus Diagram", but I do not get such a menu entry.
How do I configure Papyrus so that it could provide this contextual menu entry ?
]]>Yannick Duchene (Hibou57)2010-09-05T00:30:36-00:00Re: Best Way to Import Existing UML model into Papyrus
https://www.eclipse.org/forums/index.php/mv/msg/149654/607420/#msg_607420
http://wiki.eclipse.org/Papyrus_User_Guide#Model_Explorer_Vi ew there is a reference to an *.uml file context menu entry named "Initialize Papyrus Diagram", but I do not get such a menu entry.
How do I configure Papyrus so that it could provide this contextual menu entry ?]]>Yannick Duchene (Hibou57)2010-09-05T00:30:38-00:00Re: Best Way to Import Existing UML model into Papyrus
https://www.eclipse.org/forums/index.php/mv/msg/149654/991557/#msg_991557
has someone solved that? I dont see the menu entry nither
Also, it is working for me if I try to create a class diagram, but now I am trying to load an interaction diagram (sequence diagram) and Papyrus doesnt let me drag and drop the items from the model explorer to the diagram editor pane ... Is it supposed to be working, or is it an unimplemented feature?
thank you in advance!]]>Federico Toledo2012-12-19T18:19:41-00:00Re: Best Way to Import Existing UML model into Papyrus
https://www.eclipse.org/forums/index.php/mv/msg/149654/992314/#msg_992314
I think the Drag & Drop for the Sequence Diagram has been fixed recently. It is not available in Papyrus Juno SR1 (0.9.1), but it will be available for SR2 (02/2012). It is also available on our nightly builds.
To create a new Papyrus Model from a UML Model, select the UML File, then go to "File -> New -> Papyrus model".
Regards,
Camille]]>Camille Letavernier2012-12-21T10:32:56-00:00Re: Best Way to Import Existing UML model into Papyrus
https://www.eclipse.org/forums/index.php/mv/msg/149654/994666/#msg_994666
Thanks,
Dan]]>Dan George2012-12-28T00:35:03-00:00Re: Best Way to Import Existing UML model into Papyrus
https://www.eclipse.org/forums/index.php/mv/msg/149654/994766/#msg_994766
I think that this is the same in most of the perspectives. See the attached file, I am using the java perspective, with the package view
hope it helps]]>Federico Toledo2012-12-28T08:06:25-00:00Re: Best Way to Import Existing UML model into Papyrus
https://www.eclipse.org/forums/index.php/mv/msg/149654/1006510/#msg_1006510
If you try to delete the generated "model.di" file from the project explorer,
in order to start over with a second try, you hopelessly see that your original uml file will be deleted irreversably together with the papyrus model.
You loose your original model ending up with less than you have started with!
If you have no copy of the model anywhere else it is already over with that model.
Congragulations, you have nothing left to loose.
]]>Furkan Eke2013-01-31T14:36:05-00:00Re: Best Way to Import Existing UML model into Papyrus
https://www.eclipse.org/forums/index.php/mv/msg/149654/1006545/#msg_1006545
That seems to justify raising https://bugs.eclipse.org/bugs/show_bug.cgi?id=396881 to critical.
Regards
Ed Willink
On 31/01/2013 15:36, Furkan Eke wrote:
> "Select UML Model/New Papyrus Model/ -> empty model diagram" is the
> less awful thing of the rest.
>
> If you try to delete the generated "model.di" file from the project
> explorer,
> in order to start over with a second try, you hopelessly see that your
> original uml file will be deleted irreversably together with the
> papyrus model.
>
> You loose your original model ending up with less than you have
> started with!
>
> If you have no copy of the model anywhere else it is already over with
> that model.
>
> Congragulations, you have nothing left to loose.
>]]>Ed Willink2013-01-31T15:48:53-00:00