Add Page Variable to Activity Diagram
This page provides directions to add the
timecardSummaries
page variable
to the
Search Timecards
activity diagram. The activity diagram is shown
below for reference. Note that ArgoUML does not show information about the transition
trigger (page variable) on the diagram itself.
- Click on the transition out of
Populate Search Screen
and go to its
property panel at the bottom of the screen.
- Right-click in the field called "Trigger" and select NewSignal Event.
- Leave the name field as blank - this is the only difference between modeling an
event (coming out of a view) and a page variable.
- Click on the New Parameter tool
.
- In the Parameter property panel, enter
timecardSummaries
as the name of the parameter and
TimecardSummaryVO[]
as its type.
- Click on the Tagged Values tab and click first blank field in the left column and
select the type
andromda_presentation_view_table_columns
from the
pulldown menu. This tagged value tells AndroMDA to render the page variable as a
table. In the value column to the right, enter the following column names for
the value:
id, submitterName, approverName, status, startDate
This tells AndroMDA to display 5 columns in the table corresponding to the 5 attributes
of TimecardSummaryVO. (Note that the TimeTracker prototype does
not have an
Id
column in the results table. However, we add it here
so that the
id
is available to each row.)
We have now added the
timecardSummaries
page variable to the
Search
Timecards
activity diagram. Please go back to the main tutorial page
and continue from where you left off.