Example #1
0
    def __init__(self, sysPropsFileName):
        # create a lock for thread synchronization
        self.lock = ZMutex(u"ZSystemProperties")  #$NON-NLS-1$
        self.listeners = ZListenerSet()

        self.sysPropsFileName = sysPropsFileName
        self.sysPropsDoc = ZDom()

        self.reloadProperties()
Example #2
0
 def __init__(self, directoryPath, dictionaryLang, provider, personalWordList = None, autoCorrections = None):
     self.directoryPath = directoryPath
     self.listeners = ZListenerSet()
     self.builtInDictionary = []
     self.dictionaryLang = dictionaryLang # An IZSpellCheckDictionaryLanguage
     self.provider = provider # An IZSpellCheckProvider
     self.personalWordList = personalWordList # A List of strings
     self.autoCorrections = autoCorrections # A Map of string -> string
     
     if self.personalWordList is None:
         self.personalWordList = []
     if self.autoCorrections is None:
         self.autoCorrections = {}
Example #3
0
 def __init__(self):
     self.id = None
     self.name = None
     self.startTime = ZSchemaDateTime()
     self.endTime = None
     self.error = None
     self.numWorkUnits = 0
     self.numCompletedWorkUnits = 0
     self.logLocation = None
     self.logFile = None
     self.running = False
     self.stopped = True
     self.cancelled = False
     self.lastMessage = None
     self.listeners = ZListenerSet()
     self.logger = getLoggerService()
Example #4
0
 def __init__(self):
     self.templateDir = None
     self.templates = None
     self.listeners = ZListenerSet()
Example #5
0
 def __init__(self):
     self.logger = None
     self.listeners = ZListenerSet()
     self.provider = None
Example #6
0
 def __init__(self):
     self.steps = []
     self.listeners = ZListenerSet()
     self.cancelled = False
Example #7
0
 def __init__(self):
     self.listeners = ZListenerSet()
Example #8
0
 def __init__(self, pathToSourceProfile, pathToRavenProfile, systemProfile):
     self.stopped = True
     self.pathToSourceProfile = pathToSourceProfile
     self.pathToRavenProfile = pathToRavenProfile
     self.systemProfile = systemProfile
     self.listeners = ZListenerSet()
Example #9
0
 def __init__(self):
     self.logger = None
     self.tasksDirectory = None
     self.tasks = []
     self.listeners = ZListenerSet()
Example #10
0
 def __init__(self):
     self.mediaStoreTypes = []
     self.mediaSites = []
     self.mediaStores = []
     self.mediaStoresDirectory = None
     self.listeners = ZListenerSet()