|
|
|
Re: [Teneo] Delete Model and unset all CrossReferences [message #1229033 is a reply to message #1229023] |
Wed, 08 January 2014 15:22 |
Ed Merks Messages: 33107 Registered: July 2009 |
Senior Member |
|
|
Jürgen,
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:
> Hi!
>
> 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
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Powered by
FUDForum. Page generated in 0.02151 seconds