Sparx Systems Forum
Enterprise Architect => General Board => Topic started by: johnm9 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.
-
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.