Microsoft Visio 2010 UML:CLASS Interfaces

microsoft-visiomicrosoft-visio-2010uml

I'm having trouble associating multiple classes with an interface where if I change methods in an interface, all implementing classes update automatically.

That is what is desired, where the interface is in the 'lolipop' format. Currently, I need to copy-paste the interface on to each class that implements it, and should I need to alter the interface, I need to alter each one which is quite a pain. Not to mention this screws up code generation should I elect to use it.

How does one create instance-references (if that's the proper term) of the interface such that rather than having multiple copies, they all point to the same interface. Where an alteration any one of which reflects immediately on the classes they are attached to (methods and such).

Best Answer

Open Model Explorer toolbar (if it isn't already open) and you'll see your interface there. Drag it again to the page and connect to the new class.

Related Question