Book a Demo

Author Topic: Paste Objects(s) as new with Control Flows does not work  (Read 5227 times)

skyfool

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Paste Objects(s) as new with Control Flows does not work
« on: April 24, 2008, 05:47:48 pm »
Hi,

I want to copy Activity, Send/Receive and all Control Flow Edges from one Activity diagram to another.
The element should be pasted as new ("Paste Object(s) as new").
Activities and the send/receice nodes are copied (created as new) but all Control Flows are left out. Copy as link works for control flows, too. But this is not what I need.

thanks,

Klaus

Aaron B

  • EA Administrator
  • EA User
  • *****
  • Posts: 941
  • Karma: +18/-0
    • View Profile
Re: Paste Objects(s) as new with Control Flows does not work
« Reply #1 on: April 25, 2008, 12:08:38 pm »
When you "Copy as Link", it does not actually copy the connectors.  They are just shown because they are already defined between these objects in the model.  Unfortunately copying of Elements "as New" does not currently support copying of connectors between the elements.

skyfool

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: Paste Objects(s) as new with Control Flows does not work
« Reply #2 on: April 29, 2008, 09:52:15 pm »
HI Aaron,

thank you for the info. Do you have plans when "copy (as new) connectors between the elements" will be released?

-Klaus

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Paste Objects(s) as new with Control Flows does not work
« Reply #3 on: April 30, 2008, 08:00:39 am »
There is a way to copy elements including connectors between them.

Drop the objects onto a diagram.  Copy the diagram (from context menu in tree).
Paste diagram (again from context menu in tree)
Select deep copy.
You can then remove the diagram if necessary and drop the elements onto any diagram you want.

Alternatively, if it's a particular set you're copying reguarly.  Then it might be worth looking into making it into a pattern.