Author Topic: Move Attribute or Operation  (Read 6171 times)

lukasbradley

  • EA Novice
  • *
  • Posts: 9
  • Karma: +0/-0
    • View Profile
Move Attribute or Operation
« on: February 18, 2005, 09:17:16 am »
Is it possible to move an Attribute or Operation from one class to another?

A drag-and-drop would be great, but I'll settle for anything to be able to move all the information without having to re-type it in.

CJ

  • EA User
  • **
  • Posts: 288
  • Karma: +0/-0
    • View Profile
Re: Move Attribute or Operation
« Reply #1 on: February 18, 2005, 09:46:23 am »
G'day,

1) locate the class that you-want-to-copy-from in the project browser;

2) bring into view a diagram that contains the class that you-want-to-copy-to;

3) Drag the operations/attributes of the first class in the browser to the second class in your diagram.

This COPIES the attributes/operations.  You need to delete those attributes/operations from the first class when you're all done.

Hope that helps.
Cheers and best regards.

lukasbradley

  • EA Novice
  • *
  • Posts: 9
  • Karma: +0/-0
    • View Profile
Re: Move Attribute or Operation
« Reply #2 on: February 18, 2005, 11:02:19 am »
Fantastic thanks.

I opened the "Project View" and dragged the operations directly into the Model onto the new class.

Is there any way to drag them from only within the Model itself?

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8064
  • Karma: +118/-20
    • View Profile
Re: Move Attribute or Operation
« Reply #3 on: February 20, 2005, 01:25:21 pm »
How about just finding both classes in the tree view, selecting the attributes and operations to move and dragging them to the new class (in the tree view).  That will move them.

Simon

lukasbradley

  • EA Novice
  • *
  • Posts: 9
  • Karma: +0/-0
    • View Profile
Re: Move Attribute or Operation
« Reply #4 on: February 20, 2005, 01:39:27 pm »
I'll try that as well, but it's not what I was asking for.   ;D


thomaskilian

  • Guest
Re: Move Attribute or Operation
« Reply #5 on: February 28, 2005, 03:47:47 am »
Just a bit uncertain about what you really asked about  ???

lukasbradley

  • EA Novice
  • *
  • Posts: 9
  • Karma: +0/-0
    • View Profile
Re: Move Attribute or Operation
« Reply #6 on: February 28, 2005, 06:29:16 am »
Within a Class Diagram, I want to be able to drag an Attribute or Operation directly from the Class into another Class.  I want to be able to quickly refactor my model directly from the diagram view.

thomaskilian

  • Guest
Re: Move Attribute or Operation
« Reply #7 on: March 01, 2005, 01:43:31 am »
Not possible. The only way is to use the browser.