Copying elements between models [message #471720] |
Mon, 01 October 2007 17:48 |
Eclipse User |
|
|
|
Originally posted by: scott.came.search.org
I am interested in using either the "tree-based" editor or the diagram
editor (ideally, both) to copy elements from one model (.uml) to another.
The use case is this... I have a model (component-library.uml) that
contains (as the name suggests) a bunch of reusable components (say, a
corporate standard library). Then, I have a second model (project.uml)
that will define some project-specific components, but will reuse the
components from component-library.uml.
At the very least, I'd like to be able to select a component in
component-library.uml in the Project Explorer view, and drag it up to a
package folder in project.uml (in the tree editor view), and have the
element copied there. I would expect this to be a deep copy, where any
elements on which the dragged element depends are copied as well (data
types, generalizations...but not associations).
It would also be nice if I could drag an element from
component-library.uml, in Project Explorer, onto a diagram, and have the
element appear on the diagram (having also been deep-copied to the
underlying .uml, as above).
My immediate interest is in static structure (class) diagrams, but I
imagine the feature would be useful on all types of diagrams.
Has anyone considered implementing this feature? (Or is it already
implemented and I've just missed it somehow)?
Thanks.
--Scott
|
|
|
Powered by
FUDForum. Page generated in 0.02471 seconds