public interface IPerspectiveListener2 extends IPerspectiveListener
IPerspectiveListenerwhich adds support for listening to part-specific perspective lifecycle events. For example, this allows a perspective listener to determine which view is being hidden during a
This interface may be implemented by clients.
|Modifier and Type||Method and Description|
Notifies this listener that a part in the given page's perspective has changed in some way (for example, view show/hide, editor open/close, etc).
void perspectiveChanged(IWorkbenchPage page, IPerspectiveDescriptor perspective, IWorkbenchPartReference partRef, String changeId)
page- the workbench page containing the perspective
perspective- the descriptor for the changed perspective
partRef- the reference to the affected part
changeId- one of the
CHANGE_*constants on IWorkbenchPage
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.