|Re: [Teneo] Delete Model and unset all CrossReferences [message #1229033 is a reply to message #1229023]
||Wed, 08 January 2014 15:22
| Ed Merks
Registered: July 2009
What are you trying to do? Eliminate all references to some object?
Perhaps org.eclipse.emf.ecore.util.EcoreUtil.delete(EObject, boolean)
does what you need or at least will give you the idea of how to
implement what you need.
On 08/01/2014 4:05 PM, Jürgen Weinberger wrote:
> Thanks for the answer! I think eObject.unset() would do the trick.
> Can you just point me in the right direction? I would need to know
> which StructuralFeature contains the referenced EObject to unset it.
> Is this even possible ?
> Thanks again!
> best regards
Professional Support: https://www.macromodeling.com/
Powered by FUDForum
. Page generated in 0.01561 seconds