OnExtendObjectsContextMenu

Called to generate the context menu for objects.