Monday, 12 March 2007

Abstract classes / Abstract Methods UML 2 with Visio 2003

Create an abstract class in UML

- Go to the UML Static Structure panel and drag and drop a class on the right pane.
- Double click the class and select the “IsAbstract” checkbox

The class is now abstract. You can see this on the Italic header

Now we are going to add an abstract method

- Double click the class, select the category operations.
- Press the new button.
- Press the method button.
- Unselect the “Has Method” checkbox.
- Select the polymorfic checkbox (it is the default)
- Name the operation

We can now see the abstract method appearing. It’s also in italic.

Labels: , ,


Post a Comment

Subscribe to Post Comments [Atom]

<< Home