public interface IPerspectiveListener4
Extension interface to IPerspectiveListener which adds support for listening to perspective pre-deactivate events.
IPerspectiveListener
This interface may be implemented by clients.
IPageService.addPerspectiveListener(IPerspectiveListener)
PerspectiveAdapter
void
perspectivePreDeactivate ( IWorkbenchPage page, IPerspectiveDescriptor perspective)
perspectiveClosed, perspectiveDeactivated, perspectiveOpened, perspectiveSavedAs
perspectiveChanged
perspectiveActivated, perspectiveChanged
void perspectivePreDeactivate( IWorkbenchPage page, IPerspectiveDescriptor perspective)
Notifies this listener that a perspective in the given page is about to be deactivated.
Note: This does not have the ability to veto a perspective deactivation.
page
perspective
IWorkbenchPage.setPerspective(IPerspectiveDescriptor)
Guidelines for using Eclipse APIs.
Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.