public interface IPerspectiveListener4 extends IPerspectiveListener3
IPerspectiveListener which adds support
for listening to perspective pre-deactivate events.
This interface may be implemented by clients.
IPageService.addPerspectiveListener(IPerspectiveListener),
PerspectiveAdapter| Modifier and Type | Method and Description |
|---|---|
void |
perspectivePreDeactivate(IWorkbenchPage page,
IPerspectiveDescriptor perspective)
Notifies this listener that a perspective in the given page is about to
be deactivated.
|
perspectiveClosed, perspectiveDeactivated, perspectiveOpened, perspectiveSavedAsperspectiveChangedperspectiveActivated, perspectiveChangedvoid 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 - the page containing the deactivated perspectiveperspective - the perspective descriptor that was deactivatedIWorkbenchPage.setPerspective(IPerspectiveDescriptor)Guidelines for using Eclipse APIs. Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.