Home
Overview
Package
Class
Use
Tree
Deprecated
Hooks
HotSpot
Index
Help
SalesPoint Framework v3.0
PREV
NEXT
FRAMES
NO FRAMES
Hook: Incorporate a process that needs user interaction
Requirement
A process needs to be hooked to a SalesPoint where it can be started, because it needs user interaction to run correctly.
Method of Adaptation
Enable Feature
Level of Support
Parameter Pattern
HotSpot
Processes
Hooks used
Define new MenuSheet for a point of sale
,
Define new FormSheet for point of sale
,
Add a new point of sale
,
Define a new process
Participants
SalesPoint
, NewSalesPoint ,
Process
Changes
Select subclass NewSalesPoint of SalesPoint on which to run process.
Process =
Define a new process
[NewProcess].
Define new MenuSheet for a point of sale
[NewSalesPoint = NewSalesPoint] with an option that has an associated action of:
call
sale.SalesPoint.runProcess
with parameter instance of Process.
And/Or
Define new FormSheet for point of sale
[NewSalesPoint = NewSalesPoint] with a button that is associated to an action of:
call
sale.SalesPoint.runProcess
with parameter instance of Process.
Add a new point of sale
[NewSalesPoint = NewSalesPoint].
Constraints
Processes must be hooked to the SalesPoint on which they are to be run. For background processes that do not need a SalesPoint associated with them invoke
Incorporate a process that does not need user interaction
.
Home
Overview
Package
Class
Use
Tree
Deprecated
Hooks
HotSpot
Index
Help
SalesPoint Framework v3.0
PREV
NEXT
FRAMES
NO FRAMES