Class HandlerViewerContentProvider
- java.lang.Object
-
- com._1c.g5.v8.dt.eventhandlers.ui.providers.AbstractEventHandlersContentProvider
-
- com._1c.g5.v8.dt.eventhandlers.ui.providers.AbstractExtensionHandlersProvidingContentProvider
-
- com._1c.g5.v8.dt.eventhandlers.ui.providers.HandlerViewerContentProvider
-
- All Implemented Interfaces:
IContentProvider
,IStructuredContentProvider
,ITreeContentProvider
public class HandlerViewerContentProvider extends AbstractExtensionHandlersProvidingContentProvider
Content provider for handler viewer.
-
-
Field Summary
-
Fields inherited from class com._1c.g5.v8.dt.eventhandlers.ui.providers.AbstractExtensionHandlersProvidingContentProvider
configuration, DOT, globalScopeProvider
-
-
Constructor Summary
Constructors Constructor Description HandlerViewerContentProvider(StructuredViewer eventHandlersViewer, org.eclipse.xtext.scoping.IGlobalScopeProvider globalScopeProvider, IV8ProjectManager projectManager, IBslOwnerComputerService bslOwnerComputerService, org.eclipse.xtext.naming.IQualifiedNameProvider qualifiedNameProvider, Configuration configuration)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object[]
getChildren(Object parentElement)
Object[]
getElements(Object inputElement)
boolean
hasChildren(Object element)
-
Methods inherited from class com._1c.g5.v8.dt.eventhandlers.ui.providers.AbstractExtensionHandlersProvidingContentProvider
createModuleName, getExtensions, getLastSegment, getParent, hasExtensions
-
Methods inherited from class com._1c.g5.v8.dt.eventhandlers.ui.providers.AbstractEventHandlersContentProvider
dispose, inputChanged
-
-
-
-
Constructor Detail
-
HandlerViewerContentProvider
public HandlerViewerContentProvider(StructuredViewer eventHandlersViewer, org.eclipse.xtext.scoping.IGlobalScopeProvider globalScopeProvider, IV8ProjectManager projectManager, IBslOwnerComputerService bslOwnerComputerService, org.eclipse.xtext.naming.IQualifiedNameProvider qualifiedNameProvider, Configuration configuration)
Constructor.- Parameters:
eventHandlersViewer
- - event handlers viewer. Can't benull
.globalScopeProvider
- - global scope provider. Can't benull
.projectManager
- - project manager. Can't benull
.bslOwnerComputerService
- - bsl owner computer service. Can't benull
.qualifiedNameProvider
- - qualified name provider. Can't benull
.configuration
- - editor input configuration. 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
-
-