| 
| copy paste issue [message #248957] | Wed, 13 May 2009 07:14  |  | 
| 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  |  | 
| Eclipse User  |  |  |  |  | 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!
 |  |  |  | 
Powered by 
FUDForum. Page generated in 0.02725 seconds