Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » copy paste issue
copy paste issue [message #248957] Wed, 13 May 2009 07:14 Go to next message
Eclipse User
Originally posted by: jxtamarc.gmail.com

Hi,

I'm trying to copy and paste single elements from a model into a new
model. Apparently it looks like it's done, since I can see a graphical
copy of that element, but if I add any other object to the diagram or try
to save changes and open the diagram back,
the copied elements disappear.

any ideas?? this is starting to drive me crazy. I haven't been able to
find any complete and clear example of a simple copy paste action.
Many people has already asked this issue on this list before me but it
seems like there aren't any convincing solution.

Please, help!

thank you!
Re: copy paste issue [message #248998 is a reply to message #248957] Fri, 15 May 2009 12:10 Go to previous message
René is currently offline René
Messages: 45
Registered: July 2009
Member
hi markitus,

this sounds like that you don't modify your model persistently. so maybe
a refresh of the diagram let the copied elements disappear.
gef don't support a general drag and drop support, because this is a
model specific behavior (see
http://www.eclipsezone.com/eclipse/forums/t45874.html). had you
implement any modelchanging commands for copy and paste until yet?

regards,
rené


markitus wrote:
> Hi,
>
> I'm trying to copy and paste single elements from a model into a new
> model. Apparently it looks like it's done, since I can see a graphical
> copy of that element, but if I add any other object to the diagram or try
> to save changes and open the diagram back,
> the copied elements disappear.
>
> any ideas?? this is starting to drive me crazy. I haven't been able to
> find any complete and clear example of a simple copy paste action.
> Many people has already asked this issue on this list before me but it
> seems like there aren't any convincing solution.
>
> Please, help!
>
> thank you!
Previous Topic:the right way to deal with requests
Next Topic:[Announce] GEF 3.5.0RC1 is available
Goto Forum:
  


Current Time: Sat Aug 30 12:26:13 EDT 2014

Powered by FUDForum. Page generated in 0.01625 seconds