Lines Matching refs:layerContents
611 layerContents = self._readLayerContents(validate)
612 layerNames = [layerName for layerName, directoryName in layerContents]
624 layerContents = self._readLayerContents(validate)
625 for layerName, layerDirectory in layerContents:
653 layerContents = self._readLayerContents(validateRead)
654 for storedLayerName, storedLayerDirectory in layerContents:
957 self.layerContents = {}
960 self.layerContents = OrderedDict(self._readLayerContents(validate))
965 self.layerContents = {DEFAULT_LAYER_NAME : DEFAULT_GLYPHS_DIRNAME}
1332 layerOrder = list(self.layerContents.keys())
1333 if validate and set(layerOrder) != set(self.layerContents.keys()):
1335 layerContents = [(layerName, self.layerContents[layerName]) for layerName in layerOrder]
1336 self._writePlist(LAYERCONTENTS_FILENAME, layerContents)
1340 for existingLayerName, directoryName in list(self.layerContents.items()):
1374 for existingLayerName, directory in self.layerContents.items():
1422 for existingLayerName, directory in self.layerContents.items():
1432 if layerName in self.layerContents:
1433 directory = self.layerContents[layerName]
1441 existing = {d.lower() for d in self.layerContents.values()}
1451 self.layerContents[layerName] = directory
1477 if self.layerContents[layerName] != DEFAULT_GLYPHS_DIRNAME and not defaultLayer:
1480 if self.layerContents[layerName] == DEFAULT_GLYPHS_DIRNAME and defaultLayer:
1486 if newLayerName in self.layerContents:
1489 if defaultLayer and DEFAULT_GLYPHS_DIRNAME in self.layerContents.values():
1496 existing = {name.lower() for name in self.layerContents.values()}
1499 del self.layerContents[layerName]
1500 self.layerContents[newLayerName] = newDirectory
1514 del self.layerContents[layerName]