I am having problems when trying to undo changes made through my plug-in.
More precisely, I have a VPContextActionController that removes existing stereotypes of an IClass model element and adds a new one to it. For that, I remove and add stereotypes based on strings rather than using IStereotype objects.
The problem is that Visual Paradigm is unable to perform “Undo” (or “Ctrl+Z” with the shortcut) restoring the original settings of that IClass.
Is this a known issue? Is there a workaround for this?