23 |
23 |
24 from E5Gui.E5Application import e5App |
24 from E5Gui.E5Application import e5App |
25 from E5Gui import E5MessageBox |
25 from E5Gui import E5MessageBox |
26 from E5Gui.E5Action import E5Action |
26 from E5Gui.E5Action import E5Action |
27 |
27 |
28 from .JsonServer import JsonServer |
28 from JsonServer import JsonServer |
29 from .RopeProgressDialog import RopeProgressDialog |
29 from RopeProgressDialog import RopeProgressDialog |
30 |
30 |
31 import Utilities |
31 import Utilities |
32 import Preferences |
32 import Preferences |
33 |
33 |
34 from Preferences.Shortcuts import readShortcuts |
34 from Preferences.Shortcuts import readShortcuts |
41 def __init__(self, plugin, parent=None): |
41 def __init__(self, plugin, parent=None): |
42 """ |
42 """ |
43 Constructor |
43 Constructor |
44 |
44 |
45 @param plugin reference to the plugin object |
45 @param plugin reference to the plugin object |
46 @param parent parent (QObject) |
46 @type RefactoringRopePlugin |
47 """ |
47 @param parent parent |
48 super(RefactoringServer, self).__init__(parent) |
48 @type QObject |
|
49 """ |
|
50 super(RefactoringServer, self).__init__(parent=parent) |
49 |
51 |
50 self.__plugin = plugin |
52 self.__plugin = plugin |
51 self.__ui = parent |
53 self.__ui = parent |
52 self.__e5project = e5App().getObject("Project") |
54 self.__e5project = e5App().getObject("Project") |
53 self.__projectpath = '' |
55 self.__projectpath = '' |