net.sourceforge.java.feednread.frontend
Class MainApplicationWindow.ShellHandler

java.lang.Object
  extended byorg.eclipse.swt.events.ShellAdapter
      extended bynet.sourceforge.java.feednread.frontend.MainApplicationWindow.ShellHandler
All Implemented Interfaces:
EventListener, ShellListener, SWTEventListener
Enclosing class:
MainApplicationWindow

private class MainApplicationWindow.ShellHandler
extends ShellAdapter

Handles ShellEvents to map the application's tray behaviour.

Author:
Sebastian Machhausen

Constructor Summary
private MainApplicationWindow.ShellHandler()
           
 
Method Summary
 void shellClosed(ShellEvent e)
           Sent when a Shell is closed.
 void shellIconified(ShellEvent e)
           Sent when a Shell is minimized.
 
Methods inherited from class org.eclipse.swt.events.ShellAdapter
shellActivated, shellDeactivated, shellDeiconified
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MainApplicationWindow.ShellHandler

private MainApplicationWindow.ShellHandler()
Method Detail

shellClosed

public void shellClosed(ShellEvent e)

Sent when a Shell is closed. Handles the application's tray behaviour if the enclosing Shell is about to be closed.

Parameters:
e - an event containing information about the close
See Also:
ConfigurationManager.SEND_TO_TRAY_ON_CLOSE_KEY

shellIconified

public void shellIconified(ShellEvent e)

Sent when a Shell is minimized. Handles the application's tray behaviour if the enclosing Shell is iconified.

Parameters:
e - an event containing information about the minimization
See Also:
ConfigurationManager.SEND_TO_TRAY_ON_MINIMIZE_KEY