CMS 3D CMS Logo

BranchTableView.py
Go to the documentation of this file.
1 import logging
2 
3 from Vispa.Views.TableView import TableView
4 
6  """ Table view that lists python configuration code.
7  """
8 
9  LABEL = "Branches"
10 
11  def __init__(self, parent=None):
12  logging.debug(__name__ + ": __init__")
13  TableView.__init__(self,parent)
14  self.setColumns(["Type","Label","Product","Process"])
15  self._firstColumn=0
16  self._autosizeColumns=False
17  self._sortingFlag=True
18 
20  return self.dataObjects()
21 
22  def selection(self):
23  return self.dataAccessor().read(TableView.selection(self))
def setColumns(self, columns)
Definition: TableView.py:50