|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IPerspectiveListener
Interface for listening to perspective lifecycle events.
This interface may be implemented by clients.
IPageService.addPerspectiveListener(IPerspectiveListener)
,
PerspectiveAdapter
Method Summary | |
---|---|
void |
perspectiveActivated(IWorkbenchPage page,
IPerspectiveDescriptor perspective)
Notifies this listener that a perspective in the given page has been activated. |
void |
perspectiveChanged(IWorkbenchPage page,
IPerspectiveDescriptor perspective,
java.lang.String changeId)
Notifies this listener that a perspective has changed in some way (for example, editor area hidden, perspective reset, view show/hide, editor open/close, etc). |
Method Detail |
---|
void perspectiveActivated(IWorkbenchPage page, IPerspectiveDescriptor perspective)
page
- the page containing the activated perspectiveperspective
- the perspective descriptor that was activatedIWorkbenchPage.setPerspective(org.eclipse.ui.IPerspectiveDescriptor)
void perspectiveChanged(IWorkbenchPage page, IPerspectiveDescriptor perspective, java.lang.String changeId)
page
- the page containing the affected perspectiveperspective
- the perspective descriptorchangeId
- one of the CHANGE_*
constants on IWorkbenchPage
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |