Book a Demo

Author Topic: How to include an interface on an instance of a port?  (Read 5511 times)

bknoth2

  • EA User
  • **
  • Posts: 129
  • Karma: +2/-0
    • View Profile
How to include an interface on an instance of a port?
« on: August 01, 2019, 03:22:26 am »
I'm using EA Version 15.

1) Create a block description diagram
2) Create a block ("Block1")
3) Create a port on the block ("Port1")
4) Create an interface on the port ("RequiredInterface1")

Use Ctl-Drag to drag Block1 onto the diagram and select "instance" to create and instance of Block1. That instance has an instance of the port ("/Port1"). The port does not have the interface "RequiredInterface1" attached to it. How does one include the interface on the instance of the port?

Thanks
Bruce


bknoth2

  • EA User
  • **
  • Posts: 129
  • Karma: +2/-0
    • View Profile
Re: How to include an interface on an instance of a port?
« Reply #1 on: April 22, 2020, 04:45:24 am »
I still run into this problem and have not found a fix. Any insights into why interfaces don't get carried along with ports on instances of objects? Thanks.

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: How to include an interface on an instance of a port?
« Reply #2 on: April 22, 2020, 06:03:04 am »
I don't know if this is a UML limitation or an EA bug. (In V13.5) I context open the port instance and it offers req/prov. interface. But none of them is created when clicked.  I can drag the req. iface from the class's port to the intance's port in the browser, though.

q.

P.S.: p. 184 of UML 2.5 shows an example of instances with port and interfaces. So this is an (old) EA bug. Good luck with you bug report.
« Last Edit: April 22, 2020, 06:10:55 am by qwerty »