14 pass |
14 pass |
15 |
15 |
16 import os |
16 import os |
17 import sys |
17 import sys |
18 |
18 |
|
19 # TODO: eliminate this |
19 sys.path.insert(0, os.path.dirname(__file__)) |
20 sys.path.insert(0, os.path.dirname(__file__)) |
20 |
21 |
21 from PyQt5.QtCore import pyqtSlot |
22 from PyQt5.QtCore import pyqtSlot |
22 from PyQt5.QtWidgets import QMenu, QApplication, QAction |
23 from PyQt5.QtWidgets import QMenu, QApplication, QAction |
23 from PyQt5.Qsci import QsciScintilla |
24 from PyQt5.Qsci import QsciScintilla |
2177 |
2178 |
2178 def handleCall(self, method, params): |
2179 def handleCall(self, method, params): |
2179 """ |
2180 """ |
2180 Public method to handle a method call from the client. |
2181 Public method to handle a method call from the client. |
2181 |
2182 |
2182 Note: This is an empty implementation that must be overridden in |
|
2183 derived classes. |
|
2184 |
|
2185 @param method requested method name |
2183 @param method requested method name |
2186 @type str |
2184 @type str |
2187 @param params dictionary with method specific parameters |
2185 @param params dictionary with method specific parameters |
2188 @type dict |
2186 @type dict |
2189 """ |
2187 """ |