Class DSLUiModule

  • All Implemented Interfaces:
    com.google.inject.Module

    public class DSLUiModule
    extends AbstractDSLUiModule
    Use this class to register components to be used within the IDE.
    Author:
    Rene Schneider - initial API and implementation
    • Constructor Detail

      • DSLUiModule

        public DSLUiModule​(org.eclipse.ui.plugin.AbstractUIPlugin aPlugin)
        Constructs a new instance.
        Parameters:
        aPlugin -
    • Method Detail

      • bindIEObjectDocumentationProvider

        public java.lang.Class<? extends org.eclipse.xtext.documentation.IEObjectDocumentationProvider> bindIEObjectDocumentationProvider()
        Binds the provider.
        Returns:
      • bindHighlightingConfiguration

        public java.lang.Class<? extends org.eclipse.xtext.ui.editor.syntaxcoloring.IHighlightingConfiguration> bindHighlightingConfiguration()
        Binds the highlighting configuration.
        Returns:
      • bindAbstractAntlrTokenToAttributeIdMapper

        public java.lang.Class<? extends org.eclipse.xtext.ui.editor.syntaxcoloring.AbstractAntlrTokenToAttributeIdMapper> bindAbstractAntlrTokenToAttributeIdMapper()
        Binds the Antlr token to attribute ID mapper.
        Returns:
      • bindISemanticHighlightingCalculator

        public java.lang.Class<? extends org.eclipse.xtext.ui.editor.syntaxcoloring.ISemanticHighlightingCalculator> bindISemanticHighlightingCalculator()
        Binds the semantic highlighting calculator.
        Returns:
      • bindEObjectHoverProvider

        public java.lang.Class<? extends org.eclipse.xtext.ui.editor.hover.IEObjectHoverProvider> bindEObjectHoverProvider()
        Binds the hover provider.
        Returns:
      • bindXtextEditor

        public java.lang.Class<? extends org.eclipse.xtext.ui.editor.XtextEditor> bindXtextEditor()
        Overrides the editor.
        Returns:
      • bindLanguageRootPreferencePage

        public java.lang.Class<? extends org.eclipse.xtext.ui.editor.preferences.LanguageRootPreferencePage> bindLanguageRootPreferencePage()
        Overrides the root language preference page.
        Returns:
      • bindPrefixMatcher

        public java.lang.Class<? extends org.eclipse.xtext.ui.editor.contentassist.PrefixMatcher> bindPrefixMatcher()
        Defines the PrefixMatcher implementation.
        Overrides:
        bindPrefixMatcher in class AbstractDSLUiModule
        Returns:
      • bindIWhitespaceInformationProvider

        public java.lang.Class<? extends org.eclipse.xtext.formatting.IWhitespaceInformationProvider> bindIWhitespaceInformationProvider()
        Overrides:
        bindIWhitespaceInformationProvider in class org.eclipse.xtext.ui.DefaultUiModule
      • bindContentProposalPriorities

        public java.lang.Class<? extends org.eclipse.xtext.ui.editor.contentassist.IContentProposalPriorities> bindContentProposalPriorities()
        Defines the IContentProposalPriorities implementation.
        Returns:
      • bindLexerTokenAndCharacterPairAwareStrategy

        public java.lang.Class<? extends org.eclipse.xtext.ui.editor.doubleClicking.LexerTokenAndCharacterPairAwareStrategy> bindLexerTokenAndCharacterPairAwareStrategy()
        Defines our custom DoubleClickStrategyProvider implementation.
        Returns: