Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Copy Paste
Copy Paste [message #208411] Thu, 02 February 2006 10:01 Go to next message
vigan is currently offline viganFriend
Messages: 6
Registered: July 2009
Junior Member
Hello
After studying the existing post regarding this topic i didn't fully
understand the procedure of copying objects.

Pasting is quite clear to me.

I try to build my copy paste implementation on the Logic example.

There they use a Class called CloneCommand.

This is what I dont understand.

Has this ColoneCommand anything to do with the copying of objects?

Is there a tutorial of howto implement copy/past in gef? I couln'd find any

Many Thanx

Ivo
Re: Copy Paste [message #208448 is a reply to message #208411] Thu, 02 February 2006 20:35 Go to previous message
Steven R. Shaw is currently offline Steven R. ShawFriend
Messages: 128
Registered: July 2009
Senior Member
Copy/paste is a handled "for-free" if you adopt the GMF infrastructure. Is
has default handling of copy/paste of notation artifacts inside the editor
and also the ability to copy from your editor into an external application
such as MS-Word.

@see www.eclipse.org/gmf
Reference plug-in would be org.eclipse.gmf.examples.runtime.diagram.logic or
take a look at the generated plug-in
org.eclipse.gmf.examples.taipan.gmf.editor

Regards,

Steve.

"Ivo Vigan" <radical@tensionstate.com> wrote in message
news:drsla5$i0o$1@utils.eclipse.org...
> Hello
> After studying the existing post regarding this topic i didn't fully
> understand the procedure of copying objects.
>
> Pasting is quite clear to me.
>
> I try to build my copy paste implementation on the Logic example.
>
> There they use a Class called CloneCommand.
>
> This is what I dont understand.
>
> Has this ColoneCommand anything to do with the copying of objects?
>
> Is there a tutorial of howto implement copy/past in gef? I couln'd find
any
>
> Many Thanx
>
> Ivo
>
>
Previous Topic:Visualization of Connections / Chopboxanchor and targt and source is the same node
Next Topic:Similar projects?
Goto Forum:
  


Current Time: Sat Jan 18 06:19:47 GMT 2025

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

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

Back to the top