'I get here when the user right clicks on a plugin name, then he clicks on "Edit..."
This method calls the plugin editor with the corresponding parameters.'

def _handleEditPluginEvent(self, widget, plugin_name, plugin_type, path):

    def f(t, n):
        self._finishedEditingPlugin(path, plugin_type, plugin_name)
    pluginEditor(plugin_type, plugin_name, f)
