Here's the problem.
I have a class diagram that contains several classes which realize an interface. I am creating a sequence diagram that includes an instance of one of these classes. But, when I try and attach a message to the lifeline for the instance, none of the interface operations appear in the drop down.
As a work-around, I tried to create an instance of the interface, but Viso will not allow that either.
The only other work-around I can think of is to create an
object lifeline, give it a name, but don't associate it with any specific class. This would allow me to type in whatever operations I want. But then I lose all operation argument information, etc.
Has anyone else run into this limitation? Am I wrong in thinking you can instantiate an interface on a sequence diagram in UML?
Any ideas will be appreciated.
Regards,
Bill
I have a class diagram that contains several classes which realize an interface. I am creating a sequence diagram that includes an instance of one of these classes. But, when I try and attach a message to the lifeline for the instance, none of the interface operations appear in the drop down.
As a work-around, I tried to create an instance of the interface, but Viso will not allow that either.
The only other work-around I can think of is to create an
object lifeline, give it a name, but don't associate it with any specific class. This would allow me to type in whatever operations I want. But then I lose all operation argument information, etc.
Has anyone else run into this limitation? Am I wrong in thinking you can instantiate an interface on a sequence diagram in UML?
Any ideas will be appreciated.
Regards,
Bill