29 deactivateable = True |
29 deactivateable = True |
30 version = UI.Info.VersionOnly |
30 version = UI.Info.VersionOnly |
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 = ( |
35 """ Ericapi is used to generate a QScintilla API file for Python and""" \ |
35 """This plugin implements the Ericapi dialogs.""" |
|
36 """ Ericapi is used to generate a QScintilla API file for Python and""" |
36 """ Ruby projects.""" |
37 """ Ruby projects.""" |
|
38 ) |
37 pyqtApi = 2 |
39 pyqtApi = 2 |
38 # End-Of-Header |
40 # End-Of-Header |
39 |
41 |
40 error = "" |
42 error = "" |
41 |
43 |
165 if not project.useSystemEol(): |
168 if not project.useSystemEol(): |
166 args.append( |
169 args.append( |
167 "--eol={0}".format(eolTranslation[project.getEolString()])) |
170 "--eol={0}".format(eolTranslation[project.getEolString()])) |
168 |
171 |
169 # now do the call |
172 # now do the call |
170 from DocumentationPlugins.Ericapi.EricapiExecDialog import \ |
173 from DocumentationPlugins.Ericapi.EricapiExecDialog import ( |
171 EricapiExecDialog |
174 EricapiExecDialog |
|
175 ) |
172 dia = EricapiExecDialog("Ericapi") |
176 dia = EricapiExecDialog("Ericapi") |
173 res = dia.start(args, project.ppath) |
177 res = dia.start(args, project.ppath) |
174 if res: |
178 if res: |
175 dia.exec_() |
179 dia.exec_() |
176 |
180 |