Class EventManagerObserver

The abstract class definition for all observers.

Build Information

Author Fred McGuirk
Date Nov 16, 2006
Outputfile EventManagerObserver.pvc
Forcelinenumbers false

Constructor

This is an abstract class for all event manager observers.

ParameterDescription
init_pvxConstants A reference to [ProvideX Class:pvxConstants] object
initViewManager A reference to [Java Class:views/UIManager] object

Properties

No Properties

Methods

FUNCTION getDescription$()

This method is used to describe the purpose of this observer. The text will be placed on the observers preference page to describe the purpose of this observer. This description should be limited to no more than 80 characters.

FUNCTION getEventNotificationFlag()

Get the flag that will be used to trigger the 'update()' method during execution of the built-in events for the plug-in.


If this observer is not a Post-process observer, the return value of this method should be set to one of the following values:

ValueDescription
_pvxConstants'_ideNone Do not register as an observer
_pvxConstants'_idePreProcess Register as a Pre-Process observer
_pvxConstants'_idePrePostProcess Register as both a Pre-Process and Post-Process observer.
_pvxConstants'_idePostProcess Register as a Post-Process observer
FUNCTION init()

Initialize this observer.

FUNCTION update(state)

The logic to be executed when the observer is triggered during the normal event process in the ProvideX event manager. This logic will check the major and minor codes to determine the current event and then decide what action is to be performed.


ParameterDescription
state A reference to an object of class [ProvideX Class:PvxState]