de.frag.umlplugin
Interface PsiClassProvider

All Known Implementing Classes:
ClassCloudPsiClassProvider, ClassUnderCursorProvider, GraphicalNavigatorPsiClassProvider, UMLDiagramPsiClassProvider

public interface PsiClassProvider

A PsiClassProvider gets a psi class from a data context.


Method Summary
 java.util.List<com.intellij.psi.PsiClass> getPsiClass(com.intellij.openapi.actionSystem.DataContext dataContext)
          Gets a list of psi classes from the given data context.
 

Method Detail

getPsiClass

@NotNull
java.util.List<com.intellij.psi.PsiClass> getPsiClass(@NotNull
                                                              com.intellij.openapi.actionSystem.DataContext dataContext)
Gets a list of psi classes from the given data context. Implementations may for example return the class in the current java editor, the class that belongs to the type of the java variable under the cursor, the class that is currently selected in the project view or anything else.

Parameters:
dataContext - data context to be used to find class
Returns:
list of psi classes