|
1 <?xml version="1.0" encoding="utf-8"?> |
|
2 <!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' |
|
3 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'> |
|
4 <html><head> |
|
5 <title>eric5.Plugins.VcsPlugins.vcsMercurial.FetchExtension.ProjectHelper</title> |
|
6 <style> |
|
7 body { |
|
8 background: #EDECE6; |
|
9 margin: 0em 1em 10em 1em; |
|
10 color: black; |
|
11 } |
|
12 |
|
13 h1 { color: white; background: #85774A; } |
|
14 h2 { color: white; background: #85774A; } |
|
15 h3 { color: white; background: #9D936E; } |
|
16 h4 { color: white; background: #9D936E; } |
|
17 |
|
18 a { color: #BA6D36; } |
|
19 |
|
20 </style> |
|
21 </head> |
|
22 <body><a NAME="top" ID="top"></a> |
|
23 <h1>eric5.Plugins.VcsPlugins.vcsMercurial.FetchExtension.ProjectHelper</h1> |
|
24 <p> |
|
25 Module implementing the fetch extension project helper. |
|
26 </p> |
|
27 <h3>Global Attributes</h3> |
|
28 <table> |
|
29 <tr><td>None</td></tr> |
|
30 </table> |
|
31 <h3>Classes</h3> |
|
32 <table> |
|
33 <tr> |
|
34 <td><a href="#FetchProjectHelper">FetchProjectHelper</a></td> |
|
35 <td>Class implementing the fetch extension project helper.</td> |
|
36 </tr> |
|
37 </table> |
|
38 <h3>Functions</h3> |
|
39 <table> |
|
40 <tr><td>None</td></tr> |
|
41 </table> |
|
42 <hr /><hr /> |
|
43 <a NAME="FetchProjectHelper" ID="FetchProjectHelper"></a> |
|
44 <h2>FetchProjectHelper</h2> |
|
45 <p> |
|
46 Class implementing the fetch extension project helper. |
|
47 </p> |
|
48 <h3>Derived from</h3> |
|
49 QObject |
|
50 <h3>Class Attributes</h3> |
|
51 <table> |
|
52 <tr><td>None</td></tr> |
|
53 </table> |
|
54 <h3>Methods</h3> |
|
55 <table> |
|
56 <tr> |
|
57 <td><a href="#FetchProjectHelper.__init__">FetchProjectHelper</a></td> |
|
58 <td>Constructor</td> |
|
59 </tr><tr> |
|
60 <td><a href="#FetchProjectHelper.__hgFetch">__hgFetch</a></td> |
|
61 <td>Private slot used to fetch changes from a remote repository.</td> |
|
62 </tr><tr> |
|
63 <td><a href="#FetchProjectHelper.getActions">getActions</a></td> |
|
64 <td>Public method to get a list of all actions.</td> |
|
65 </tr><tr> |
|
66 <td><a href="#FetchProjectHelper.initActions">initActions</a></td> |
|
67 <td>Public method to generate the action objects.</td> |
|
68 </tr><tr> |
|
69 <td><a href="#FetchProjectHelper.initMenu">initMenu</a></td> |
|
70 <td>Public method to generate the extension menu.</td> |
|
71 </tr><tr> |
|
72 <td><a href="#FetchProjectHelper.setObjects">setObjects</a></td> |
|
73 <td>Public method to set references to the vcs and project objects.</td> |
|
74 </tr> |
|
75 </table> |
|
76 <a NAME="FetchProjectHelper.__init__" ID="FetchProjectHelper.__init__"></a> |
|
77 <h4>FetchProjectHelper (Constructor)</h4> |
|
78 <b>FetchProjectHelper</b>(<i></i>) |
|
79 <p> |
|
80 Constructor |
|
81 </p><a NAME="FetchProjectHelper.__hgFetch" ID="FetchProjectHelper.__hgFetch"></a> |
|
82 <h4>FetchProjectHelper.__hgFetch</h4> |
|
83 <b>__hgFetch</b>(<i></i>) |
|
84 <p> |
|
85 Private slot used to fetch changes from a remote repository. |
|
86 </p><a NAME="FetchProjectHelper.getActions" ID="FetchProjectHelper.getActions"></a> |
|
87 <h4>FetchProjectHelper.getActions</h4> |
|
88 <b>getActions</b>(<i></i>) |
|
89 <p> |
|
90 Public method to get a list of all actions. |
|
91 </p><dl> |
|
92 <dt>Returns:</dt> |
|
93 <dd> |
|
94 list of all actions (list of E5Action) |
|
95 </dd> |
|
96 </dl><a NAME="FetchProjectHelper.initActions" ID="FetchProjectHelper.initActions"></a> |
|
97 <h4>FetchProjectHelper.initActions</h4> |
|
98 <b>initActions</b>(<i></i>) |
|
99 <p> |
|
100 Public method to generate the action objects. |
|
101 </p><a NAME="FetchProjectHelper.initMenu" ID="FetchProjectHelper.initMenu"></a> |
|
102 <h4>FetchProjectHelper.initMenu</h4> |
|
103 <b>initMenu</b>(<i>mainMenu</i>) |
|
104 <p> |
|
105 Public method to generate the extension menu. |
|
106 </p><dl> |
|
107 <dt><i>mainMenu</i></dt> |
|
108 <dd> |
|
109 reference to the main menu (QMenu) |
|
110 </dd> |
|
111 </dl><dl> |
|
112 <dt>Returns:</dt> |
|
113 <dd> |
|
114 populated menu (QMenu) |
|
115 </dd> |
|
116 </dl><a NAME="FetchProjectHelper.setObjects" ID="FetchProjectHelper.setObjects"></a> |
|
117 <h4>FetchProjectHelper.setObjects</h4> |
|
118 <b>setObjects</b>(<i>vcsObject, projectObject</i>) |
|
119 <p> |
|
120 Public method to set references to the vcs and project objects. |
|
121 </p><dl> |
|
122 <dt><i>vcsObject</i></dt> |
|
123 <dd> |
|
124 reference to the vcs object |
|
125 </dd><dt><i>projectObject</i></dt> |
|
126 <dd> |
|
127 reference to the project object |
|
128 </dd> |
|
129 </dl> |
|
130 <div align="right"><a href="#top">Up</a></div> |
|
131 <hr /> |
|
132 </body></html> |