Book a Demo

Author Topic: How to set Tag value to Operation?  (Read 2134 times)

johnm9

  • EA User
  • **
  • Posts: 52
  • Karma: +0/-0
    • View Profile
How to set Tag value to Operation?
« on: June 20, 2008, 02:13:52 pm »
The user guide mentioned that we can set Tagged value of the Operation to control the bodyLocation of the generated operation code.
how to get the Tag value dialog for Operation?
 
bodyLocation
 Operation
 The location the method body is generated to. Expected values are header, classDec or classBody.
 

RoyC

  • EA Administrator
  • EA Practitioner
  • *****
  • Posts: 1297
  • Karma: +21/-4
  • Read The Help!
    • View Profile
Re: How to set Tag value to Operation?
« Reply #1 on: June 20, 2008, 03:56:17 pm »
Open the Tagged Values window (View | Tagged Values).

Display the required element in a diagram. Ensure that the Operations compartment is visible (Right-click on the diagram backgound, select the Properties option, select the Elements tab, and select the Operations checkbox).

Click on the required operation, so that it has a pale background. Notice that the operation is now shown in the Tagged Value window.

Click on the New Tag icon in the Tagged values window toolbar. The Tagged Values dialog displays.

Type bodyLocation in the Tag field, and type the required value in the Value field. Click on the OK button. That sets the Tagged Value and its value, as displayed in the Tagged Values window.
Best Regards, Roy