src/eric7/Plugins/VcsPlugins/vcsMercurial/HgExtension.py

branch
eric7
changeset 11006
a671918232f3
parent 10439
21c28b0f9e41
child 11090
f5f5f5803935
equal deleted inserted replaced
11005:b918c6c2736b 11006:a671918232f3
13 class HgExtension(QObject): 13 class HgExtension(QObject):
14 """ 14 """
15 Class implementing the base class for Mercurial extension interfaces. 15 Class implementing the base class for Mercurial extension interfaces.
16 """ 16 """
17 17
18 def __init__(self, vcs): 18 def __init__(self, vcs, ui=None):
19 """ 19 """
20 Constructor 20 Constructor
21 21
22 @param vcs reference to the Mercurial vcs object 22 @param vcs reference to the Mercurial vcs object
23 @type Hg 23 @type Hg
24 @param ui reference to a UI widget (defaults to None)
25 @type QWidget
24 """ 26 """
25 super().__init__(vcs) 27 super().__init__(vcs)
26 28
27 self.vcs = vcs 29 self.vcs = vcs
30 self.ui = ui
28 31
29 def shutdown(self): 32 def shutdown(self):
30 """ 33 """
31 Public method used to shutdown the extension interface. 34 Public method used to shutdown the extension interface.
32 35

eric ide

mercurial