Sparx Systems Forum
Enterprise Architect => General Board => Topic started by: lukasbradley 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.
-
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.
-
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?
-
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
-
I'll try that as well, but it's not what I was asking for. ;D
-
Just a bit uncertain about what you really asked about ???
-
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.
-
Not possible. The only way is to use the browser.