public interface HierarchyProvider
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.
|
PsiElement getTarget(DataContext dataContext)
dataContext
- the data context for the action invocation.HierarchyBrowser createHierarchyBrowser(PsiElement target)
target
- the element to view the hierarchy for.void browserActivated(HierarchyBrowser hierarchyBrowser)
hierarchyBrowser
- the browser instance created by createHierarchyBrowser(PsiElement)
.