Skip to main content



      Home
Home » Modeling » EMF » What happens when an object is deleted?
What happens when an object is deleted? [message #1863686] Wed, 21 February 2024 04:27 Go to next message
Eclipse UserFriend
I have 3 classes for example.
one is named as A, second B and likewise third is C.
Now, every object of A has one object of B and one Object of C associated with it.
Now, object of B has one list and object of C also has a list.
And list of Object C is depending on list of Object B.
If i delete one entry from the list of B, then i want to delete corresponding entry from the list of object of C.
How can i do that?
Re: What happens when an object is deleted? [message #1863690 is a reply to message #1863686] Wed, 21 February 2024 06:49 Go to previous message
Eclipse UserFriend
Have a look at org.eclipse.emf.ecore.util.EcoreUtil.delete(EObject, boolean).
Previous Topic:How to get an Object from it's uri path
Next Topic:Tree view on Xtext model file on the first run not working (crosspost)
Goto Forum:
  


Current Time: Mon Jul 07 04:09:33 EDT 2025

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

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

Back to the top