Book a Demo

Author Topic: Newbie question on Implementing Interfaces  (Read 2822 times)

macinnesm

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Newbie question on Implementing Interfaces
« on: September 20, 2002, 09:35:51 am »
This might be a stupid question but can someone please tell me how to draw a Class that Implements an Interface using EA.

Using Visio, this was as simple as dragging the Interface over to the class. Once connected, the class would then fill with the operations of the interface.

Using EA, I have an Interface that defines a number of <<property>> Operations. Lets call this Interface "IPerson". Then I want to draw a class "Person" which implements the IPerson interface.

Then I want to be able to add the relevant attributes to the Person class which are linked to the implemented Operations as property fields.

The resulting generated code should then be complete, without the need to add missing code.

This seems to work without the Interface, EA seems to use attribute_name = m_<Property Name> as a TAGGED VALUE.

Can anyone just point me in the right direction.

THANKS!

Marcus

(BTW I'm using C#)