|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.eclipse.contribution.visualiser.jdtimpl.JDTContentProvider
| Constructor Summary | |
JDTContentProvider()
Default constructor |
|
| Method Summary | |
java.util.List |
getAllGroups()
Get all groups |
java.util.List |
getAllJDTGroups(IJavaProject JP)
Get all package fragments for the given Java project |
java.util.List |
getAllJDTMembers(IPackageFragment PF)
Get all JDT members for the given IPackageFragment (Java package) |
java.util.List |
getAllMembers()
Get all members |
java.util.List |
getAllMembers(IGroup group)
Get all members for the given group |
IJavaProject |
getCurrentProject()
Get the current project, if nobody has set a project yet, use the first open project in the workspace |
java.lang.String |
getEmptyMessage()
Return message to display when visualiser is empty |
JDTGroup |
getGroupForFragment(IPackageFragment ipf)
Get a JDTGroup to represent the give IPackageFragment (Java package) |
void |
initialise()
Initialise |
boolean |
processMouseclick(IMember member,
boolean markupWasClicked,
int buttonClicked)
Process a mouse click on a member |
void |
selectionChanged(IWorkbenchPart iwp,
ISelection is)
Keeps the currentResource and currentProject information up to date in this class, as this method is called whenever a user changes their selection in the workspace. |
static void |
trace(java.lang.String string)
Simple trace routine - we can turn trace on and off by commenting out the body. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public JDTContentProvider()
| Method Detail |
public static void trace(java.lang.String string)
public void selectionChanged(IWorkbenchPart iwp,
ISelection is)
public IJavaProject getCurrentProject()
public java.util.List getAllMembers(IGroup group)
getAllMembers in interface IContentProviderIContentProvider.getAllMembers(org.eclipse.contribution.visualiser.interfaces.IGroup)public java.util.List getAllMembers()
getAllMembers in interface IContentProviderIContentProvider.getAllMembers()public void initialise()
initialise in interface IContentProviderIContentProvider.initialise()
public boolean processMouseclick(IMember member,
boolean markupWasClicked,
int buttonClicked)
processMouseclick in interface IContentProviderorg.eclipse.contribution.visualiser.interfaces.IContentProvider#processMouseclick(java.lang.String, boolean, int)public java.util.List getAllGroups()
getAllGroups in interface IContentProviderpublic JDTGroup getGroupForFragment(IPackageFragment ipf)
ipf -
public java.util.List getAllJDTGroups(IJavaProject JP)
JP -
public java.util.List getAllJDTMembers(IPackageFragment PF)
PF -
public java.lang.String getEmptyMessage()
getEmptyMessage in interface IContentProviderIContentProvider.getEmptyMessage()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||