@classmethod
def registerType(cls, pathFilterClass, widgetCreationFunction):
    cls.__typesToCreators[pathFilterClass] = widgetCreationFunction
@classmethod
def registerType(cls, pathFilterClass, widgetCreationFunction):
    cls.__typesToCreators[pathFilterClass] = widgetCreationFunction