You need to add a RightClickMouseCommandParameter to your ShellResultView object.
The RightClickMouseCommandParameter points to the name of the script that displays a ContextMenu defined in the configuration.
See also
Creating a context menu for results
Linking mouse actions to results
How context menus are linked to results?