| org.eclipse.ui.IPartService
All known Subclasses: org.eclipse.ui.internal.WWinPartService, org.eclipse.ui.internal.PartService,
IPartService | public interface IPartService (Code) | | A part service tracks the creation and activation of parts within a
workbench page.
This interface is not intended to be implemented by clients.
See Also: IWorkbenchPage |
addPartListener | public void addPartListener(IPartListener listener)(Code) | | Adds the given listener for part lifecycle events.
Has no effect if an identical listener is already registered.
Parameters: listener - a part listener |
addPartListener | public void addPartListener(IPartListener2 listener)(Code) | | Adds the given listener for part lifecycle events.
Has no effect if an identical listener is already registered.
Parameters: listener - a part listener |
getActivePart | public IWorkbenchPart getActivePart()(Code) | | Returns the active part.
the active part, or null if no part is currently active |
getActivePartReference | public IWorkbenchPartReference getActivePartReference()(Code) | | Returns the active part reference.
the active part reference, or null if no partis currently active |
removePartListener | public void removePartListener(IPartListener listener)(Code) | | Removes the given part listener.
Has no affect if an identical listener is not registered.
Parameters: listener - a part listener |
removePartListener | public void removePartListener(IPartListener2 listener)(Code) | | Removes the given part listener.
Has no affect if an identical listener is not registered.
Parameters: listener - a part listener |
|
|