at.spardat.xma.event.swt
Class XMASelectionAdapter

java.lang.Object
  extended byat.spardat.xma.event.swt.XMASelectionAdapter
All Implemented Interfaces:
java.util.EventListener, org.eclipse.swt.events.SelectionListener, org.eclipse.swt.internal.SWTEventListener

public class XMASelectionAdapter
extends java.lang.Object
implements org.eclipse.swt.events.SelectionListener

Event save adapter for selection listeners on SWT-widgets not supported by GuiDesigner, like SWT-Menues, Toolbar-Items, etc. It wraps event-disabling code of XMA around your event handling code. (see package description)


Constructor Summary
XMASelectionAdapter(PageClient page)
          Constructor for this event adapter.
 
Method Summary
 void widgetDefaultSelected(org.eclipse.swt.events.SelectionEvent event)
          The method called by SWT whenever the corresponding event happends.
 void widgetDefaultSelectedImpl(org.eclipse.swt.events.SelectionEvent event)
          This method is called every time the corresponding widget is doubleclicked.
 void widgetSelected(org.eclipse.swt.events.SelectionEvent event)
          The method called by SWT whenever the corresponding event happends.
 void widgetSelectedImpl(org.eclipse.swt.events.SelectionEvent event)
          This method is called every time the corresponding widget is selected.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMASelectionAdapter

public XMASelectionAdapter(PageClient page)
Constructor for this event adapter.

Parameters:
page - The page containing the widget on which you want to listen for events.
Method Detail

widgetSelectedImpl

public void widgetSelectedImpl(org.eclipse.swt.events.SelectionEvent event)
This method is called every time the corresponding widget is selected. Overload this method and place your envent handling code here.

Parameters:
event - The event send by SWT.

widgetSelected

public final void widgetSelected(org.eclipse.swt.events.SelectionEvent event)
The method called by SWT whenever the corresponding event happends. To not overload this method, overload widgetSelectedImpl(SelectionEvent) instead.

Specified by:
widgetSelected in interface org.eclipse.swt.events.SelectionListener
Parameters:
event - The event send by SWT.

widgetDefaultSelectedImpl

public void widgetDefaultSelectedImpl(org.eclipse.swt.events.SelectionEvent event)
This method is called every time the corresponding widget is doubleclicked. Overload this method and place your envent handling code here.

Parameters:
event - The event send by SWT.

widgetDefaultSelected

public final void widgetDefaultSelected(org.eclipse.swt.events.SelectionEvent event)
The method called by SWT whenever the corresponding event happends. To not overload this method, overload widgetDefaultSelectedImpl(SelectionEvent) instead.

Specified by:
widgetDefaultSelected in interface org.eclipse.swt.events.SelectionListener
Parameters:
event - The event send by SWT.