I've checked combined (GMF+EMF on different tabs) TopicMapEditor from the
article and it starts being dirty if I mode any node on a diagram.
Anyway, important place in a code is generated ???DocumentProvider.ResourceSetModificationListener
- this class is responsible for listening for a notifications from EMF Resources.modified
property. You can try to debug this code to see why it is not working.
In general to make it working you have to have ensure all the resources loaded
by corresponding ResourceSet has "trackingModification" property set to true
(see generated ???DocumentProvider.createEditingDomain() method). AFAICSee
???Editor.initializeEditingDomain() is not setting trackingModification =
true for any loaded resources, so as an option you can copy appropriate code
from ???DocumentProvider.createEditingDomain() to ???Editor.initializeEditingDomain().