This is an example of a listener for an external action. |
Author | Jarett Smith |
Date | Feb 20, 2007 |
Outputfile | XMItoPvxAction.pvc |
Forcelinenumbers | false |
No Properties |
FUNCTION actionPerformed(inActionEventID) This method will be called when the action is triggered from the contributed tools menu.
| ||||||||||
| ||||||||||
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 and should be limited to 80 characters (at most). | ||||||||||
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: | ||||||||||
| ||||||||||
FUNCTION init() Register this class as an event listener and add it to the list of contributed tools under the ProvideX menu. | ||||||||||
FUNCTION update(initPvxState) The logic to be executed when the observer is triggered. This logic must check the major and minor codes to determine the current event and then decide what action is to be performed.
| ||||||||||
|
![]() |