Class ShowEventsSectionContribution

java.lang.Object
org.eclipse.handly.ui.outline.OutlineContribution
com._1c.g5.v8.dt.bsl.ui.outline.ShowEventsSectionContribution
All Implemented Interfaces:
org.eclipse.handly.ui.outline.IOutlineContribution

public class ShowEventsSectionContribution extends org.eclipse.handly.ui.outline.OutlineContribution
Special OutlineContribution for showing "Events Section" in outline page
  • Constructor Details

    • ShowEventsSectionContribution

      public ShowEventsSectionContribution(org.eclipse.handly.ui.preference.IBooleanPreference showEventsSectionPreferences, IContentProvider defaultContentProvider, IContentProvider contentProvider)
      Constructor
      Parameters:
      showEventsSectionPreferences - actual preferences for this contribution, can't be null
      defaultContentProvider - default content provider for outline tree, can't be null
      contentProvider - custom content provider with logic for hiding Events Section, can't be null
  • Method Details

    • init

      public void init(org.eclipse.handly.ui.outline.ICommonOutlinePage outlinePage)
      Specified by:
      init in interface org.eclipse.handly.ui.outline.IOutlineContribution
      Overrides:
      init in class org.eclipse.handly.ui.outline.OutlineContribution
    • dispose

      public void dispose()
      Specified by:
      dispose in interface org.eclipse.handly.ui.outline.IOutlineContribution
      Overrides:
      dispose in class org.eclipse.handly.ui.outline.OutlineContribution
    • getPreference

      protected org.eclipse.handly.ui.preference.IBooleanPreference getPreference()
      Gets actual IBooleanPreference
      Returns:
      actual IBooleanPreference, never null
    • getDefaultContentProvider

      protected IContentProvider getDefaultContentProvider()
      Gets default content provider for outline tree
      Returns:
      default content provider for outline tree, never null