RefactoringRope/Refactoring.py

branch
server_client_variant
changeset 183
bac69c80d5f4
parent 182
f7f2834dc8d9
child 184
4a806271f0b9
equal deleted inserted replaced
182:f7f2834dc8d9 183:bac69c80d5f4
1321 1321
1322 ##################################################### 1322 #####################################################
1323 ## Various refactorings 1323 ## Various refactorings
1324 ##################################################### 1324 #####################################################
1325 1325
1326 # TODO: continue from here
1327 def __restructure(self): 1326 def __restructure(self):
1328 """ 1327 """
1329 Private slot to restructure code. 1328 Private slot to restructure code.
1330 """ 1329 """
1331 from RestructureDialog import RestructureDialog 1330 from RestructureDialog import RestructureDialog
1332 title = self.tr("Restructure") 1331 title = self.tr("Restructure")
1333 self.dlg = RestructureDialog(self, title, parent=self.__ui) 1332 dlg = RestructureDialog(self, title, parent=self.__ui)
1334 self.dlg.show() 1333 changeGroup = dlg.getChangeGroupName()
1335 1334 self.__refactoringDialogs[changeGroup] = dlg
1335 dlg.finished.connect(
1336 lambda: self.__refactoringDialogClosed(changeGroup))
1337 dlg.show()
1338
1339 # TODO: continue from here
1336 def __changeSignature(self): 1340 def __changeSignature(self):
1337 """ 1341 """
1338 Private slot to change the signature of a method or function. 1342 Private slot to change the signature of a method or function.
1339 """ 1343 """
1340 aw = e5App().getObject("ViewManager").activeWindow() 1344 aw = e5App().getObject("ViewManager").activeWindow()

eric ide

mercurial