Enables the view if not *empty*, clears the current selection and
        disables view if is *emtpy*

        :param emtpy: whether there are any components in the view
        :type emtpy: bool

def emptySelection(self, empty):
        """Enables the view if not *empty*, clears the current selection and
        disables view if is *emtpy*

        :param emtpy: whether there are any components in the view
        :type emtpy: bool
        """
        self.setEnabled(not empty)
        if empty:
            # self.clearSelection()
            # Clear selection doesn't work? But removing individually does
            m = self.selectionModel()
            for index in m.selectedIndexes():
                m.select(index, QtGui.QItemSelectionModel.Deselect)
            self.hintRequested.emit('To add a parameter, Drag "Add" onto empty auto-parameter table')