[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.modeling.gmf] Re: Properties initialization from XMI

Hello Rekha,

understand how the model is updated and read when diagram is reopened.
Each notation model element keeps reference to the corresponding domain model one. Each EditPart keeps reference to the corresponding notation model element. This is how you can access domain model information from Editparts (creating/keeping figures).

am unable to understand how notation and semantic synchronization is
achieved.
EditPart class should be generated for each diagram element. Corrersponding class will listen for any changes in underlying domain model + update visual representation in accordance.

Please help me know how can I link my properties to the figures.
You have to modify generated EditParts to listen for corresponding changes + change properties of the corresponding figures.

-----------------
Alex Shatalin