69 self._addVCSMenuDir(dirMenu) |
69 self._addVCSMenuDir(dirMenu) |
70 self._addVCSMenuDirMulti(dirMultiMenu) |
70 self._addVCSMenuDirMulti(dirMultiMenu) |
71 |
71 |
72 def showContextMenu(self, menu, standardItems): |
72 def showContextMenu(self, menu, standardItems): |
73 """ |
73 """ |
74 Slot called before the context menu is shown. |
74 Public slot called before the context menu is shown. |
75 |
75 |
76 It enables/disables the VCS menu entries depending on the overall |
76 It enables/disables the VCS menu entries depending on the overall |
77 VCS status and the file status. |
77 VCS status and the file status. |
78 |
78 |
79 @param menu reference to the menu to be shown |
79 @param menu reference to the menu to be shown |
84 """ |
84 """ |
85 raise RuntimeError('Not implemented') |
85 raise RuntimeError('Not implemented') |
86 |
86 |
87 def showContextMenuMulti(self, menu, standardItems): |
87 def showContextMenuMulti(self, menu, standardItems): |
88 """ |
88 """ |
89 Slot called before the context menu (multiple selections) is shown. |
89 Public slot called before the context menu (multiple selections) is |
|
90 shown. |
90 |
91 |
91 It enables/disables the VCS menu entries depending on the overall |
92 It enables/disables the VCS menu entries depending on the overall |
92 VCS status and the files status. |
93 VCS status and the files status. |
93 |
94 |
94 @param menu reference to the menu to be shown |
95 @param menu reference to the menu to be shown |
99 """ |
100 """ |
100 raise RuntimeError('Not implemented') |
101 raise RuntimeError('Not implemented') |
101 |
102 |
102 def showContextMenuDir(self, menu, standardItems): |
103 def showContextMenuDir(self, menu, standardItems): |
103 """ |
104 """ |
104 Slot called before the context menu is shown. |
105 Public slot called before the context menu is shown. |
105 |
106 |
106 It enables/disables the VCS menu entries depending on the overall |
107 It enables/disables the VCS menu entries depending on the overall |
107 VCS status and the directory status. |
108 VCS status and the directory status. |
108 |
109 |
109 @param menu reference to the menu to be shown |
110 @param menu reference to the menu to be shown |
114 """ |
115 """ |
115 raise RuntimeError('Not implemented') |
116 raise RuntimeError('Not implemented') |
116 |
117 |
117 def showContextMenuDirMulti(self, menu, standardItems): |
118 def showContextMenuDirMulti(self, menu, standardItems): |
118 """ |
119 """ |
119 Slot called before the context menu is shown. |
120 Public slot called before the context menu is shown. |
120 |
121 |
121 It enables/disables the VCS menu entries depending on the overall |
122 It enables/disables the VCS menu entries depending on the overall |
122 VCS status and the directory status. |
123 VCS status and the directory status. |
123 |
124 |
124 @param menu reference to the menu to be shown |
125 @param menu reference to the menu to be shown |