Plugins/VcsPlugins/vcsMercurial/QueuesExtension/ProjectHelper.py

changeset 3591
2f2a4a76dd22
parent 3484
645c12de6b0c
child 3656
441956d8fce5
equal deleted inserted replaced
3590:5280e37405b8 3591:2f2a4a76dd22
244 self.__initGuardsActions() 244 self.__initGuardsActions()
245 self.__initQueuesMgmtActions() 245 self.__initQueuesMgmtActions()
246 246
247 def __initPushPopActions(self): 247 def __initPushPopActions(self):
248 """ 248 """
249 Public method to generate the push and pop action objects. 249 Private method to generate the push and pop action objects.
250 """ 250 """
251 self.hgQueuePushAct = E5Action( 251 self.hgQueuePushAct = E5Action(
252 self.tr('Push Next Patch'), 252 self.tr('Push Next Patch'),
253 self.tr('Push Next Patch'), 253 self.tr('Push Next Patch'),
254 0, 0, self, 'mercurial_queues_push_next') 254 0, 0, self, 'mercurial_queues_push_next')
356 self.hgQueueGotoAct.triggered.connect(self.__hgQueueGotoPatch) 356 self.hgQueueGotoAct.triggered.connect(self.__hgQueueGotoPatch)
357 self.actions.append(self.hgQueueGotoAct) 357 self.actions.append(self.hgQueueGotoAct)
358 358
359 def __initPushPopForceActions(self): 359 def __initPushPopForceActions(self):
360 """ 360 """
361 Public method to generate the push and pop (force) action objects. 361 Private method to generate the push and pop (force) action objects.
362 """ 362 """
363 self.hgQueuePushForceAct = E5Action( 363 self.hgQueuePushForceAct = E5Action(
364 self.tr('Push Next Patch'), 364 self.tr('Push Next Patch'),
365 self.tr('Push Next Patch'), 365 self.tr('Push Next Patch'),
366 0, 0, self, 'mercurial_queues_push_next_force') 366 0, 0, self, 'mercurial_queues_push_next_force')
476 self.__hgQueueGotoPatchForced) 476 self.__hgQueueGotoPatchForced)
477 self.actions.append(self.hgQueueGotoForceAct) 477 self.actions.append(self.hgQueueGotoForceAct)
478 478
479 def __initGuardsActions(self): 479 def __initGuardsActions(self):
480 """ 480 """
481 Public method to generate the guards action objects. 481 Private method to generate the guards action objects.
482 """ 482 """
483 self.hgQueueDefineGuardsAct = E5Action( 483 self.hgQueueDefineGuardsAct = E5Action(
484 self.tr('Define Guards'), 484 self.tr('Define Guards'),
485 self.tr('Define Guards...'), 485 self.tr('Define Guards...'),
486 0, 0, self, 'mercurial_queues_guards_define') 486 0, 0, self, 'mercurial_queues_guards_define')
586 self.__hgQueueGuardsIdentifyActive) 586 self.__hgQueueGuardsIdentifyActive)
587 self.actions.append(self.hgQueueIdentifyActiveGuardsAct) 587 self.actions.append(self.hgQueueIdentifyActiveGuardsAct)
588 588
589 def __initQueuesMgmtActions(self): 589 def __initQueuesMgmtActions(self):
590 """ 590 """
591 Public method to generate the queues management action objects. 591 Private method to generate the queues management action objects.
592 """ 592 """
593 self.hgQueueCreateQueueAct = E5Action( 593 self.hgQueueCreateQueueAct = E5Action(
594 self.tr('Create Queue'), 594 self.tr('Create Queue'),
595 self.tr('Create Queue'), 595 self.tr('Create Queue'),
596 0, 0, self, 'mercurial_queues_create_queue') 596 0, 0, self, 'mercurial_queues_create_queue')

eric ide

mercurial