

def getStyle(self, itemId, propertyId):
    if ((itemId is None) and isinstance(itemId, FeatureSet)):
        if self._app._allFeatures.isRoot(itemId):
            return 'section'
        else:
            return 'subsection'
    return None

dataset/ETHPy150Open rwl/muntjac/muntjac/demo/sampler/SamplerApplication.py FeatureCellStyleGenerator.getStyle/VarMisuse@17/22 `propertyId`->`itemId`