public abstract class StructureViewFactory
extends java.lang.Object
| Constructor and Description |
|---|
StructureViewFactory() |
| Modifier and Type | Method and Description |
|---|---|
abstract StructureView |
createStructureView(FileEditor fileEditor,
StructureViewModel treeModel,
Project project)
Creates a structure view component instance for the specified editor.
|
abstract StructureView |
createStructureView(FileEditor fileEditor,
StructureViewModel treeModel,
Project project,
boolean showRootNode)
Creates a structure view component instance for the specified editor.
|
static StructureViewFactory |
getInstance(Project project) |
public abstract StructureView createStructureView(FileEditor fileEditor, StructureViewModel treeModel, Project project)
fileEditor - the editor to which the structure view is linked.treeModel - the model defining the data shown in the structure view.project - the project containing the file for which the structure view is requested.public abstract StructureView createStructureView(FileEditor fileEditor, StructureViewModel treeModel, Project project, boolean showRootNode)
fileEditor - the editor to which the structure view is linked.treeModel - the model defining the data shown in the structure view.project - the project containing the file for which the structure view is requested.showRootNode - pass false if root node of the structure built should not actually be shown in result tree.public static StructureViewFactory getInstance(Project project)