Book a Demo

Author Topic: v15.2 – Attribute scope “Package” browser icon is the same as “Public”!  (Read 3377 times)

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
We are using the Attribute scope to group attributes (not for code generation processes).  We find that the browser icon for the “Package” scope is the same as the one for “Public" scope.  Please rectify.  The diagrammatic indicator, is, of course, different.  Public = "+", Package ="~".

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

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
I received an unsatisfactory reply from Sparx.
Quote
These special decorations on features are intentionally only shown for Private and Protected scope. We don't intend to add any decoration for features with Package scope. The intention of these icons is only to indicate a restriction on visibility within the package. So no visual distinction is made between Public and Package in the browser.
Quote
I thought the attribute scope was to do with its visibility to other related classes, NOT their visibility in the package they are in. Have I been wrong all these decades?

Sparx agrees that the icons are driven by the value of the Attribute scope.

If I'm not mistaken then it follows that if the attribute scope has different renderings on the diagram, the rendering on the browser should follow. No?

They don't intend to change it, but at least I need to know what to tell my users when THEY complain about the inconsistency.  (see tag line)

Paolo

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