Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » Nulling References
Nulling References [message #641114] Wed, 24 November 2010 10:24 Go to next message
Phil M. Fischer is currently offline Phil M. FischerFriend
Messages: 60
Registered: November 2010
Location: Germany
Member
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.

Cheers

Phil
Re: Nulling References [message #641217 is a reply to message #641114] Wed, 24 November 2010 14:52 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 26215
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
Previous Topic:[Mint] Participation in Indigo
Next Topic:"Save as" with multiple file formats
Goto Forum:
  


Current Time: Sat Nov 22 01:54:23 GMT 2014

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

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