public interface IWindowListener
This interface may be implemented by clients.
Modifier and Type | Method and Description |
---|---|
void |
windowActivated(IWorkbenchWindow window)
Notifies this listener that the given window has been activated.
|
void |
windowClosed(IWorkbenchWindow window)
Notifies this listener that the given window has been closed.
|
void |
windowDeactivated(IWorkbenchWindow window)
Notifies this listener that the given window has been deactivated.
|
void |
windowOpened(IWorkbenchWindow window)
Notifies this listener that the given window has been opened.
|
void windowActivated(IWorkbenchWindow window)
Note: This event is not fired if no perspective is open (the window is empty).
window
- the window that was activatedvoid windowDeactivated(IWorkbenchWindow window)
Note: This event is not fired if no perspective is open (the window is empty).
window
- the window that was activatedvoid windowClosed(IWorkbenchWindow window)
window
- the window that was closedIWorkbenchWindow.close()
void windowOpened(IWorkbenchWindow window)
window
- the window that was openedIWorkbench.openWorkbenchWindow(java.lang.String, org.eclipse.core.runtime.IAdaptable)
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.