|
Eclipse Platform 2.1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface for listening to part lifecycle events.
This interface may be implemented by clients.
IPartService.addPartListener(org.eclipse.ui.IPartListener)
Method Summary | |
void |
partActivated(IWorkbenchPart part)
Notifies this listener that the given part has been activated. |
void |
partBroughtToTop(IWorkbenchPart part)
Notifies this listener that the given part has been brought to the top. |
void |
partClosed(IWorkbenchPart part)
Notifies this listener that the given part has been closed. |
void |
partDeactivated(IWorkbenchPart part)
Notifies this listener that the given part has been deactivated. |
void |
partOpened(IWorkbenchPart part)
Notifies this listener that the given part has been opened. |
Method Detail |
public void partActivated(IWorkbenchPart part)
part
- the part that was activatedIWorkbenchPage.activate(org.eclipse.ui.IWorkbenchPart)
public void partBroughtToTop(IWorkbenchPart part)
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.
part
- the part that was surfacedIWorkbenchPage.bringToTop(org.eclipse.ui.IWorkbenchPart)
public void partClosed(IWorkbenchPart part)
part
- the part that was closedIWorkbenchPage.hideView(org.eclipse.ui.IViewPart)
public void partDeactivated(IWorkbenchPart part)
part
- the part that was deactivatedIWorkbenchPage.activate(org.eclipse.ui.IWorkbenchPart)
public void partOpened(IWorkbenchPart part)
part
- the part that was openedIWorkbenchPage.showView(java.lang.String)
|
Eclipse Platform 2.1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |