Class EventHandlersViewerContentProvider
- java.lang.Object
-
- com._1c.g5.v8.dt.eventhandlers.ui.providers.AbstractEventHandlersContentProvider
-
- com._1c.g5.v8.dt.eventhandlers.ui.providers.AbstractEventProvidingContentProvider
-
- com._1c.g5.v8.dt.eventhandlers.ui.providers.EventHandlersViewerContentProvider
-
- All Implemented Interfaces:
IContentProvider
,IStructuredContentProvider
,ITreeContentProvider
public class EventHandlersViewerContentProvider extends AbstractEventProvidingContentProvider
Content provider for event handlers viewer.
-
-
Constructor Summary
Constructors Constructor Description EventHandlersViewerContentProvider(MainSection mainSection, org.eclipse.xtext.scoping.IGlobalScopeProvider globalScopeProvider, IBslModuleContextDefService contextDefService)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clearCache()
Clears cache.void
createCache(Configuration configuration, org.eclipse.core.runtime.SubMonitor monitor)
Creates cache for given configuration.Object[]
getChildren(Object parentElement)
Object[]
getElements(Object inputElement)
boolean
hasChildren(Object element)
-
Methods inherited from class com._1c.g5.v8.dt.eventhandlers.ui.providers.AbstractEventProvidingContentProvider
combineEvents, getAllEvents
-
Methods inherited from class com._1c.g5.v8.dt.eventhandlers.ui.providers.AbstractEventHandlersContentProvider
dispose, getParent, inputChanged
-
-
-
-
Constructor Detail
-
EventHandlersViewerContentProvider
public EventHandlersViewerContentProvider(MainSection mainSection, org.eclipse.xtext.scoping.IGlobalScopeProvider globalScopeProvider, IBslModuleContextDefService contextDefService)
Constructor.- Parameters:
mainSection
- - events handlers editor main section. Can't benull
.globalScopeProvider
- - global scope provider. Can't benull
.contextDefService
- - bsl module context def service. Can't benull
.
-
-
Method Detail
-
hasChildren
public boolean hasChildren(Object element)
- Specified by:
hasChildren
in interfaceITreeContentProvider
- Overrides:
hasChildren
in classAbstractEventHandlersContentProvider
-
getChildren
public Object[] getChildren(Object parentElement)
- Specified by:
getChildren
in interfaceITreeContentProvider
- Overrides:
getChildren
in classAbstractEventHandlersContentProvider
-
createCache
public void createCache(Configuration configuration, org.eclipse.core.runtime.SubMonitor monitor)
Creates cache for given configuration.- Parameters:
configuration
- - configuration. Can't benull
.monitor
- - monitor for progress report. Can benull
.
-
clearCache
public void clearCache()
Clears cache.
-
-