| Trees | Indices | Help |
|---|
|
|
object --+
|
ViewManager
Stores a root accessible representing the active view when an event occurs indicating that the view may have changed. Two view roots must be tracked by this object. The first, the raw view, is needed by Adapters which will handle raw view change events. The second, the AccessEngine view, is needed by the rest of the system when processing AEEvents.
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
| boolean |
|
||
|
|||
| POR |
|
||
| boolean |
|
||
| POR |
|
||
|
|||
| boolean |
|
||
|
|||
|
|||
|
Inherited from |
|||
|
|||
| POR |
ae_view Root POR represnting the active view according to the AEEvent stream. |
||
| EventManager |
event_manager Reference to the EventManager |
||
| boolean |
raw_active Is there an raw active view? |
||
| pyLinAcc.Accessible |
raw_view Root accessible representing the active view according to the raw event stream. |
||
| TierManager |
tier_manager Reference to the TierManager for clearing dead Tier objects on a set interval |
||
| dictionary |
wanted_events Lookup table for what AEEvents are desired by any Task in any Perk in all Tiers. |
||
|
|||
|
Inherited from |
|||
|
|||
Initializes instance variables that will store a reference to the EventManager and active view to None.
|
Stores a reference to the EventManager. Registers with the EventManager using the EventManager.EventManager.addClient to receive raw events related to the active view. Also registers for raw events that may indicate that this ViewManager needs to manage a new view. Called by AccessEngine at startup.
|
Walks through the top level applications on the first desktop. Calls TierManager.TierManager.createTier for application encountered. If the TierManager determines that an app has at least one Perk written for that application, creates a Tier for the application and loads all of its Perks. If the Tier is created, this method sends AEEvent.ViewChange messages to the Tier with a flag of AEConstants.Event.EVENT_VIEW_STARTUP such that Perks in the Tier may initialize themselves and begin any desired background processes. |
Sets or unsets an interest in a particular kind of AEEvent. This information is used to register or unregister for raw events on-demand as an optimization. |
Gets the whether some view is active or not.
|
Sets the whether some view is active or not.
|
Gets the root POR of the active view according to the raw event stream. This is the view known to Adapters. See Also: setRawView |
Stores the root POR of the active view according to the raw event stream. This is the view known to Adapters.
See Also: getRawView |
Gets the root POR of the active view according to the AEEvent stream. This is the view known to Perks.
See Also: setAEView |
Stores the root POR of the active view according to the AEEvent stream. This is the view known to Adapters.
See Also: getAEView |
Collects all application names and IDs and gives them to the TierManager so it can free any Tiers that are no longer associated with running applications.
|
Based on a raw pyLinAcc.Event.Event posts AEEvents to the active Tier through the EventManager.
|
Creates a AEEvent.ViewChange event in response to a window activation or deactivation. Also responds to create or destroy events from floating windows. Called in response to any of the raw events returned by AEInterfaces.IEventHandler.getAEViewEvents and registered with the EventManager in the ViewManager.init method when this object was created.
|
|
|||
wanted_eventsLookup table for what AEEvents are desired by any Task in any Perk in all Tiers. Used to optimize event dispatch and processing. Unwanted events are ignored.
|
| Trees | Indices | Help |
|---|
| Generated by Epydoc 3.0beta1 on Mon Jun 4 15:33:26 2007 | http://epydoc.sourceforge.net |