Author Topic: Add properties to attributes  (Read 192 times)

office_notes

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Add properties to attributes
« on: July 12, 2019, 06:02:11 pm »
Hello. I'm trying to export classes' information through a JavaScript script that I've implemented inside EA. I would like to define new properties for the attributes, like: is this attribute a list? Could it be optional?

For this reason, I was thinking to add this properties like the ones already defined by EA (image below). Is it possible to add new properties?


qwerty

  • EA Guru
  • *****
  • Posts: 10497
  • Karma: +231/-190
  • I'm no guru at all
    • View Profile
Re: Add properties to attributes
« Reply #1 on: July 12, 2019, 07:04:20 pm »
No, those can't be extended. Instead use tagged values (right tab in your pict; the EA name for stereotype properties) for that purpose.

q.

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 6781
  • Karma: +63/-6
    • View Profile
Re: Add properties to attributes
« Reply #2 on: July 15, 2019, 10:14:58 am »
Further to what qwerty has said, in EA 15 your profile tagged values will show in the same list as the built-in attribute properties. So it's closer to what you were initially asking for.
Eve

support@sparxsystems.com