src/eric7/Toolbox/SingleApplication.py

branch
eric7
changeset 10069
435cc5875135
parent 9653
e67609152c5e
child 10303
ee1aadab1215
equal deleted inserted replaced
10068:7febcdccb2a1 10069:435cc5875135
113 113
114 @param command command sent by the client 114 @param command command sent by the client
115 @type str 115 @type str
116 @param arguments list of command arguments 116 @param arguments list of command arguments
117 @type list of str 117 @type list of str
118 @exception RuntimeError raised to indicate that this method must be 118 @exception NotImplementedError raised to indicate that this method must be
119 implemented by a subclass 119 implemented by a subclass
120 """ 120 """
121 raise RuntimeError("'handleCommand' must be overridden") 121 raise NotImplementedError("'handleCommand' must be overridden")
122 122
123 123
124 class SingleApplicationClient: 124 class SingleApplicationClient:
125 """ 125 """
126 Class implementing the single application client base class. 126 Class implementing the single application client base class.
171 Public method to process the command line args passed to the UI. 171 Public method to process the command line args passed to the UI.
172 172
173 <b>Note</b>: This method must be overridden by subclasses. 173 <b>Note</b>: This method must be overridden by subclasses.
174 174
175 @param args command line args (list of strings) 175 @param args command line args (list of strings)
176 @exception RuntimeError raised to indicate that this method must be 176 @exception NotImplementedError raised to indicate that this method must be
177 implemented by a subclass 177 implemented by a subclass
178 """ 178 """
179 raise RuntimeError("'processArgs' must be overridden") 179 raise NotImplementedError("'processArgs' must be overridden")
180 180
181 def sendCommand(self, command, arguments): 181 def sendCommand(self, command, arguments):
182 """ 182 """
183 Public method to send the command to the application server. 183 Public method to send the command to the application server.
184 184

eric ide

mercurial