Skip to main content



      Home
Home » Modeling » EMF » How to change name of multiple objects by changing the name of only one
How to change name of multiple objects by changing the name of only one [message #1863881] Mon, 04 March 2024 00:29 Go to next message
Eclipse UserFriend
In my eclipse emf project, I have one class A and class B.
Lets say each object of class B has one object of class A associated with it.
Now, According to my project i will create object of Class A first and Then will create object of class B.
And which object is created of A before get linked to the object of B.
Now, I want that if i change the name of object of Class A.
It should reflect in B's Object.


For better understanding,

At the runtime emf looks like:

-------- | ______________
| __________
| _______
------- | _________

first left side shows the object to select and right side shows the properties in it.
If i change the name, it will reflect the name on left side.
My problem is object of A is reflecting the name on changing but object of B that refer to object of A whose name just got changed doesn't show the changes on the left side.

let's say if i name the object of A = "Sachin"
object of B should also show the changes in the left side name as " Sachin".

Any idea how can i do that?
Re: How to change name of multiple objects by changing the name of only one [message #1863886 is a reply to message #1863881] Mon, 04 March 2024 03:33 Go to previous message
Eclipse UserFriend
It seems to me this is a variation of the previous question and the same answer applies. Or not?
Previous Topic:[CDO] Commit Exception on the second commit after thread interruption
Next Topic:Other/Custom names for objects in EMF-Plugin
Goto Forum:
  


Current Time: Tue Jul 01 10:51:02 EDT 2025

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

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

Back to the top