|
Eclipse Platform Release 3.1 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Extension interface to IPerspectiveListener
which
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 CHANGE_VIEW_HIDE
event.
This interface may be implemented by clients.
IPageService.addPerspectiveListener(IPerspectiveListener)
,
PerspectiveAdapter
Method Summary | |
---|---|
void |
perspectiveChanged(IWorkbenchPage page,
IPerspectiveDescriptor perspective,
IWorkbenchPartReference partRef,
String changeId)
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). |
Methods inherited from interface org.eclipse.ui.IPerspectiveListener |
---|
perspectiveActivated, perspectiveChanged |
Method Detail |
public void perspectiveChanged(IWorkbenchPage page, IPerspectiveDescriptor perspective, IWorkbenchPartReference partRef, String changeId)
page
- the workbench page containing the perspectiveperspective
- the descriptor for the changed perspectivepartRef
- the reference to the affected partchangeId
- one of the CHANGE_*
constants on IWorkbenchPage
|
Eclipse Platform Release 3.1 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2000, 2005. All rights reserved.