editorListener.listeners
Class WindowDispatch

java.lang.Object
  extended by editorListener.listeners.Dispatch
      extended by editorListener.listeners.WindowDispatch
All Implemented Interfaces:
org.eclipse.ui.IWindowListener

public class WindowDispatch
extends Dispatch
implements org.eclipse.ui.IWindowListener

This singleton class listens to changes in the current instance of Eclipse's window management. Primarily uses close events. Activation/deactivation (focus) not used currently.

Version:
4/8/2009
Author:
Matthew Harward

Method Summary
static org.eclipse.ui.IWindowListener getInstance()
           
 void windowActivated(org.eclipse.ui.IWorkbenchWindow window)
           
 void windowClosed(org.eclipse.ui.IWorkbenchWindow window)
           
 void windowDeactivated(org.eclipse.ui.IWorkbenchWindow window)
           
 void windowOpened(org.eclipse.ui.IWorkbenchWindow window)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static org.eclipse.ui.IWindowListener getInstance()

windowActivated

public void windowActivated(org.eclipse.ui.IWorkbenchWindow window)
Specified by:
windowActivated in interface org.eclipse.ui.IWindowListener

windowClosed

public void windowClosed(org.eclipse.ui.IWorkbenchWindow window)
Specified by:
windowClosed in interface org.eclipse.ui.IWindowListener

windowDeactivated

public void windowDeactivated(org.eclipse.ui.IWorkbenchWindow window)
Specified by:
windowDeactivated in interface org.eclipse.ui.IWindowListener

windowOpened

public void windowOpened(org.eclipse.ui.IWorkbenchWindow window)
Specified by:
windowOpened in interface org.eclipse.ui.IWindowListener