Skip to main content


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
Philipp M. Fischer is currently offline Philipp M. FischerFriend
Messages: 67
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: 33137
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


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:[Mint] Participation in Indigo
Next Topic:"Save as" with multiple file formats
Goto Forum:
  


Current Time: Fri Apr 19 22:59:44 GMT 2024

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

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

Back to the top