Package com._1c.g5.v8.dt.bsl.ui
Class BslGeneratorMultiLangProposals
java.lang.Object
com._1c.g5.v8.dt.bsl.ui.BslGeneratorMultiLangProposals
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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
create content for all proposalsboolean
Check current languagevoid
setRussianLang
(boolean isRussian) change language
-
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
- Returns:
- '.'
-
getCommaPropStr
- Returns:
- ', '
-
getQuotePropStr
- Returns:
- '"'
-
getSpacePropStr
- Returns:
- ' '
-
getOpenBracketPropStr
- Returns:
- '('
-
getCloseBracketPropStr
- Returns:
- ')'
-
getProcNamePropStr
- Returns:
- 'procedureName' or 'имяПроцедуры'
-
getParamsPropStr
- Returns:
- 'Parameters' or 'Параметры'
-
getTabPropStr
- Returns:
- '\t' (get it from text editor preferences)
-
getExpressionPropStr
- Returns:
- 'Expression' or 'Выражение'
-
getFuncNamePropStr
- Returns:
- 'functionName' or 'имяФункции'
-
getVariablePropStr
- Returns:
- 'variable' or 'переменная'
-
getSemicolonPropStr
- Returns:
- ';'
-
getNullPropStr
- Returns:
- 'NULL'
-
getColonPropStr
- Returns:
- ':'
-
getLabelPropStr
- Returns:
- 'Label' or 'Метка'
-
getValuePropStr
- Returns:
- 'value' or 'значение'
-
getIndexPropStr
- Returns:
- 'index' or 'индекс'
-
getElementPropStr
- Returns:
- 'Element' or 'Элемент'
-
getCollectionPropStr
- Returns:
- 'Collection' or 'Collection'
-
getNPropStr
- Returns:
- 'N'
-
getEqualPropStr
- Returns:
- ' = '
-
getThreeDotsPropStr
- Returns:
- ' ... '
-
getNumberTypePropStr
- Returns:
- 'number' or 'число'
-
getStringTypePropStr
- Returns:
- 'string' or 'строка'
-
getDateTypePropStr
- Returns:
- 'date' or 'дата'
-
getTypeTypePropStr
- Returns:
- 'type' or 'тип'
-
getExceptionPropStr
- Returns:
- 'Exception' or 'Исключение'
-
getHandlerExpressionPropStr
- Returns:
- 'HandlerExpression' or 'ВыражениеОбработчика'
-
getEndDoPropStr
- Returns:
- 'EndDo' or 'КонецЦикла'
-
getVarPropStr
- Returns:
- 'Var' or 'Перем'
-
getValPropStr
- Returns:
- 'Val' or 'Знач'
-
getTildePropStr
- Returns:
- '~'
-
getStatementPropStr
- Returns:
- 'Statement' or 'Оператор'
-
getTodoPropStr
- Returns:
- '// TODO:'
-
getTruePropStr
- Returns:
- 'True' or 'Истина'
-
getOnePropStr
- Returns:
- '1'
-
getLineCommentPropStr
- Returns:
- '//'
-
getNamePropStr
- Returns:
- 'Name' or 'Имя'
-
getInsertHandlerContentPropStr
- Returns:
- '//TODO: Insert the handler content' or '//TODO: Вставить содержимое обработчика'
-
getImplementationPropStr
- Returns:
- '//TODO: Implementation' or '//TODO: Реализация'
-
getBeginRegionPropStr
- Returns:
- '#Region' or '#Область'
-
getEndRegionPropStr
- Returns:
- '#EndRegion' or '#КонецОбласти'
-
getBeginDeletePropStr
- Returns:
- '#Delete' or '#Удаление'
-
getEndDeletePropStr
- Returns:
- '#EndDelete' or '#КонецУдаления'
-
getBeginInsertPropStr
- Returns:
- '#Insert' or '#Вставка'
-
getEndInsertPropStr
- Returns:
- '#EndInsert' or '#КонецВставки'
-
getBeginIfPreprocessorPropStr
- Returns:
- '#If' or '#Если'
-
getEndIfPreprocessorPropStr
- Returns:
- '#EndIf' or '#КонецЕсли'
-
getElsIfPreprocessorPropStr
- Returns:
- '#ElsIf' or '#ИначеЕсли'
-
getElsePreprocessorPropStr
- Returns:
- '#Else' or '#Если'
-
initProposals
protected void initProposals()create content for all proposals
-