def addEntry(self):
export_icon = QtGui.QIcon()<EOL>pixmap = QtGui.QPixmap(os.path.join(PLUGINSDIR,<EOL>'<STR_LIT>'))<EOL>export_icon.addPixmap(pixmap, QtGui.QIcon.Normal, QtGui.QIcon.On)<EOL>self.plot_action = QtGui.QAction(<EOL>translate('<STR_LIT>',<EOL>"<STR_LIT>",<EOL>"<STR_LIT>"),<EOL>self,<EOL>shortcut=QtGui.QKeySequence.UnknownKey, triggered=self.plot,<EOL>icon=export_icon,<EOL>statusTip=translate('<STR_LIT>',<EOL>"<STR_LIT>",<EOL>"<STR_LIT>"))<EOL>menu = self.vtgui.dataset_menu<EOL>menu.addSeparator()<EOL>menu.addAction(self.plot_action)<EOL>cmenu = self.vtgui.leaf_node_cm<EOL>cmenu.addSeparator()<EOL>cmenu.addAction(self.plot_action)<EOL>
Add the `Plot pyBAR data`. entry to `Dataset` menu.