SalesPoint Framework v3.0

Hook: Define Shop MenuSheet


Requirement

The Shop's menu needs to be altered to allow for central actions to be triggered. A central action might for example be to log on application users.

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

Changes

  1. subclass NewShop of Shop.
  2. NewShop.createShopMenuSheet overrides Shop.createShopMenuSheet :
    1. synchronisation ( Shop.createShopMenuSheet , NewShop.createShopMenuSheet ).
    2. Define a MenuSheet [newMenuSheet = MenuSheet returned by Shop.createMenuSheet].

Comments


SalesPoint Framework v3.0