Class BslEditStrategyProvider


  • public class BslEditStrategyProvider
    extends org.eclipse.xtext.ui.editor.autoedit.DefaultAutoEditStrategyProvider
    Special autoeditstrategy for Bsl
    DefaultAutoEditStrategyProvider has very large overhead in big Bsl module
    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.eclipse.xtext.ui.editor.autoedit.AbstractEditStrategyProvider

        org.eclipse.xtext.ui.editor.autoedit.AbstractEditStrategyProvider.IEditStrategyAcceptor
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void configure​(org.eclipse.xtext.ui.editor.autoedit.AbstractEditStrategyProvider.IEditStrategyAcceptor acceptor)  
      protected void configureCompoundBracesBlocks​(org.eclipse.xtext.ui.editor.autoedit.AbstractEditStrategyProvider.IEditStrategyAcceptor acceptor)  
      protected void configureCurlyBracesBlock​(org.eclipse.xtext.ui.editor.autoedit.AbstractEditStrategyProvider.IEditStrategyAcceptor acceptor)  
      protected void configureIndentationEditStrategy​(org.eclipse.xtext.ui.editor.autoedit.AbstractEditStrategyProvider.IEditStrategyAcceptor acceptor)  
      protected void configureMultilineComments​(org.eclipse.xtext.ui.editor.autoedit.AbstractEditStrategyProvider.IEditStrategyAcceptor acceptor)  
      protected void configureSinglelineComments​(org.eclipse.xtext.ui.editor.autoedit.AbstractEditStrategyProvider.IEditStrategyAcceptor acceptor)
      Adds new IAutoEditStrategy for "//" if "shift+enter" was pressed
      protected void configureStringLiteral​(org.eclipse.xtext.ui.editor.autoedit.AbstractEditStrategyProvider.IEditStrategyAcceptor acceptor)  
      • Methods inherited from class org.eclipse.xtext.ui.editor.autoedit.DefaultAutoEditStrategyProvider

        configureParenthesis, configureSquareBrackets
      • Methods inherited from class org.eclipse.xtext.ui.editor.autoedit.AbstractEditStrategyProvider

        getStrategies
    • Constructor Detail

      • BslEditStrategyProvider

        public BslEditStrategyProvider()
    • Method Detail

      • configure

        protected void configure​(org.eclipse.xtext.ui.editor.autoedit.AbstractEditStrategyProvider.IEditStrategyAcceptor acceptor)
        Overrides:
        configure in class org.eclipse.xtext.ui.editor.autoedit.DefaultAutoEditStrategyProvider
      • configureCompoundBracesBlocks

        protected void configureCompoundBracesBlocks​(org.eclipse.xtext.ui.editor.autoedit.AbstractEditStrategyProvider.IEditStrategyAcceptor acceptor)
        Overrides:
        configureCompoundBracesBlocks in class org.eclipse.xtext.ui.editor.autoedit.DefaultAutoEditStrategyProvider
      • configureIndentationEditStrategy

        protected void configureIndentationEditStrategy​(org.eclipse.xtext.ui.editor.autoedit.AbstractEditStrategyProvider.IEditStrategyAcceptor acceptor)
        Overrides:
        configureIndentationEditStrategy in class org.eclipse.xtext.ui.editor.autoedit.DefaultAutoEditStrategyProvider
      • configureMultilineComments

        protected void configureMultilineComments​(org.eclipse.xtext.ui.editor.autoedit.AbstractEditStrategyProvider.IEditStrategyAcceptor acceptor)
        Overrides:
        configureMultilineComments in class org.eclipse.xtext.ui.editor.autoedit.DefaultAutoEditStrategyProvider
      • configureSinglelineComments

        protected void configureSinglelineComments​(org.eclipse.xtext.ui.editor.autoedit.AbstractEditStrategyProvider.IEditStrategyAcceptor acceptor)
        Adds new IAutoEditStrategy for "//" if "shift+enter" was pressed
        Parameters:
        acceptor - collector for IAutoEditStrategy, never null
      • configureCurlyBracesBlock

        protected void configureCurlyBracesBlock​(org.eclipse.xtext.ui.editor.autoedit.AbstractEditStrategyProvider.IEditStrategyAcceptor acceptor)
        Overrides:
        configureCurlyBracesBlock in class org.eclipse.xtext.ui.editor.autoedit.DefaultAutoEditStrategyProvider
      • configureStringLiteral

        protected void configureStringLiteral​(org.eclipse.xtext.ui.editor.autoedit.AbstractEditStrategyProvider.IEditStrategyAcceptor acceptor)
        Overrides:
        configureStringLiteral in class org.eclipse.xtext.ui.editor.autoedit.DefaultAutoEditStrategyProvider