Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7634223
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T07:06:57+00:00 2026-05-31T07:06:57+00:00

In Enterprise Architect ( Version 9.2.921 ) I want to make a class diagram.

  • 0

In Enterprise Architect ( Version 9.2.921 ) I want to make a class diagram. I have a class MyInterface which acts as an Interface . So in EA I choose stereotype <<interface>> and also marked it as abstract.

Now to keep it simple, my abstract interface defines one virtual function. Now I have a class MyChild , which is a child of my interface ( class MyChild :: MyInterface ) and which shall implement this function.

To do so in EA, I created a new class. Then right-click on it –> Advanced –> Parent .
As type I pick implementsand then I choose my Interface class.

On my class diagram the arrow from child to parent is correct ( dashed line, with empty arrow head in direction of the interface ).

Now the problem is, I would expect EA to add my abstract function from the interface right into the implementation class itself. So for example if I change/add/delete a virtual function in the Interface class it gets right away changed in the child classes. But the problem is, the function doesn’t show up in the body of the child class.

Is there any way to do make Enterprise Architecht do this?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T07:06:58+00:00Added an answer on May 31, 2026 at 7:06 am

    First off, there’s another way of drawing connections which you may find easier. If you select the class in the diagram, you’ll see a little arrow icon appear just above/right of the class. Click this, drag to the interface and drop, and EA will provide you with a set of possible connectors, with the most relevant ones first. This list is context-sensitive based on both the source and target element types (in this case, class and interface).

    When it comes to the “Overrides & Implementations” dialog, there are some subtleties involved.

    If a class realizes an interface, the class actually has the operations specified by the interface, although hidden, even if you don’t select them to be implemented (which is why the interface operations are deselected by default in this dialog).

    If you use the class in a sequence diagram, and make a call to it, you will see that you can select the interface-defined operation in the “Message Properties” dialog (provided “Show Inherited Methods” is selected). This name will be updated automatically if you rename the operation in the interface.

    If you draw a generalization between two classes, you get the same behaviour in the sequence diagram. In addition, you can select display of a class’ inherited (through generalization) operations by right-clicking it, selecting “Feature Visibility” and ticking “Show Operations.” Note that this only works for operations arrived at through generalizations (from other classes), not realizations (from interfaces). I consider this a bug, but it may be by design.

    If you do select an operation in the “Overrides & Implementations” dialog, that means you are making a copy of it. EA will not remember where the overridden operation came from, and won’t update the name if you change it in the interface / abstract class.

    Using the right-click – Advanced – Parent method bypasses the “Overrides & Implementations” dialog but creates the connector, as you’ve noted.

    Now you mention that you create a class and then set the “interface” stereotype. This isn’t the way to do it; you should instead create the interface using the interface symbol in the toolbox. A Class with the “interface” stereotype is not the same as an Interface and I’m not sure which of the behaviours I’ve described you’ll get with that construct.

    If it’s an Interface you want, use that. If on the other hand you’re talking about an abstract class, then Class is right and neither the abstract nor the concrete class should have the “interface” stereotype.

    Note also that if you’ve got a code base you want to draw diagrams for, chances are that EA can reverse-engineer it for you (if it’s in C++, C#, Java, or about a dozen other languages).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a Class Diagram in Enterprise Architect . One of the my classes
I have a tool (Enterprise Architect) which can export an Ecore file. I want
I'm using Enterprise Architect (sparxsystems) to create a UML 2.0 Communication Diagram. I want
I always use Enterprise Architect to generate the class diagram of a C++ project
I have created a simple state machine model in Enterprise Architect and exported it
I want to achieve something like this in Enterprise Architect's Communication Diagrams: start() ----------------
I need to make a UML class diagram for a project. I used Sparx
I have just downloaded Sparx Enterprise Architect 7.5 but unfortunately I am not able
I have an Enterprise Application with an EJB implementing a @Remote business interface that
Any option to get Enterprise Architect to recognize optional parameters in C#? I have

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.