97 """ |
97 """ |
98 if not self.__forPreparation and \ |
98 if not self.__forPreparation and \ |
99 Preferences.getEditor("AutoPrepareAPIs"): |
99 Preferences.getEditor("AutoPrepareAPIs"): |
100 self.prepareAPIs() |
100 self.prepareAPIs() |
101 return self.__apis |
101 return self.__apis |
|
102 |
|
103 def isEmpty(self): |
|
104 """ |
|
105 Public method to check, if the object has API files configured. |
|
106 |
|
107 @return flag indicating no API files have been configured (boolean) |
|
108 """ |
|
109 return len(self.__apifiles) == 0 |
102 |
110 |
103 def __apiPreparationFinished(self): |
111 def __apiPreparationFinished(self): |
104 """ |
112 """ |
105 Private method called to save an API, after it has been prepared. |
113 Private method called to save an API, after it has been prepared. |
106 """ |
114 """ |