src/eric7/ViewManager/ViewManager.py

branch
eric7
changeset 10379
6f27d7bcfe56
parent 10377
9f6ffcd1db54
child 10388
a34ce7f42e8b
equal deleted inserted replaced
10378:cbbcecf9b25e 10379:6f27d7bcfe56
7856 Public method to add a file to the list of monitored files. 7856 Public method to add a file to the list of monitored files.
7857 7857
7858 @param filePath path of the file to be added 7858 @param filePath path of the file to be added
7859 @type str 7859 @type str
7860 """ 7860 """
7861 # TODO: not yet implemented
7862 if filePath: 7861 if filePath:
7863 self.__watcher.addPath(filePath) 7862 self.__watcher.addPath(filePath)
7864 7863
7865 def removeWatchedFilePath(self, filePath): 7864 def removeWatchedFilePath(self, filePath):
7866 """ 7865 """
7867 Public method to remove a file from the list of monitored files. 7866 Public method to remove a file from the list of monitored files.
7868 7867
7869 @param filePath path of the file to be removed 7868 @param filePath path of the file to be removed
7870 @type str 7869 @type str
7871 """ 7870 """
7872 # TODO: not yet implemented
7873 if self.getOpenEditorCount(filePath) == 0: 7871 if self.getOpenEditorCount(filePath) == 0:
7874 self.__watcher.removePath(filePath) 7872 self.__watcher.removePath(filePath)
7875 7873
7876 ################################################################## 7874 ##################################################################
7877 ## Below are protected utility methods 7875 ## Below are protected utility methods

eric ide

mercurial