58 self.__projectLanguage = "" |
59 self.__projectLanguage = "" |
59 self.__projectopen = False |
60 self.__projectopen = False |
60 |
61 |
61 self.__mainMenu = None |
62 self.__mainMenu = None |
62 self.__helpDialog = None |
63 self.__helpDialog = None |
|
64 self.__progressDialog = None |
63 |
65 |
64 from FileSystemCommands import E5FileSystemCommands |
66 from FileSystemCommands import E5FileSystemCommands |
65 self.__fsCommands = E5FileSystemCommands(self.__e5project) |
67 self.__fsCommands = E5FileSystemCommands(self.__e5project) |
66 |
68 |
67 def initActions(self): |
69 def initActions(self): |
2376 E5MessageBox.StandardButtons( |
2378 E5MessageBox.StandardButtons( |
2377 E5MessageBox.Ok)) |
2379 E5MessageBox.Ok)) |
2378 |
2380 |
2379 elif method == "FileSystemCommand": |
2381 elif method == "FileSystemCommand": |
2380 self.__fsCommands.processFileSystemCommand(params) |
2382 self.__fsCommands.processFileSystemCommand(params) |
|
2383 |
|
2384 elif method == "ProgressInit": |
|
2385 progressDialog = RopeProgressDialog( |
|
2386 self, params["Title"], params["Interrutable"], self.__ui) |
|
2387 progressDialog.show() |
|
2388 self.__progressDialog = progressDialog |
|
2389 QApplication.processEvents() |
|
2390 |
|
2391 elif method == "Progress": |
|
2392 if self.__progressDialog is not None: |
|
2393 self.__progressDialog.updateProgress(params) |
|
2394 |
|
2395 elif method == "ProgressReset": |
|
2396 if self.__progressDialog is not None: |
|
2397 self.__progressDialog.reset() |
2381 |
2398 |
2382 def __startRefactoringClient(self, interpreter): |
2399 def __startRefactoringClient(self, interpreter): |
2383 """ |
2400 """ |
2384 Private method to start the refactoring client. |
2401 Private method to start the refactoring client. |
2385 |
2402 |