Book a Demo

Author Topic: Custom Properties in UML profile meta types  (Read 10433 times)

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Custom Properties in UML profile meta types
« Reply #15 on: February 16, 2021, 10:14:46 am »
This is also a situation where your refusal to upgrade to the latest version of EA bites you. In 15.2 if you select a class you have a checkbox for "Abstract" and "Active"  right next to each other.
I opened 15.2 and created a metaclass Class. It only shows isAbstract. I was not talking about the properties windows (which are now a "bit" more aligned) but the metaclass offerings.

BTW: the definitions in the UML specs read "isAbstract", not "Abstract" and I guess the blank in "isActive" is as wrong as leaving out the "is" in the docked properties. EAUI as usual.

q.
« Last Edit: February 16, 2021, 10:22:50 am by qwerty »

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Custom Properties in UML profile meta types
« Reply #16 on: February 17, 2021, 09:27:04 am »
All you are saying is that Sparx Systems has made presentation choices on how it properties defined by the specification can be viewed and edited.

That includes what I view as a translation from code to English for property names. In my opinion including "is" in the UI repeatedly would be just noise, especially since you're seeing a checkbox. You may like a flat alphabetic list of all available properties with the exact names used in UML, I don't think the average user would.


Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Custom Properties in UML profile meta types
« Reply #17 on: February 17, 2021, 10:48:04 am »
All you are saying is that Sparx Systems has made presentation choices on how it properties defined by the specification can be viewed and edited.

That includes what I view as a translation from code to English for property names. In my opinion including "is" in the UI repeatedly would be just noise, especially since you're seeing a checkbox. You may like a flat alphabetic list of all available properties with the exact names used in UML, I don't think the average user would.
(my emphasis)

Yes, that is s a difficult choice, and you won't please everyone.  I take the view that (pretty much) anything has a normative name and a related caption (what you see at the top of the column or to the left on a row - or even in the label on the diagram - etc.).  The normative name is fixed but the caption can vary.  Even today on my bike ride, I came to the conclusion that we need to provide both an active and a passive caption for behavioural items...  (you know... zen-like riding on a LONG cycle path leads to enlightenment  :D

So we'll have a look at adding those properties to the appropriate items in our MDG.  Example - active: Manage People, passive; People Management

Just a thought...(dangerous, I know)
Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Custom Properties in UML profile meta types
« Reply #18 on: February 17, 2021, 10:58:25 am »
Once again: my main concern is what EA shows in the metaclass. The EAUI is secondary (there's a mix is "is"-use anyway which I consider just sparxian as usual). So please, why does the metaclass show just isActive and not isAbstract? And even more important: why is it shown at all if you do not have a chance to alter its value for elements created with that metatype? As Jayson expressed: they are just decoration. But then not always (like for Actions the callbehavior). Ah, I'm just sick of that.

q.

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Custom Properties in UML profile meta types
« Reply #19 on: February 17, 2021, 02:22:43 pm »
And I've said, the properties listed in that case are what EA calls CustomProperties, and only what EA calls CustomProperties. These are the properties specified in UML for a type that don't fit neatly into EA's database schema.

Like it or not, EA is not making any attempt to abstract away implementation details like that when you are working with profiles.

When I create a class metaclass, the only attribute I see "isActive", matching what is coming from UML. If you're seeing anything else, my first guess would be that you have a template package somewhere that has a class in it.