2276 @param interpreter interpreter to be used for the refactoring client |
2276 @param interpreter interpreter to be used for the refactoring client |
2277 @type str |
2277 @type str |
2278 @return flag indicating a successful client start |
2278 @return flag indicating a successful client start |
2279 @rtype bool |
2279 @rtype bool |
2280 """ |
2280 """ |
2281 client = os.path.join(os.path.dirname(__file__), |
2281 if interpreter: |
2282 "RefactoringClient.py") |
2282 client = os.path.join(os.path.dirname(__file__), |
2283 ok = self.startClient(interpreter, client, [self.__projectpath]) |
2283 "RefactoringClient.py") |
|
2284 ok = self.startClient(interpreter, client, [self.__projectpath]) |
|
2285 else: |
|
2286 ok = False |
2284 return ok |
2287 return ok |
2285 |
2288 |
2286 ######################################################################### |
2289 ######################################################################### |
2287 ## Methods below handle setting/unsetting the mouse click handler methods |
2290 ## Methods below handle setting/unsetting the mouse click handler methods |
2288 ######################################################################### |
2291 ######################################################################### |