64 self.__refactoringProcess = None |
64 self.__refactoringProcess = None |
65 self.__refactoringConnection = None |
65 self.__refactoringConnection = None |
66 |
66 |
67 # Rope objects |
67 # Rope objects |
68 # TODO: move this to RefactoringClient |
68 # TODO: move this to RefactoringClient |
69 self.__project = None |
69 ## self.__project = None |
70 |
70 |
71 # TODO: split this between RefactoringClient and this server |
|
72 from FileSystemCommands import E5FileSystemCommands |
71 from FileSystemCommands import E5FileSystemCommands |
73 self.__fsCommands = E5FileSystemCommands(self.__e5project) |
72 self.__fsCommands = E5FileSystemCommands(self.__e5project) |
74 |
73 |
75 # setup the network interface |
74 # setup the network interface |
76 networkInterface = Preferences.getDebugger("NetworkInterface") |
75 networkInterface = Preferences.getDebugger("NetworkInterface") |
2470 params["Traceback"].replace("\r\n", "<br/>") |
2469 params["Traceback"].replace("\r\n", "<br/>") |
2471 .replace("\n", "<br/>").replace("\r", "<br/>"), |
2470 .replace("\n", "<br/>").replace("\r", "<br/>"), |
2472 ), |
2471 ), |
2473 E5MessageBox.StandardButtons( |
2472 E5MessageBox.StandardButtons( |
2474 E5MessageBox.Ok)) |
2473 E5MessageBox.Ok)) |
2475 return |
2474 |
|
2475 elif method == "FileSystemCommand": |
|
2476 self.__fsCommands.processFileSystemCommand(params) |
2476 |
2477 |
2477 def __sendJson(self, command, params): |
2478 def __sendJson(self, command, params): |
2478 """ |
2479 """ |
2479 Private method to send a single refactoring command to the client. |
2480 Private method to send a single refactoring command to the client. |
2480 |
2481 |