def __init__(self):
super(pyBarPlugin, self).__init__()<EOL>self.vtapp = vitables.utils.getVTApp()<EOL>if self.vtapp is None:<EOL><INDENT>return<EOL><DEDENT>self.vtgui = self.vtapp.gui<EOL>self.addEntry()<EOL>self.vtgui.dataset_menu.aboutToShow.connect(self.updateDatasetMenu)<EOL>
The class constructor.