Package at.spardat.xma.event.swt

This package contains event save adapters for direct SWT-event listeners.

See:
          Description

Class Summary
XMAFocusAdapter Event save adapter for focus listeners on SWT-widgets.
XMAKeyAdapter Event save adapter for key listeners on SWT-widgets not supported by GuiDesigner, like composites, shell, etc.
XMAMouseAdapter Event save adapter for mouse listeners on SWT-widgets.
XMASelectionAdapter Event save adapter for selection listeners on SWT-widgets not supported by GuiDesigner, like SWT-Menues, Toolbar-Items, etc.
 

Package at.spardat.xma.event.swt Description

This package contains event save adapters for direct SWT-event listeners.

In XMA during SWT-event-handling the computation of new SWT-events caused directly or indirectly by the event handling code is disabled. SWT-events caused by event handling code are ignored. This behavior of XMA is done by XMA-code wraped around the event handling code of the XMA application.

If you have to use listeners directly on SWT-widgets, use the adapters in this package to wrap the event-desabling code of XMA around your event handling code.

Additionally the adapters in this package catch all Exceptions thrown directly or indirectly by your event-handling code, log them on client side and show them to the user in a message box using PageClient.showException().