|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface StructureView
Defines the implementation of a custom structure view or file structure popup component. The structure view is linked to a file editor and displays the structure of the file contained in that editor.
StructureViewBuilder.createStructureView(com.intellij.openapi.fileEditor.FileEditor, com.intellij.openapi.project.Project),
TreeBasedStructureViewBuilder| Method Summary | |
|---|---|
void |
centerSelectedRow()
|
void |
dispose()
Disposes of the structure view component. |
javax.swing.JComponent |
getComponent()
Returns the Swing component representing the structure view. |
FileEditor |
getFileEditor()
Returns the editor whose structure is displayed in the structure view. |
boolean |
navigateToSelectedElement(boolean requestFocus)
Selects the element which corresponds to the current cursor position in the editor linked to the structure view. |
void |
restoreState()
Restores the state of the structure view (the expanded and selected elements) from the user data of the file editor to which it is linked. |
void |
storeState()
Stores the state of the structure view (the expanded and selected elements) in the user data of the file editor to which it is linked. |
| Method Detail |
|---|
FileEditor getFileEditor()
boolean navigateToSelectedElement(boolean requestFocus)
requestFocus - if true, the structure view component also grabs the focus.javax.swing.JComponent getComponent()
void dispose()
void centerSelectedRow()
void restoreState()
UserDataHolder.getUserData(com.intellij.openapi.util.Key)void storeState()
UserDataHolder.putUserData(com.intellij.openapi.util.Key, Object)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||