Schnittstelle StructureViewRenderer

Alle Superschnittstellen:
EventListener
Alle bekannten Implementierungsklassen:
BrowserViewPanel, StructureViewPanel

public interface StructureViewRenderer extends EventListener
View renderers get notified of structure view update events and should update the display of the structure view accordingly.
Autor:
Mik Kersten
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    void
    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.
  • Methodendetails

    • 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.
      Parameter:
      lineOffset - number of lines after the begin and before the end line of the corresponding StructureNode.