src/eric7/Documentation/Source/eric7.Plugins.VcsPlugins.vcsMercurial.LargefilesExtension.ProjectBrowserHelper.html

branch
eric7
changeset 9209
b99e7fd55fd3
parent 8596
d64760b2da50
child 10438
4cd7e5a8b3cf
equal deleted inserted replaced
9208:3fc8dfeb6ebe 9209:b99e7fd55fd3
1 <!DOCTYPE html>
2 <html><head>
3 <title>eric7.Plugins.VcsPlugins.vcsMercurial.LargefilesExtension.ProjectBrowserHelper</title>
4 <meta charset="UTF-8">
5 <link rel="stylesheet" href="styles.css">
6 </head>
7 <body>
8 <a NAME="top" ID="top"></a>
9 <h1>eric7.Plugins.VcsPlugins.vcsMercurial.LargefilesExtension.ProjectBrowserHelper</h1>
10
11 <p>
12 Module implementing the largefiles extension project browser helper.
13 </p>
14 <h3>Global Attributes</h3>
15
16 <table>
17 <tr><td>None</td></tr>
18 </table>
19 <h3>Classes</h3>
20
21 <table>
22
23 <tr>
24 <td><a href="#LargefilesProjectBrowserHelper">LargefilesProjectBrowserHelper</a></td>
25 <td>Class implementing the largefiles extension project browser helper.</td>
26 </tr>
27 </table>
28 <h3>Functions</h3>
29
30 <table>
31 <tr><td>None</td></tr>
32 </table>
33 <hr />
34 <hr />
35 <a NAME="LargefilesProjectBrowserHelper" ID="LargefilesProjectBrowserHelper"></a>
36 <h2>LargefilesProjectBrowserHelper</h2>
37
38 <p>
39 Class implementing the largefiles extension project browser helper.
40 </p>
41 <h3>Derived from</h3>
42 HgExtensionProjectBrowserHelper
43 <h3>Class Attributes</h3>
44
45 <table>
46 <tr><td>None</td></tr>
47 </table>
48 <h3>Class Methods</h3>
49
50 <table>
51 <tr><td>None</td></tr>
52 </table>
53 <h3>Methods</h3>
54
55 <table>
56
57 <tr>
58 <td><a href="#LargefilesProjectBrowserHelper.__init__">LargefilesProjectBrowserHelper</a></td>
59 <td>Constructor</td>
60 </tr>
61 <tr>
62 <td><a href="#LargefilesProjectBrowserHelper.__hgAddLargefiles">__hgAddLargefiles</a></td>
63 <td>Private slot to add the selected files as large files.</td>
64 </tr>
65 <tr>
66 <td><a href="#LargefilesProjectBrowserHelper.initMenus">initMenus</a></td>
67 <td>Public method to generate the extension menus.</td>
68 </tr>
69 <tr>
70 <td><a href="#LargefilesProjectBrowserHelper.menuTitle">menuTitle</a></td>
71 <td>Public method to get the menu title.</td>
72 </tr>
73 <tr>
74 <td><a href="#LargefilesProjectBrowserHelper.showExtensionMenu">showExtensionMenu</a></td>
75 <td>Public method to prepare the extension menu for display.</td>
76 </tr>
77 </table>
78 <h3>Static Methods</h3>
79
80 <table>
81 <tr><td>None</td></tr>
82 </table>
83
84 <a NAME="LargefilesProjectBrowserHelper.__init__" ID="LargefilesProjectBrowserHelper.__init__"></a>
85 <h4>LargefilesProjectBrowserHelper (Constructor)</h4>
86 <b>LargefilesProjectBrowserHelper</b>(<i>vcsObject, browserObject, projectObject</i>)
87
88 <p>
89 Constructor
90 </p>
91 <dl>
92
93 <dt><i>vcsObject</i></dt>
94 <dd>
95 reference to the vcs object
96 </dd>
97 <dt><i>browserObject</i></dt>
98 <dd>
99 reference to the project browser object
100 </dd>
101 <dt><i>projectObject</i></dt>
102 <dd>
103 reference to the project object
104 </dd>
105 </dl>
106 <a NAME="LargefilesProjectBrowserHelper.__hgAddLargefiles" ID="LargefilesProjectBrowserHelper.__hgAddLargefiles"></a>
107 <h4>LargefilesProjectBrowserHelper.__hgAddLargefiles</h4>
108 <b>__hgAddLargefiles</b>(<i>mode</i>)
109
110 <p>
111 Private slot to add the selected files as large files.
112 </p>
113 <dl>
114
115 <dt><i>mode</i></dt>
116 <dd>
117 add mode (string one of 'normal' or 'large')
118 </dd>
119 </dl>
120 <a NAME="LargefilesProjectBrowserHelper.initMenus" ID="LargefilesProjectBrowserHelper.initMenus"></a>
121 <h4>LargefilesProjectBrowserHelper.initMenus</h4>
122 <b>initMenus</b>(<i></i>)
123
124 <p>
125 Public method to generate the extension menus.
126 </p>
127 <p>
128 Note: Derived class must implement this method.
129 </p>
130 <dl>
131 <dt>Return:</dt>
132 <dd>
133 dictionary of populated menu (dict of QMenu). The dict
134 must have the keys 'mainMenu', 'multiMenu', 'backMenu', 'dirMenu'
135 and 'dirMultiMenu'.
136 </dd>
137 </dl>
138 <a NAME="LargefilesProjectBrowserHelper.menuTitle" ID="LargefilesProjectBrowserHelper.menuTitle"></a>
139 <h4>LargefilesProjectBrowserHelper.menuTitle</h4>
140 <b>menuTitle</b>(<i></i>)
141
142 <p>
143 Public method to get the menu title.
144 </p>
145 <p>
146 Note: Derived class must implement this method.
147 </p>
148 <dl>
149 <dt>Return:</dt>
150 <dd>
151 title of the menu (string)
152 </dd>
153 </dl>
154 <a NAME="LargefilesProjectBrowserHelper.showExtensionMenu" ID="LargefilesProjectBrowserHelper.showExtensionMenu"></a>
155 <h4>LargefilesProjectBrowserHelper.showExtensionMenu</h4>
156 <b>showExtensionMenu</b>(<i>key, controlled</i>)
157
158 <p>
159 Public method to prepare the extension menu for display.
160 </p>
161 <dl>
162
163 <dt><i>key</i></dt>
164 <dd>
165 menu key (string, one of 'mainMenu', 'multiMenu',
166 'backMenu', 'dirMenu' or 'dirMultiMenu')
167 </dd>
168 <dt><i>controlled</i></dt>
169 <dd>
170 flag indicating to prepare the menu for a
171 version controlled entry or a non-version controlled entry
172 (boolean)
173 </dd>
174 </dl>
175 <div align="right"><a href="#top">Up</a></div>
176 <hr />
177 </body></html>

eric ide

mercurial