Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » Behavior of objects in the model
Behavior of objects in the model [message #1736758] Fri, 01 July 2016 14:23 Go to next message
Oleksiy Bulhakov is currently offline Oleksiy BulhakovFriend
Messages: 5
Registered: May 2016
Junior Member
After I remove some objects from my model, they are being removed from original parent. But sometimes I observe unexpected behavior - the objects that I've removed (or thier copies) are still alive, and their parent at this moment is Project.
Is this a valid behavior and if yes, why?

Thanks in advance.
Re: Behavior of objects in the model [message #1736765 is a reply to message #1736758] Fri, 01 July 2016 15:07 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33140
Registered: July 2009
Senior Member
Comments below.


On 01.07.2016 10:23, Oleksiy Bulhakov wrote:
> After I remove some objects from my model, they are being removed from
> original parent.
How are you removing them? From where are you expecting them to be
removed?
> But sometimes I observe unexpected behavior - the objects that I've
> removed (or thier copies) are still alive,
What does alive mean to you?
> and their parent at this moment is Project.
By parent you mean the the eContainer()? Project is a class in your model?
> Is this a valid behavior and if yes, why?
There's way too much that I'd need to speculate about to answer such a
question. I don't know the structure of your model. I don't know what
you're doing to remove something. I do know that it's unlikely that
what you're seeing is invalid.
>
> Thanks in advance.


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:Reading the model file
Next Topic:for the PhD students among us: typesetting Emfatic in LaTeX
Goto Forum:
  


Current Time: Thu Apr 25 15:01:03 GMT 2024

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

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

Back to the top