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
Special
OutlineContribution
for showing "Events Section" in outline page-
Constructor Summary
ConstructorsConstructorDescriptionShowEventsSectionContribution
(org.eclipse.handly.ui.preference.IBooleanPreference showEventsSectionPreferences, IContentProvider defaultContentProvider, IContentProvider contentProvider) Constructor -
Method Summary
Modifier and TypeMethodDescriptionvoid
dispose()
protected IContentProvider
Gets default content provider for outline treeprotected org.eclipse.handly.ui.preference.IBooleanPreference
Gets actualIBooleanPreference
void
init
(org.eclipse.handly.ui.outline.ICommonOutlinePage outlinePage) Methods inherited from class org.eclipse.handly.ui.outline.OutlineContribution
getOutlinePage
-
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 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 Details
-
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
Gets default content provider for outline tree- Returns:
- default content provider for outline tree, never
null
-