QScintilla/APIsManager.py

changeset 4133
3d868439dddc
parent 4021
195a471c327b
child 4631
5c1a96925da4
--- a/QScintilla/APIsManager.py	Wed Feb 25 19:21:32 2015 +0100
+++ b/QScintilla/APIsManager.py	Fri Feb 27 19:43:04 2015 +0100
@@ -100,6 +100,14 @@
             self.prepareAPIs()
         return self.__apis
     
+    def isEmpty(self):
+        """
+        Public method to check, if the object has API files configured.
+        
+        @return flag indicating no API files have been configured (boolean)
+        """
+        return len(self.__apifiles) == 0
+    
     def __apiPreparationFinished(self):
         """
         Private method called to save an API, after it has been prepared.

eric ide

mercurial