def setCellToolBar(self, cellToolBar):
        if (not self.currentToolBarAction or
            self.widgetForAction(self.currentToolBarAction)!=cellToolBar):
            if self.currentToolBarAction:
                self.removeAction(self.currentToolBarAction)
            if cellToolBar:
                self.currentToolBarAction = self.addWidget(cellToolBar)
                self.currentToolBarAction.setVisible(True)
                self.currentToolBarAction.setEnabled(True)
            else:
                self.currentToolBarAction = None
setCellToolBar(cellToolBar: QToolBar) -> None
dataset/ETHPy150Open VisTrails/VisTrails/vistrails/packages/spreadsheet/spreadsheet_tab.py/StandardWidgetToolBar.setCellToolBar