Skip to main content


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 11:14 Go to next message
Eclipse UserFriend
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 16:10 Go to previous message
René is currently offline RenéFriend
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: Tue Apr 23 08:22:51 GMT 2024

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

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

Back to the top