Class AbstractExtensionHandlersProvidingContentProvider

    • Field Detail

      • globalScopeProvider

        protected final org.eclipse.xtext.scoping.IGlobalScopeProvider globalScopeProvider
    • Constructor Detail

      • AbstractExtensionHandlersProvidingContentProvider

        public AbstractExtensionHandlersProvidingContentProvider​(Configuration configuration,
                                                                 IV8ProjectManager projectManager,
                                                                 org.eclipse.xtext.scoping.IGlobalScopeProvider globalScopeProvider,
                                                                 IBslOwnerComputerService bslOwnerComputerService,
                                                                 org.eclipse.xtext.naming.IQualifiedNameProvider qualifiedNameProvider)
        Constructor.
        Parameters:
        configuration - - configuration. Can't be null.
        projectManager - - v8 project manager. Can't be null.
        globalScopeProvider - - global scope provider. Can't be null.
        bslOwnerComputerService - - bsl owner computer service. Can't be null.
        qualifiedNameProvider - - qualified name provider. Can't be null.
    • Method Detail

      • hasExtensions

        protected boolean hasExtensions​(HandlerContainer element)
        Returns true if given handler has extensions.
        Parameters:
        element - - element to check for extensions. Can't be null.
        Returns:
        true if given handler has extensions.
      • getExtensions

        protected Collection<ExtensionMethodContainer> getExtensions​(HandlerContainer element)
        Returns extensions of given element.
        Parameters:
        element - - element to get extensions. Can't be null.
        Returns:
        extensions of given element. Can't return null.
      • createModuleName

        protected org.eclipse.xtext.naming.QualifiedName createModuleName​(HandlerContainer element)
        Creates qualified module name.
        Parameters:
        element - - element to create module name. Can't be null.
        Returns:
        qualified module name. Can't return null.
      • getLastSegment

        protected String getLastSegment​(String string)
        Returns last segment of given string.
        Parameters:
        string - - string to get last segment. Can't be null.
        Returns:
        last segment of given string. Can't return null.