public interface NavBarModelExtension
DefaultNavBarExtension
) which is normally registered as last.
That means that custom implementations are called before the default one - with the exception of adjustElement(PsiElement)
method, for which the order is reverse.Modifier and Type | Field and Description |
---|---|
static ExtensionPointName<NavBarModelExtension> |
EP_NAME |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<VirtualFile> |
additionalRoots(Project project) |
PsiElement |
adjustElement(PsiElement psiElement) |
default java.lang.Object |
getData(java.lang.String dataId,
DataProvider provider) |
default javax.swing.Icon |
getIcon(java.lang.Object object) |
default PsiElement |
getLeafElement(DataContext dataContext) |
PsiElement |
getParent(PsiElement psiElement) |
default java.lang.String |
getPopupMenuGroup(DataProvider provider) |
java.lang.String |
getPresentableText(java.lang.Object object) |
default java.lang.String |
getPresentableText(java.lang.Object object,
boolean forPopup) |
default boolean |
normalizeChildren() |
default boolean |
processChildren(java.lang.Object object,
java.lang.Object rootElement,
Processor<java.lang.Object> processor) |
static final ExtensionPointName<NavBarModelExtension> EP_NAME
default javax.swing.Icon getIcon(java.lang.Object object)
default java.lang.String getPresentableText(java.lang.Object object, boolean forPopup)
java.lang.String getPresentableText(java.lang.Object object)
PsiElement getParent(PsiElement psiElement)
PsiElement adjustElement(PsiElement psiElement)
java.util.Collection<VirtualFile> additionalRoots(Project project)
default java.lang.Object getData(java.lang.String dataId, DataProvider provider)
default java.lang.String getPopupMenuGroup(DataProvider provider)
default PsiElement getLeafElement(DataContext dataContext)
default boolean processChildren(java.lang.Object object, java.lang.Object rootElement, Processor<java.lang.Object> processor)
default boolean normalizeChildren()