Book a Demo

Author Topic: Link labels and text fields to class diagram attributes  (Read 4993 times)

MatthiasVDE

  • EA User
  • **
  • Posts: 196
  • Karma: +1/-0
    • View Profile
Link labels and text fields to class diagram attributes
« on: December 06, 2016, 07:50:44 pm »
I'm creating a wireframe in Enterprise Architect with fields and labels. I've also created a class diagram with different classes and attributes.
My question now is if it's possible to link the text fields and the labels on the wireframe to specific attributes in the classes?

For example:

The field or label "Company name" on the wireframe needs a link to the attribute 'name' in the class 'Company'.
This is very handy for the developpers to know in wich object/attribute they need to save the information from the fiels, or to get the information from to show in a label.

Thanks!

Guillaume

  • EA Practitioner
  • ***
  • Posts: 1405
  • Karma: +42/-2
    • View Profile
    • www.umlchannel.com
Re: Link labels and text fields to class diagram attributes
« Reply #1 on: December 06, 2016, 08:57:05 pm »
Hi Matthias,

You need to use the Link to Element Feature - once you've created a connector, right click on the end (class side) and select Link to Element Feature. You can select the attribute to associate (see http://www.sparxsystems.com/enterprise_architect_user_guide/9.0/modeling_basics/connect_to_element_feature.html).

I posted an article that contains such case here: https://goo.gl/sBHU2h (french version available here : https://goo.gl/3UyeQs).

Guillaume

Blog: www.umlchannel.com | Free utilities addin: www.eautils.com


MatthiasVDE

  • EA User
  • **
  • Posts: 196
  • Karma: +1/-0
    • View Profile
Re: Link labels and text fields to class diagram attributes
« Reply #2 on: December 06, 2016, 09:30:37 pm »
Guillaume,

Thanks, it works, but it is not exactly what I want. I just want to see the 'attributes' on my wireframe.