Microsoft KB Archive/830195

= Methods are not displayed for a child class as expected in your UML model diagram in Visio 2002 =

Article ID: 830195

Article Last Modified on 1/11/2006

-

APPLIES TO


 * Microsoft Visio 2002 Professional Edition

-





SYMPTOMS
When you use the UML Model diagram template in Microsoft Visio 2002 to create a UML drawing, may find that you cannot override methods that are in a child class if the methods were implemented in a parent class and the methods are part of the interface. When you try to do so, the methods are not displayed correctly for the child class.



CAUSE
This problem occurs in situations when Visio processes methods in parent classes but does not process the methods of all interfaces that the parent class implements. For example, this problem may occur in the following situation:
 * 1) In a UML sequence diagram, you add an Interface shape and name it Interface1. The Interface1 interface has an operation named MyFunction.
 * 2) You add a Class shape and name it Class1. The Class1 class implements the Interface1 interface.
 * 3) You add a Class shape and name it Class2. The Class2 class inherits the Class1 class.
 * 4) You open a new UML sequence diagram, and then add a Class shape that represents the Class2 class.
 * 5) You add a Message (call) shape to your drawing and attach it to the Class2 class.
 * 6) You right-click the Message (call) shape, right-click Properties, and then click Operations.

In this situation, the MyFunction operation that is inherited from the Class1 class that implements the Interface1 interface is not displayed in the UML Message Properties dialog box.



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the &quot;Applies to&quot; section of this article.



MORE INFORMATION
For more information about working with UML model drawings, see Visio Help. To do so, on the Help menu, click Microsoft Office Visio Help, type UML model diagrams in the Search for box, and then press ENTER to view the topics that are returned.

For more information about Visio 2002, visit the following Microsoft Web site:

http://office.microsoft.com/assistance/category.aspx?CategoryID=CH010491431033&amp;CTT=98

Keywords: kbdownload kbbug kbpending KB830195

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.