Interface IOutlineContribution

All Known Implementing Classes:
CollapseAllActionContribution, EditorInputListenerContribution, ElementChangeListenerContribution, ExpandableCheckFiltersContribution, ExpandAllActionContribution, LexicalSortActionContribution, LexicalSortContribution, LinkWithEditorActionContribution, LinkWithEditorContribution, OutlineActionContribution, OutlineContextMenuContribution, OutlineContribution, OutlineDragAndDropContribution, OutlineFilterContribution, OutlineSorterContribution, ProblemMarkerListenerContribution, ResourceChangeListenerContribution, ToggleActionContribution

public interface IOutlineContribution
Represents a contribution to the common outline page. This interface may be implemented by clients.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Disposes of this contribution.
    void
    init(ICommonOutlinePage outlinePage)
    Initializes this contribution.
  • Method Details

    • init

      void init(ICommonOutlinePage outlinePage)
      Initializes this contribution. This method is called after the outline page's tree viewer has been created.
      Parameters:
      outlinePage - the contribution's outline page (never null)
    • dispose

      void dispose()
      Disposes of this contribution. Implementors should clean up any resources associated with this contribution. Note that there is no guarantee that init() has been called. This method has no effect if this contribution has already been disposed.