132 @param menu reference to the menu (QMenu) |
132 @param menu reference to the menu (QMenu) |
133 """ |
133 """ |
134 if menuName == "Apidoc": |
134 if menuName == "Apidoc": |
135 if self.__projectAct is not None: |
135 if self.__projectAct is not None: |
136 self.__projectAct.setEnabled( |
136 self.__projectAct.setEnabled( |
137 e5App().getObject("Project").getProjectLanguage() in \ |
137 e5App().getObject("Project").getProjectLanguage() in |
138 ["Python", "Python2", "Python3", "Ruby"]) |
138 ["Python", "Python2", "Python3", "Ruby"]) |
139 |
139 |
140 def __doEricapi(self): |
140 def __doEricapi(self): |
141 """ |
141 """ |
142 Private slot to perform the eric5_api api generation. |
142 Private slot to perform the eric5_api api generation. |