|
| Re: Nulling References [message #641217 is a reply to message #641114] |
Wed, 24 November 2010 09:52  |
Ed Merks Messages: 24553 Registered: July 2009 |
Senior Member |
|
|
Phil,
Comments below.
Phil M. Fischer wrote:
> Hi Everyone,
>
> I am working with a huge EMF Model, that has a lot of objects
> referencing but not containing other objects. I am now facing a
> Problem of deleting a highly referenced Object where i miss some
> references to it. Saving the Resource of the Model and reloading it is
> now causing heaps of trouble and crashes. So what I am looking for is
> a way to search in my EMF model all the references to that specific
> instance of the object that i want to delete so that i can remove the
> references before.
A DeleteCommand does that... You can also look what EcoreUtil.delete does.
>
> Cheers
>
> Phil
|
|
|
Powered by
FUDForum. Page generated in 0.01633 seconds