Interface IMultiRosterViewPart

All Superinterfaces:
org.eclipse.core.runtime.IAdaptable, org.eclipse.ui.IPersistable, org.eclipse.ui.IViewPart, org.eclipse.ui.IWorkbenchPart
All Known Implementing Classes:

public interface IMultiRosterViewPart
extends org.eclipse.ui.IViewPart

Roster view part that supports adding multiple rosters. Implementers of this interface support the addition of an arbitrary number of container instances that adapter to IPresenceContainerAdapter, and provide access to an IRoster instance via a call to IPresenceContainerAdapter.getRosterManager()

Field Summary
Fields inherited from interface org.eclipse.ui.IWorkbenchPart
Method Summary
 boolean addContainer(IContainer container)
          Add container to the roster view.
Methods inherited from interface org.eclipse.ui.IViewPart
getViewSite, init, init, saveState
Methods inherited from interface org.eclipse.ui.IWorkbenchPart
addPropertyListener, createPartControl, dispose, getSite, getTitle, getTitleImage, getTitleToolTip, removePropertyListener, setFocus
Methods inherited from interface org.eclipse.core.runtime.IAdaptable

Method Detail


boolean addContainer(IContainer container)
Add container to the roster view. The container provided should adapter to the IPresenceContainerAdapter. If it does not, then false will be returned. Note that this method should only be called by the user interface thread, and not by some other thread.

container - The container provided should adapter to the IPresenceContainerAdapter. If it does not (because container is already present in this view part), then false will be returned.
true if the given container can be added to this roster view. false if not. If the container has already been added to this view part, then will return false.