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
- 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.
- 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: Abstract class/method, UML, Visio 2003
1 Comments:
Thanks, just what i was looking for
By Unknown, At 21 October 2008 at 21:35
Post a Comment
Subscribe to Post Comments [Atom]
<< Home