[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
|
[news.eclipse.tools.emf] Re: Cloning an EObject
|
Hi Brian,
You can use EcoreUtil.copy(EObject) to clone an eobject. You can also use EcoreUtil.copyAll(Collection) to clone the
whole list of EObject. Hope this helps. :)
Hsin-Liang
On Thu, 4 Sep 2003 23:47:26 +0000 (UTC), Brian Berry <bdberry@xxxxxxxxxx> wrote:
Can an EObject be cloned? I need to iterate through the EList and make a
temporary copy of each object while passing a modified version of that
object to another object without modifying the original object that was in
the EList.
--
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/