Book a Demo

Author Topic: Object Diagram  (Read 6070 times)

zyx

  • EA User
  • **
  • Posts: 95
  • Karma: +1/-1
    • View Profile
Object Diagram
« on: May 15, 2017, 10:32:44 am »
Hello all,

    In an object diagram I can drag a class from the project browser and it becomes an object in the diagram. But I don't know how to show its attributes. Someone can teach me how to do it?

KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2919
  • Karma: +55/-3
    • View Profile
Re: Object Diagram
« Reply #1 on: May 15, 2017, 11:30:39 am »
Right-click | Feature & Properties | Set Run State (Ctrl+Shift+R)
The Sparx Team
[email protected]

Uffe

  • EA Practitioner
  • ***
  • Posts: 1859
  • Karma: +133/-14
  • Flutes: 1; Clarinets: 1; Saxes: 5 and counting
    • View Profile
Re: Object Diagram
« Reply #2 on: May 15, 2017, 05:38:47 pm »
Hello,

What KP suggests allows you to set values for the attributes in the instance (object). This will cause them to be shown in the diagram.

But if you want to show the attributes without setting values for them, you can right-click the object, select Features and Properties -- Feature and Compartment Visibilty (Ctrl-Y), and in this dialog tick Inherited Features -- Show Attributes.


/Uffe
My theories are always correct, just apply them to the right reality.

Helmut Ortmann

  • EA User
  • **
  • Posts: 970
  • Karma: +42/-1
    • View Profile
Re: Object Diagram
« Reply #3 on: May 16, 2017, 02:34:44 pm »
Hello Uffe,

thanks! It works also for operations.

I wasn't aware of this feature!

Kind regards,

Helmut
Coaching, Training, Workshop (Addins: hoTools, Search&Replace, LineStyle)