Book a Demo

Author Topic: Add Attribute Values to Object Diagrams  (Read 4974 times)

JPHespanha

  • EA Novice
  • *
  • Posts: 18
  • Karma: +0/-0
  • et pluribus unum
    • View Profile
Add Attribute Values to Object Diagrams
« on: November 06, 2008, 03:18:53 am »
My suggestion is to add the functionality to define specific attribute values in Object Diagrams and show them on the graphic compartment, while at the same time keeping the relation to the class attributes.

In such a way that, if I change an attribute name on the class (or delete it), the corresponding change is reflected on the object diagrams.

I am working a lot with Object Diagrams and such functionality would ease the current update efforts. Currently I am using Notes attached to the objects, so you can imagine the work...
Joao Paulo Hespanha
OTB Research Institute
Technical University Delft

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: Add Attribute Values to Object Diagrams
« Reply #1 on: November 06, 2008, 05:35:11 am »
Look up Run State in the EA help. This might solve some of your problems. I do not know if attribute names shown in the run state of an object change dynamically though.
No, you can't have it!

Frank Horn

  • EA User
  • **
  • Posts: 535
  • Karma: +1/-0
    • View Profile
Re: Add Attribute Values to Object Diagrams
« Reply #2 on: November 06, 2008, 06:32:02 pm »
Quote
I do not know if attribute names shown in the run state of an object change dynamically though

They don't. When you change an attribute's name in the class and have a run state for it in an instance, your run state will be a orphan. You have to enter the old name in the set run state dialog without a value to get rid of it.

No list of run states in the dialog either , and no way to change their order. Handling of run states in EA is so poor that I never use them if I can avoid it.

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: Add Attribute Values to Object Diagrams
« Reply #3 on: November 06, 2008, 11:35:36 pm »
Perhaps a feature request to Sparx is in order. Use the Feature Request link near the bottom of any forum page.
No, you can't have it!