How to change name of multiple objects by changing the name of only one [message #1863881] |
Mon, 04 March 2024 00:29  |
Eclipse User |
|
|
|
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?
|
|
|
|
Powered by
FUDForum. Page generated in 0.10223 seconds