'Add a plugin to display its files.'

def add_plugin(self, plugin, tabs, data, icon):

    self.plugins_tabs.append((tabs, plugin))
    self.plugins_data.append((data, icon))
    self.plugins_instances.append(plugin)
