SalesPoint Framework v3.0

Hook: Define new FormSheet for point of sale


Requirement

A FormSheet needs to be defined for a SalesPoint so that the application user can trigger processes by pressing buttons in the FormSheet. Also, general information (e.g. a menu in a restaurant application) can be presented to the application user or a password can be demanded.

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

Changes

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

Comments


SalesPoint Framework v3.0