|
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 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)
part
- the part that was activatedIWorkbenchPage.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.
part
- the part that was surfacedIWorkbenchPage.bringToTop(org.eclipse.ui.IWorkbenchPart)
public void partClosed(IWorkbenchPartReference ref)
part
- the part that was closedIWorkbenchPage.hideView(org.eclipse.ui.IViewPart)
public void partDeactivated(IWorkbenchPartReference ref)
part
- the part that was deactivatedIWorkbenchPage.activate(org.eclipse.ui.IWorkbenchPart)
public void partOpened(IWorkbenchPartReference ref)
part
- the part that was openedIWorkbenchPage.showView(java.lang.String)
public void partHidden(IWorkbenchPartReference ref)
part
- the part that is hiddenpublic void partVisible(IWorkbenchPartReference ref)
part
- the part that is visiblepublic void partInputChanged(IWorkbenchPartReference ref)
part
- the part that is visible
|
Eclipse Platform 2.1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |