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