Class TemplatesUiModule

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

    public class TemplatesUiModule
    extends AbstractTemplatesUiModule
    Use this class to register components to be used within the IDE.
    • Constructor Detail

      • TemplatesUiModule

        public TemplatesUiModule​(org.eclipse.ui.plugin.AbstractUIPlugin plugin)
        Constructor.
        Parameters:
        plugin - the plugin
    • Method Detail

      • bindAbstractAntlrTokenToAttributeIdMapper

        public Class<? extends org.eclipse.xtext.ui.editor.syntaxcoloring.AbstractAntlrTokenToAttributeIdMapper> bindAbstractAntlrTokenToAttributeIdMapper()
        Bind AbstractAntlrTokenToAttributeIdMapper
        Returns:
        AbstractAntlrTokenToAttributeIdMapper
      • bindDirtyStateEditorSupport

        public Class<? extends org.eclipse.xtext.ui.editor.DirtyStateEditorSupport> bindDirtyStateEditorSupport()
        Bind DirtyStateEditorSupport
        Returns:
        DirtyStateEditorSupport
      • bindEmbeddedEditorActionsFactory

        public Class<? extends org.eclipse.xtext.ui.editor.embedded.EmbeddedEditorActions.Factory> bindEmbeddedEditorActionsFactory()
        Bind EmbeddedEditorActionsFactory
        Returns:
        EmbeddedEditorActionsFactory
      • bindEmbeddedEditorFactoryBuilder

        public Class<? extends org.eclipse.xtext.ui.editor.embedded.EmbeddedEditorFactory.Builder> bindEmbeddedEditorFactoryBuilder()
        Bind EmbeddedEditorFactoryBuilder
        Returns:
        EmbeddedEditorFactoryBuilder
      • bindIContentOutlinePage

        public Class<? extends org.eclipse.ui.views.contentoutline.IContentOutlinePage> bindIContentOutlinePage()
        Overrides:
        bindIContentOutlinePage in class org.eclipse.xtext.ui.DefaultUiModule
      • bindIContentProposalPriorities

        public Class<? extends org.eclipse.xtext.ui.editor.contentassist.IContentProposalPriorities> bindIContentProposalPriorities()
        Bind IContentProposalPriorities
        Returns:
        IContentProposalPriorities
      • bindIEditedResourceProvider

        public Class<? extends org.eclipse.xtext.ui.editor.embedded.IEditedResourceProvider> bindIEditedResourceProvider()
        Bind IEditedResourceProvider
        Returns:
        IEditedResourceProvider
      • bindIFoldingRegionProvider

        public Class<? extends org.eclipse.xtext.ui.editor.folding.IFoldingRegionProvider> bindIFoldingRegionProvider()
        Bind IFoldingRegionProvider
        Returns:
        IFoldingRegionProvider
      • bindILexicalHighlightingConfiguration

        public Class<? extends org.eclipse.xtext.ui.editor.syntaxcoloring.IHighlightingConfiguration> bindILexicalHighlightingConfiguration()
        Bind ILexicalHighlightingConfiguration
        Returns:
        ILexicalHighlightingConfiguration
      • bindIReconciler

        public Class<? extends org.eclipse.jface.text.reconciler.IReconciler> bindIReconciler()
        Configures XtextEditorCallback
        Overrides:
        bindIReconciler in class org.eclipse.xtext.ui.DefaultUiModule
        Parameters:
        binder - the binder
      • bindIResourceForEditorInputFactory

        public Class<? extends org.eclipse.xtext.ui.editor.model.IResourceForEditorInputFactory> bindIResourceForEditorInputFactory()
        Overrides:
        bindIResourceForEditorInputFactory in class org.eclipse.xtext.ui.DefaultUiModule
      • bindISemanticHighlightingCalculator

        public Class<? extends org.eclipse.xtext.ide.editor.syntaxcoloring.ISemanticHighlightingCalculator> bindISemanticHighlightingCalculator()
        Bind ISemanticHighlightingCalculator
        Returns:
        ISemanticHighlightingCalculator
      • bindIInputElementProvider

        public Class<? extends org.eclipse.handly.ui.IInputElementProvider> bindIInputElementProvider()
        Bind ISourceFileFactory
        Returns:
        ISourceFileFactory
      • bindIssueModificationContext

        public Class<? extends org.eclipse.xtext.ui.editor.model.edit.IssueModificationContext> bindIssueModificationContext()
        Bind IssueModificationContext
        Returns:
        IssueModificationContext
      • bindTextAttributeProvider

        public Class<? extends org.eclipse.xtext.ui.editor.syntaxcoloring.TextAttributeProvider> bindTextAttributeProvider()
        Bind TextAttributeProvider
        Returns:
        TextAttributeProvider
      • bindXtextDocument

        public Class<? extends org.eclipse.xtext.ui.editor.model.XtextDocument> bindXtextDocument()
        Bind XtextDocument
        Returns:
        XtextDocument
      • bindXtextEditor

        public Class<? extends org.eclipse.xtext.ui.editor.XtextEditor> bindXtextEditor()
        Bind XtextEditor
        Returns:
        XtextEditor
      • configureXtextEditorCallback

        public void configureXtextEditorCallback​(com.google.inject.Binder binder)
      • bindOutlinePopup

        public Class<? extends org.eclipse.handly.ui.quickoutline.OutlinePopup> bindOutlinePopup()
      • bindIContentFormatterFactory

        public Class<? extends org.eclipse.xtext.ui.editor.formatting.IContentFormatterFactory> bindIContentFormatterFactory()
        Overrides:
        bindIContentFormatterFactory in class org.eclipse.xtext.ui.DefaultUiModule
      • bindPreferenceStoreAccess

        public Class<? extends org.eclipse.xtext.ui.editor.preferences.IPreferenceStoreAccess> bindPreferenceStoreAccess()
      • bindAbstractEditStrategyProvider

        public Class<? extends org.eclipse.xtext.ui.editor.autoedit.AbstractEditStrategyProvider> bindAbstractEditStrategyProvider()
        Overrides:
        bindAbstractEditStrategyProvider in class org.eclipse.xtext.ui.DefaultUiModule