Book a Demo

Author Topic: Behaviour ports  (Read 2956 times)

Modesto Vega

  • EA Practitioner
  • ***
  • Posts: 1183
  • Karma: +30/-8
    • View Profile
Behaviour ports
« on: August 12, 2022, 09:03:45 pm »
Does anybody know if Sparx EA can render a behaviour port as shown in Figure 11.12 of the Unified Modeling Language 2.5.1 specification, page 192 - please see https://www.omg.org/spec/UML/2.5.1/PDF.

If it does not, are there any plans to support this notation? can it be done with a ShapeScript?

Edit: 18 August 2022 - Setting the isBehaviour tag to True does not change the way the port is rendered.
« Last Edit: August 12, 2022, 09:42:10 pm by Modesto Vega »

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Behaviour ports
« Reply #1 on: August 12, 2022, 11:27:07 pm »
You can expose required/provided interfaces inside of a port. Just you can not make them appear diagonally. The are always perpendicular.

q.

Modesto Vega

  • EA Practitioner
  • ***
  • Posts: 1183
  • Karma: +30/-8
    • View Profile
Re: Behaviour ports
« Reply #2 on: August 13, 2022, 12:58:10 am »
Thanks Thomas, I am referring to the notation shown here.
.

There was a post back in 2015 about the same subject, please see https://sparxsystems.com/forums/smf/index.php?topic=26645.0, I guess the answer is that it is not supported.

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Behaviour ports
« Reply #3 on: August 13, 2022, 05:42:52 am »
I remember... In the meantime we used the isBehavior property and added a shape scpript that made it appear different to non.bahvioral ports. We did not use the notation shown (and anyway it seems to be pretty uncommon).

q.