eric6/Documentation/Source/eric6.E5Gui.E5SingleApplication.html

changeset 7273
391d6b7b1eff
parent 6942
2602857055c5
equal deleted inserted replaced
7272:1779dc278077 7273:391d6b7b1eff
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.E5Gui.E5SingleApplication</h1> 23 <h1>eric6.E5Gui.E5SingleApplication</h1>
24
23 <p> 25 <p>
24 Module implementing the single application server and client. 26 Module implementing the single application server and client.
25 </p> 27 </p>
26 <h3>Global Attributes</h3> 28 <h3>Global Attributes</h3>
29
27 <table> 30 <table>
28 <tr><td>SAArguments</td></tr><tr><td>SAFile</td></tr><tr><td>SAOpenFile</td></tr><tr><td>SAOpenMultiProject</td></tr><tr><td>SAOpenProject</td></tr> 31 <tr><td>SAArguments</td></tr><tr><td>SAFile</td></tr><tr><td>SAOpenFile</td></tr><tr><td>SAOpenMultiProject</td></tr><tr><td>SAOpenProject</td></tr>
29 </table> 32 </table>
30 <h3>Classes</h3> 33 <h3>Classes</h3>
31 <table> 34
35 <table>
36
32 <tr> 37 <tr>
33 <td><a href="#E5SingleApplicationClient">E5SingleApplicationClient</a></td> 38 <td><a href="#E5SingleApplicationClient">E5SingleApplicationClient</a></td>
34 <td>Class implementing the single application client of the IDE.</td> 39 <td>Class implementing the single application client of the IDE.</td>
35 </tr><tr> 40 </tr>
41 <tr>
36 <td><a href="#E5SingleApplicationServer">E5SingleApplicationServer</a></td> 42 <td><a href="#E5SingleApplicationServer">E5SingleApplicationServer</a></td>
37 <td>Class implementing the single application server embedded within the IDE.</td> 43 <td>Class implementing the single application server embedded within the IDE.</td>
38 </tr> 44 </tr>
39 </table> 45 </table>
40 <h3>Functions</h3> 46 <h3>Functions</h3>
41 <table> 47
42 <tr><td>None</td></tr> 48 <table>
43 </table> 49 <tr><td>None</td></tr>
44 <hr /><hr /> 50 </table>
51 <hr />
52 <hr />
45 <a NAME="E5SingleApplicationClient" ID="E5SingleApplicationClient"></a> 53 <a NAME="E5SingleApplicationClient" ID="E5SingleApplicationClient"></a>
46 <h2>E5SingleApplicationClient</h2> 54 <h2>E5SingleApplicationClient</h2>
55
47 <p> 56 <p>
48 Class implementing the single application client of the IDE. 57 Class implementing the single application client of the IDE.
49 </p> 58 </p>
50 <h3>Derived from</h3> 59 <h3>Derived from</h3>
51 SingleApplicationClient 60 SingleApplicationClient
52 <h3>Class Attributes</h3> 61 <h3>Class Attributes</h3>
62
53 <table> 63 <table>
54 <tr><td>None</td></tr> 64 <tr><td>None</td></tr>
55 </table> 65 </table>
56 <h3>Class Methods</h3> 66 <h3>Class Methods</h3>
67
57 <table> 68 <table>
58 <tr><td>None</td></tr> 69 <tr><td>None</td></tr>
59 </table> 70 </table>
60 <h3>Methods</h3> 71 <h3>Methods</h3>
61 <table> 72
73 <table>
74
62 <tr> 75 <tr>
63 <td><a href="#E5SingleApplicationClient.__init__">E5SingleApplicationClient</a></td> 76 <td><a href="#E5SingleApplicationClient.__init__">E5SingleApplicationClient</a></td>
64 <td>Constructor</td> 77 <td>Constructor</td>
65 </tr><tr> 78 </tr>
79 <tr>
66 <td><a href="#E5SingleApplicationClient.__openFile">__openFile</a></td> 80 <td><a href="#E5SingleApplicationClient.__openFile">__openFile</a></td>
67 <td>Private method to open a file in the application server.</td> 81 <td>Private method to open a file in the application server.</td>
68 </tr><tr> 82 </tr>
83 <tr>
69 <td><a href="#E5SingleApplicationClient.__openMultiProject">__openMultiProject</a></td> 84 <td><a href="#E5SingleApplicationClient.__openMultiProject">__openMultiProject</a></td>
70 <td>Private method to open a project in the application server.</td> 85 <td>Private method to open a project in the application server.</td>
71 </tr><tr> 86 </tr>
87 <tr>
72 <td><a href="#E5SingleApplicationClient.__openProject">__openProject</a></td> 88 <td><a href="#E5SingleApplicationClient.__openProject">__openProject</a></td>
73 <td>Private method to open a project in the application server.</td> 89 <td>Private method to open a project in the application server.</td>
74 </tr><tr> 90 </tr>
91 <tr>
75 <td><a href="#E5SingleApplicationClient.__sendArguments">__sendArguments</a></td> 92 <td><a href="#E5SingleApplicationClient.__sendArguments">__sendArguments</a></td>
76 <td>Private method to set the command arguments in the application server.</td> 93 <td>Private method to set the command arguments in the application server.</td>
77 </tr><tr> 94 </tr>
95 <tr>
78 <td><a href="#E5SingleApplicationClient.processArgs">processArgs</a></td> 96 <td><a href="#E5SingleApplicationClient.processArgs">processArgs</a></td>
79 <td>Public method to process the command line args passed to the UI.</td> 97 <td>Public method to process the command line args passed to the UI.</td>
80 </tr> 98 </tr>
81 </table> 99 </table>
82 <h3>Static Methods</h3> 100 <h3>Static Methods</h3>
83 <table> 101
84 <tr><td>None</td></tr> 102 <table>
85 </table> 103 <tr><td>None</td></tr>
104 </table>
105
86 <a NAME="E5SingleApplicationClient.__init__" ID="E5SingleApplicationClient.__init__"></a> 106 <a NAME="E5SingleApplicationClient.__init__" ID="E5SingleApplicationClient.__init__"></a>
87 <h4>E5SingleApplicationClient (Constructor)</h4> 107 <h4>E5SingleApplicationClient (Constructor)</h4>
88 <b>E5SingleApplicationClient</b>(<i></i>) 108 <b>E5SingleApplicationClient</b>(<i></i>)
109
89 <p> 110 <p>
90 Constructor 111 Constructor
91 </p><a NAME="E5SingleApplicationClient.__openFile" ID="E5SingleApplicationClient.__openFile"></a> 112 </p>
113 <a NAME="E5SingleApplicationClient.__openFile" ID="E5SingleApplicationClient.__openFile"></a>
92 <h4>E5SingleApplicationClient.__openFile</h4> 114 <h4>E5SingleApplicationClient.__openFile</h4>
93 <b>__openFile</b>(<i>fname</i>) 115 <b>__openFile</b>(<i>fname</i>)
116
94 <p> 117 <p>
95 Private method to open a file in the application server. 118 Private method to open a file in the application server.
96 </p><dl> 119 </p>
120 <dl>
121
97 <dt><i>fname</i></dt> 122 <dt><i>fname</i></dt>
98 <dd> 123 <dd>
99 name of file to be opened (string) 124 name of file to be opened (string)
100 </dd> 125 </dd>
101 </dl><a NAME="E5SingleApplicationClient.__openMultiProject" ID="E5SingleApplicationClient.__openMultiProject"></a> 126 </dl>
127 <a NAME="E5SingleApplicationClient.__openMultiProject" ID="E5SingleApplicationClient.__openMultiProject"></a>
102 <h4>E5SingleApplicationClient.__openMultiProject</h4> 128 <h4>E5SingleApplicationClient.__openMultiProject</h4>
103 <b>__openMultiProject</b>(<i>pfname</i>) 129 <b>__openMultiProject</b>(<i>pfname</i>)
130
104 <p> 131 <p>
105 Private method to open a project in the application server. 132 Private method to open a project in the application server.
106 </p><dl> 133 </p>
134 <dl>
135
107 <dt><i>pfname</i></dt> 136 <dt><i>pfname</i></dt>
108 <dd> 137 <dd>
109 name of the projectfile to be opened (string) 138 name of the projectfile to be opened (string)
110 </dd> 139 </dd>
111 </dl><a NAME="E5SingleApplicationClient.__openProject" ID="E5SingleApplicationClient.__openProject"></a> 140 </dl>
141 <a NAME="E5SingleApplicationClient.__openProject" ID="E5SingleApplicationClient.__openProject"></a>
112 <h4>E5SingleApplicationClient.__openProject</h4> 142 <h4>E5SingleApplicationClient.__openProject</h4>
113 <b>__openProject</b>(<i>pfname</i>) 143 <b>__openProject</b>(<i>pfname</i>)
144
114 <p> 145 <p>
115 Private method to open a project in the application server. 146 Private method to open a project in the application server.
116 </p><dl> 147 </p>
148 <dl>
149
117 <dt><i>pfname</i></dt> 150 <dt><i>pfname</i></dt>
118 <dd> 151 <dd>
119 name of the projectfile to be opened (string) 152 name of the projectfile to be opened (string)
120 </dd> 153 </dd>
121 </dl><a NAME="E5SingleApplicationClient.__sendArguments" ID="E5SingleApplicationClient.__sendArguments"></a> 154 </dl>
155 <a NAME="E5SingleApplicationClient.__sendArguments" ID="E5SingleApplicationClient.__sendArguments"></a>
122 <h4>E5SingleApplicationClient.__sendArguments</h4> 156 <h4>E5SingleApplicationClient.__sendArguments</h4>
123 <b>__sendArguments</b>(<i>argsStr</i>) 157 <b>__sendArguments</b>(<i>argsStr</i>)
158
124 <p> 159 <p>
125 Private method to set the command arguments in the application server. 160 Private method to set the command arguments in the application server.
126 </p><dl> 161 </p>
162 <dl>
163
127 <dt><i>argsStr</i></dt> 164 <dt><i>argsStr</i></dt>
128 <dd> 165 <dd>
129 space delimited list of command args (string) 166 space delimited list of command args (string)
130 </dd> 167 </dd>
131 </dl><a NAME="E5SingleApplicationClient.processArgs" ID="E5SingleApplicationClient.processArgs"></a> 168 </dl>
169 <a NAME="E5SingleApplicationClient.processArgs" ID="E5SingleApplicationClient.processArgs"></a>
132 <h4>E5SingleApplicationClient.processArgs</h4> 170 <h4>E5SingleApplicationClient.processArgs</h4>
133 <b>processArgs</b>(<i>args</i>) 171 <b>processArgs</b>(<i>args</i>)
172
134 <p> 173 <p>
135 Public method to process the command line args passed to the UI. 174 Public method to process the command line args passed to the UI.
136 </p><dl> 175 </p>
176 <dl>
177
137 <dt><i>args</i></dt> 178 <dt><i>args</i></dt>
138 <dd> 179 <dd>
139 list of files to open 180 list of files to open
140 </dd> 181 </dd>
141 </dl> 182 </dl>
142 <div align="right"><a href="#top">Up</a></div> 183 <div align="right"><a href="#top">Up</a></div>
143 <hr /><hr /> 184 <hr />
185 <hr />
144 <a NAME="E5SingleApplicationServer" ID="E5SingleApplicationServer"></a> 186 <a NAME="E5SingleApplicationServer" ID="E5SingleApplicationServer"></a>
145 <h2>E5SingleApplicationServer</h2> 187 <h2>E5SingleApplicationServer</h2>
188
146 <p> 189 <p>
147 Class implementing the single application server embedded within the IDE. 190 Class implementing the single application server embedded within the IDE.
148 </p> 191 </p>
149 <h3>Derived from</h3> 192 <h3>Derived from</h3>
150 SingleApplicationServer 193 SingleApplicationServer
151 <h3>Class Attributes</h3> 194 <h3>Class Attributes</h3>
195
152 <table> 196 <table>
153 <tr><td>None</td></tr> 197 <tr><td>None</td></tr>
154 </table> 198 </table>
155 <h3>Class Methods</h3> 199 <h3>Class Methods</h3>
200
156 <table> 201 <table>
157 <tr><td>None</td></tr> 202 <tr><td>None</td></tr>
158 </table> 203 </table>
159 <h3>Methods</h3> 204 <h3>Methods</h3>
160 <table> 205
206 <table>
207
161 <tr> 208 <tr>
162 <td><a href="#E5SingleApplicationServer.__init__">E5SingleApplicationServer</a></td> 209 <td><a href="#E5SingleApplicationServer.__init__">E5SingleApplicationServer</a></td>
163 <td>Constructor</td> 210 <td>Constructor</td>
164 </tr><tr> 211 </tr>
212 <tr>
165 <td><a href="#E5SingleApplicationServer.__saArguments">__saArguments</a></td> 213 <td><a href="#E5SingleApplicationServer.__saArguments">__saArguments</a></td>
166 <td>Private method used to handle the "Arguments" command.</td> 214 <td>Private method used to handle the "Arguments" command.</td>
167 </tr><tr> 215 </tr>
216 <tr>
168 <td><a href="#E5SingleApplicationServer.__saOpenFile">__saOpenFile</a></td> 217 <td><a href="#E5SingleApplicationServer.__saOpenFile">__saOpenFile</a></td>
169 <td>Private method used to handle the "Open File" command.</td> 218 <td>Private method used to handle the "Open File" command.</td>
170 </tr><tr> 219 </tr>
220 <tr>
171 <td><a href="#E5SingleApplicationServer.__saOpenMultiProject">__saOpenMultiProject</a></td> 221 <td><a href="#E5SingleApplicationServer.__saOpenMultiProject">__saOpenMultiProject</a></td>
172 <td>Private method used to handle the "Open Multi-Project" command.</td> 222 <td>Private method used to handle the "Open Multi-Project" command.</td>
173 </tr><tr> 223 </tr>
224 <tr>
174 <td><a href="#E5SingleApplicationServer.__saOpenProject">__saOpenProject</a></td> 225 <td><a href="#E5SingleApplicationServer.__saOpenProject">__saOpenProject</a></td>
175 <td>Private method used to handle the "Open Project" command.</td> 226 <td>Private method used to handle the "Open Project" command.</td>
176 </tr><tr> 227 </tr>
228 <tr>
177 <td><a href="#E5SingleApplicationServer.handleCommand">handleCommand</a></td> 229 <td><a href="#E5SingleApplicationServer.handleCommand">handleCommand</a></td>
178 <td>Public slot to handle the command sent by the client.</td> 230 <td>Public slot to handle the command sent by the client.</td>
179 </tr> 231 </tr>
180 </table> 232 </table>
181 <h3>Static Methods</h3> 233 <h3>Static Methods</h3>
182 <table> 234
183 <tr><td>None</td></tr> 235 <table>
184 </table> 236 <tr><td>None</td></tr>
237 </table>
238
185 <a NAME="E5SingleApplicationServer.__init__" ID="E5SingleApplicationServer.__init__"></a> 239 <a NAME="E5SingleApplicationServer.__init__" ID="E5SingleApplicationServer.__init__"></a>
186 <h4>E5SingleApplicationServer (Constructor)</h4> 240 <h4>E5SingleApplicationServer (Constructor)</h4>
187 <b>E5SingleApplicationServer</b>(<i></i>) 241 <b>E5SingleApplicationServer</b>(<i></i>)
242
188 <p> 243 <p>
189 Constructor 244 Constructor
190 </p><a NAME="E5SingleApplicationServer.__saArguments" ID="E5SingleApplicationServer.__saArguments"></a> 245 </p>
246 <a NAME="E5SingleApplicationServer.__saArguments" ID="E5SingleApplicationServer.__saArguments"></a>
191 <h4>E5SingleApplicationServer.__saArguments</h4> 247 <h4>E5SingleApplicationServer.__saArguments</h4>
192 <b>__saArguments</b>(<i>argsStr</i>) 248 <b>__saArguments</b>(<i>argsStr</i>)
249
193 <p> 250 <p>
194 Private method used to handle the "Arguments" command. 251 Private method used to handle the "Arguments" command.
195 </p><dl> 252 </p>
253 <dl>
254
196 <dt><i>argsStr</i></dt> 255 <dt><i>argsStr</i></dt>
197 <dd> 256 <dd>
198 space delimited list of command args(string) 257 space delimited list of command args(string)
199 </dd> 258 </dd>
200 </dl><a NAME="E5SingleApplicationServer.__saOpenFile" ID="E5SingleApplicationServer.__saOpenFile"></a> 259 </dl>
260 <a NAME="E5SingleApplicationServer.__saOpenFile" ID="E5SingleApplicationServer.__saOpenFile"></a>
201 <h4>E5SingleApplicationServer.__saOpenFile</h4> 261 <h4>E5SingleApplicationServer.__saOpenFile</h4>
202 <b>__saOpenFile</b>(<i>fname</i>) 262 <b>__saOpenFile</b>(<i>fname</i>)
263
203 <p> 264 <p>
204 Private method used to handle the "Open File" command. 265 Private method used to handle the "Open File" command.
205 </p><dl> 266 </p>
267 <dl>
268
206 <dt><i>fname</i></dt> 269 <dt><i>fname</i></dt>
207 <dd> 270 <dd>
208 filename to be opened (string) 271 filename to be opened (string)
209 </dd> 272 </dd>
210 </dl><a NAME="E5SingleApplicationServer.__saOpenMultiProject" ID="E5SingleApplicationServer.__saOpenMultiProject"></a> 273 </dl>
274 <a NAME="E5SingleApplicationServer.__saOpenMultiProject" ID="E5SingleApplicationServer.__saOpenMultiProject"></a>
211 <h4>E5SingleApplicationServer.__saOpenMultiProject</h4> 275 <h4>E5SingleApplicationServer.__saOpenMultiProject</h4>
212 <b>__saOpenMultiProject</b>(<i>pfname</i>) 276 <b>__saOpenMultiProject</b>(<i>pfname</i>)
277
213 <p> 278 <p>
214 Private method used to handle the "Open Multi-Project" command. 279 Private method used to handle the "Open Multi-Project" command.
215 </p><dl> 280 </p>
281 <dl>
282
216 <dt><i>pfname</i></dt> 283 <dt><i>pfname</i></dt>
217 <dd> 284 <dd>
218 filename of the multi project to be opened (string) 285 filename of the multi project to be opened (string)
219 </dd> 286 </dd>
220 </dl><a NAME="E5SingleApplicationServer.__saOpenProject" ID="E5SingleApplicationServer.__saOpenProject"></a> 287 </dl>
288 <a NAME="E5SingleApplicationServer.__saOpenProject" ID="E5SingleApplicationServer.__saOpenProject"></a>
221 <h4>E5SingleApplicationServer.__saOpenProject</h4> 289 <h4>E5SingleApplicationServer.__saOpenProject</h4>
222 <b>__saOpenProject</b>(<i>pfname</i>) 290 <b>__saOpenProject</b>(<i>pfname</i>)
291
223 <p> 292 <p>
224 Private method used to handle the "Open Project" command. 293 Private method used to handle the "Open Project" command.
225 </p><dl> 294 </p>
295 <dl>
296
226 <dt><i>pfname</i></dt> 297 <dt><i>pfname</i></dt>
227 <dd> 298 <dd>
228 filename of the project to be opened (string) 299 filename of the project to be opened (string)
229 </dd> 300 </dd>
230 </dl><a NAME="E5SingleApplicationServer.handleCommand" ID="E5SingleApplicationServer.handleCommand"></a> 301 </dl>
302 <a NAME="E5SingleApplicationServer.handleCommand" ID="E5SingleApplicationServer.handleCommand"></a>
231 <h4>E5SingleApplicationServer.handleCommand</h4> 303 <h4>E5SingleApplicationServer.handleCommand</h4>
232 <b>handleCommand</b>(<i>command, arguments</i>) 304 <b>handleCommand</b>(<i>command, arguments</i>)
305
233 <p> 306 <p>
234 Public slot to handle the command sent by the client. 307 Public slot to handle the command sent by the client.
235 </p><dl> 308 </p>
309 <dl>
310
236 <dt><i>command</i> (str)</dt> 311 <dt><i>command</i> (str)</dt>
237 <dd> 312 <dd>
238 command sent by the client 313 command sent by the client
239 </dd><dt><i>arguments</i> (list of str)</dt> 314 </dd>
315 <dt><i>arguments</i> (list of str)</dt>
240 <dd> 316 <dd>
241 list of command arguments 317 list of command arguments
242 </dd> 318 </dd>
243 </dl> 319 </dl>
244 <div align="right"><a href="#top">Up</a></div> 320 <div align="right"><a href="#top">Up</a></div>

eric ide

mercurial