public class JavaTypeHierarchyProvider extends java.lang.Object implements HierarchyProvider
Constructor and Description |
---|
JavaTypeHierarchyProvider() |
Modifier and Type | Method and Description |
---|---|
void |
browserActivated(HierarchyBrowser hierarchyBrowser)
Notifies that the toolwindow has been shown and the specified browser is currently being displayed.
|
HierarchyBrowser |
createHierarchyBrowser(PsiElement target)
Creates a browser for viewing the hierarchy of the specified element.
|
PsiElement |
getTarget(DataContext dataContext)
Returns the element for which the hierarchy should be displayed.
|
public PsiElement getTarget(DataContext dataContext)
HierarchyProvider
getTarget
in interface HierarchyProvider
dataContext
- the data context for the action invocation.public HierarchyBrowser createHierarchyBrowser(PsiElement target)
HierarchyProvider
createHierarchyBrowser
in interface HierarchyProvider
target
- the element to view the hierarchy for.public void browserActivated(HierarchyBrowser hierarchyBrowser)
HierarchyProvider
browserActivated
in interface HierarchyProvider
hierarchyBrowser
- the browser instance created by HierarchyProvider.createHierarchyBrowser(PsiElement)
.