Package Task :: Module InputTask
[hide private]
[frames] | no frames]

Source Code for Module Task.InputTask

 1  ''' 
 2  Defines a L{Task} to execute when a L{AEEvent.InputGesture} occurs. 
 3   
 4  @author: Peter Parente 
 5  @organization: IBM Corporation 
 6  @copyright: Copyright (c) 2005, 2007 IBM Corporation 
 7  @license: The BSD License 
 8   
 9  All rights reserved. This program and the accompanying materials are made  
10  available under the terms of the BSD license which accompanies 
11  this distribution, and is available at 
12  U{http://www.opensource.org/licenses/bsd-license.php} 
13  ''' 
14  import Base 
15   
16 -class InputTask(Base.Task):
17 ''' 18 Executes when an input gesture occurs. Does nothing different than the 19 base class at present. 20 21 This class registers its name and whether it should be monitored by default 22 in an L{AEMonitor} using the L{Base.registerTaskType} function when this 23 module is first imported. The L{AEMonitor} can use this information to build 24 its menus. 25 ''' 26 Base.registerTaskType('InputTask', True)
27