Exemplo n.º 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))
Exemplo n.º 2
0
 def __len__(self):
     if not self._loaded:
         self._load()
     return Node.__len__(self)
Exemplo n.º 3
0
 def __len__(self):
     if not self._loaded:
         self._load()
     return Node.__len__(self)
Exemplo n.º 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))