'This handles the click action of the user over the edit menu.
The main objective of this function is to disable the "Edit Plugin"
option, if the user isn\'t focused over a plugin.
:param widget: Not used'

def _editMenu(self, widget):

    treeToUse = None
    if self.pcbody.out_plugin_tree.is_focus():
        treeToUse = self.pcbody.out_plugin_tree
    elif self.pcbody.std_plugin_tree.is_focus():
        treeToUse = self.pcbody.std_plugin_tree
    else:
        return None
    (path, column) = treeToUse.get_cursor()
    if ((path is not None) and (len(path) > 1)):
        ag = self._actiongroup.get_action('EditPlugin')
        ag.set_sensitive(True)
