eric7/Project/Project.py

branch
eric7
changeset 8383
c090300126df
parent 8366
2a9f5153c438
child 8466
bb21fd901f49
diff -r 28f7ef365d1b -r c090300126df eric7/Project/Project.py
--- a/eric7/Project/Project.py	Wed May 26 17:26:12 2021 +0200
+++ b/eric7/Project/Project.py	Thu May 27 17:40:23 2021 +0200
@@ -2858,8 +2858,8 @@
         the given association type.
         
         @param associationType type of the association (one of FORMS,
-            INTERFACES, OTHERS, PROTOCOLS, RESOURCES, SOURCES or
-            TRANSLATIONS)
+            INTERFACES, OTHERS, PROTOCOLS, RESOURCES, SOURCES,
+            TRANSLATIONS or __IGNORE__)
         @type str
         @return list of file patterns for the given type
         @rtype list of str
@@ -2899,7 +2899,17 @@
         
         # return empty string to signal to use the global setting
         return ""
-        
+    
+    def getIgnorePatterns(self):
+        """
+        Public method to get the list of file name patterns for files to be
+        ignored.
+        
+        @return list of ignore file name patterns
+        @rtype list of str
+        """
+        return self.getFiletypeAssociations("__IGNORE__")
+    
     @pyqtSlot()
     @pyqtSlot(str)
     def openProject(self, fn=None, restoreSession=True, reopen=False):

eric ide

mercurial