def METHOD_NAME(self, index):
    """
    Updates the menu for the current widget.
    """
    if self._exodus_menu is not None:
        self._exodus_menu.clear()
        for plugin in self.currentWidget()._all_plugins:
            plugin.addToMenu(self._exodus_menu)