Plugins/PluginEricapi.py

branch
Py2 comp.
changeset 3060
5883ce99ee12
parent 3058
0a02c433f52d
parent 3036
30c81c9e88b8
child 3145
a9de05d4a22f
equal deleted inserted replaced
3058:0a02c433f52d 3060:5883ce99ee12
30 version = "5.4.0" 30 version = "5.4.0"
31 className = "EricapiPlugin" 31 className = "EricapiPlugin"
32 packageName = "__core__" 32 packageName = "__core__"
33 shortDescription = "Show the Ericapi dialogs." 33 shortDescription = "Show the Ericapi dialogs."
34 longDescription = """This plugin implements the Ericapi dialogs.""" \ 34 longDescription = """This plugin implements the Ericapi dialogs.""" \
35 """ Ericapi is used to generate a QScintilla API file for Python and Ruby"""\ 35 """ Ericapi is used to generate a QScintilla API file for Python and""" \
36 """ projects.""" 36 """ Ruby projects."""
37 pyqtApi = 2 37 pyqtApi = 2
38 # End-Of-Header 38 # End-Of-Header
39 39
40 error = "" 40 error = ""
41 41
134 @param menu reference to the menu (QMenu) 134 @param menu reference to the menu (QMenu)
135 """ 135 """
136 if menuName == "Apidoc": 136 if menuName == "Apidoc":
137 if self.__projectAct is not None: 137 if self.__projectAct is not None:
138 self.__projectAct.setEnabled( 138 self.__projectAct.setEnabled(
139 e5App().getObject("Project").getProjectLanguage() in \ 139 e5App().getObject("Project").getProjectLanguage() in
140 ["Python", "Python2", "Python3", "Ruby"]) 140 ["Python", "Python2", "Python3", "Ruby"])
141 141
142 def __doEricapi(self): 142 def __doEricapi(self):
143 """ 143 """
144 Private slot to perform the eric5_api api generation. 144 Private slot to perform the eric5_api api generation.
145 """ 145 """

eric ide

mercurial