[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.modeling.gmf] Retrieve properties when loading a diagram

Hello,

In my diagram, I have custom figures which represent some node properties in a specific way. I am able to notify the custom figure when a property change by overriding the handleNotificationEvent function in my XYZEditPart. This works fine.
Now, my problem occurs when I load an existing diagram file: at that point, the properties are already set and I don't receive any notification event (which is logical, because the properties didn't change). Is there a way to retrieve some properties in my EditPart to be able to inform my custom figures ? Furthermore, where is the best place to put this code, because my edit part should already be configured (so, putting that in the constructor is probably a bad idea). In the activate method maybe ?


Thanks
Cédric