Documentation/Source/eric4.E4Gui.E4SingleApplication.html

changeset 3
0d9daebf5b8c
equal deleted inserted replaced
2:bc6196164237 3:0d9daebf5b8c
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>eric4.E4Gui.E4SingleApplication</title>
6 <style>
7 body {
8 background:white;
9 margin: 0em 1em 10em 1em;
10 color: black;
11 }
12
13 h1 { color: white; background: #4FA4FF; }
14 h2 { color: white; background: #4FA4FF; }
15 h3 { color: white; background: #00557F; }
16 h4 { color: white; background: #00557F; }
17
18 a { color: #AA5500; }
19
20 </style>
21 </head>
22 <body><a NAME="top" ID="top"></a>
23 <h1>eric4.E4Gui.E4SingleApplication</h1>
24 <p>
25 Module implementing the single application server and client.
26 </p>
27 <h3>Global Attributes</h3>
28 <table>
29 <tr><td>SAArguments</td></tr><tr><td>SAFile</td></tr><tr><td>SAOpenFile</td></tr><tr><td>SAOpenProject</td></tr>
30 </table>
31 <h3>Classes</h3>
32 <table>
33 <tr>
34 <td><a href="#E4SingleApplicationClient">E4SingleApplicationClient</a></td>
35 <td>Class implementing the single application client of the IDE.</td>
36 </tr><tr>
37 <td><a href="#E4SingleApplicationServer">E4SingleApplicationServer</a></td>
38 <td>Class implementing the single application server embedded within the IDE.</td>
39 </tr>
40 </table>
41 <h3>Functions</h3>
42 <table>
43 <tr><td>None</td></tr>
44 </table>
45 <hr /><hr />
46 <a NAME="E4SingleApplicationClient" ID="E4SingleApplicationClient"></a>
47 <h2>E4SingleApplicationClient</h2>
48 <p>
49 Class implementing the single application client of the IDE.
50 </p>
51 <h3>Derived from</h3>
52 SingleApplicationClient
53 <h3>Class Attributes</h3>
54 <table>
55 <tr><td>None</td></tr>
56 </table>
57 <h3>Methods</h3>
58 <table>
59 <tr>
60 <td><a href="#E4SingleApplicationClient.__init__">E4SingleApplicationClient</a></td>
61 <td>Constructor</td>
62 </tr><tr>
63 <td><a href="#E4SingleApplicationClient.__openFile">__openFile</a></td>
64 <td>Private method to open a file in the application server.</td>
65 </tr><tr>
66 <td><a href="#E4SingleApplicationClient.__openProject">__openProject</a></td>
67 <td>Private method to open a project in the application server.</td>
68 </tr><tr>
69 <td><a href="#E4SingleApplicationClient.__sendArguments">__sendArguments</a></td>
70 <td>Private method to set the command arguments in the application server.</td>
71 </tr><tr>
72 <td><a href="#E4SingleApplicationClient.processArgs">processArgs</a></td>
73 <td>Public method to process the command line args passed to the UI.</td>
74 </tr>
75 </table>
76 <a NAME="E4SingleApplicationClient.__init__" ID="E4SingleApplicationClient.__init__"></a>
77 <h4>E4SingleApplicationClient (Constructor)</h4>
78 <b>E4SingleApplicationClient</b>(<i></i>)
79 <p>
80 Constructor
81 </p><a NAME="E4SingleApplicationClient.__openFile" ID="E4SingleApplicationClient.__openFile"></a>
82 <h4>E4SingleApplicationClient.__openFile</h4>
83 <b>__openFile</b>(<i>fname</i>)
84 <p>
85 Private method to open a file in the application server.
86 </p><dl>
87 <dt><i>fname</i></dt>
88 <dd>
89 name of file to be opened (string)
90 </dd>
91 </dl><a NAME="E4SingleApplicationClient.__openProject" ID="E4SingleApplicationClient.__openProject"></a>
92 <h4>E4SingleApplicationClient.__openProject</h4>
93 <b>__openProject</b>(<i>pfname</i>)
94 <p>
95 Private method to open a project in the application server.
96 </p><dl>
97 <dt><i>pfname</i></dt>
98 <dd>
99 name of the projectfile to be opened (string)
100 </dd>
101 </dl><a NAME="E4SingleApplicationClient.__sendArguments" ID="E4SingleApplicationClient.__sendArguments"></a>
102 <h4>E4SingleApplicationClient.__sendArguments</h4>
103 <b>__sendArguments</b>(<i>argsStr</i>)
104 <p>
105 Private method to set the command arguments in the application server.
106 </p><dl>
107 <dt><i>argsStr</i></dt>
108 <dd>
109 space delimited list of command args (string)
110 </dd>
111 </dl><a NAME="E4SingleApplicationClient.processArgs" ID="E4SingleApplicationClient.processArgs"></a>
112 <h4>E4SingleApplicationClient.processArgs</h4>
113 <b>processArgs</b>(<i>args</i>)
114 <p>
115 Public method to process the command line args passed to the UI.
116 </p><dl>
117 <dt><i>args</i></dt>
118 <dd>
119 list of files to open
120 </dd>
121 </dl>
122 <div align="right"><a href="#top">Up</a></div>
123 <hr /><hr />
124 <a NAME="E4SingleApplicationServer" ID="E4SingleApplicationServer"></a>
125 <h2>E4SingleApplicationServer</h2>
126 <p>
127 Class implementing the single application server embedded within the IDE.
128 </p>
129 <h3>Derived from</h3>
130 SingleApplicationServer
131 <h3>Class Attributes</h3>
132 <table>
133 <tr><td>None</td></tr>
134 </table>
135 <h3>Methods</h3>
136 <table>
137 <tr>
138 <td><a href="#E4SingleApplicationServer.__init__">E4SingleApplicationServer</a></td>
139 <td>Constructor</td>
140 </tr><tr>
141 <td><a href="#E4SingleApplicationServer.__saArguments">__saArguments</a></td>
142 <td>Private method used to handle the "Arguments" command.</td>
143 </tr><tr>
144 <td><a href="#E4SingleApplicationServer.__saOpenFile">__saOpenFile</a></td>
145 <td>Private method used to handle the "Open File" command.</td>
146 </tr><tr>
147 <td><a href="#E4SingleApplicationServer.__saOpenProject">__saOpenProject</a></td>
148 <td>Private method used to handle the "Open Project" command.</td>
149 </tr><tr>
150 <td><a href="#E4SingleApplicationServer.handleCommand">handleCommand</a></td>
151 <td>Public slot to handle the command sent by the client.</td>
152 </tr>
153 </table>
154 <a NAME="E4SingleApplicationServer.__init__" ID="E4SingleApplicationServer.__init__"></a>
155 <h4>E4SingleApplicationServer (Constructor)</h4>
156 <b>E4SingleApplicationServer</b>(<i></i>)
157 <p>
158 Constructor
159 </p><a NAME="E4SingleApplicationServer.__saArguments" ID="E4SingleApplicationServer.__saArguments"></a>
160 <h4>E4SingleApplicationServer.__saArguments</h4>
161 <b>__saArguments</b>(<i>argsStr</i>)
162 <p>
163 Private method used to handle the "Arguments" command.
164 </p><dl>
165 <dt><i>argsStr</i></dt>
166 <dd>
167 space delimited list of command args(string)
168 </dd>
169 </dl><a NAME="E4SingleApplicationServer.__saOpenFile" ID="E4SingleApplicationServer.__saOpenFile"></a>
170 <h4>E4SingleApplicationServer.__saOpenFile</h4>
171 <b>__saOpenFile</b>(<i>fname</i>)
172 <p>
173 Private method used to handle the "Open File" command.
174 </p><dl>
175 <dt><i>fname</i></dt>
176 <dd>
177 filename to be opened (string)
178 </dd>
179 </dl><a NAME="E4SingleApplicationServer.__saOpenProject" ID="E4SingleApplicationServer.__saOpenProject"></a>
180 <h4>E4SingleApplicationServer.__saOpenProject</h4>
181 <b>__saOpenProject</b>(<i>pfname</i>)
182 <p>
183 Private method used to handle the "Open Project" command.
184 </p><dl>
185 <dt><i>pfname</i></dt>
186 <dd>
187 filename of the project to be opened (string)
188 </dd>
189 </dl><a NAME="E4SingleApplicationServer.handleCommand" ID="E4SingleApplicationServer.handleCommand"></a>
190 <h4>E4SingleApplicationServer.handleCommand</h4>
191 <b>handleCommand</b>(<i>cmd, params</i>)
192 <p>
193 Public slot to handle the command sent by the client.
194 </p><dl>
195 <dt><i>cmd</i></dt>
196 <dd>
197 commandstring (string)
198 </dd><dt><i>params</i></dt>
199 <dd>
200 parameterstring (string)
201 </dd>
202 </dl>
203 <div align="right"><a href="#top">Up</a></div>
204 <hr />
205 </body></html>

eric ide

mercurial