|
Eclipse Platform 2.1 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Interface for listening to part lifecycle events.
This is a replacement for IPartListener.
This interface may be implemented by clients.
IPartService.addPartListener(IPartListener2)| Method Summary | |
void |
partActivated(IWorkbenchPartReference ref)
Notifies this listener that the given part has been activated. |
void |
partBroughtToTop(IWorkbenchPartReference ref)
Notifies this listener that the given part has been brought to the top. |
void |
partClosed(IWorkbenchPartReference ref)
Notifies this listener that the given part has been closed. |
void |
partDeactivated(IWorkbenchPartReference ref)
Notifies this listener that the given part has been deactivated. |
void |
partHidden(IWorkbenchPartReference ref)
Notifies this listener that the given part is hidden. |
void |
partInputChanged(IWorkbenchPartReference ref)
Notifies this listener that the given part input was changed. |
void |
partOpened(IWorkbenchPartReference ref)
Notifies this listener that the given part has been opened. |
void |
partVisible(IWorkbenchPartReference ref)
Notifies this listener that the given part is visible. |
| Method Detail |
public void partActivated(IWorkbenchPartReference ref)
IWorkbenchPage.activate(org.eclipse.ui.IWorkbenchPart)public void partBroughtToTop(IWorkbenchPartReference ref)
These events occur when an editor is brought to the top in the editor area,
or when a view is brought to the top in a page book with multiple views.
They are normally only sent when a part is brought to the top
programmatically (via IPerspective.bringToTop). When a part is
activated by the user clicking on it, only partActivated is sent.
IWorkbenchPage.bringToTop(org.eclipse.ui.IWorkbenchPart)public void partClosed(IWorkbenchPartReference ref)
IWorkbenchPage.hideView(org.eclipse.ui.IViewPart)public void partDeactivated(IWorkbenchPartReference ref)
IWorkbenchPage.activate(org.eclipse.ui.IWorkbenchPart)public void partOpened(IWorkbenchPartReference ref)
IWorkbenchPage.showView(java.lang.String)public void partHidden(IWorkbenchPartReference ref)
public void partVisible(IWorkbenchPartReference ref)
public void partInputChanged(IWorkbenchPartReference ref)
|
Eclipse Platform 2.1 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||