IPerspectiveListener
This interface may be implemented by clients.
8586878889909192939495969798
public void firePerspectivePreDeactivate(final IWorkbenchPage page, final IPerspectiveDescriptor perspective) { Object[] array = getListeners(); for (int nX = 0; nX < array.length; nX++) { if (array[nX] instanceof IPerspectiveListener4) { final IPerspectiveListener4 l4 = (IPerspectiveListener4) array[nX]; fireEvent(new SafeRunnable() { public void run() { l4.perspectivePreDeactivate(page, perspective); } }, l4, perspective, "pre-deactivate::"); //$NON-NLS-1$ } } }