com.intellij.ide.structureView
Interface StructureViewBuilder

All Known Implementing Classes:
TreeBasedStructureViewBuilder

public interface StructureViewBuilder

Defines the implementation of Structure View and the file structure popup for a file type. This class allows to replace the entire Structure View component implementation. If it is acceptable to have the standard component implementation and to customize only how the Structure View is populated with the file data, the standard implementation of this interface - TreeBasedStructureViewBuilder - should be used.

See Also:
Language.getStructureViewBuilder(com.intellij.psi.PsiFile), FileType.getStructureViewBuilder(com.intellij.openapi.vfs.VirtualFile, com.intellij.openapi.project.Project)

Method Summary
 StructureView createStructureView(FileEditor fileEditor, Project project)
          Returns the structure view implementation for the file displayed in the specified editor.
 

Method Detail

createStructureView

StructureView createStructureView(FileEditor fileEditor,
                                  Project project)
Returns the structure view implementation for the file displayed in the specified editor.

Parameters:
fileEditor - the editor for which the structure view is requested.
project - the project containing the file for which the structure view is requested.
Returns:
the structure view implementation.
See Also:
TreeBasedStructureViewBuilder