Why REQ_CLONE is a ChangeBoundsRequest [message #167023] |
Fri, 04 February 2005 13:54  |
Eclipse User |
|
|
|
Originally posted by: bo.n0spam.majewski.com
I am implementing copy/paste for my model. I wanted to follow the same
solution as the delete action does: ask selected parts for their copy
command. It seems that the clone request was designed for that purpose
(delete action uses group request). Strangely, it is a change bounds
request. I do not quite follow the logic. When I do copy I am not (yet)
changing anybody's bounds. This will happen later, on paste. So what is
the reason behind this design?
On a side note, is there any example of copy/paste implementation, other
than copy/paste template actions?
|
|
|
Re: Why REQ_CLONE is a ChangeBoundsRequest [message #167093 is a reply to message #167023] |
Sat, 05 February 2005 22:12  |
Eclipse User |
|
|
|
Originally posted by: none.us.ibm.com
Clone request is for CTRL+dragging an object. It copies the object, not to
the clipboard, but directly back to the diagram itself. Not sure why we
called it cloning, but it is not the same as Cut/Copy/Paste. Because you
are dragging the cloned object to a new location, it is changebounds
"Bo Majewski" <bo@n0spam.majewski.com> escreveu na mensagem
news:cu0gda$89r$1@www.eclipse.org...
>I am implementing copy/paste for my model. I wanted to follow the same
>solution as the delete action does: ask selected parts for their copy
>command. It seems that the clone request was designed for that purpose
>(delete action uses group request). Strangely, it is a change bounds
>request. I do not quite follow the logic. When I do copy I am not (yet)
>changing anybody's bounds. This will happen later, on paste. So what is the
>reason behind this design?
>
> On a side note, is there any example of copy/paste implementation, other
> than copy/paste template actions?
|
|
|
Powered by
FUDForum. Page generated in 0.05514 seconds