Is it possible to add attributes to a Visio (in my case 2007) UML diagram Interface object? It shows operations in its properties dialog, but alas no Attributes section. I am really hoping someone has thought of a way around this (without looking at third-party apps).
Asked
Active
Viewed 6,225 times
1 Answers
4
It is possible to achieve the same visual Effect: An interface is represented like a class with a stereotype <<interface>>
. So you can go to UML/Stereotypes/New and enter "interface" as Stereotype name, then select Class as base. Now you can Create a new Class, edit it and select the new interface stereotype. After doing so you have a visual representation of an interface which can hold attributes.
Maybe this suites your needs. Still the internal representation of these models is not UML 2 compliant (but Visio has other flaws regarding that either way).

Christian
- 13,285
- 2
- 32
- 49
-
That worked (at least giving it the visual representation I was looking for). Thanks! – bjhuffine Sep 21 '12 at 16:36
-
Curiously enough though... I just got to wondering, Visio automatically updates those classes that implement an interface to display the methods... can this approach be setup to also do that? – bjhuffine Sep 21 '12 at 18:30