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



The information in this article applies to:

  • Microsoft Visio 2002 Professional

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 "Applies to" 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:

Modification Type:MinorLast Reviewed:1/11/2006
Keywords:kbdownload kbpending kbBug KB830195 kbAudITPRO kbAudDeveloper