CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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))