Book a Demo

Author Topic: How can I compose a list of attribute-types ?  (Read 4440 times)

Anja Ketting

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
How can I compose a list of attribute-types ?
« on: August 23, 2011, 10:01:56 pm »
I'd like to manipulate the dropdown list with the possible types of attributes (of a class). Right now there is a dropdown list which shows 'boolean, byte, char,...' and also the names of classes from our model.
I'd like to munipulate those possible values : we don't want the names of the classes in this drop-down list and also want to add some values we want to use (for example 'date').

Any ideas ?

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: How can I compose a list of attribute-types ?
« Reply #1 on: August 24, 2011, 04:25:14 pm »
Anja,

In the more recent versions (v8 or 9 I don't remember exactly) the dropdown no longer shows the list of classes in the model, only the primitive types.
Which primitives that are depends on the language set on the class.
You can configure the code datatypes for each of the languages at Settings|Code Datatypes...

Geert

Anja Ketting

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: How can I compose a list of attribute-types ?
« Reply #2 on: August 24, 2011, 04:49:23 pm »
Hi Geert,

Thanks !
Since we still have v7.1 the problem is not to be solved.
In a shorttime we'll have v 9 and then I'll follow your advise.

Anja

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: How can I compose a list of attribute-types ?
« Reply #3 on: August 24, 2011, 04:54:21 pm »
Anja,

You can already fix the primitive types.
I believe that worked the same way in 7.1

Geert