Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » copy and paste
copy and paste [message #195877] Mon, 07 July 2008 06:35 Go to next message
Eclipse UserFriend
Originally posted by: jk6803.yahoo.com

I am struggling to work copy and past out.GMF runtime is supposed to
provide but it still does not support.I read past threads but those are
not clear enough.I generated pretty simple GMF generated editor which has
just one rectangle and connection. After copy and paste, if delete the
child node, the top node and child nodes are gone together. I turned on
"UUIDs".

Could anyone suggest right solution along with source code?.


thanks
Re: copy and paste [message #195958 is a reply to message #195877] Mon, 07 July 2008 10:52 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: cdamus.zeligsoft.com

--=-ddWujibt2KxTvP6YRUJ+
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

Hi, hawk,

Have you read the GMF Developer Guide documentation pertaining to
copy/paste? There is a Clipboard Tutorial in the Tutorials section of
the guide. In Ganymede the formatting of the code snippets is
completely messed up, but you should be able to follow the text
in-between with the example project installed in your workspace. The
"File -> New -> Example..." action has a "Clipboard Support" example in
the "GMF Plug-ins" category. This creates, in your workspace, a working
example of copy/paste for the EMF extended library example model (which
you will need to install from the New Example wizard, as well).

HTH,

Christian

On Mon, 2008-07-07 at 06:35 +0000, hawk wrote:

> I am struggling to work copy and past out.GMF runtime is supposed to
> provide but it still does not support.I read past threads but those are
> not clear enough.I generated pretty simple GMF generated editor which has
> just one rectangle and connection. After copy and paste, if delete the
> child node, the top node and child nodes are gone together. I turned on
> "UUIDs".
>
> Could anyone suggest right solution along with source code?.
>
>
> thanks
>

--=-ddWujibt2KxTvP6YRUJ+
Content-Type: text/html; charset=utf-8

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.16.0">
</HEAD>
<BODY>
Hi, hawk,<BR>
<BR>
Have you read the GMF Developer Guide documentation pertaining to copy/paste?&nbsp; There is a Clipboard Tutorial in the Tutorials section of the guide.&nbsp; In Ganymede the formatting of the code snippets is completely messed up, but you should be able to follow the text in-between with the example project installed in your workspace.&nbsp; The &quot;File -&gt; New -&gt; Example...&quot; action has a &quot;Clipboard Support&quot; example in the &quot;GMF Plug-ins&quot; category.&nbsp; This creates, in your workspace, a working example of copy/paste for the EMF extended library example model (which you will need to install from the New Example wizard, as well).<BR>
<BR>
HTH,<BR>
<BR>
Christian<BR>
<BR>
On Mon, 2008-07-07 at 06:35 +0000, hawk wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE>
<FONT COLOR="#000000">I am struggling to work copy and past out.GMF runtime is supposed to </FONT>
<FONT COLOR="#000000">provide but it still does not support.I read past threads but those are </FONT>
<FONT COLOR="#000000">not clear enough.I generated pretty simple GMF generated editor which has </FONT>
<FONT COLOR="#000000">just one rectangle and connection. After copy and paste, if delete the </FONT>
<FONT COLOR="#000000">child node, the top node and child nodes are gone together. I turned on </FONT>
<FONT COLOR="#000000">&quot;UUIDs&quot;.</FONT>

<FONT COLOR="#000000">Could anyone suggest right solution along with source code?.</FONT>


<FONT COLOR="#000000">thanks</FONT>

</PRE>
</BLOCKQUOTE>
</BODY>
</HTML>

--=-ddWujibt2KxTvP6YRUJ+--
Re: copy and paste [message #195997 is a reply to message #195958] Mon, 07 July 2008 16:11 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jk6803.yahoo.com

Thanks Christian,

There should be someone else who already implemented.As copy or paste is
fundamental functionality, we can reuse if anybody succeeded.I think it is
totally waste of time if go through from the scratch. I download clipboard
example from eclispe side but I could not run it. Because the code is not
enough to run.I already tried some solutions discussed in the news group.
Does anyone have copy and paste worked and can provide code.

thanks
Re: copy and paste [message #196421 is a reply to message #195997] Wed, 09 July 2008 22:47 Go to previous message
Eclipse UserFriend
Originally posted by: jk6803.yahoo.com

I spent lots of time to solve but the result same. The parent and child
are gone when delete the child.Please help me.
Previous Topic:Problems Validatin with OCL an atribute of EDataType
Next Topic:GMF Layout with Zest?
Goto Forum:
  


Current Time: Thu Apr 25 06:52:34 GMT 2024

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

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

Back to the top