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)
Copyright (c) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.