94 <p> |
94 <p> |
95 Constructor |
95 Constructor |
96 </p> |
96 </p> |
97 <dl> |
97 <dl> |
98 |
98 |
99 <dt><i>vcsObject</i></dt> |
99 <dt><i>vcsObject</i> (Hg)</dt> |
100 <dd> |
100 <dd> |
101 reference to the vcs object |
101 reference to the vcs object |
102 </dd> |
102 </dd> |
103 <dt><i>browserObject</i></dt> |
103 <dt><i>browserObject</i> (ProjectBaseBrowser)</dt> |
104 <dd> |
104 <dd> |
105 reference to the project browser object |
105 reference to the project browser object |
106 </dd> |
106 </dd> |
107 <dt><i>projectObject</i></dt> |
107 <dt><i>projectObject</i> (Project)</dt> |
108 <dd> |
108 <dd> |
109 reference to the project object |
109 reference to the project object |
110 </dd> |
110 </dd> |
111 </dl> |
111 </dl> |
112 <a NAME="HgExtensionProjectBrowserHelper._updateVCSStatus" ID="HgExtensionProjectBrowserHelper._updateVCSStatus"></a> |
112 <a NAME="HgExtensionProjectBrowserHelper._updateVCSStatus" ID="HgExtensionProjectBrowserHelper._updateVCSStatus"></a> |
116 <p> |
116 <p> |
117 Protected method to update the VCS status of an item. |
117 Protected method to update the VCS status of an item. |
118 </p> |
118 </p> |
119 <dl> |
119 <dl> |
120 |
120 |
121 <dt><i>name</i></dt> |
121 <dt><i>name</i> (str)</dt> |
122 <dd> |
122 <dd> |
123 filename or directoryname of the item to be updated |
123 filename or directory name of the item to be updated |
124 (string) |
|
125 </dd> |
124 </dd> |
126 </dl> |
125 </dl> |
127 <a NAME="HgExtensionProjectBrowserHelper.initMenus" ID="HgExtensionProjectBrowserHelper.initMenus"></a> |
126 <a NAME="HgExtensionProjectBrowserHelper.initMenus" ID="HgExtensionProjectBrowserHelper.initMenus"></a> |
128 <h4>HgExtensionProjectBrowserHelper.initMenus</h4> |
127 <h4>HgExtensionProjectBrowserHelper.initMenus</h4> |
129 <b>initMenus</b>(<i></i>) |
128 <b>initMenus</b>(<i></i>) |
135 Note: Derived class must implement this method. |
134 Note: Derived class must implement this method. |
136 </p> |
135 </p> |
137 <dl> |
136 <dl> |
138 <dt>Return:</dt> |
137 <dt>Return:</dt> |
139 <dd> |
138 <dd> |
140 dictionary of populated menu (dict of QMenu). The dict |
139 dictionary of populated menu. The dict must have the keys |
141 must have the keys 'mainMenu', 'multiMenu', 'backMenu', 'dirMenu' |
140 'mainMenu', 'multiMenu', 'backMenu', 'dirMenu' and 'dirMultiMenu'. |
142 and 'dirMultiMenu'. |
141 </dd> |
|
142 </dl> |
|
143 <dl> |
|
144 <dt>Return Type:</dt> |
|
145 <dd> |
|
146 dict of QMenu |
143 </dd> |
147 </dd> |
144 </dl> |
148 </dl> |
145 <dl> |
149 <dl> |
146 |
150 |
147 <dt>Raises <b>NotImplementedError</b>:</dt> |
151 <dt>Raises <b>NotImplementedError</b>:</dt> |
185 Note: Derived class must implement this method to adjust the |
195 Note: Derived class must implement this method to adjust the |
186 enabled states of its menus. |
196 enabled states of its menus. |
187 </p> |
197 </p> |
188 <dl> |
198 <dl> |
189 |
199 |
190 <dt><i>key</i></dt> |
200 <dt><i>key</i> (str)</dt> |
191 <dd> |
201 <dd> |
192 menu key (string, one of 'mainMenu', 'multiMenu', |
202 menu key (one of 'mainMenu', 'multiMenu', |
193 'backMenu', 'dirMenu' or 'dirMultiMenu') |
203 'backMenu', 'dirMenu' or 'dirMultiMenu') |
194 </dd> |
204 </dd> |
195 <dt><i>controlled</i></dt> |
205 <dt><i>controlled</i> (bool)</dt> |
196 <dd> |
206 <dd> |
197 flag indicating to prepare the menu for a |
207 flag indicating to prepare the menu for a |
198 version controlled entry or a non-version controlled entry |
208 version controlled entry or a non-version controlled entry |
199 (boolean) |
|
200 </dd> |
209 </dd> |
201 </dl> |
210 </dl> |
202 <dl> |
211 <dl> |
203 |
212 |
204 <dt>Raises <b>NotImplementedError</b>:</dt> |
213 <dt>Raises <b>NotImplementedError</b>:</dt> |