Package com.altova.automation.XMLSpy
Class ApplicationEventsDefaultHandler
java.lang.Object
com.altova.automation.XMLSpy.ApplicationEventsDefaultHandler
- All Implemented Interfaces:
COMDispatchEvent,ApplicationEvents
public class ApplicationEventsDefaultHandler extends java.lang.Object implements ApplicationEvents
-
Constructor Summary
Constructors Constructor Description ApplicationEventsDefaultHandler() -
Method Summary
Modifier and Type Method Description voidonBeforeOpenDocument(FileSelectionDlg io_ipDlg)method OnBeforeOpenDocumentvoidonBeforeOpenProject(FileSelectionDlg io_ipDlg)method OnBeforeOpenProjectvoidonDocumentOpened(Document i_ipDocument)method OnDocumentOpenedJVariantonEvent(int methodID, JVariant[] pDispParams)Distribute the event - call the appropriate handler with the converted COM parameters.voidonProjectOpened(SpyProject i_ipProject)method OnProjectOpened
-
Constructor Details
-
ApplicationEventsDefaultHandler
public ApplicationEventsDefaultHandler()
-
-
Method Details
-
onBeforeOpenProject
method OnBeforeOpenProject- Specified by:
onBeforeOpenProjectin interfaceApplicationEvents- Throws:
AutomationException
-
onProjectOpened
method OnProjectOpened- Specified by:
onProjectOpenedin interfaceApplicationEvents- Throws:
AutomationException
-
onBeforeOpenDocument
method OnBeforeOpenDocument- Specified by:
onBeforeOpenDocumentin interfaceApplicationEvents- Throws:
AutomationException
-
onDocumentOpened
method OnDocumentOpened- Specified by:
onDocumentOpenedin interfaceApplicationEvents- Throws:
AutomationException
-
onEvent
Distribute the event - call the appropriate handler with the converted COM parameters.- Specified by:
onEventin interfaceCOMDispatchEvent- Parameters:
methodID- ID of the event method as defined in the COM event interface.pDispParams- parameters to the event- Returns:
- result value of the event call
- Throws:
AutomationException
-