I have noticed the class UML2AdapterFactoryEditingDomain (while studying the ChangeCommand). I see that it doesn't have any doc attached, and it seems to have something to do with a ChangeRecorder related behavior.
Do you know what this class does and if there are advantages/disadvantages regarding the use of this class (rather than the standard AdapterFactoryEditingDomain)?
As far as I know, the UML2AdapterFactoryEditingDomain class ensures a different behavior for the unique features. The list with the FeatureChanged elements (which contains the features that were changed for an EObject) and the resourceChanged list (from the ChangeDescription class) are prevented to accept duplicates.
Still I can not understand exactly what this modification serves for. Could anyone perhaps provide more information about this behavior?
Thank you for your reply.
Does that mean that when using a ChangeCommand (or a ChangeRecorder) on an UML2 model, the use of UML2AdapterFactoryEditingDomain as editing domain is mandatory? I.e. using a "normal" AdapterFactoryEditingDomain would lead in some cases to undesired behavior?