Book a Demo

Author Topic: "Static" adornment lost - FIX  (Read 2770 times)

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
"Static" adornment lost - FIX
« on: July 04, 2006, 05:36:28 pm »
Hi,

The [size=13]UML 2.1 Superstructure (interim)[/size] Specification allows Interfaces to have attributes (Properties).  It is possible in EA to add attributes to an Interface (although not through the main Properties dialog).

Anyway, I had two apparently identical properties defined in an interface.  By default, EA hard-coded all such attributes as Static (that is, the Static checkbox is checked and disabled).  That's fine1, except one of these (apparently identical) attributes have the underline adornment (which signifies a Static) and the other didn't!

Nothing I could do would fix it!

Until I (basically) gave up and created a new version of the "bad" attribute.  When I tried to give the new attribute the same name as the old one, EA, rightly, complained!  OK, I'll change the name of the old one first!  Changed the name of the old attribute and bingo the underline is now present!

So, if you can't see some adornment on an attribute (and the settings say it aught to be there), change the attribute name and it may fix it!

HTH,
Paolo
1Actually, the more I think about it, I don't think it's fine.  Can someone provide a rationale?
« Last Edit: July 04, 2006, 05:41:09 pm by PaoloFCantoni »
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!