28 version = "5.4.0" |
28 version = "5.4.0" |
29 className = "EricapiPlugin" |
29 className = "EricapiPlugin" |
30 packageName = "__core__" |
30 packageName = "__core__" |
31 shortDescription = "Show the Ericapi dialogs." |
31 shortDescription = "Show the Ericapi dialogs." |
32 longDescription = """This plugin implements the Ericapi dialogs.""" \ |
32 longDescription = """This plugin implements the Ericapi dialogs.""" \ |
33 """ Ericapi is used to generate a QScintilla API file for Python and Ruby"""\ |
33 """ Ericapi is used to generate a QScintilla API file for Python and""" \ |
34 """ projects.""" |
34 """ Ruby projects.""" |
35 pyqtApi = 2 |
35 pyqtApi = 2 |
36 # End-Of-Header |
36 # End-Of-Header |
37 |
37 |
38 error = "" |
38 error = "" |
39 |
39 |
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. |
143 """ |
143 """ |