16 |
16 |
17 a { color: #BA6D36; } |
17 a { color: #BA6D36; } |
18 |
18 |
19 </style> |
19 </style> |
20 </head> |
20 </head> |
21 <body><a NAME="top" ID="top"></a> |
21 <body> |
|
22 <a NAME="top" ID="top"></a> |
22 <h1>eric6.Plugins.VcsPlugins.vcsMercurial.HgStatusMonitorThread</h1> |
23 <h1>eric6.Plugins.VcsPlugins.vcsMercurial.HgStatusMonitorThread</h1> |
|
24 |
23 <p> |
25 <p> |
24 Module implementing the VCS status monitor thread class for Mercurial. |
26 Module implementing the VCS status monitor thread class for Mercurial. |
25 </p> |
27 </p> |
26 <h3>Global Attributes</h3> |
28 <h3>Global Attributes</h3> |
|
29 |
27 <table> |
30 <table> |
28 <tr><td>None</td></tr> |
31 <tr><td>None</td></tr> |
29 </table> |
32 </table> |
30 <h3>Classes</h3> |
33 <h3>Classes</h3> |
|
34 |
31 <table> |
35 <table> |
|
36 |
32 <tr> |
37 <tr> |
33 <td><a href="#HgStatusMonitorThread">HgStatusMonitorThread</a></td> |
38 <td><a href="#HgStatusMonitorThread">HgStatusMonitorThread</a></td> |
34 <td>Class implementing the VCS status monitor thread class for Mercurial.</td> |
39 <td>Class implementing the VCS status monitor thread class for Mercurial.</td> |
35 </tr> |
40 </tr> |
36 </table> |
41 </table> |
37 <h3>Functions</h3> |
42 <h3>Functions</h3> |
|
43 |
38 <table> |
44 <table> |
39 <tr><td>None</td></tr> |
45 <tr><td>None</td></tr> |
40 </table> |
46 </table> |
41 <hr /><hr /> |
47 <hr /> |
|
48 <hr /> |
42 <a NAME="HgStatusMonitorThread" ID="HgStatusMonitorThread"></a> |
49 <a NAME="HgStatusMonitorThread" ID="HgStatusMonitorThread"></a> |
43 <h2>HgStatusMonitorThread</h2> |
50 <h2>HgStatusMonitorThread</h2> |
|
51 |
44 <p> |
52 <p> |
45 Class implementing the VCS status monitor thread class for Mercurial. |
53 Class implementing the VCS status monitor thread class for Mercurial. |
46 </p> |
54 </p> |
47 <h3>Derived from</h3> |
55 <h3>Derived from</h3> |
48 VcsStatusMonitorThread |
56 VcsStatusMonitorThread |
49 <h3>Class Attributes</h3> |
57 <h3>Class Attributes</h3> |
|
58 |
50 <table> |
59 <table> |
51 <tr><td>None</td></tr> |
60 <tr><td>None</td></tr> |
52 </table> |
61 </table> |
53 <h3>Class Methods</h3> |
62 <h3>Class Methods</h3> |
|
63 |
54 <table> |
64 <table> |
55 <tr><td>None</td></tr> |
65 <tr><td>None</td></tr> |
56 </table> |
66 </table> |
57 <h3>Methods</h3> |
67 <h3>Methods</h3> |
|
68 |
58 <table> |
69 <table> |
|
70 |
59 <tr> |
71 <tr> |
60 <td><a href="#HgStatusMonitorThread.__init__">HgStatusMonitorThread</a></td> |
72 <td><a href="#HgStatusMonitorThread.__init__">HgStatusMonitorThread</a></td> |
61 <td>Constructor</td> |
73 <td>Constructor</td> |
62 </tr><tr> |
74 </tr> |
|
75 <tr> |
63 <td><a href="#HgStatusMonitorThread.__initClient">__initClient</a></td> |
76 <td><a href="#HgStatusMonitorThread.__initClient">__initClient</a></td> |
64 <td>Private method to initialize the Mercurial client.</td> |
77 <td>Private method to initialize the Mercurial client.</td> |
65 </tr><tr> |
78 </tr> |
|
79 <tr> |
66 <td><a href="#HgStatusMonitorThread._getInfo">_getInfo</a></td> |
80 <td><a href="#HgStatusMonitorThread._getInfo">_getInfo</a></td> |
67 <td>Protected method implementing the real info action.</td> |
81 <td>Protected method implementing the real info action.</td> |
68 </tr><tr> |
82 </tr> |
|
83 <tr> |
69 <td><a href="#HgStatusMonitorThread._performMonitor">_performMonitor</a></td> |
84 <td><a href="#HgStatusMonitorThread._performMonitor">_performMonitor</a></td> |
70 <td>Protected method implementing the monitoring action.</td> |
85 <td>Protected method implementing the monitoring action.</td> |
71 </tr><tr> |
86 </tr> |
|
87 <tr> |
72 <td><a href="#HgStatusMonitorThread._shutdown">_shutdown</a></td> |
88 <td><a href="#HgStatusMonitorThread._shutdown">_shutdown</a></td> |
73 <td>Protected method performing shutdown actions.</td> |
89 <td>Protected method performing shutdown actions.</td> |
74 </tr> |
90 </tr> |
75 </table> |
91 </table> |
76 <h3>Static Methods</h3> |
92 <h3>Static Methods</h3> |
|
93 |
77 <table> |
94 <table> |
78 <tr><td>None</td></tr> |
95 <tr><td>None</td></tr> |
79 </table> |
96 </table> |
|
97 |
80 <a NAME="HgStatusMonitorThread.__init__" ID="HgStatusMonitorThread.__init__"></a> |
98 <a NAME="HgStatusMonitorThread.__init__" ID="HgStatusMonitorThread.__init__"></a> |
81 <h4>HgStatusMonitorThread (Constructor)</h4> |
99 <h4>HgStatusMonitorThread (Constructor)</h4> |
82 <b>HgStatusMonitorThread</b>(<i>interval, project, vcs, parent=None</i>) |
100 <b>HgStatusMonitorThread</b>(<i>interval, project, vcs, parent=None</i>) |
|
101 |
83 <p> |
102 <p> |
84 Constructor |
103 Constructor |
85 </p><dl> |
104 </p> |
|
105 <dl> |
|
106 |
86 <dt><i>interval</i></dt> |
107 <dt><i>interval</i></dt> |
87 <dd> |
108 <dd> |
88 new interval in seconds (integer) |
109 new interval in seconds (integer) |
89 </dd><dt><i>project</i></dt> |
110 </dd> |
|
111 <dt><i>project</i></dt> |
90 <dd> |
112 <dd> |
91 reference to the project object (Project) |
113 reference to the project object (Project) |
92 </dd><dt><i>vcs</i></dt> |
114 </dd> |
|
115 <dt><i>vcs</i></dt> |
93 <dd> |
116 <dd> |
94 reference to the version control object |
117 reference to the version control object |
95 </dd><dt><i>parent</i></dt> |
118 </dd> |
|
119 <dt><i>parent</i></dt> |
96 <dd> |
120 <dd> |
97 reference to the parent object (QObject) |
121 reference to the parent object (QObject) |
98 </dd> |
122 </dd> |
99 </dl><a NAME="HgStatusMonitorThread.__initClient" ID="HgStatusMonitorThread.__initClient"></a> |
123 </dl> |
|
124 <a NAME="HgStatusMonitorThread.__initClient" ID="HgStatusMonitorThread.__initClient"></a> |
100 <h4>HgStatusMonitorThread.__initClient</h4> |
125 <h4>HgStatusMonitorThread.__initClient</h4> |
101 <b>__initClient</b>(<i></i>) |
126 <b>__initClient</b>(<i></i>) |
|
127 |
102 <p> |
128 <p> |
103 Private method to initialize the Mercurial client. |
129 Private method to initialize the Mercurial client. |
104 </p><a NAME="HgStatusMonitorThread._getInfo" ID="HgStatusMonitorThread._getInfo"></a> |
130 </p> |
|
131 <a NAME="HgStatusMonitorThread._getInfo" ID="HgStatusMonitorThread._getInfo"></a> |
105 <h4>HgStatusMonitorThread._getInfo</h4> |
132 <h4>HgStatusMonitorThread._getInfo</h4> |
106 <b>_getInfo</b>(<i></i>) |
133 <b>_getInfo</b>(<i></i>) |
|
134 |
107 <p> |
135 <p> |
108 Protected method implementing the real info action. |
136 Protected method implementing the real info action. |
109 </p><p> |
137 </p> |
|
138 <p> |
110 This method should be overridden and create a short info message to be |
139 This method should be overridden and create a short info message to be |
111 shown in the main window status bar right next to the status indicator. |
140 shown in the main window status bar right next to the status indicator. |
112 </p><dl> |
141 </p> |
|
142 <dl> |
113 <dt>Returns:</dt> |
143 <dt>Returns:</dt> |
114 <dd> |
144 <dd> |
115 short info message |
145 short info message |
116 </dd> |
146 </dd> |
117 </dl><dl> |
147 </dl> |
|
148 <dl> |
118 <dt>Return Type:</dt> |
149 <dt>Return Type:</dt> |
119 <dd> |
150 <dd> |
120 str |
151 str |
121 </dd> |
152 </dd> |
122 </dl><a NAME="HgStatusMonitorThread._performMonitor" ID="HgStatusMonitorThread._performMonitor"></a> |
153 </dl> |
|
154 <a NAME="HgStatusMonitorThread._performMonitor" ID="HgStatusMonitorThread._performMonitor"></a> |
123 <h4>HgStatusMonitorThread._performMonitor</h4> |
155 <h4>HgStatusMonitorThread._performMonitor</h4> |
124 <b>_performMonitor</b>(<i></i>) |
156 <b>_performMonitor</b>(<i></i>) |
|
157 |
125 <p> |
158 <p> |
126 Protected method implementing the monitoring action. |
159 Protected method implementing the monitoring action. |
127 </p><p> |
160 </p> |
|
161 <p> |
128 This method populates the statusList member variable |
162 This method populates the statusList member variable |
129 with a list of strings giving the status in the first column and the |
163 with a list of strings giving the status in the first column and the |
130 path relative to the project directory starting with the third column. |
164 path relative to the project directory starting with the third column. |
131 The allowed status flags are: |
165 The allowed status flags are: |
132 <ul> |
166 <ul> |