Class BnfStructureViewFactory.MyElement

  • All Implemented Interfaces:
    com.intellij.ide.structureView.StructureViewTreeElement, com.intellij.ide.util.treeView.NodeDescriptorProvidingKey, com.intellij.ide.util.treeView.smartTree.SortableTreeElement, com.intellij.ide.util.treeView.smartTree.TreeElement, com.intellij.navigation.ItemPresentation, com.intellij.pom.Navigatable
    Enclosing class:
    BnfStructureViewFactory

    public static class BnfStructureViewFactory.MyElement
    extends com.intellij.ide.structureView.impl.common.PsiTreeElementBase<com.intellij.psi.PsiElement>
    implements com.intellij.ide.util.treeView.smartTree.SortableTreeElement
    • Field Summary

      • Fields inherited from interface com.intellij.ide.structureView.StructureViewTreeElement

        EMPTY_ARRAY
    • Constructor Summary

      Constructors 
      Constructor Description
      MyElement​(com.intellij.psi.PsiElement element)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      @NotNull java.lang.String getAlphaSortKey()  
      @NotNull java.util.Collection<com.intellij.ide.structureView.StructureViewTreeElement> getChildrenBase()  
      javax.swing.Icon getIcon​(boolean open)  
      @NotNull java.lang.String getPresentableText()  
      • Methods inherited from class com.intellij.ide.structureView.impl.common.PsiTreeElementBase

        canNavigate, canNavigateToSource, equals, getChildren, getChildrenWithoutCustomRegions, getElement, getKey, getPresentation, getValue, hashCode, isSearchInLocationString, isValid, mergeWithExtensions, navigate, toString
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface com.intellij.navigation.ItemPresentation

        getLocationString
    • Constructor Detail

      • MyElement

        public MyElement​(com.intellij.psi.PsiElement element)
    • Method Detail

      • getAlphaSortKey

        @NotNull
        public @NotNull java.lang.String getAlphaSortKey()
        Specified by:
        getAlphaSortKey in interface com.intellij.ide.util.treeView.smartTree.SortableTreeElement
      • getChildrenBase

        @NotNull
        public @NotNull java.util.Collection<com.intellij.ide.structureView.StructureViewTreeElement> getChildrenBase()
        Specified by:
        getChildrenBase in class com.intellij.ide.structureView.impl.common.PsiTreeElementBase<com.intellij.psi.PsiElement>
      • getPresentableText

        @NotNull
        public @NotNull java.lang.String getPresentableText()
        Specified by:
        getPresentableText in interface com.intellij.navigation.ItemPresentation
      • getIcon

        public javax.swing.Icon getIcon​(boolean open)
        Specified by:
        getIcon in interface com.intellij.navigation.ItemPresentation
        Overrides:
        getIcon in class com.intellij.ide.structureView.impl.common.PsiTreeElementBase<com.intellij.psi.PsiElement>