235 ! ! |
235 ! ! |
236 |
236 |
237 !CodeViewService methodsFor:'event handling'! |
237 !CodeViewService methodsFor:'event handling'! |
238 |
238 |
239 buttonMotion: button x:x y:y in: view |
239 buttonMotion: button x:x y:y in: view |
240 |
|
241 "Handles an event in given view (a subview of codeView). |
240 "Handles an event in given view (a subview of codeView). |
242 If the method returns true, it has eaten the event and it will not be processed |
241 If the method returns true, it has eaten the event and it will not be processed |
243 by the view." |
242 by the view." |
244 |
243 |
245 ^false |
244 ^false |
248 "Modified: / 17-06-2011 / 13:05:58 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
247 "Modified: / 17-06-2011 / 13:05:58 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
249 "Modified (comment): / 18-08-2011 / 15:57:40 / cg" |
248 "Modified (comment): / 18-08-2011 / 15:57:40 / cg" |
250 ! |
249 ! |
251 |
250 |
252 buttonPress: button x:x y:y in: view |
251 buttonPress: button x:x y:y in: view |
253 |
|
254 "Handles an event in given view (a subview of codeView). |
252 "Handles an event in given view (a subview of codeView). |
255 If the method returns true, it has eaten the event and it will not be processed |
253 If the method returns true, it has eaten the event and it will not be processed |
256 by the view." |
254 by the view." |
257 |
255 |
258 ^false |
256 ^false |
260 "Created: / 06-03-2010 / 20:36:54 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
258 "Created: / 06-03-2010 / 20:36:54 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
261 "Modified: / 17-06-2011 / 13:06:09 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
259 "Modified: / 17-06-2011 / 13:06:09 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
262 "Modified (comment): / 18-08-2011 / 15:57:36 / cg" |
260 "Modified (comment): / 18-08-2011 / 15:57:36 / cg" |
263 ! |
261 ! |
264 |
262 |
265 keyPress:key x:x y:y in: view |
263 buttonRelease: button x:x y:y in: view |
266 |
|
267 "Handles an event in given view (a subview of codeView). |
264 "Handles an event in given view (a subview of codeView). |
268 If the method returns true, it has eaten the event and it will not be processed |
265 If the method returns true, it has eaten the event and it will not be processed |
269 by the view." |
266 by the view." |
270 |
267 |
271 ^false |
268 ^false |
|
269 ! |
|
270 |
|
271 keyPress:key x:x y:y in: view |
|
272 "Handles an event in given view (a subview of codeView). |
|
273 If the method returns true, it has eaten the event and it will not be processed |
|
274 by the view." |
|
275 |
|
276 ^false |
272 |
277 |
273 "Created: / 06-03-2010 / 20:34:44 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
278 "Created: / 06-03-2010 / 20:34:44 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
274 "Modified: / 17-06-2011 / 13:06:24 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
279 "Modified: / 17-06-2011 / 13:06:24 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
275 "Modified (comment): / 18-08-2011 / 15:57:28 / cg" |
280 "Modified (comment): / 18-08-2011 / 15:57:28 / cg" |
276 ! |
281 ! |
277 |
282 |
278 keyRelease: key x: x y: y in: view |
283 keyRelease: key x: x y: y in: view |
279 |
|
280 "Handles an event in given view (a subview of codeView). |
284 "Handles an event in given view (a subview of codeView). |
281 If the method returns true, it has eaten the event and it will not be processed |
285 If the method returns true, it has eaten the event and it will not be processed |
282 by the view." |
286 by the view." |
283 |
287 |
284 ^false |
288 ^false |