def setEditingMode(self, editing=True):
        # Turn off active cell selection
        self.sheet.clearSelection()
        self.sheet.setActiveCell(-1, -1)
        # Go over all the cells and set the editing widget up
        (rowCount, colCount) = self.getDimension()
        for r in xrange(rowCount):
            for c in xrange(colCount):
                self.setCellEditingMode(r, c, editing)
        QtCore.QCoreApplication.processEvents()
find contours that appears to be a
dataset/ETHPy150Open VisTrails/VisTrails/vistrails/packages/spreadsheet/spreadsheet_tab.py/StandardWidgetSheetTabInterface.setEditingMode--crossover with--dataset/ETHPy150Open fatcloud/PyCV-time/experiments/differential_screen_tracker/find_polygons.py/find_polygons