Hook: Define new status MenuSheet for a point of sale
Requirement
A MenuSheet needs to be defined for a SalesPoint that will be
displayed on the SalesPoint's status display.
Status MenuSheets can be used to offer maintainance functionality,
like
"
Close the SalesPoint
"
,
"
Show statistic information about the SalesPoint
"
etc.
They appear in individual frames in the Shop's main frame.
Method of AdaptationAugment feature
Level of SupportParameter Pattern
HotSpotMenuSheets
Hooks usedDefine a MenuSheet
ParticipantsSalesPoint,
NewSalesPoint
,
SalesPoint
Changes
-
subclass NewSalesPoint of SalesPoint.
-
NewSalesPoint.getDefaultStatusMenuSheet overrides
SalesPoint.getDefaultStatusMenuSheet
.
-
NewSalesPoint.getDefaultStatusMenuSheet returns
Define a MenuSheet
[newMenuSheet].
-
Add a new point of sale
[NewSalesPoint = NewSalesPoint].