def __init__(self, model, columnViews, actions=(), width='', itemsCalled='Items'):
        """
        @param itemsCalled: something describing what a collection of tdb items is called,
                            e.g. 'Phone Numbers' or 'Clicks'
        """
        super(TabularDataView, self).__init__(model)
        self.columnViews = list(columnViews)
        if actions:
            self.columnViews.append(ActionsColumnView(actions))
        self.actions = {}
        for action in actions:
            self.actions[action.actionID] = action
        self.width = width
        self.itemsCalled = itemsCalled
def __init__ ( self , model , columnViews , actions = ( ) , width = '' , itemsCalled = 'Items' ) : super ( TabularDataView , self ) . __init__ ( model ) self . columnViews = list ( columnViews ) if actions : self . columnViews . append ( ActionsColumnView ( actions ) ) self . actions = { } for action in actions : self . actions [ action . actionID ] = action self . width = width self . itemsCalled = itemsCalled
@param itemsCalled: something describing what a collection of tdb items is called,
                            e.g. 'Phone Numbers' or 'Clicks'