Book a Demo

Author Topic: How to give parameter name in class diagram.  (Read 2869 times)

Jay.Kurup

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
How to give parameter name in class diagram.
« on: February 10, 2009, 08:28:34 am »
Hi All,
I am learning EA as part of my project requirement.
The question I have is, I defined the operations for the class and I want to give parameters to the operations. In the Edit parameter window, I provided the name of the parameter as well as the type of the parameter.  But in the class diagram only the type of the parameter is displayed, and not the name. I wish to have both the name and type of the parameter displayed in the class diagram. For Ex,  operation is displayed as add(int, int). I like to have it add(param1:int, param2:int) .

How do I achieve this.

Jay

Nizam Mohamed

  • EA User
  • **
  • Posts: 193
  • Karma: +1/-0
    • View Profile
Re: How to give parameter name in class diagram.
« Reply #1 on: February 10, 2009, 09:12:26 am »
Change the "Show parameter Detail" in "features" tab of the diagram properties ( "F5" or "Diagram -> Properties" or "double click")

Jay.Kurup

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: How to give parameter name in class diagram.
« Reply #2 on: February 10, 2009, 11:35:37 am »
Thank you very much...