Book a Demo

Author Topic: Cannot find isConst anymore  (Read 5531 times)

simbad

  • EA Novice
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
Cannot find isConst anymore
« on: February 25, 2016, 01:37:41 am »
I work with a EA 12.0

I worked on a diagram some weeks ago and defined some of the attributes as const or readOnly or something like that.
I still have the { readOnly } information at the end of the attributes line in the Class-Box.

But I cannot find the dialog or property line where I did set it.
The XMI-Export shows the isReadOnly property.

I could change one of the attributes, by editing the the attributes line direktly, removed the readOnly Tag, and found the change, in the XMI export.
But cannot add it on the same way.

It is not a TaggedValue, I checked that.
The FieldChooser in the attribute dialog tells me, no fields to choose, so no way to get it this way.

I would expect to find a isConst or const field to set to true. But nothing to find.

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Cannot find isConst anymore
« Reply #1 on: February 25, 2016, 02:24:12 am »
It's still in the attribute properties and called Const (type bool).

q.

simbad

  • EA Novice
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
Re: Cannot find isConst anymore
« Reply #2 on: February 25, 2016, 09:07:36 pm »
No.
Is not. If I select the attribute in the Element-Browser I get the properties of the class displayed.
If I select the Attributes Dialog, by Icon or via the class properties, I get all sorts of Properties, isID, static, and the like. But there is no const there.

Is there any settings/options dependency to prevent the Const Property Field to appear?

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Cannot find isConst anymore
« Reply #3 on: February 25, 2016, 09:30:20 pm »
Can you post a screenshot? You need to place it on a public server (imageshack or dropbox will do).

q.

simbad

  • EA Novice
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Cannot find isConst anymore
« Reply #5 on: February 25, 2016, 09:57:02 pm »
I think is has been missing in a few v12 releases after the redesign of the features dialog.
Upgrading to the latest version should fix it.

Geert

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Cannot find isConst anymore
« Reply #6 on: February 25, 2016, 10:53:57 pm »
Yes, that's most likely the reason. Mine (1224) shows Const in the third line.

q.

simbad

  • EA Novice
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
Re: Cannot find isConst anymore
« Reply #7 on: February 25, 2016, 11:03:39 pm »
Thanks a lot.
Will check it soon