Package org.aspectj.ajde.ui
Interface StructureViewRenderer
- All Superinterfaces:
EventListener
- All Known Implementing Classes:
BrowserViewPanel
,StructureViewPanel
View renderers get notified of structure view update events and should
update the display of the structure view accordingly.
- Author:
- Mik Kersten
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Highlights and selects the given node as active.void
setActiveNode
(IStructureViewNode activeNode, int lineOffset) Same behavior assetActiveNode(StructureViewNode)
but highlights a particular line within the span of the node.void
updateView
(StructureView structureView) Implementors should updated the display of the corresponding file structure view.
-
Method Details
-
updateView
Implementors should updated the display of the corresponding file structure view. -
setActiveNode
Highlights and selects the given node as active. What "active" means depends on the renderer: a typical activation should cause the corresponding node's sourceline to be highlighted in the active editor. -
setActiveNode
Same behavior assetActiveNode(StructureViewNode)
but highlights a particular line within the span of the node.- Parameters:
lineOffset
- number of lines after the begin and before the end line of the correspondingStructureNode
.
-