Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » GMT (Generative Modeling Technologies) » [Epsilon]cloning a model element in EOL
[Epsilon]cloning a model element in EOL [message #621756] Fri, 05 September 2008 01:18
Kimon Polychroniadis is currently offline Kimon PolychroniadisFriend
Messages: 30
Registered: July 2009

I am trying to copy an element of my model in another container in the
model. For example I got element A in container C1 and I want to make a
copy of A (e.g. B) in another container (e.g. C2). So the goal is to
have A in C1 and B in C2, wiht A and B being identical.

However, I noticed that the ':= ' operator moves the object rather
copying it. I also thought of using the clone() command, manipulating
the element as a Collection, no result. Is there a more rational way of
doing this?

Thank you in advance,
Previous Topic:[MOFScript] Modeling Tool
Next Topic:[MOFScript]
Goto Forum:

Current Time: Wed Jun 23 10:15:33 GMT 2021

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

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

Back to the top