Package com._1c.g5.v8.dt.bsl.ui.outline
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
SpecialOutlineContribution
for showing "Events Section" in outline page
-
-
Constructor Summary
Constructors Constructor Description ShowEventsSectionContribution(org.eclipse.handly.ui.preference.IBooleanPreference showEventsSectionPreferences, IContentProvider defaultContentProvider, IContentProvider contentProvider)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
dispose()
protected IContentProvider
getDefaultContentProvider()
Gets default content provider for outline treeprotected org.eclipse.handly.ui.preference.IBooleanPreference
getPreference()
Gets actualIBooleanPreference
void
init(org.eclipse.handly.ui.outline.ICommonOutlinePage outlinePage)
-
-
-
Constructor Detail
-
ShowEventsSectionContribution
public ShowEventsSectionContribution(org.eclipse.handly.ui.preference.IBooleanPreference showEventsSectionPreferences, IContentProvider defaultContentProvider, IContentProvider contentProvider)
Constructor- Parameters:
showEventsSectionPreferences
- actual preferences for this contribution, can't benull
defaultContentProvider
- default content provider for outline tree, can't benull
contentProvider
- custom content provider with logic for hiding Events Section, can't benull
-
-
Method Detail
-
init
public void init(org.eclipse.handly.ui.outline.ICommonOutlinePage outlinePage)
- Specified by:
init
in interfaceorg.eclipse.handly.ui.outline.IOutlineContribution
- Overrides:
init
in classorg.eclipse.handly.ui.outline.OutlineContribution
-
dispose
public void dispose()
- Specified by:
dispose
in interfaceorg.eclipse.handly.ui.outline.IOutlineContribution
- Overrides:
dispose
in classorg.eclipse.handly.ui.outline.OutlineContribution
-
getPreference
protected org.eclipse.handly.ui.preference.IBooleanPreference getPreference()
Gets actualIBooleanPreference
- Returns:
- actual
IBooleanPreference
, nevernull
-
getDefaultContentProvider
protected IContentProvider getDefaultContentProvider()
Gets default content provider for outline tree- Returns:
- default content provider for outline tree, never
null
-
-