Implements and interface diagrams

Hi, I have several problems :

  1. I can’t manage to create a real interface using SDE.
    the code generated seems isn’t an interface, it’s a class.

  2. I don’t find the link to make my class implement this interface.
    I found “realization” but the link doesn’t affect the code of my class.

Thanks in advance if you have a clue

Could you give me more details about your problem? Such as what kind of project that you are working, steps for reproduce the problems? Thanks in advance!

I’m looking forward to hear your reply.

Best regards,
Rain

I have a class called “User” who implements “IUser” which is an interface.

I just want to describe it in a diagram, but I can’t find how to do it.

the code generated for IUser is like this :

using System;

public class IUser
{
}

so no “interface” keyword.

any clue ?

Sorry for my late response. To generate the interface class, please right click on the class and select Code Detail > Interface. After that the mode will be generated as interface class. If you have any further questions, please feel free to contact us again.

Best regards,
Rain

yes, but it doesn’t generate an interface actually

it generates a class (there is no “interface” keyword in it)

I’ve tested and it generate the class like this

using System;

public interface IUser
{
}
Could you please send me some screenshots for your problem? If possible, could you please send me you project? Please send those files to rain@visual-paradigm.com or through my private message. Thanks in advance and I’m looking forward to hear your reply.

Best regards,
Rain

Can not find context menu item Code Detail > Interface.

In current release it’s being moved into the Specification Dialog of the class.
image