230 self.tr("Extract Variable"), |
230 self.tr("Extract Variable"), |
231 self.__jediServer.refactoringExtractNewVariable) |
231 self.__jediServer.refactoringExtractNewVariable) |
232 self.__menu.addAction( |
232 self.__menu.addAction( |
233 self.tr("Inline Variable"), |
233 self.tr("Inline Variable"), |
234 self.__jediServer.refactoringInlineVariable) |
234 self.__jediServer.refactoringInlineVariable) |
|
235 self.__menu.addSeparator() |
|
236 self.__menu.addAction( |
|
237 self.tr("Extract Function"), |
|
238 self.__jediServer.refactoringExtractFunction) |
235 |
239 |
236 def __editorShowMenu(self, menuName, menu, editor): |
240 def __editorShowMenu(self, menuName, menu, editor): |
237 """ |
241 """ |
238 Private slot called, when the the editor context menu or a submenu is |
242 Private slot called, when the the editor context menu or a submenu is |
239 about to be shown. |
243 about to be shown. |