Book a Demo

Author Topic: v15.2 – <DiagramProperties> suppressed by isAbstract="true"  (Read 3024 times)

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
v15.2 – <DiagramProperties> suppressed by isAbstract="true"
« on: August 21, 2020, 08:19:29 am »
This is related to the thread Can <DiagramProperties> be inherited?.  In diagnosing that issue, I observed that if the specification
Code: [Select]
<Stereotype name="Root" metatype="Root (Concept)" notes="" cx="570" cy="92" bgcolor="-1" fontcolor="-1" bordercolor="-1" borderwidth="-1" hideicon="0">
<AppliesTo>
<Apply type="Class">
<Property name="isActive" value=""/>
</Apply>
</AppliesTo>
<DiagramProperties>
<DiagramProperty name="IsRed" option="Red?" default="0"/>
</DiagramProperties>
</Stereotype>
included the attribute isAbstract="true", the USDP would NOT appear.  Once removed, the USDP would appear.

Can someone explain why?  I can sort of understand it since abstract metatypes aren't supposed to be instantiated.  But if the inheritance in the original thread worked, the metatype we'd be instantiating is a concrete descendent.

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
Re: v15.2 – <DiagramProperties> suppressed by isAbstract="true"
« Reply #1 on: August 31, 2020, 04:57:25 pm »
[BUMP]

Anybody?

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