|
Eclipse Platform 2.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface for listening to a perspective lifecycle events.
This interface may be implemented by clients.
IPageService.addPerspectiveListener(org.eclipse.ui.IPerspectiveListener)
Method Summary | |
void |
perspectiveActivated(IWorkbenchPage page,
IPerspectiveDescriptor perspective)
Notifies this listener that the given page's perspective has been activated. |
void |
perspectiveChanged(IWorkbenchPage page,
IPerspectiveDescriptor perspective,
String changeId)
Notifies this listener that the given page's perspective has change in some way (e.g. |
Method Detail |
public void perspectiveActivated(IWorkbenchPage page, IPerspectiveDescriptor perspective)
page
- the page whose perspective was activatedperspective
- the perspective descriptor that was activatedIWorkbenchPage.setPerspective(org.eclipse.ui.IPerspectiveDescriptor)
public void perspectiveChanged(IWorkbenchPage page, IPerspectiveDescriptor perspective, String changeId)
page
- the page whose perspective was resetperspective
- the perspective descriptorchangeId
- one of the CHANGE_*
constants on IWorkbenchPage
|
Eclipse Platform 2.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |