

def updateFeatureList(self, lst):
    self._currentList = lst
    val = self._currentFeature.getValue()
    if (val is None):
        self._currentList.setFeatureContainer(self._app._allFeatures)
        self._mainSplit.setSecondComponent(self._currentList)
    elif isinstance(val, FeatureSet):
        self._currentList.setFeatureContainer(val.getContainer(True))
        self._mainSplit.setSecondComponent(self._currentList)
    else:
        self._mainSplit.setSecondComponent(self._featureView)
        self._featureView.setFeature(val)

dataset/ETHPy150Open rwl/muntjac/muntjac/demo/sampler/SamplerApplication.py SamplerWindow.updateFeatureList/original