Beispiel #1
0
 def __init__(self, tree, path, name):
     Node.__init__(self, name)
     self._tree = tree
     self._directory_path = path
     self._loaded = False
     self._state = STATE_ORDER.index(
         self._tree.app.directories.get_state(path))
Beispiel #2
0
 def __len__(self):
     if not self._loaded:
         self._load()
     return Node.__len__(self)
Beispiel #3
0
 def __len__(self):
     if not self._loaded:
         self._load()
     return Node.__len__(self)
Beispiel #4
0
 def __init__(self, tree, path, name):
     Node.__init__(self, name)
     self._tree = tree
     self._directory_path = path
     self._loaded = False
     self._state = STATE_ORDER.index(self._tree.app.directories.get_state(path))