|
Re: Copy paste [message #428922 is a reply to message #428920] |
Thu, 02 April 2009 00:21 |
Ed Merks Messages: 33141 Registered: July 2009 |
Senior Member |
|
|
Uri,
Comments below.
Uri Shani wrote:
> I use a model in which most references are bidirectional.
They're something that should be used with a bit of caution. All too
often they seem useful when in fact they're inappropriate. For example,
EClass.eSuperTypes is not bidirectional even thought it would clearly be
useful for a class to know all its subclasses.
> This is useful for many editing purposes, yet it seems to prevent copy
> paste of most of the elements in the model. Is this indeed so, or I am
> missing something?
If you copy an object with a bidirectional reference to another object,
that reference will be copied if and only if the referenced object is
also copied. Otherwise, the original object would refer back to the
copy and the act of copying would hence have a side-effect on the
original. Copying needs to be side-effect free...
>
> Thanks,
> - Uri
>
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Powered by
FUDForum. Page generated in 0.02893 seconds