SalesPoint Framework v3.0

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 Adaptation
Augment feature
Level of Support
Parameter Pattern  
HotSpot
MenuSheets
Hooks used
Define a MenuSheet
Participants
SalesPoint, NewSalesPoint , SalesPoint

Changes

  1. subclass NewSalesPoint of SalesPoint.
  2. NewSalesPoint.getDefaultStatusMenuSheet overrides SalesPoint.getDefaultStatusMenuSheet .
  3. NewSalesPoint.getDefaultStatusMenuSheet returns Define a MenuSheet [newMenuSheet].
  4. Add a new point of sale [NewSalesPoint = NewSalesPoint].

SalesPoint Framework v3.0