Skip to main content



      Home
Home » Eclipse Projects » GEF » Why REQ_CLONE is a ChangeBoundsRequest
Why REQ_CLONE is a ChangeBoundsRequest [message #167023] Fri, 04 February 2005 13:54 Go to next message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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?
Previous Topic:CONNECTION PROBLEM!!!!
Next Topic:How to paint all Figures at once?
Goto Forum:
  


Current Time: Mon Jun 23 06:31:55 EDT 2025

Powered by FUDForum. Page generated in 0.05514 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top