src/eric7/VCS/ProjectBrowserHelper.py

branch
eric7
changeset 10069
435cc5875135
parent 9653
e67609152c5e
child 10436
f6881d10e995
equal deleted inserted replaced
10068:7febcdccb2a1 10069:435cc5875135
82 VCS status and the file status. 82 VCS status and the file status.
83 83
84 @param menu reference to the menu to be shown 84 @param menu reference to the menu to be shown
85 @param standardItems array of standard items that need 85 @param standardItems array of standard items that need
86 activation/deactivation depending on the overall VCS status 86 activation/deactivation depending on the overall VCS status
87 @exception RuntimeError to indicate that this method must be 87 @exception NotImplementedError to indicate that this method must be
88 implemented by a subclass 88 implemented by a subclass
89 """ 89 """
90 raise RuntimeError("Not implemented") 90 raise NotImplementedError("Not implemented")
91 91
92 def showContextMenuMulti(self, menu, standardItems): 92 def showContextMenuMulti(self, menu, standardItems):
93 """ 93 """
94 Public slot called before the context menu (multiple selections) is 94 Public slot called before the context menu (multiple selections) is
95 shown. 95 shown.
98 VCS status and the files status. 98 VCS status and the files status.
99 99
100 @param menu reference to the menu to be shown 100 @param menu reference to the menu to be shown
101 @param standardItems array of standard items that need 101 @param standardItems array of standard items that need
102 activation/deactivation depending on the overall VCS status 102 activation/deactivation depending on the overall VCS status
103 @exception RuntimeError to indicate that this method must be 103 @exception NotImplementedError to indicate that this method must be
104 implemented by a subclass 104 implemented by a subclass
105 """ 105 """
106 raise RuntimeError("Not implemented") 106 raise NotImplementedError("Not implemented")
107 107
108 def showContextMenuDir(self, menu, standardItems): 108 def showContextMenuDir(self, menu, standardItems):
109 """ 109 """
110 Public slot called before the context menu is shown. 110 Public slot called before the context menu is shown.
111 111
113 VCS status and the directory status. 113 VCS status and the directory status.
114 114
115 @param menu reference to the menu to be shown 115 @param menu reference to the menu to be shown
116 @param standardItems array of standard items that 116 @param standardItems array of standard items that
117 need activation/deactivation depending on the overall VCS status 117 need activation/deactivation depending on the overall VCS status
118 @exception RuntimeError to indicate that this method must be 118 @exception NotImplementedError to indicate that this method must be
119 implemented by a subclass 119 implemented by a subclass
120 """ 120 """
121 raise RuntimeError("Not implemented") 121 raise NotImplementedError("Not implemented")
122 122
123 def showContextMenuDirMulti(self, menu, standardItems): 123 def showContextMenuDirMulti(self, menu, standardItems):
124 """ 124 """
125 Public slot called before the context menu is shown. 125 Public slot called before the context menu is shown.
126 126
128 VCS status and the directory status. 128 VCS status and the directory status.
129 129
130 @param menu reference to the menu to be shown 130 @param menu reference to the menu to be shown
131 @param standardItems array of standard items that need 131 @param standardItems array of standard items that need
132 activation/deactivation depending on the overall VCS status 132 activation/deactivation depending on the overall VCS status
133 @exception RuntimeError to indicate that this method must be 133 @exception NotImplementedError to indicate that this method must be
134 implemented by a subclass 134 implemented by a subclass
135 """ 135 """
136 raise RuntimeError("Not implemented") 136 raise NotImplementedError("Not implemented")
137 137
138 ########################################################################### 138 ###########################################################################
139 ## General menu handling methods below 139 ## General menu handling methods below
140 ########################################################################### 140 ###########################################################################
141 141

eric ide

mercurial