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.OutlineContributionSpecialOutlineContributionfor 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 voiddispose()protected IContentProvidergetDefaultContentProvider()Gets default content provider for outline treeprotected org.eclipse.handly.ui.preference.IBooleanPreferencegetPreference()Gets actualIBooleanPreferencevoidinit(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 benulldefaultContentProvider- default content provider for outline tree, can't benullcontentProvider- 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:
initin interfaceorg.eclipse.handly.ui.outline.IOutlineContribution- Overrides:
initin classorg.eclipse.handly.ui.outline.OutlineContribution
-
dispose
public void dispose()
- Specified by:
disposein interfaceorg.eclipse.handly.ui.outline.IOutlineContribution- Overrides:
disposein 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
-
-