Plugins/VcsPlugins/vcsPySvn/ProjectBrowserHelper.py

changeset 3591
2f2a4a76dd22
parent 3515
1b8381afe38f
child 3656
441956d8fce5
equal deleted inserted replaced
3590:5280e37405b8 3591:2f2a4a76dd22
44 projectObject, isTranslationsBrowser, 44 projectObject, isTranslationsBrowser,
45 parent, name) 45 parent, name)
46 46
47 def showContextMenu(self, menu, standardItems): 47 def showContextMenu(self, menu, standardItems):
48 """ 48 """
49 Slot called before the context menu is shown. 49 Public slot called before the context menu is shown.
50 50
51 It enables/disables the VCS menu entries depending on the overall 51 It enables/disables the VCS menu entries depending on the overall
52 VCS status and the file status. 52 VCS status and the file status.
53 53
54 @param menu reference to the menu to be shown 54 @param menu reference to the menu to be shown
79 for act in standardItems: 79 for act in standardItems:
80 act.setEnabled(True) 80 act.setEnabled(True)
81 81
82 def showContextMenuMulti(self, menu, standardItems): 82 def showContextMenuMulti(self, menu, standardItems):
83 """ 83 """
84 Slot called before the context menu (multiple selections) is shown. 84 Public slot called before the context menu (multiple selections) is
85 shown.
85 86
86 It enables/disables the VCS menu entries depending on the overall 87 It enables/disables the VCS menu entries depending on the overall
87 VCS status and the files status. 88 VCS status and the files status.
88 89
89 @param menu reference to the menu to be shown 90 @param menu reference to the menu to be shown
120 for act in standardItems: 121 for act in standardItems:
121 act.setEnabled(True) 122 act.setEnabled(True)
122 123
123 def showContextMenuDir(self, menu, standardItems): 124 def showContextMenuDir(self, menu, standardItems):
124 """ 125 """
125 Slot called before the context menu is shown. 126 Public slot called before the context menu is shown.
126 127
127 It enables/disables the VCS menu entries depending on the overall 128 It enables/disables the VCS menu entries depending on the overall
128 VCS status and the directory status. 129 VCS status and the directory status.
129 130
130 @param menu reference to the menu to be shown 131 @param menu reference to the menu to be shown
146 for act in standardItems: 147 for act in standardItems:
147 act.setEnabled(True) 148 act.setEnabled(True)
148 149
149 def showContextMenuDirMulti(self, menu, standardItems): 150 def showContextMenuDirMulti(self, menu, standardItems):
150 """ 151 """
151 Slot called before the context menu is shown. 152 Public slot called before the context menu is shown.
152 153
153 It enables/disables the VCS menu entries depending on the overall 154 It enables/disables the VCS menu entries depending on the overall
154 VCS status and the directory status. 155 VCS status and the directory status.
155 156
156 @param menu reference to the menu to be shown 157 @param menu reference to the menu to be shown

eric ide

mercurial