|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The implementation of this interface is responsible for returning information about the bars that appear in the VSisualiser view. The related implementation of IMarkupProvider provides the information about the colored stripes on the bars. A simple implementation is provided in SimpleContentProvider - this contains basic implementations of some of the common features of a content provider In particular, it manages groups/members automatically. Important: The lists returned from the various get methods should either be lists of classes implementing IGroup or classes implementing IMember. Simple implementations of IGroup and IMember are SimpleGroup and SimpleMember.
Method Summary | |
java.util.List |
getAllGroups()
Return a list of all groups that the provider knows about. |
java.util.List |
getAllMembers()
Return a list of all members in all groups the provider knows about. |
java.util.List |
getAllMembers(IGroup group)
Return a list of all members in a group. |
java.lang.String |
getEmptyMessage()
The String returned here is displayed by the Visualiser when the content provider has nothing to display. |
org.eclipse.jface.resource.ImageDescriptor |
getGroupViewIcon()
Called when switching to this content provider to get the icon used in the Visualiser view for Group view. |
org.eclipse.jface.resource.ImageDescriptor |
getMemberViewIcon()
Called when switching to this content provider to get the icon used in the Visualiser view for Member view. |
void |
initialise()
Called on Visualiser startup, to get the provider ready. |
boolean |
processMouseclick(IMember member,
boolean markupWasClicked,
int buttonClicked)
Called when the user clicks on a member in the Visualiser - the information passed is - The full name of the member, e.g. |
Method Detail |
public java.util.List getAllGroups()
public java.util.List getAllMembers(IGroup group)
public java.util.List getAllMembers()
public void initialise()
public boolean processMouseclick(IMember member, boolean markupWasClicked, int buttonClicked)
public java.lang.String getEmptyMessage()
public org.eclipse.jface.resource.ImageDescriptor getMemberViewIcon()
public org.eclipse.jface.resource.ImageDescriptor getGroupViewIcon()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |