Undo/Redo: Adding a model element results in two items on the undo/redo stack
The current design where the IAnnotationValueService
adds annotations
to newly created model elements after their creation results in two
in two items on the undo/redo stack:
- One for the element itself
- One for the elements annotations (if any)
This is kind of hard to fix since the ElementCompositorService
(whose
@compose() method seems like one natural place to ensure the
instantiation of the annotations within the same undo/redo command as
the element instantiation itself) resides in the kernel, whereas the
annotation framework is in tooling.base.ui.
(Adding original authors and current release manager to list of watchers…)
(from redmine: issue id 2208, created on 2015-01-15, closed on 2015-01-29)