Author Topic: Lollipop vs. Interface  (Read 5129 times)

siaccarino

  • EA User
  • **
  • Posts: 29
  • Karma: +0/-1
    • View Profile
Lollipop vs. Interface
« on: August 14, 2018, 03:51:07 pm »
This is confusing:
I can add an interface as a lollipop to a port but I can't describe this interface in a second different diagram in detail. I have to create a interface element in a class diagram but it has no physical relation to the lollipop. I can only connect both representations via name or "realize" relationship.

I would expect that I can drag & drop the lollipop into a class diagram and it is shown as an interface element there.

Even if I click on "..." in "Exposed Interface" dialog to assign an interface element to the lollipop: If I click to "Operations..." in lollipop context menu from project browser the operations of the assigned interface are invisible. Only if I click on "Operations..." in diagram I see the interface functions (EA 12)

It seems that this functionality is somehow broken
« Last Edit: August 14, 2018, 04:15:22 pm by siaccarino »

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +396/-301
  • I'm no guru at all
    • View Profile
Re: Lollipop vs. Interface
« Reply #1 on: August 14, 2018, 04:56:43 pm »
No, it's not brokeb. The lollilop is just a rendering for aa general interface. Which interface it is must be shown by drawing a <<realize>> relation to the respective interface class. I usually show that on a different diagram, e.g. an embedded diagram of the inteface class.

q.

siaccarino

  • EA User
  • **
  • Posts: 29
  • Karma: +0/-1
    • View Profile
Re: Lollipop vs. Interface
« Reply #2 on: August 14, 2018, 06:41:40 pm »
But why can I see the interface operations when I click on "Operations..." on lollipop context menu within a diagram and if I click on "Operations..." on the same lollipop in project browser not?

And if I have to create a distinct link between the lollipop and interface definition: why can I assign an interface definition to the lollipop via "..." button? What is the purpose of this assignment then?

Richard Freggi

  • EA User
  • **
  • Posts: 493
  • Karma: +18/-7
    • View Profile
Re: Lollipop vs. Interface
« Reply #3 on: August 14, 2018, 10:42:50 pm »
What qwerty said.  It's the UML 2.x standard... not as use friendly as UML 1 in this case, but standards are standards...

siaccarino

  • EA User
  • **
  • Posts: 29
  • Karma: +0/-1
    • View Profile
Re: Lollipop vs. Interface
« Reply #4 on: August 16, 2018, 05:26:57 pm »
No matter if UML 1 or 2:
It is a bug that the element context menu in project tree behaves differently from element context menu in diagram.

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +396/-301
  • I'm no guru at all
    • View Profile
Re: Lollipop vs. Interface
« Reply #5 on: August 16, 2018, 05:59:36 pm »
That's not a bug. It's intentional Sparx GUI design. Please send complaints to Sirius Cybernetics Co.

q.

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8607
  • Karma: +257/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Lollipop vs. Interface
« Reply #6 on: August 17, 2018, 09:50:42 am »
That's not a bug. It's intentional Sparx GUI design. Please send complaints to Sirius Cybernetics Co.

q.
You shouldn't use a generic term in a specific context.  You're saying it's not a Sparxian bug, it's a Sparxian GUI Design.
It may well be a bug (from a human point of view) - I'll not comment on that - just the use of language.

It's Friday!   ;) ;)

Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

matthew.james

  • EA User
  • **
  • Posts: 155
  • Karma: +8/-3
  • Am I supposed to say something here ... ?
    • View Profile
Re: Lollipop vs. Interface
« Reply #7 on: August 17, 2018, 11:32:01 am »
intentional Sparx GUI design

It might be intentional, but I must say that I find it somewhat baffling.  Good user interface design is both difficult to achieve and a joy to experience (if it's really good you won't event realise it is happening). The approach taken with EA seems to almost deliberately violate the principle of least astonishment.

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +396/-301
  • I'm no guru at all
    • View Profile
Re: Lollipop vs. Interface
« Reply #8 on: August 17, 2018, 05:24:07 pm »
Paolo, whether or not it's a bug is defined by Sparx, not us users. It should be the other way round but that's how it is. Don't they (and you?) live down under?

q.