SalesPoint Framework v3.0

Hook: Define new MenuSheet for a point of sale


Requirement

A MenuSheet needs to be defined for a SalesPoint so that the application user can trigger processes by selecting options in the MenuSheet.

Method of Adaptation
Augment feature
Level of Support
Parameter Pattern  
HotSpot
MenuSheets
Hooks used
Define a MenuSheet
Participants
SalesPoint, NewSalesPoint

Changes

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

Comments


SalesPoint Framework v3.0