Home
Overview
Package
Class
Use
Tree
Deprecated
Hooks
HotSpot
Index
Help
SalesPoint Framework v3.0
PREV
NEXT
FRAMES
NO FRAMES
Hook: Create a MenuSheet element
Requirement
An element must be created that can be inserted into a MenuSheet.
Method of Adaptation
Add Feature
Level of Support
Parameter Pattern
HotSpot
MenuSheets
Hooks used
Define a MenuSheet
,
Define an Action
Participants
newMenuSheetElement ,
MenuSheetSeparator
, action ,
MenuSheetItem
Changes
choose: Need a submenu, separator or a single option?
if submenu needed:
newMenuSheetElement =
Define a MenuSheet
[newMenuSheet].
if separator needed:
instance newMenuSheetElement of MenuSheetSeparator.
if single option needed:
instance action of
Define an Action
[NewAction].
instance newMenuSheetElement of MenuSheetItem with parameter action.
Constraints
This hook may only be invoked by the
Define a MenuSheet
hook.
Comments
If you defined new types of MenuSheet elements via the
Define New MenuSheet Element Type
hook, you can instantiate them, too, instead of invoking this hook.
Home
Overview
Package
Class
Use
Tree
Deprecated
Hooks
HotSpot
Index
Help
SalesPoint Framework v3.0
PREV
NEXT
FRAMES
NO FRAMES