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
SYMPTOMSWhen 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.CAUSEThis 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:
- In a UML sequence diagram, you add an
Interface shape and name it Interface1. The Interface1
interface has an operation named MyFunction().
- You add a Class shape and name it Class1.
The Class1 class implements the Interface1 interface.
- You add a Class shape and name it Class2.
The Class2 class inherits the Class1 class.
- You open a new UML sequence diagram, and then add a
Class shape that represents the Class2 class.
- You add a Message (call) shape to your
drawing and attach it to the Class2 class.
- 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. STATUSMicrosoft
has confirmed that this is a problem in the Microsoft products that are listed
in the "Applies to" section of this article.
Modification Type: | Minor | Last Reviewed: | 1/11/2006 |
---|
Keywords: | kbdownload kbpending kbBug KB830195 kbAudITPRO kbAudDeveloper |
---|
|