Class BslGeneratorMultiLangProposals

java.lang.Object
com._1c.g5.v8.dt.bsl.ui.BslGeneratorMultiLangProposals

public class BslGeneratorMultiLangProposals extends Object
This class provides multilanguage proposals for quick-fix and content-assist for Bsl Instances of BslGeneratorMultiLangProposals are stateful and are not safe for use by multiple threads.
  • Field Details

    • wasInit

      protected boolean wasInit
    • isRussian

      protected boolean isRussian
  • Constructor Details

    • BslGeneratorMultiLangProposals

      public BslGeneratorMultiLangProposals()
  • Method Details

    • isRussian

      public boolean isRussian()
      Check current language
      Returns:
      true, if Russian language set
    • setRussianLang

      public void setRussianLang(boolean isRussian)
      change language
      Parameters:
      isRussian -
    • getDotPropStr

      public String getDotPropStr()
      Returns:
      '.'
    • getCommaPropStr

      public String getCommaPropStr()
      Returns:
      ', '
    • getQuotePropStr

      public String getQuotePropStr()
      Returns:
      '"'
    • getSpacePropStr

      public String getSpacePropStr()
      Returns:
      ' '
    • getOpenBracketPropStr

      public String getOpenBracketPropStr()
      Returns:
      '('
    • getCloseBracketPropStr

      public String getCloseBracketPropStr()
      Returns:
      ')'
    • getProcNamePropStr

      public String getProcNamePropStr()
      Returns:
      'procedureName' or 'имяПроцедуры'
    • getParamsPropStr

      public String getParamsPropStr()
      Returns:
      'Parameters' or 'Параметры'
    • getTabPropStr

      public String getTabPropStr()
      Returns:
      '\t' (get it from text editor preferences)
    • getExpressionPropStr

      public String getExpressionPropStr()
      Returns:
      'Expression' or 'Выражение'
    • getFuncNamePropStr

      public String getFuncNamePropStr()
      Returns:
      'functionName' or 'имяФункции'
    • getVariablePropStr

      public String getVariablePropStr()
      Returns:
      'variable' or 'переменная'
    • getSemicolonPropStr

      public String getSemicolonPropStr()
      Returns:
      ';'
    • getNullPropStr

      public String getNullPropStr()
      Returns:
      'NULL'
    • getColonPropStr

      public String getColonPropStr()
      Returns:
      ':'
    • getLabelPropStr

      public String getLabelPropStr()
      Returns:
      'Label' or 'Метка'
    • getValuePropStr

      public String getValuePropStr()
      Returns:
      'value' or 'значение'
    • getIndexPropStr

      public String getIndexPropStr()
      Returns:
      'index' or 'индекс'
    • getElementPropStr

      public String getElementPropStr()
      Returns:
      'Element' or 'Элемент'
    • getCollectionPropStr

      public String getCollectionPropStr()
      Returns:
      'Collection' or 'Collection'
    • getNPropStr

      public String getNPropStr()
      Returns:
      'N'
    • getEqualPropStr

      public String getEqualPropStr()
      Returns:
      ' = '
    • getThreeDotsPropStr

      public String getThreeDotsPropStr()
      Returns:
      ' ... '
    • getNumberTypePropStr

      public String getNumberTypePropStr()
      Returns:
      'number' or 'число'
    • getStringTypePropStr

      public String getStringTypePropStr()
      Returns:
      'string' or 'строка'
    • getDateTypePropStr

      public String getDateTypePropStr()
      Returns:
      'date' or 'дата'
    • getTypeTypePropStr

      public String getTypeTypePropStr()
      Returns:
      'type' or 'тип'
    • getExceptionPropStr

      public String getExceptionPropStr()
      Returns:
      'Exception' or 'Исключение'
    • getHandlerExpressionPropStr

      public String getHandlerExpressionPropStr()
      Returns:
      'HandlerExpression' or 'ВыражениеОбработчика'
    • getEndDoPropStr

      public String getEndDoPropStr()
      Returns:
      'EndDo' or 'КонецЦикла'
    • getVarPropStr

      public String getVarPropStr()
      Returns:
      'Var' or 'Перем'
    • getValPropStr

      public String getValPropStr()
      Returns:
      'Val' or 'Знач'
    • getTildePropStr

      public String getTildePropStr()
      Returns:
      '~'
    • getStatementPropStr

      public String getStatementPropStr()
      Returns:
      'Statement' or 'Оператор'
    • getTodoPropStr

      public String getTodoPropStr()
      Returns:
      '// TODO:'
    • getTruePropStr

      public String getTruePropStr()
      Returns:
      'True' or 'Истина'
    • getOnePropStr

      public String getOnePropStr()
      Returns:
      '1'
    • getLineCommentPropStr

      public String getLineCommentPropStr()
      Returns:
      '//'
    • getNamePropStr

      public String getNamePropStr()
      Returns:
      'Name' or 'Имя'
    • getInsertHandlerContentPropStr

      public String getInsertHandlerContentPropStr()
      Returns:
      '//TODO: Insert the handler content' or '//TODO: Вставить содержимое обработчика'
    • getImplementationPropStr

      public String getImplementationPropStr()
      Returns:
      '//TODO: Implementation' or '//TODO: Реализация'
    • getBeginRegionPropStr

      public String getBeginRegionPropStr()
      Returns:
      '#Region' or '#Область'
    • getEndRegionPropStr

      public String getEndRegionPropStr()
      Returns:
      '#EndRegion' or '#КонецОбласти'
    • getBeginDeletePropStr

      public String getBeginDeletePropStr()
      Returns:
      '#Delete' or '#Удаление'
    • getEndDeletePropStr

      public String getEndDeletePropStr()
      Returns:
      '#EndDelete' or '#КонецУдаления'
    • getBeginInsertPropStr

      public String getBeginInsertPropStr()
      Returns:
      '#Insert' or '#Вставка'
    • getEndInsertPropStr

      public String getEndInsertPropStr()
      Returns:
      '#EndInsert' or '#КонецВставки'
    • getBeginIfPreprocessorPropStr

      public String getBeginIfPreprocessorPropStr()
      Returns:
      '#If' or '#Если'
    • getEndIfPreprocessorPropStr

      public String getEndIfPreprocessorPropStr()
      Returns:
      '#EndIf' or '#КонецЕсли'
    • getElsIfPreprocessorPropStr

      public String getElsIfPreprocessorPropStr()
      Returns:
      '#ElsIf' or '#ИначеЕсли'
    • getElsePreprocessorPropStr

      public String getElsePreprocessorPropStr()
      Returns:
      '#Else' or '#Если'
    • initProposals

      protected void initProposals()
      create content for all proposals