Class RightTemplatesTextAttributeProvider

  • All Implemented Interfaces:
    EventListener, org.eclipse.jface.util.IPropertyChangeListener, org.eclipse.xtext.ui.editor.syntaxcoloring.IHighlightingConfigurationAcceptor, org.eclipse.xtext.ui.editor.syntaxcoloring.ITextAttributeProvider

    public class RightTemplatesTextAttributeProvider
    extends org.eclipse.xtext.ui.editor.syntaxcoloring.TextAttributeProvider
    Special TextAttributeProvider for Right Templates Use text attributes from Ql languge for TextStatement
    • Constructor Summary

      Constructors 
      Constructor Description
      RightTemplatesTextAttributeProvider​(org.eclipse.xtext.ui.editor.syntaxcoloring.IHighlightingConfiguration highlightingConfig, org.eclipse.xtext.ui.editor.preferences.IPreferenceStoreAccess preferenceStoreAccess, org.eclipse.xtext.ui.editor.syntaxcoloring.PreferenceStoreAccessor prefStoreAccessor)  
    • Constructor Detail

      • RightTemplatesTextAttributeProvider

        @Inject
        public RightTemplatesTextAttributeProvider​(org.eclipse.xtext.ui.editor.syntaxcoloring.IHighlightingConfiguration highlightingConfig,
                                                   org.eclipse.xtext.ui.editor.preferences.IPreferenceStoreAccess preferenceStoreAccess,
                                                   org.eclipse.xtext.ui.editor.syntaxcoloring.PreferenceStoreAccessor prefStoreAccessor)
    • Method Detail

      • getAttribute

        public org.eclipse.jface.text.TextAttribute getAttribute​(String id)
        Specified by:
        getAttribute in interface org.eclipse.xtext.ui.editor.syntaxcoloring.ITextAttributeProvider
        Overrides:
        getAttribute in class org.eclipse.xtext.ui.editor.syntaxcoloring.TextAttributeProvider