Copy paste diagram in the same model [message #1798345] |
Thu, 15 November 2018 13:58  |
Eclipse User |
|
|
|
Hi,
Can i copy activity diagram in the same model.For example i want to create another copy from an activity diagram in the same model instead of creating it from scratch as its big.
I tried from edit>copy but papyrus keeps freezing and stuck and generating errors.
Can you please advise me.
Thanks,
Taghreed
|
|
|
|
|
Re: Copy paste diagram in the same model [message #1798658 is a reply to message #1798642] |
Thu, 22 November 2018 03:52   |
Eclipse User |
|
|
|
Hi,
that is a common mistake: A diagram is a view of your model. If you copy a diagram, you create a copy of the view, but both views reference the same model elements. Thus, it's correct that name changes are reflected in both diagrams, as both diagrams shows the same semantic model elements.
You can copy a whole package containing one or more diagrams and a set of model elements. In this case, the diagrams and model elements within the package are duplicated. If you have not organized your model in a suitable for this task, you can create a new package and drag the elements that you need to duplicate inside (don't forget to update the root element of a moved diagram, as only the owner will change automatically). Not sure, whether that works with the Mars version which is quite old.
|
|
|
|
Powered by
FUDForum. Page generated in 0.08584 seconds