org.aspectj.ajde.ui
Interface StructureViewRenderer

All Superinterfaces:
java.util.EventListener
All Known Implementing Classes:
BrowserViewPanel, StructureViewPanel

public interface StructureViewRenderer
extends java.util.EventListener

View renderers get notified of structure view update events and should update the display of the structure view accordingly.


Method Summary
 void setActiveNode(IStructureViewNode node)
          Highlights and selects the given node as active.
 void setActiveNode(IStructureViewNode activeNode, int lineOffset)
          Same behavior as setActiveNode(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 Detail

updateView

void updateView(StructureView structureView)
Implementors should updated the display of the corresponding file structure view.


setActiveNode

void setActiveNode(IStructureViewNode node)
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

void setActiveNode(IStructureViewNode activeNode,
                   int lineOffset)
Same behavior as setActiveNode(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 corresponding StructureNode.