How can I design a class which implements an interface?

S

Stampede

I tried to design my application with Microsoft Visio 2005 Beta 2 and have
the problem, that it shows me a syntaxerror, where I'm shure there isn't one.

I created an interface and want a class to implement this interface. In
coding this is no problem of course, but in Visio it just isn't possible
(without getting a syntaxerror). I used the gerneralization connector to
represent the implementation of the interface. Can you tell me what to use or
how to configure Visio to allow me implementing an interface without showing
me a syntaxerror?

The second problem comes again with interfaces. I want to create an relation
between a class and an interace by using the composite connector, but again I
get a syntaxerror. Visio tells me, that it issn't possible to use an
interface as a part of a composition. But in coding it would work just fine,
so I get a little frustrated with Visio. Can you tell me how to design a
class which has an instance variable, which is of the type of an interface by
using a composition and not creating the variable within the class using the
type of the interface?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top