Sparx Systems Forum

Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: mogra69 on November 16, 2006, 07:56:00 pm

Title: Detecting that Repository has changes
Post by: mogra69 on November 16, 2006, 07:56:00 pm

In my add-in I need to know if the repository has changed since it was last  opened. If so then update another file (not the eap file). How do I do this?

I could implement all the events that get invoked on model changes and maintain a modelChanged flag.

Is there a simpler way?

Repository.LastUpdate and Repository.FlagUpdate may hold some answers to my problem. Do you know how these work?