Book a Demo

Author Topic: Move/Copy attributes/methods to another element  (Read 9507 times)

Emilio

  • EA User
  • **
  • Posts: 78
  • Karma: +0/-0
    • View Profile
Move/Copy attributes/methods to another element
« on: August 31, 2009, 06:53:50 pm »
During the making of a model I find myself many times needing to move and/or copy a class attribute or method to another class. Normally you just copy a class as new to start a new one if it is similar in some way but other times you already have an existent one. Currently one has to retype the whole thing :(

It would be nice to have an element (class/struct/interface) context menu item to copy (and/or move) an attribute or method to another element in the model.

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13505
  • Karma: +572/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Move/Copy attributes/methods to another elemen
« Reply #1 on: August 31, 2009, 07:01:04 pm »
Emilio,

There is a way to achieve this.
To copy you need to drag the attributes/operations from the project browser onto the target class on a diagram. This will create a copy of the attributes/operations (you can multiselect and then drag) in the target class.
To move attrs/ops you can drag them onto the target class in the project browser.

Geert

RoyC

  • EA Administrator
  • EA Practitioner
  • *****
  • Posts: 1297
  • Karma: +21/-4
  • Read The Help!
    • View Profile
Best Regards, Roy