Documentation/Source/eric5.Plugins.VcsPlugins.vcsMercurial.HgExtensionProjectBrowserHelper.html

changeset 3316
aaa864fa5c1e
parent 3305
cf4f22a19dc6
child 3359
6b6c224d67d6
diff -r bd1a25ead18d -r aaa864fa5c1e Documentation/Source/eric5.Plugins.VcsPlugins.vcsMercurial.HgExtensionProjectBrowserHelper.html
--- a/Documentation/Source/eric5.Plugins.VcsPlugins.vcsMercurial.HgExtensionProjectBrowserHelper.html	Sat Mar 01 18:35:24 2014 +0100
+++ b/Documentation/Source/eric5.Plugins.VcsPlugins.vcsMercurial.HgExtensionProjectBrowserHelper.html	Sat Mar 01 18:36:34 2014 +0100
@@ -65,11 +65,17 @@
 <td><a href="#HgExtensionProjectBrowserHelper.__init__">HgExtensionProjectBrowserHelper</a></td>
 <td>Constructor</td>
 </tr><tr>
+<td><a href="#HgExtensionProjectBrowserHelper._updateVCSStatus">_updateVCSStatus</a></td>
+<td>Protected method to update the VCS status of an item.</td>
+</tr><tr>
 <td><a href="#HgExtensionProjectBrowserHelper.initMenus">initMenus</a></td>
 <td>Public method to generate the extension menus.</td>
 </tr><tr>
 <td><a href="#HgExtensionProjectBrowserHelper.menuTitle">menuTitle</a></td>
 <td>Public method to get the menu title.</td>
+</tr><tr>
+<td><a href="#HgExtensionProjectBrowserHelper.showExtensionMenu">showExtensionMenu</a></td>
+<td>Public method to prepare the extension menu for display.</td>
 </tr>
 </table>
 <h3>Static Methods</h3>
@@ -92,6 +98,17 @@
 <dd>
 reference to the project object
 </dd>
+</dl><a NAME="HgExtensionProjectBrowserHelper._updateVCSStatus" ID="HgExtensionProjectBrowserHelper._updateVCSStatus"></a>
+<h4>HgExtensionProjectBrowserHelper._updateVCSStatus</h4>
+<b>_updateVCSStatus</b>(<i>name</i>)
+<p>
+        Protected method to update the VCS status of an item.
+</p><dl>
+<dt><i>name</i></dt>
+<dd>
+filename or directoryname of the item to be updated
+            (string)
+</dd>
 </dl><a NAME="HgExtensionProjectBrowserHelper.initMenus" ID="HgExtensionProjectBrowserHelper.initMenus"></a>
 <h4>HgExtensionProjectBrowserHelper.initMenus</h4>
 <b>initMenus</b>(<i></i>)
@@ -130,6 +147,31 @@
 raised if the class has not been
             reimplemented
 </dd>
+</dl><a NAME="HgExtensionProjectBrowserHelper.showExtensionMenu" ID="HgExtensionProjectBrowserHelper.showExtensionMenu"></a>
+<h4>HgExtensionProjectBrowserHelper.showExtensionMenu</h4>
+<b>showExtensionMenu</b>(<i>key, controlled</i>)
+<p>
+        Public method to prepare the extension menu for display.
+</p><p>
+        Note: Derived class must implement this method to adjust the
+        enabled states of its menus.
+</p><dl>
+<dt><i>key</i></dt>
+<dd>
+menu key (string, one of 'mainMenu', 'multiMenu',
+            'backMenu', 'dirMenu' or 'dirMultiMenu')
+</dd><dt><i>controlled</i></dt>
+<dd>
+flag indicating to prepare the menu for a
+            version controlled entry or a non-version controlled entry
+            (boolean)
+</dd>
+</dl><dl>
+<dt>Raises <b>NotImplementedError</b>:</dt>
+<dd>
+raised if the class has not been
+            reimplemented
+</dd>
 </dl>
 <div align="right"><a href="#top">Up</a></div>
 <hr />

eric ide

mercurial