Hook: Define new Status FormSheet for point of sale
Requirement
A FormSheet needs to be defined for a SalesPoint that will be
displayed on the SalesPoint's status display.
Status FormSheets can be used to offer maintainance functionality,
like closing the SalesPoint, showing statistic information about
the SalesPoint etc.
Method of AdaptationAugment feature
Level of SupportParameter Pattern
HotSpotFormSheets
Hooks usedDefine a FormSheet
ParticipantsSalesPoint,
NewSalesPoint
Changes
-
subclass NewSalesPoint of SalesPoint.
-
NewSalesPoint.getDefaultFormSheet overrides
SalesPoint.getDefaultStatusFormSheet
.
-
NewSalesPoint.getDefaultFormSheet returns
Define a FormSheet
[FormSheet].
-
Add a new point of sale
[NewSalesPoint = NewSalesPoint].