diff --git a/bundles/com.e1c.v8codestyle.md/plugin.xml b/bundles/com.e1c.v8codestyle.md/plugin.xml
index f25e0e9c0..ba5476fa1 100644
--- a/bundles/com.e1c.v8codestyle.md/plugin.xml
+++ b/bundles/com.e1c.v8codestyle.md/plugin.xml
@@ -24,7 +24,7 @@
+ class="com.e1c.v8codestyle.internal.md.ExecutableExtensionFactory:com.e1c.v8codestyle.md.configuration.check.ConfigurationDataLock">
+ class="com.e1c.v8codestyle.internal.md.ExecutableExtensionFactory:com.e1c.v8codestyle.md.commonmodule.check.CommonModuleNameClient">
+ class="com.e1c.v8codestyle.internal.md.ExecutableExtensionFactory:com.e1c.v8codestyle.md.commonmodule.check.CommonModuleNameClientServer">
+ class="com.e1c.v8codestyle.internal.md.ExecutableExtensionFactory:com.e1c.v8codestyle.md.commonmodule.check.CommonModuleNameGlobal">
+ class="com.e1c.v8codestyle.internal.md.ExecutableExtensionFactory:com.e1c.v8codestyle.md.commonmodule.check.CommonModuleType">
+ class="com.e1c.v8codestyle.internal.md.ExecutableExtensionFactory:com.e1c.v8codestyle.md.scheduledjob.check.MdScheduledJobDescriptionCheck">
+ class="com.e1c.v8codestyle.md.scheduledjob.check.MdScheduledJobPeriodicityCheck">
+ class="com.e1c.v8codestyle.md.register.check.RegisterResourcePrecisionCheck">
+ class="com.e1c.v8codestyle.internal.md.ExecutableExtensionFactory:com.e1c.v8codestyle.md.commonmodule.check.CommonModuleNameServerCallCheck">
+ class="com.e1c.v8codestyle.internal.md.ExecutableExtensionFactory:com.e1c.v8codestyle.md.commonmodule.check.CommonModuleNameCachedCheck">
+ class="com.e1c.v8codestyle.internal.md.ExecutableExtensionFactory:com.e1c.v8codestyle.md.commonmodule.check.CommonModuleNameClientCachedCheck">
+ class="com.e1c.v8codestyle.internal.md.ExecutableExtensionFactory:com.e1c.v8codestyle.md.commonmodule.check.CommonModuleNameServerCallCachedCheck">
+ class="com.e1c.v8codestyle.md.subsystem.check.SubsystemSynonymTooLongCheck">
+ class="com.e1c.v8codestyle.internal.md.ExecutableExtensionFactory:com.e1c.v8codestyle.md.commonmodule.check.CommonModuleNameGlobalClientCheck">
+ class="com.e1c.v8codestyle.md.commonmodule.check.CommonModuleNamePrivilegedCheck">
+ class="com.e1c.v8codestyle.md.document.check.DocumentPostInPrivilegedModeCheck">
+ class="com.e1c.v8codestyle.md.functionoption.check.FunctionalOptionPrivilegedGetModeCheck">
diff --git a/bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/check/Messages.java b/bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/check/Messages.java
index 438470fe1..bfbd4ec06 100644
--- a/bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/check/Messages.java
+++ b/bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/check/Messages.java
@@ -22,8 +22,6 @@ final class Messages
extends NLS
{
private static final String BUNDLE_NAME = Messages.class.getPackageName() + ".messages"; //$NON-NLS-1$
- public static String CommonModuleNameClient_description;
- public static String CommonModuleNameClient_message;
public static String DbObjectRefNonRefTypesCheck_Description;
public static String DbObjectRefNonRefTypesCheck_Ref_and_other;
public static String DbObjectRefNonRefTypesCheck_Title;
@@ -40,28 +38,6 @@ final class Messages
public static String MdObjectAttributeCommentNotExist_Param_Attribute_name_list;
public static String MdObjectAttributeCommentNotExist_title;
public static String MdObjectNameWithoutSuffix_Name_suffix_list_title;
- public static String CommonModuleNameClient_title;
- public static String CommonModuleNameClientServer_description;
- public static String CommonModuleNameClientServer_message;
- public static String CommonModuleNameClientServer_title;
- public static String CommonModuleNamePrivilegedCheck_Description;
- public static String CommonModuleNamePrivilegedCheck_Issue;
- public static String CommonModuleNamePrivilegedCheck_Title;
- public static String CommonModuleNameGlobal_Description;
- public static String CommonModuleNameGlobal_Message;
- public static String CommonModuleNameGlobal_Title;
- public static String CommonModuleNameGlobalClientCheck_Description;
- public static String CommonModuleNameGlobalClientCheck_Message;
- public static String CommonModuleNameGlobalClientCheck_Title;
- public static String CommonModuleType_description;
- public static String CommonModuleType_message;
- public static String CommonModuleType_title;
- public static String ConfigurationDataLock_description;
- public static String ConfigurationDataLock_message;
- public static String ConfigurationDataLock_title;
- public static String CommonModuleNameServerCallPostfixCheck_0;
- public static String CommonModuleNameServerCallPostfixCheck_Common_module_name_description;
- public static String CommonModuleNameServerCallPostfixCheck_Common_module_postfix_title;
public static String DbObjectAnyRefCheck_AnyRef;
public static String DbObjectAnyRefCheck_Description;
public static String DbObjectAnyRefCheck_Title;
@@ -69,16 +45,9 @@ final class Messages
public static String DbObjectMaxNumberLengthCheck_message;
public static String DbObjectMaxNumberLengthCheck_parameter;
public static String DbObjectMaxNumberLengthCheck_title;
- public static String DocumentPostInPrivilegedModeCheck_description;
- public static String DocumentPostInPrivilegedModeCheck_message_Post_in_privileged_mode;
- public static String DocumentPostInPrivilegedModeCheck_message_Unpost_in_privileged_mode;
- public static String DocumentPostInPrivilegedModeCheck_title;
public static String ExtensionMdObjectNamePrefixCheck_Description;
public static String ExtensionMdObjectNamePrefixCheck_Object_0_should_have_1_prefix;
public static String ExtensionMdObjectNamePrefixCheck_Title;
- public static String FunctionalOptionPrivilegedGetModeCheck_description;
- public static String FunctionalOptionPrivilegedGetModeCheck_message;
- public static String FunctionalOptionPrivilegedGetModeCheck_title;
public static String MdObjectNameLength_description;
public static String MdObjectNameLength_Maximum_name_length_description;
public static String MdObjectNameLength_message;
@@ -93,24 +62,9 @@ final class Messages
public static String MdOwnerAttributeSynonymEmpty_Description;
public static String MdOwnerAttributeSynonymEmpty_owner_ErrorMessage;
public static String MdOwnerAttributeSynonymEmpty_parent_ErrorMessage;
- public static String MdScheduledJobDescriptionCheck_title;
- public static String MdScheduledJobDescriptionCheck_description;
- public static String MdScheduledJobDescriptionCheck_message;
- public static String MdScheduledJobPeriodicityCheck_description;
- public static String MdScheduledJobPeriodicityCheck_The_minimum_job_interval_is_less_then_minute;
- public static String MdScheduledJobPeriodicityCheck_title;
- public static String MdScheduledJobPeriodicityCheck_Minimum_job_interval_description;
public static String UnsafePasswordStorageCheck_Avoid_storing_password_in_infobase;
public static String UnsafePasswordStorageCheck_Avoid_storing_password_in_infobase_description;
public static String UnsafePasswordStorageCheck_Avoid_storing_password_in_infobase_error;
- public static String RegisterResourcePrecisionCheck_description;
- public static String RegisterResourcePrecisionCheck_message;
- public static String RegisterResourcePrecisionCheck_title;
- public static String SubsystemSynonymTooLongCheck_description;
- public static String SubsystemSynonymTooLongCheck_Exclude_languages_comma_separated;
- public static String SubsystemSynonymTooLongCheck_Length_of_section_name_more_than_symbols_for_language;
- public static String SubsystemSynonymTooLongCheck_Maximum_section_name_length;
- public static String SubsystemSynonymTooLongCheck_title;
static
{
// initialize resource bundle
diff --git a/bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/check/messages.properties b/bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/check/messages.properties
index 20a202e43..65bcf245f 100644
--- a/bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/check/messages.properties
+++ b/bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/check/messages.properties
@@ -1,52 +1,4 @@
-CommonModuleNameClientServer_description = Client-server common module should end with ClientServer suffix
-
-CommonModuleNameClientServer_message = Client-server common module should end with "{0}" suffix
-
-CommonModuleNameClientServer_title = Client-server common module should end with ClientServer suffix
-
-CommonModuleNameClient_description = Client common module should end with Client suffix
-
-CommonModuleNameClient_message = Client common module name should end with "{0}" suffix
-
-CommonModuleNameClient_title = Client common module should end with Client suffix
-
-CommonModuleNameGlobalClientCheck_Description = Client global common module should end with Client suffix
-
-CommonModuleNameGlobalClientCheck_Message = Client global common module should not have "{0}" suffix
-
-CommonModuleNameGlobalClientCheck_Title = Client global common module should end with Client suffix
-
-CommonModuleNameGlobal_Description = Global common module should end with Global suffix
-
-CommonModuleNameGlobal_Message = Global common module should end with "{0}" suffix
-
-CommonModuleNameGlobal_Title = Global common module should end with Global suffix
-
-CommonModuleNamePrivilegedCheck_Description = Privileged common module should end with FullAccess suffix
-
-CommonModuleNamePrivilegedCheck_Issue = Privileged common module should end with "{0}" suffix
-
-CommonModuleNamePrivilegedCheck_Title = Privileged common module should end with FullAccess suffix
-
-CommonModuleNameServerCallPostfixCheck_0 = Common module should end with {0}
-
-CommonModuleNameServerCallPostfixCheck_Common_module_name_description = Common module should end with correct postfix
-
-CommonModuleNameServerCallPostfixCheck_Common_module_postfix_title = Common module should end with correct postfix
-
-CommonModuleType_description = Common module has incorrect type
-
-CommonModuleType_message = Common module for type "{0}" has incorrect settings: {1}
-
-CommonModuleType_title = Common module has incorrect type
-
-ConfigurationDataLock_description = Application should use managed data lock mode
-
-ConfigurationDataLock_message = Application should use managed data lock mode
-
-ConfigurationDataLock_title = Configuration data lock mode
-
DbObjectAnyRefCheck_AnyRef = Do not use composite types AnyRef, CatalogRef, DocumentRef, and other for standard metadata objects stored in the infobase.
DbObjectAnyRefCheck_Description = Do not use composite types AnyRef, CatalogRef, DocumentRef, and other for standard metadata objects stored in the infobase.
@@ -67,26 +19,12 @@ DbObjectRefNonRefTypesCheck_Ref_and_other = Composite type attributes used in jo
DbObjectRefNonRefTypesCheck_Title = Restrictions on the use of composite type attributes
-DocumentPostInPrivilegedModeCheck_title = In document that allow posting don't set flag "Post/Unpost in privileged mode"
-
-DocumentPostInPrivilegedModeCheck_description = In document that allow posting don't set flag "Post/Unpost in privileged mode"
-
-DocumentPostInPrivilegedModeCheck_message_Post_in_privileged_mode = In document that allow posting don't set flag "Post in privileged mode"
-
-DocumentPostInPrivilegedModeCheck_message_Unpost_in_privileged_mode = In document that allow posting don't set flag "Unpost in privileged mode"
-
ExtensionMdObjectNamePrefixCheck_Description = The object name of the extension object does not have a prefix corresponding to the prefix of the extension itself
ExtensionMdObjectNamePrefixCheck_Object_0_should_have_1_prefix = The object "{0}" should have "{1}" prefix
ExtensionMdObjectNamePrefixCheck_Title = Extension object name does not have extension prefix
-FunctionalOptionPrivilegedGetModeCheck_message = Functional option don't use privileged get mode
-
-FunctionalOptionPrivilegedGetModeCheck_description = Functional option don't use privileged get mode
-
-FunctionalOptionPrivilegedGetModeCheck_title = Functional option don't use privileged get mode
-
MdListObjectPresentationCheck_Neither_Object_presentation_nor_List_presentation_is_not_filled = Neither Object presentation nor List presentation is not filled
MdListObjectPresentationCheck_decription = Neither Object presentation nor List presentation is not filled
@@ -141,36 +79,6 @@ MdOwnerAttributeSynonymEmpty_owner_ErrorMessage = Synonym of the 'Owner' standar
MdOwnerAttributeSynonymEmpty_parent_ErrorMessage = Synonym of the 'Parent' standard attribute is not specified
-MdScheduledJobDescriptionCheck_description = The description of the predefine sheduled job is set
-
-MdScheduledJobDescriptionCheck_message = The description of the predefine sheduled job is set
-
-MdScheduledJobDescriptionCheck_title = The description of the predefine sheduled job is set
-
-MdScheduledJobPeriodicityCheck_Minimum_job_interval_description = Minimum job interval
-
-MdScheduledJobPeriodicityCheck_The_minimum_job_interval_is_less_then_minute = The minimum job interval is less then {0}s
-
-MdScheduledJobPeriodicityCheck_description = The minimum job interval is less then {0}s
-
-MdScheduledJobPeriodicityCheck_title = The minimum job interval is less then {0}s
-
-RegisterResourcePrecisionCheck_description = Accumulation or accounting register resource precision is more than 25
-
-RegisterResourcePrecisionCheck_message = Accumulation or accounting register resource "{0}" precision is more than {1}
-
-RegisterResourcePrecisionCheck_title = Accumulation or accounting register resource precision is more than 25
-
-SubsystemSynonymTooLongCheck_Exclude_languages_comma_separated = Exclude languages (codes, comma-separated)
-
-SubsystemSynonymTooLongCheck_Length_of_section_name_more_than_symbols_for_language = Length of section synonym "{0}" more than {1} symbols for language {2}
-
-SubsystemSynonymTooLongCheck_Maximum_section_name_length = Maximum section name length
-
-SubsystemSynonymTooLongCheck_description = Section name is more than 35 characters long
-
-SubsystemSynonymTooLongCheck_title = Section name is more than 35 characters long
-
UnsafePasswordStorageCheck_Avoid_storing_password_in_infobase = Avoid storing passwords in the infobase
UnsafePasswordStorageCheck_Avoid_storing_password_in_infobase_description = To minimize risks of unauthorized access to passwords, avoid storing passwords in the infobase.
diff --git a/bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/check/messages_ru.properties b/bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/check/messages_ru.properties
index 7ec2b2a91..0f76ec9a9 100644
--- a/bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/check/messages_ru.properties
+++ b/bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/check/messages_ru.properties
@@ -1,53 +1,5 @@
#Generated by ResourceBundle Editor (http://essiembre.github.io/eclipse-rbe/)
-CommonModuleNameClientServer_description = Клиент-серверный общий модуль должен оканчиваться на суффикс КлиентСервер
-
-CommonModuleNameClientServer_message = Клиент-серверный общий модуль должен оканчиваться на суффикс "{0}"
-
-CommonModuleNameClientServer_title = Клиент-серверный общий модуль должен оканчиваться на суффикс КлиентСервер
-
-CommonModuleNameClient_description = Клиентский общий модуль должен оканчиваться на суффикс Клиент
-
-CommonModuleNameClient_message = Клиентский общий модуль должен оканчиваться на суффикс "{0}"
-
-CommonModuleNameClient_title = Клиентский общий модуль должен оканчиваться на суффикс Клиент
-
-CommonModuleNameGlobalClientCheck_Description = Клиентский глобальный общий модуль должен оканчиваться на суффикс Клиент
-
-CommonModuleNameGlobalClientCheck_Message = Клиентский глобальный общий модуль не должен содержать суффикс "{0}"
-
-CommonModuleNameGlobalClientCheck_Title = Клиентский глобальный общий модуль должен оканчиваться на суффикс Клиент
-
-CommonModuleNameGlobal_Description = Глобальный общий модуль должен оканчиваться на суффикс Глобальный
-
-CommonModuleNameGlobal_Message = Глобальный общий модуль должен оканчиваться на суффикс "{0}"
-
-CommonModuleNameGlobal_Title = Глобальный общий модуль должен оканчиваться на суффикс Глобальный
-
-CommonModuleNamePrivilegedCheck_Description = Привилегированный модуль должен оканчиваться на суффикс ПолныеПрава
-
-CommonModuleNamePrivilegedCheck_Issue = Привилегированный модуль должен оканчиваться на суффикс "{0}"
-
-CommonModuleNamePrivilegedCheck_Title = Привилегированный модуль должен оканчиваться на суффикс ПолныеПрава
-
-CommonModuleNameServerCallPostfixCheck_0 = Общий модуль должен именоваться с постфиксом {0}
-
-CommonModuleNameServerCallPostfixCheck_Common_module_name_description = Общий модуль должен именоваться с постфиксом
-
-CommonModuleNameServerCallPostfixCheck_Common_module_postfix_title = Общий модуль должен именоваться с постфиксом
-
-CommonModuleType_description = Общий модуль имеет некорректный тип
-
-CommonModuleType_message = Общий модуль для типа "{0}" имеет некорректные настройки: {1}
-
-CommonModuleType_title = Общий модуль имеет некорректный тип
-
-ConfigurationDataLock_description = Приложение должно использовать управляемый режим блокировки данных
-
-ConfigurationDataLock_message = Приложение должно использовать управляемый режим блокировки данных
-
-ConfigurationDataLock_title = Режим блокировки данных конфигурации
-
DbObjectAnyRefCheck_AnyRef = Для типизированных объектов метаданных, хранящихся в информационной базе, не следует использовать составные типы ЛюбаяСсылка, СправочникСсылка, ДокументСсылка и аналогичные.
DbObjectAnyRefCheck_Description = Для типизированных объектов метаданных, хранящихся в информационной базе, не следует использовать составные типы ЛюбаяСсылка, СправочникСсылка, ДокументСсылка и аналогичные. Состав типов того или иного типизированного объекта должен определяться явным образом.
@@ -68,26 +20,12 @@ DbObjectRefNonRefTypesCheck_Ref_and_other = Реквизиты составно
DbObjectRefNonRefTypesCheck_Title = Использование составного типа, содержащего ссылочные и не ссылочный тип вместе.
-DocumentPostInPrivilegedModeCheck_description = В документе, предполагающем проведение, не стоит флаг "Прив. режим при проведении/отмене проведения"
-
-DocumentPostInPrivilegedModeCheck_message_Post_in_privileged_mode = В документе, предполагающем проведение, не стоит флаг "Прив. режим при проведении"
-
-DocumentPostInPrivilegedModeCheck_message_Unpost_in_privileged_mode = В документе, предполагающем проведение, не стоит флаг "Прив. режим при отмене проведения"
-
-DocumentPostInPrivilegedModeCheck_title = В документе, предполагающем проведение, не стоит флаг "Прив. режим при проведении/отмене проведения"
-
ExtensionMdObjectNamePrefixCheck_Description = Имя объекта в расширении не содержит префикс расширения
ExtensionMdObjectNamePrefixCheck_Object_0_should_have_1_prefix = Имя объекта "{0}" должно содержать префикс "{1}"
ExtensionMdObjectNamePrefixCheck_Title = Имя объекта в расширении должно содержать префикс расширения
-FunctionalOptionPrivilegedGetModeCheck_description = В функциональной опции не установлен флаг "Привилегированный режим при получении"
-
-FunctionalOptionPrivilegedGetModeCheck_message = В функциональной опции не установлен флаг "Привилегированный режим при получении"
-
-FunctionalOptionPrivilegedGetModeCheck_title = В функциональной опции не установлен флаг "Привилегированный режим при получении"
-
MdListObjectPresentationCheck_Neither_Object_presentation_nor_List_presentation_is_not_filled = Не заполнено ни представление объекта, ни представление списка
MdListObjectPresentationCheck_decription = Не заполнено ни представление объекта, ни представление списка
@@ -142,36 +80,6 @@ MdOwnerAttributeSynonymEmpty_owner_ErrorMessage = Не задан синоним
MdOwnerAttributeSynonymEmpty_parent_ErrorMessage = Не задан синоним у стандартного реквизита 'Родитель'
-MdScheduledJobDescriptionCheck_description = Задано наименование предопределенного регламентного задания
-
-MdScheduledJobDescriptionCheck_message = Задано наименование предопределенного регламентного задания
-
-MdScheduledJobDescriptionCheck_title = Задано наименование предопределенного регламентного задания
-
-MdScheduledJobPeriodicityCheck_Minimum_job_interval_description = Минимальный интервал выполнения
-
-MdScheduledJobPeriodicityCheck_The_minimum_job_interval_is_less_then_minute = Периодичность выполнения регламентного задания меньше {0}сек
-
-MdScheduledJobPeriodicityCheck_description = Периодичность выполнения регламентного задания меньше {0}сек
-
-MdScheduledJobPeriodicityCheck_title = Периодичность выполнения регламентного задания меньше {0}сек
-
-RegisterResourcePrecisionCheck_description = Превышена максимальная длина ресурса регистра накопления или бухгалтерии (25 знаков)
-
-RegisterResourcePrecisionCheck_message = Длина ресурса регистра "{0}" превышает {1}
-
-RegisterResourcePrecisionCheck_title = Превышена максимальная длина ресурса регистра накопления или бухгалтерии (25 знаков)
-
-SubsystemSynonymTooLongCheck_Exclude_languages_comma_separated = Исключить языки (коды, разделенных запятыми)
-
-SubsystemSynonymTooLongCheck_Length_of_section_name_more_than_symbols_for_language = Длина синонима раздела "{0}" превышает {1} символов для языка {2}
-
-SubsystemSynonymTooLongCheck_Maximum_section_name_length = Максимальная длина названия раздела верхнего уровня
-
-SubsystemSynonymTooLongCheck_description = Длина названия раздела превышает 35 символов
-
-SubsystemSynonymTooLongCheck_title = Длина названия раздела превышает 35 символов
-
UnsafePasswordStorageCheck_Avoid_storing_password_in_infobase = Не следует хранить пароли в информационной базе
UnsafePasswordStorageCheck_Avoid_storing_password_in_infobase_description = Для сведения к минимуму возможности перехвата пароля злоумышленниками не следует хранить пароли в информационной базе
diff --git a/bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/check/CommonModuleNameCachedCheck.java b/bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/commonmodule/check/CommonModuleNameCachedCheck.java
similarity index 97%
rename from bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/check/CommonModuleNameCachedCheck.java
rename to bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/commonmodule/check/CommonModuleNameCachedCheck.java
index af6c71ded..82119ac15 100644
--- a/bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/check/CommonModuleNameCachedCheck.java
+++ b/bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/commonmodule/check/CommonModuleNameCachedCheck.java
@@ -10,7 +10,7 @@
* Contributors:
* 1C-Soft LLC - initial API and implementation
*******************************************************************************/
-package com.e1c.v8codestyle.md.check;
+package com.e1c.v8codestyle.md.commonmodule.check;
import static com._1c.g5.v8.dt.metadata.mdclass.MdClassPackage.Literals.COMMON_MODULE;
import static com._1c.g5.v8.dt.metadata.mdclass.MdClassPackage.Literals.COMMON_MODULE__RETURN_VALUES_REUSE;
@@ -38,6 +38,7 @@
import com.e1c.v8codestyle.check.StandardCheckExtension;
import com.e1c.v8codestyle.internal.md.CorePlugin;
import com.e1c.v8codestyle.md.CommonModuleTypes;
+import com.e1c.v8codestyle.md.check.SkipAdoptedInExtensionMdObjectExtension;
import com.google.inject.Inject;
/**
diff --git a/bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/check/CommonModuleNameClient.java b/bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/commonmodule/check/CommonModuleNameClient.java
similarity index 96%
rename from bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/check/CommonModuleNameClient.java
rename to bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/commonmodule/check/CommonModuleNameClient.java
index 170549e6a..dc336c0ae 100644
--- a/bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/check/CommonModuleNameClient.java
+++ b/bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/commonmodule/check/CommonModuleNameClient.java
@@ -11,7 +11,7 @@
* 1C-Soft LLC - initial API and implementation
* Aleksandr Kapralov - issue #14
*******************************************************************************/
-package com.e1c.v8codestyle.md.check;
+package com.e1c.v8codestyle.md.commonmodule.check;
import static com._1c.g5.v8.dt.metadata.mdclass.MdClassPackage.Literals.COMMON_MODULE;
import static com._1c.g5.v8.dt.metadata.mdclass.MdClassPackage.Literals.COMMON_MODULE__CLIENT_MANAGED_APPLICATION;
@@ -42,6 +42,8 @@
import com.e1c.v8codestyle.check.StandardCheckExtension;
import com.e1c.v8codestyle.internal.md.CorePlugin;
import com.e1c.v8codestyle.md.CommonModuleTypes;
+import com.e1c.v8codestyle.md.check.MdObjectNameWithoutSuffix;
+import com.e1c.v8codestyle.md.check.SkipAdoptedInExtensionMdObjectExtension;
/**
* Check client common module name has "Client" suffix
diff --git a/bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/check/CommonModuleNameClientCachedCheck.java b/bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/commonmodule/check/CommonModuleNameClientCachedCheck.java
similarity index 97%
rename from bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/check/CommonModuleNameClientCachedCheck.java
rename to bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/commonmodule/check/CommonModuleNameClientCachedCheck.java
index 9a37debfe..9fdbc674a 100644
--- a/bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/check/CommonModuleNameClientCachedCheck.java
+++ b/bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/commonmodule/check/CommonModuleNameClientCachedCheck.java
@@ -10,7 +10,7 @@
* Contributors:
* 1C-Soft LLC - initial API and implementation
*******************************************************************************/
-package com.e1c.v8codestyle.md.check;
+package com.e1c.v8codestyle.md.commonmodule.check;
import static com._1c.g5.v8.dt.metadata.mdclass.MdClassPackage.Literals.COMMON_MODULE;
import static com._1c.g5.v8.dt.metadata.mdclass.MdClassPackage.Literals.COMMON_MODULE__RETURN_VALUES_REUSE;
@@ -38,6 +38,7 @@
import com.e1c.v8codestyle.check.StandardCheckExtension;
import com.e1c.v8codestyle.internal.md.CorePlugin;
import com.e1c.v8codestyle.md.CommonModuleTypes;
+import com.e1c.v8codestyle.md.check.SkipAdoptedInExtensionMdObjectExtension;
import com.google.inject.Inject;
/**
diff --git a/bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/check/CommonModuleNameClientServer.java b/bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/commonmodule/check/CommonModuleNameClientServer.java
similarity index 96%
rename from bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/check/CommonModuleNameClientServer.java
rename to bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/commonmodule/check/CommonModuleNameClientServer.java
index 5b44aa681..bc898970a 100644
--- a/bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/check/CommonModuleNameClientServer.java
+++ b/bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/commonmodule/check/CommonModuleNameClientServer.java
@@ -11,7 +11,7 @@
* 1C-Soft LLC - initial API and implementation
* Aleksandr Kapralov - issue #14
*******************************************************************************/
-package com.e1c.v8codestyle.md.check;
+package com.e1c.v8codestyle.md.commonmodule.check;
import static com._1c.g5.v8.dt.metadata.mdclass.MdClassPackage.Literals.COMMON_MODULE;
import static com._1c.g5.v8.dt.metadata.mdclass.MdClassPackage.Literals.COMMON_MODULE__CLIENT_MANAGED_APPLICATION;
@@ -42,6 +42,8 @@
import com.e1c.v8codestyle.check.StandardCheckExtension;
import com.e1c.v8codestyle.internal.md.CorePlugin;
import com.e1c.v8codestyle.md.CommonModuleTypes;
+import com.e1c.v8codestyle.md.check.MdObjectNameWithoutSuffix;
+import com.e1c.v8codestyle.md.check.SkipAdoptedInExtensionMdObjectExtension;
/**
* Check client-server common module name has "ClientServer" suffix
diff --git a/bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/check/CommonModuleNameGlobal.java b/bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/commonmodule/check/CommonModuleNameGlobal.java
similarity index 96%
rename from bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/check/CommonModuleNameGlobal.java
rename to bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/commonmodule/check/CommonModuleNameGlobal.java
index 9ac81211c..2cb24e782 100644
--- a/bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/check/CommonModuleNameGlobal.java
+++ b/bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/commonmodule/check/CommonModuleNameGlobal.java
@@ -11,7 +11,7 @@
* 1C-Soft LLC - initial API and implementation
* Aleksandr Kapralov - issue #14
*******************************************************************************/
-package com.e1c.v8codestyle.md.check;
+package com.e1c.v8codestyle.md.commonmodule.check;
import static com._1c.g5.v8.dt.metadata.mdclass.MdClassPackage.Literals.COMMON_MODULE;
import static com._1c.g5.v8.dt.metadata.mdclass.MdClassPackage.Literals.COMMON_MODULE__CLIENT_MANAGED_APPLICATION;
@@ -42,6 +42,8 @@
import com.e1c.v8codestyle.check.StandardCheckExtension;
import com.e1c.v8codestyle.internal.md.CorePlugin;
import com.e1c.v8codestyle.md.CommonModuleTypes;
+import com.e1c.v8codestyle.md.check.MdObjectNameWithoutSuffix;
+import com.e1c.v8codestyle.md.check.SkipAdoptedInExtensionMdObjectExtension;
/**
* Check global common module name has "Global" suffix
diff --git a/bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/check/CommonModuleNameGlobalClientCheck.java b/bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/commonmodule/check/CommonModuleNameGlobalClientCheck.java
similarity index 98%
rename from bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/check/CommonModuleNameGlobalClientCheck.java
rename to bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/commonmodule/check/CommonModuleNameGlobalClientCheck.java
index 9cfa8fe71..876d4a8bd 100644
--- a/bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/check/CommonModuleNameGlobalClientCheck.java
+++ b/bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/commonmodule/check/CommonModuleNameGlobalClientCheck.java
@@ -10,7 +10,7 @@
* Contributors:
* 1C-Soft LLC - initial API and implementation
*******************************************************************************/
-package com.e1c.v8codestyle.md.check;
+package com.e1c.v8codestyle.md.commonmodule.check;
import static com._1c.g5.v8.dt.metadata.mdclass.MdClassPackage.Literals.COMMON_MODULE;
import static com._1c.g5.v8.dt.metadata.mdclass.MdClassPackage.Literals.COMMON_MODULE__GLOBAL;
diff --git a/bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/check/CommonModuleNamePrivilegedCheck.java b/bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/commonmodule/check/CommonModuleNamePrivilegedCheck.java
similarity index 94%
rename from bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/check/CommonModuleNamePrivilegedCheck.java
rename to bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/commonmodule/check/CommonModuleNamePrivilegedCheck.java
index 30c6b1b92..16b2cb170 100644
--- a/bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/check/CommonModuleNamePrivilegedCheck.java
+++ b/bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/commonmodule/check/CommonModuleNamePrivilegedCheck.java
@@ -10,7 +10,7 @@
* Contributors:
* 1C-Soft LLC - initial API and implementation
*******************************************************************************/
-package com.e1c.v8codestyle.md.check;
+package com.e1c.v8codestyle.md.commonmodule.check;
import static com._1c.g5.v8.dt.metadata.mdclass.MdClassPackage.Literals.COMMON_MODULE;
import static com._1c.g5.v8.dt.metadata.mdclass.MdClassPackage.Literals.COMMON_MODULE__PRIVILEGED;
@@ -29,6 +29,8 @@
import com.e1c.g5.v8.dt.check.settings.IssueType;
import com.e1c.v8codestyle.check.StandardCheckExtension;
import com.e1c.v8codestyle.internal.md.CorePlugin;
+import com.e1c.v8codestyle.md.check.MdObjectNameWithoutSuffix;
+import com.e1c.v8codestyle.md.check.SkipAdoptedInExtensionMdObjectExtension;
/**
* Check privileged common module name has "FullAccess" suffix
diff --git a/bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/check/CommonModuleNameServerCallCachedCheck.java b/bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/commonmodule/check/CommonModuleNameServerCallCachedCheck.java
similarity index 97%
rename from bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/check/CommonModuleNameServerCallCachedCheck.java
rename to bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/commonmodule/check/CommonModuleNameServerCallCachedCheck.java
index 8e0a16e14..566e93ee9 100644
--- a/bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/check/CommonModuleNameServerCallCachedCheck.java
+++ b/bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/commonmodule/check/CommonModuleNameServerCallCachedCheck.java
@@ -10,7 +10,7 @@
* Contributors:
* 1C-Soft LLC - initial API and implementation
*******************************************************************************/
-package com.e1c.v8codestyle.md.check;
+package com.e1c.v8codestyle.md.commonmodule.check;
import static com._1c.g5.v8.dt.metadata.mdclass.MdClassPackage.Literals.COMMON_MODULE;
import static com._1c.g5.v8.dt.metadata.mdclass.MdClassPackage.Literals.COMMON_MODULE__RETURN_VALUES_REUSE;
@@ -38,6 +38,7 @@
import com.e1c.v8codestyle.check.StandardCheckExtension;
import com.e1c.v8codestyle.internal.md.CorePlugin;
import com.e1c.v8codestyle.md.CommonModuleTypes;
+import com.e1c.v8codestyle.md.check.SkipAdoptedInExtensionMdObjectExtension;
import com.google.inject.Inject;
/**
diff --git a/bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/check/CommonModuleNameServerCallCheck.java b/bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/commonmodule/check/CommonModuleNameServerCallCheck.java
similarity index 97%
rename from bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/check/CommonModuleNameServerCallCheck.java
rename to bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/commonmodule/check/CommonModuleNameServerCallCheck.java
index 8f4e8cff0..75f9f7699 100644
--- a/bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/check/CommonModuleNameServerCallCheck.java
+++ b/bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/commonmodule/check/CommonModuleNameServerCallCheck.java
@@ -10,7 +10,7 @@
* Contributors:
* 1C-Soft LLC - initial API and implementation
*******************************************************************************/
-package com.e1c.v8codestyle.md.check;
+package com.e1c.v8codestyle.md.commonmodule.check;
import static com._1c.g5.v8.dt.metadata.mdclass.MdClassPackage.Literals.COMMON_MODULE;
import static com._1c.g5.v8.dt.metadata.mdclass.MdClassPackage.Literals.COMMON_MODULE__SERVER_CALL;
@@ -37,6 +37,7 @@
import com.e1c.v8codestyle.check.StandardCheckExtension;
import com.e1c.v8codestyle.internal.md.CorePlugin;
import com.e1c.v8codestyle.md.CommonModuleTypes;
+import com.e1c.v8codestyle.md.check.SkipAdoptedInExtensionMdObjectExtension;
import com.google.inject.Inject;
/**
diff --git a/bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/check/CommonModuleType.java b/bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/commonmodule/check/CommonModuleType.java
similarity index 97%
rename from bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/check/CommonModuleType.java
rename to bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/commonmodule/check/CommonModuleType.java
index 16e6be6c3..6d8e08a1a 100644
--- a/bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/check/CommonModuleType.java
+++ b/bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/commonmodule/check/CommonModuleType.java
@@ -11,7 +11,7 @@
* 1C-Soft LLC - initial API and implementation
* Aleksandr Kapralov - issue #15
*******************************************************************************/
-package com.e1c.v8codestyle.md.check;
+package com.e1c.v8codestyle.md.commonmodule.check;
import static com._1c.g5.v8.dt.common.Functions.featureToLabel;
import static com._1c.g5.v8.dt.metadata.mdclass.MdClassPackage.Literals.COMMON_MODULE;
@@ -40,6 +40,7 @@
import com.e1c.v8codestyle.check.StandardCheckExtension;
import com.e1c.v8codestyle.internal.md.CorePlugin;
import com.e1c.v8codestyle.md.CommonModuleTypes;
+import com.e1c.v8codestyle.md.check.SkipAdoptedInExtensionMdObjectExtension;
import com.google.inject.Inject;
/**
diff --git a/bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/commonmodule/check/Messages.java b/bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/commonmodule/check/Messages.java
new file mode 100644
index 000000000..52d7939c9
--- /dev/null
+++ b/bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/commonmodule/check/Messages.java
@@ -0,0 +1,55 @@
+/*******************************************************************************
+ * Copyright (C) 2021, 1C-Soft LLC and others.
+ *
+ * This program and the accompanying materials are made
+ * available under the terms of the Eclipse Public License 2.0
+ * which is available at https://www.eclipse.org/legal/epl-2.0/
+ *
+ * SPDX-License-Identifier: EPL-2.0
+ *
+ * Contributors:
+ * 1C-Soft LLC - initial API and implementation
+ *******************************************************************************/
+package com.e1c.v8codestyle.md.commonmodule.check;
+
+import org.eclipse.osgi.util.NLS;
+
+/**
+ * @author Dmitriy Marmyshev
+ *
+ */
+final class Messages
+ extends NLS
+{
+ private static final String BUNDLE_NAME = Messages.class.getPackageName() + ".messages"; //$NON-NLS-1$
+ public static String CommonModuleNameClient_description;
+ public static String CommonModuleNameClient_message;
+ public static String CommonModuleNameClient_title;
+ public static String CommonModuleNameClientServer_description;
+ public static String CommonModuleNameClientServer_message;
+ public static String CommonModuleNameClientServer_title;
+ public static String CommonModuleNamePrivilegedCheck_Description;
+ public static String CommonModuleNamePrivilegedCheck_Issue;
+ public static String CommonModuleNamePrivilegedCheck_Title;
+ public static String CommonModuleNameGlobal_Description;
+ public static String CommonModuleNameGlobal_Message;
+ public static String CommonModuleNameGlobal_Title;
+ public static String CommonModuleNameGlobalClientCheck_Description;
+ public static String CommonModuleNameGlobalClientCheck_Message;
+ public static String CommonModuleNameGlobalClientCheck_Title;
+ public static String CommonModuleType_description;
+ public static String CommonModuleType_message;
+ public static String CommonModuleType_title;
+ public static String CommonModuleNameServerCallPostfixCheck_0;
+ public static String CommonModuleNameServerCallPostfixCheck_Common_module_name_description;
+ public static String CommonModuleNameServerCallPostfixCheck_Common_module_postfix_title;
+ static
+ {
+ // initialize resource bundle
+ NLS.initializeMessages(BUNDLE_NAME, Messages.class);
+ }
+
+ private Messages()
+ {
+ }
+}
diff --git a/bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/commonmodule/check/messages.properties b/bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/commonmodule/check/messages.properties
new file mode 100644
index 000000000..91f96c6fa
--- /dev/null
+++ b/bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/commonmodule/check/messages.properties
@@ -0,0 +1,42 @@
+
+CommonModuleNameClientServer_description = Client-server common module should end with ClientServer suffix
+
+CommonModuleNameClientServer_message = Client-server common module should end with "{0}" suffix
+
+CommonModuleNameClientServer_title = Client-server common module should end with ClientServer suffix
+
+CommonModuleNameClient_description = Client common module should end with Client suffix
+
+CommonModuleNameClient_message = Client common module name should end with "{0}" suffix
+
+CommonModuleNameClient_title = Client common module should end with Client suffix
+
+CommonModuleNameGlobalClientCheck_Description = Client global common module should end with Client suffix
+
+CommonModuleNameGlobalClientCheck_Message = Client global common module should not have "{0}" suffix
+
+CommonModuleNameGlobalClientCheck_Title = Client global common module should end with Client suffix
+
+CommonModuleNameGlobal_Description = Global common module should end with Global suffix
+
+CommonModuleNameGlobal_Message = Global common module should end with "{0}" suffix
+
+CommonModuleNameGlobal_Title = Global common module should end with Global suffix
+
+CommonModuleNamePrivilegedCheck_Description = Privileged common module should end with FullAccess suffix
+
+CommonModuleNamePrivilegedCheck_Issue = Privileged common module should end with "{0}" suffix
+
+CommonModuleNamePrivilegedCheck_Title = Privileged common module should end with FullAccess suffix
+
+CommonModuleNameServerCallPostfixCheck_0 = Common module should end with {0}
+
+CommonModuleNameServerCallPostfixCheck_Common_module_name_description = Common module should end with correct postfix
+
+CommonModuleNameServerCallPostfixCheck_Common_module_postfix_title = Common module should end with correct postfix
+
+CommonModuleType_description = Common module has incorrect type
+
+CommonModuleType_message = Common module for type "{0}" has incorrect settings: {1}
+
+CommonModuleType_title = Common module has incorrect type
diff --git a/bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/commonmodule/check/messages_ru.properties b/bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/commonmodule/check/messages_ru.properties
new file mode 100644
index 000000000..7c74d0f14
--- /dev/null
+++ b/bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/commonmodule/check/messages_ru.properties
@@ -0,0 +1,43 @@
+#Generated by ResourceBundle Editor (http://essiembre.github.io/eclipse-rbe/)
+
+CommonModuleNameClientServer_description = Клиент-серверный общий модуль должен оканчиваться на суффикс КлиентСервер
+
+CommonModuleNameClientServer_message = Клиент-серверный общий модуль должен оканчиваться на суффикс "{0}"
+
+CommonModuleNameClientServer_title = Клиент-серверный общий модуль должен оканчиваться на суффикс КлиентСервер
+
+CommonModuleNameClient_description = Клиентский общий модуль должен оканчиваться на суффикс Клиент
+
+CommonModuleNameClient_message = Клиентский общий модуль должен оканчиваться на суффикс "{0}"
+
+CommonModuleNameClient_title = Клиентский общий модуль должен оканчиваться на суффикс Клиент
+
+CommonModuleNameGlobalClientCheck_Description = Клиентский глобальный общий модуль должен оканчиваться на суффикс Клиент
+
+CommonModuleNameGlobalClientCheck_Message = Клиентский глобальный общий модуль не должен содержать суффикс "{0}"
+
+CommonModuleNameGlobalClientCheck_Title = Клиентский глобальный общий модуль должен оканчиваться на суффикс Клиент
+
+CommonModuleNameGlobal_Description = Глобальный общий модуль должен оканчиваться на суффикс Глобальный
+
+CommonModuleNameGlobal_Message = Глобальный общий модуль должен оканчиваться на суффикс "{0}"
+
+CommonModuleNameGlobal_Title = Глобальный общий модуль должен оканчиваться на суффикс Глобальный
+
+CommonModuleNamePrivilegedCheck_Description = Привилегированный модуль должен оканчиваться на суффикс ПолныеПрава
+
+CommonModuleNamePrivilegedCheck_Issue = Привилегированный модуль должен оканчиваться на суффикс "{0}"
+
+CommonModuleNamePrivilegedCheck_Title = Привилегированный модуль должен оканчиваться на суффикс ПолныеПрава
+
+CommonModuleNameServerCallPostfixCheck_0 = Общий модуль должен именоваться с постфиксом {0}
+
+CommonModuleNameServerCallPostfixCheck_Common_module_name_description = Общий модуль должен именоваться с постфиксом
+
+CommonModuleNameServerCallPostfixCheck_Common_module_postfix_title = Общий модуль должен именоваться с постфиксом
+
+CommonModuleType_description = Общий модуль имеет некорректный тип
+
+CommonModuleType_message = Общий модуль для типа "{0}" имеет некорректные настройки: {1}
+
+CommonModuleType_title = Общий модуль имеет некорректный тип
diff --git a/bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/check/ConfigurationDataLock.java b/bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/configuration/check/ConfigurationDataLock.java
similarity index 98%
rename from bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/check/ConfigurationDataLock.java
rename to bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/configuration/check/ConfigurationDataLock.java
index 42c97105e..e6834ebcb 100644
--- a/bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/check/ConfigurationDataLock.java
+++ b/bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/configuration/check/ConfigurationDataLock.java
@@ -10,7 +10,7 @@
* Contributors:
* 1C-Soft LLC - initial API and implementation
*******************************************************************************/
-package com.e1c.v8codestyle.md.check;
+package com.e1c.v8codestyle.md.configuration.check;
import static com._1c.g5.v8.dt.metadata.mdclass.MdClassPackage.Literals.CONFIGURATION;
import static com._1c.g5.v8.dt.metadata.mdclass.MdClassPackage.Literals.CONFIGURATION__DATA_LOCK_CONTROL_MODE;
diff --git a/bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/configuration/check/Messages.java b/bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/configuration/check/Messages.java
new file mode 100644
index 000000000..1197f779b
--- /dev/null
+++ b/bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/configuration/check/Messages.java
@@ -0,0 +1,38 @@
+/*******************************************************************************
+ * Copyright (C) 2021, 1C-Soft LLC and others.
+ *
+ * This program and the accompanying materials are made
+ * available under the terms of the Eclipse Public License 2.0
+ * which is available at https://www.eclipse.org/legal/epl-2.0/
+ *
+ * SPDX-License-Identifier: EPL-2.0
+ *
+ * Contributors:
+ * 1C-Soft LLC - initial API and implementation
+ *******************************************************************************/
+package com.e1c.v8codestyle.md.configuration.check;
+
+import org.eclipse.osgi.util.NLS;
+
+
+/**
+ * @author Dmitriy Marmyshev
+ *
+ */
+final class Messages
+ extends NLS
+{
+ private static final String BUNDLE_NAME = Messages.class.getPackageName() + ".messages"; //$NON-NLS-1$
+ public static String ConfigurationDataLock_description;
+ public static String ConfigurationDataLock_message;
+ public static String ConfigurationDataLock_title;
+ static
+ {
+ // initialize resource bundle
+ NLS.initializeMessages(BUNDLE_NAME, Messages.class);
+ }
+
+ private Messages()
+ {
+ }
+}
diff --git a/bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/configuration/check/messages.properties b/bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/configuration/check/messages.properties
new file mode 100644
index 000000000..b6c155af2
--- /dev/null
+++ b/bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/configuration/check/messages.properties
@@ -0,0 +1,170 @@
+
+CommonModuleNameClientServer_description = Client-server common module should end with ClientServer suffix
+
+CommonModuleNameClientServer_message = Client-server common module should end with "{0}" suffix
+
+CommonModuleNameClientServer_title = Client-server common module should end with ClientServer suffix
+
+CommonModuleNameClient_description = Client common module should end with Client suffix
+
+CommonModuleNameClient_message = Client common module name should end with "{0}" suffix
+
+CommonModuleNameClient_title = Client common module should end with Client suffix
+
+CommonModuleNameGlobalClientCheck_Description = Global common module should end with Global suffix
+
+CommonModuleNameGlobalClientCheck_Message = Global common module should not have "{0}" suffix
+
+CommonModuleNameGlobalClientCheck_Title = Global common module should end with Global suffix
+
+CommonModuleNameGlobal_Description = Global common module should end with Global suffix
+
+CommonModuleNameGlobal_Message = Global common module should end with "{0}" suffix
+
+CommonModuleNameGlobal_Title = Global common module should end with Global suffix
+
+CommonModuleNamePrivilegedCheck_Description = Privileged common module should end with FullAccess suffix
+
+CommonModuleNamePrivilegedCheck_Issue = Privileged common module should end with "{0}" suffix
+
+CommonModuleNamePrivilegedCheck_Title = Privileged common module should end with FullAccess suffix
+
+CommonModuleNameServerCallPostfixCheck_0 = Common module should end with {0}
+
+CommonModuleNameServerCallPostfixCheck_Common_module_name_description = Common module should end with correct postfix
+
+CommonModuleNameServerCallPostfixCheck_Common_module_postfix_title = Common module should end with correct postfix
+
+CommonModuleType_description = Common module has incorrect type
+
+CommonModuleType_message = Common module for type "{0}" has incorrect settings: {1}
+
+CommonModuleType_title = Common module has incorrect type
+
+ConfigurationDataLock_description = Application should use managed data lock mode
+
+ConfigurationDataLock_message = Application should use managed data lock mode
+
+ConfigurationDataLock_title = Configuration data lock mode
+
+DbObjectAnyRefCheck_AnyRef = Do not use composite types AnyRef, CatalogRef, DocumentRef, and other for standard metadata objects stored in the infobase.
+
+DbObjectAnyRefCheck_Description = Do not use composite types AnyRef, CatalogRef, DocumentRef, and other for standard metadata objects stored in the infobase.
+
+DbObjectAnyRefCheck_Title = Restrictions on the use of any ref type attributes
+
+DbObjectRefNonRefTypesCheck_Description = Composite type attributes used in join conditions, filters, and for ordering must contain only reference attribute types (CatalogRef. ..., DocumentRef. ..., and other). Do not include any other non-reference types in this type. For example: String, Number, Date, UUID, Boolean, and ValueStorage.
+
+DbObjectRefNonRefTypesCheck_Ref_and_other = Composite type attributes used in join conditions, filters, and for ordering must contain only reference attribute types (CatalogRef. ..., DocumentRef. ..., and other). Do not include any other non-reference types in this type.
+
+DbObjectRefNonRefTypesCheck_Title = Restrictions on the use of composite type attributes
+
+DocumentPostInPrivilegedModeCheck_title = In document that allow posting don't set flag "Post/Unpost in privileged mode"
+
+DocumentPostInPrivilegedModeCheck_description = In document that allow posting don't set flag "Post/Unpost in privileged mode"
+
+DocumentPostInPrivilegedModeCheck_message_Post_in_privileged_mode = In document that allow posting don't set flag "Post in privileged mode"
+
+DocumentPostInPrivilegedModeCheck_message_Unpost_in_privileged_mode = In document that allow posting don't set flag "Unpost in privileged mode"
+
+ExtensionMdObjectNamePrefixCheck_Description = The object name of the extension object does not have a prefix corresponding to the prefix of the extension itself
+
+ExtensionMdObjectNamePrefixCheck_Object_0_should_have_1_prefix = The object "{0}" should have "{1}" prefix
+
+ExtensionMdObjectNamePrefixCheck_Title = Extension object name does not have extension prefix
+
+FunctionalOptionPrivilegedGetModeCheck_message = Functional option don't use privileged get mode
+
+FunctionalOptionPrivilegedGetModeCheck_description = Functional option don't use privileged get mode
+
+FunctionalOptionPrivilegedGetModeCheck_title = Functional option don't use privileged get mode
+
+MdListObjectPresentationCheck_Neither_Object_presentation_nor_List_presentation_is_not_filled = Neither Object presentation nor List presentation is not filled
+
+MdListObjectPresentationCheck_decription = Neither Object presentation nor List presentation is not filled
+
+MdListObjectPresentationCheck_title = Neither Object presentation nor List presentation is not filled
+
+MdObjectAttributeCommentCheck_Attribute_list=Attributes list
+
+MdObjectAttributeCommentCheck_Check_catalogs_param=Check Catalogs
+
+MdObjectAttributeCommentCheck_Check_documents_param=Check Documents
+
+MdObjectAttributeCommentCheck_Default_check_message=The attribute "Comment" has an invalid type
+
+MdObjectAttributeCommentCheck_description=The attribute "Comment" has an invalid type
+
+MdObjectAttributeCommentCheck_title=The attribute "Comment" has an invalid type
+
+MdObjectAttributeCommentNotExist_Md_Object_attribute_Comment_does_not_exist = Md Object attribute "Comment" does not exist
+
+MdObjectAttributeCommentNotExist_Param_Attribute_name_list = Attribute name list
+
+MdObjectAttributeCommentNotExist_Param_Check_Catalogs = Check catalogs
+
+MdObjectAttributeCommentNotExist_Param_Check_Documents = Check documents
+
+MdObjectAttributeCommentNotExist_description = Md Object attribute "Comment" does not exist
+
+MdObjectAttributeCommentNotExist_title = Md Object attribute "Comment" does not exist
+
+MdObjectNameLength_Maximum_name_length_description = Maximum name length
+
+MdObjectNameLength_description = Metadata object name length should be less than {0}
+
+MdObjectNameLength_message = Metadata object name should be less then {0}
+
+MdObjectNameLength_title = Metadata object name length
+
+MdObjectNameUnallowedLetterCheck_Ru_locale_unallowed_letter_used_for_name_synonym_or_comment = In Russian locale, name, synonym or comment of metadata object contain the unallowed letter
+
+MdObjectNameUnallowedLetterCheck_description = In Russian locale name, synonym or comment of metadata object contain the unallowed letter
+
+MdObjectNameUnallowedLetterCheck_title = In Russian locale name, synonym or comment of metadata object contain the unallowed letter
+
+MdObjectNameWithoutSuffix_Name_suffix_list_title = Name suffix list, comma separated
+
+MdOwnerAttributeSynonymEmpty_Description = Synonym of the 'Owner' or 'Parent' standard attribute is not specified
+
+MdOwnerAttributeSynonymEmpty_Title = Synonym of the 'Owner' or 'Parent' standard attribute is not specified
+
+MdOwnerAttributeSynonymEmpty_owner_ErrorMessage = Synonym of the 'Owner' standard attribute is not specified
+
+MdOwnerAttributeSynonymEmpty_parent_ErrorMessage = Synonym of the 'Parent' standard attribute is not specified
+
+MdScheduledJobDescriptionCheck_description = The description of the predefine sheduled job is set
+
+MdScheduledJobDescriptionCheck_message = The description of the predefine sheduled job is set
+
+MdScheduledJobDescriptionCheck_title = The description of the predefine sheduled job is set
+
+MdScheduledJobPeriodicityCheck_Minimum_job_interval_description = Minimum job interval
+
+MdScheduledJobPeriodicityCheck_The_minimum_job_interval_is_less_then_minute = The minimum job interval is less then {0}s
+
+MdScheduledJobPeriodicityCheck_description = The minimum job interval is less then {0}s
+
+MdScheduledJobPeriodicityCheck_title = The minimum job interval is less then {0}s
+
+RegisterResourcePrecisionCheck_description = Accumulation or accounting register resource precision is more than 25
+
+RegisterResourcePrecisionCheck_message = Accumulation or accounting register resource "{0}" precision is more than {1}
+
+RegisterResourcePrecisionCheck_title = Accumulation or accounting register resource precision is more than 25
+
+SubsystemSynonymTooLongCheck_Exclude_languages_comma_separated = Exclude languages (codes, comma-separated)
+
+SubsystemSynonymTooLongCheck_Length_of_section_name_more_than_symbols_for_language = Length of section synonym "{0}" more than {1} symbols for language {2}
+
+SubsystemSynonymTooLongCheck_Maximum_section_name_length = Maximum section name length
+
+SubsystemSynonymTooLongCheck_description = Section name is more than 35 characters long
+
+SubsystemSynonymTooLongCheck_title = Section name is more than 35 characters long
+
+UnsafePasswordStorageCheck_Avoid_storing_password_in_infobase = Avoid storing passwords in the infobase
+
+UnsafePasswordStorageCheck_Avoid_storing_password_in_infobase_description = To minimize risks of unauthorized access to passwords, avoid storing passwords in the infobase.
+
+UnsafePasswordStorageCheck_Avoid_storing_password_in_infobase_error = Avoid storing passwords in the infobase
diff --git a/bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/configuration/check/messages_ru.properties b/bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/configuration/check/messages_ru.properties
new file mode 100644
index 000000000..da150d6bf
--- /dev/null
+++ b/bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/configuration/check/messages_ru.properties
@@ -0,0 +1,171 @@
+#Generated by ResourceBundle Editor (http://essiembre.github.io/eclipse-rbe/)
+
+CommonModuleNameClientServer_description = Клиент-серверный общий модуль должен оканчиваться на суффикс КлиентСервер
+
+CommonModuleNameClientServer_message = Клиент-серверный общий модуль должен оканчиваться на суффикс "{0}"
+
+CommonModuleNameClientServer_title = Клиент-серверный общий модуль должен оканчиваться на суффикс КлиентСервер
+
+CommonModuleNameClient_description = Клиентский общий модуль должен оканчиваться на суффикс Клиент
+
+CommonModuleNameClient_message = Клиентский общий модуль должен оканчиваться на суффикс "{0}"
+
+CommonModuleNameClient_title = Клиентский общий модуль должен оканчиваться на суффикс Клиент
+
+CommonModuleNameGlobalClientCheck_Description = Глобальный общий модуль должен оканчиваться на суффикс Глобальный
+
+CommonModuleNameGlobalClientCheck_Message = Глобальный общий модуль не должен содержать суффикс "{0}"
+
+CommonModuleNameGlobalClientCheck_Title = Глобальный общий модуль должен оканчиваться на суффикс Глобальный
+
+CommonModuleNameGlobal_Description = Глобальный общий модуль должен оканчиваться на суффикс Глобальный
+
+CommonModuleNameGlobal_Message = Глобальный общий модуль должен оканчиваться на суффикс "{0}"
+
+CommonModuleNameGlobal_Title = Глобальный общий модуль должен оканчиваться на суффикс Глобальный
+
+CommonModuleNamePrivilegedCheck_Description = Привилегированный модуль должен оканчиваться на суффикс ПолныеПрава
+
+CommonModuleNamePrivilegedCheck_Issue = Привилегированный модуль должен оканчиваться на суффикс "{0}"
+
+CommonModuleNamePrivilegedCheck_Title = Привилегированный модуль должен оканчиваться на суффикс ПолныеПрава
+
+CommonModuleNameServerCallPostfixCheck_0 = Общий модуль должен именоваться с постфиксом {0}
+
+CommonModuleNameServerCallPostfixCheck_Common_module_name_description = Общий модуль должен именоваться с постфиксом
+
+CommonModuleNameServerCallPostfixCheck_Common_module_postfix_title = Общий модуль должен именоваться с постфиксом
+
+CommonModuleType_description = Общий модуль имеет некорректный тип
+
+CommonModuleType_message = Общий модуль для типа "{0}" имеет некорректные настройки: {1}
+
+CommonModuleType_title = Общий модуль имеет некорректный тип
+
+ConfigurationDataLock_description = Приложение должно использовать управляемый режим блокировки данных
+
+ConfigurationDataLock_message = Приложение должно использовать управляемый режим блокировки данных
+
+ConfigurationDataLock_title = Режим блокировки данных конфигурации
+
+DbObjectAnyRefCheck_AnyRef = Для типизированных объектов метаданных, хранящихся в информационной базе, не следует использовать составные типы ЛюбаяСсылка, СправочникСсылка, ДокументСсылка и аналогичные.
+
+DbObjectAnyRefCheck_Description = Для типизированных объектов метаданных, хранящихся в информационной базе, не следует использовать составные типы ЛюбаяСсылка, СправочникСсылка, ДокументСсылка и аналогичные. Состав типов того или иного типизированного объекта должен определяться явным образом.
+
+DbObjectAnyRefCheck_Title = Использование составного типа, содержащего ЛюбаяСсылка и аналогичные.
+
+DbObjectRefNonRefTypesCheck_Description = Реквизиты составного типа, используемые в условиях соединений, отборах, а также для упорядочивания, должны содержать только ссылочные типы (СправочникСсылка.…, ДокументСсылка.… и пр.). В состав их типов не рекомендуется включать никаких других нессылочных типов, например: Строка, Число, Дата, УникальныйИдентификатор, Булево, а также ХранилищеЗначения.
+
+DbObjectRefNonRefTypesCheck_Ref_and_other = Реквизиты составного типа, используемые в условиях соединений, отборах, а также для упорядочивания, должны содержать только ссылочные типы (СправочникСсылка.…, ДокументСсылка.… и пр.). В состав их типов не рекомендуется включать никаких других нессылочных типов.
+
+DbObjectRefNonRefTypesCheck_Title = Использование составного типа, содержащего ссылочные и не ссылочный тип вместе.
+
+DocumentPostInPrivilegedModeCheck_description = В документе, предполагающем проведение, не стоит флаг "Прив. режим при проведении/отмене проведения"
+
+DocumentPostInPrivilegedModeCheck_message_Post_in_privileged_mode = В документе, предполагающем проведение, не стоит флаг "Прив. режим при проведении"
+
+DocumentPostInPrivilegedModeCheck_message_Unpost_in_privileged_mode = В документе, предполагающем проведение, не стоит флаг "Прив. режим при отмене проведения"
+
+DocumentPostInPrivilegedModeCheck_title = В документе, предполагающем проведение, не стоит флаг "Прив. режим при проведении/отмене проведения"
+
+ExtensionMdObjectNamePrefixCheck_Description = Имя объекта в расширении не содержит префикс расширения
+
+ExtensionMdObjectNamePrefixCheck_Object_0_should_have_1_prefix = Имя объекта "{0}" должно содержать префикс "{1}"
+
+ExtensionMdObjectNamePrefixCheck_Title = Имя объекта в расширении должно содержать префикс расширения
+
+FunctionalOptionPrivilegedGetModeCheck_message = В функциональной опции не установлен флаг "Привилегированный режим при получении"
+
+FunctionalOptionPrivilegedGetModeCheck_description = В функциональной опции не установлен флаг "Привилегированный режим при получении"
+
+FunctionalOptionPrivilegedGetModeCheck_title = В функциональной опции не установлен флаг "Привилегированный режим при получении"
+
+MdListObjectPresentationCheck_Neither_Object_presentation_nor_List_presentation_is_not_filled = Не заполнено ни представление объекта, ни представление списка
+
+MdListObjectPresentationCheck_decription = Не заполнено ни представление объекта, ни представление списка
+
+MdListObjectPresentationCheck_title = Не заполнено ни представление объекта, ни представление списка
+
+MdObjectAttributeCommentCheck_Attribute_list = Список реквизитов
+
+MdObjectAttributeCommentCheck_Check_catalogs_param = Проверять справочники
+
+MdObjectAttributeCommentCheck_Check_documents_param = Проверять документы
+
+MdObjectAttributeCommentCheck_Default_check_message = Реквизит "Комментарий" имеет недопустимый тип
+
+MdObjectAttributeCommentCheck_description = Реквизит "Комментарий" имеет недопустимый тип
+
+MdObjectAttributeCommentCheck_title = Реквизит "Комментарий" имеет недопустимый тип
+
+MdObjectAttributeCommentNotExist_Md_Object_attribute_Comment_does_not_exist = Объект метаданных не имеет реквизит "Комментарий"
+
+MdObjectAttributeCommentNotExist_Param_Attribute_name_list = Список имен реквизита
+
+MdObjectAttributeCommentNotExist_Param_Check_Catalogs = Проверять справочники
+
+MdObjectAttributeCommentNotExist_Param_Check_Documents = Проверять документы
+
+MdObjectAttributeCommentNotExist_description = Объект метаданных не имеет реквизит "Комментарий"
+
+MdObjectAttributeCommentNotExist_title = Объект метаданных не имеет реквизит "Комментарий"
+
+MdObjectNameLength_Maximum_name_length_description = Максимальная длина имени
+
+MdObjectNameLength_description = Длина имени объекта метаданного должна быть меньше чем {0}
+
+MdObjectNameLength_message = Длина имени объекта метаданного должна быть меньше чем {0}
+
+MdObjectNameLength_title = Длина имени объекта метаданных
+
+MdObjectNameUnallowedLetterCheck_Ru_locale_unallowed_letter_used_for_name_synonym_or_comment = Имя, синоним или комментарий содержит букву “ё”
+
+MdObjectNameUnallowedLetterCheck_description = Имя, синоним или комментарий содержит букву “ё”
+
+MdObjectNameUnallowedLetterCheck_title = Имя, синоним или комментарий содержит букву “ё”
+
+MdObjectNameWithoutSuffix_Name_suffix_list_title = Список суффиксов имени, разделенный запятой
+
+MdOwnerAttributeSynonymEmpty_Description = Не задан синоним у стандартного свойства 'Владелец' или 'Родитель'
+
+MdOwnerAttributeSynonymEmpty_Title = Не задан синоним у стандартного свойства 'Владелец' или 'Родитель'
+
+MdOwnerAttributeSynonymEmpty_owner_ErrorMessage = Не задан синоним у стандартного реквизита 'Владелец'
+
+MdOwnerAttributeSynonymEmpty_parent_ErrorMessage = Не задан синоним у стандартного реквизита 'Родитель'
+
+MdScheduledJobDescriptionCheck_description = Задано наименование предопределенного регламентного задания
+
+MdScheduledJobDescriptionCheck_message = Задано наименование предопределенного регламентного задания
+
+MdScheduledJobDescriptionCheck_title = Задано наименование предопределенного регламентного задания
+
+MdScheduledJobPeriodicityCheck_Minimum_job_interval_description = Минимальный интервал выполнения
+
+MdScheduledJobPeriodicityCheck_The_minimum_job_interval_is_less_then_minute = Периодичность выполнения регламентного задания меньше {0}сек
+
+MdScheduledJobPeriodicityCheck_description = Периодичность выполнения регламентного задания меньше {0}сек
+
+MdScheduledJobPeriodicityCheck_title = Периодичность выполнения регламентного задания меньше {0}сек
+
+RegisterResourcePrecisionCheck_description = Превышена максимальная длина ресурса регистра накопления или бухгалтерии (25 знаков)
+
+RegisterResourcePrecisionCheck_message = Длина ресурса регистра "{0}" превышает {1}
+
+RegisterResourcePrecisionCheck_title = Превышена максимальная длина ресурса регистра накопления или бухгалтерии (25 знаков)
+
+SubsystemSynonymTooLongCheck_Exclude_languages_comma_separated = Исключить языки (коды, разделенных запятыми)
+
+SubsystemSynonymTooLongCheck_Length_of_section_name_more_than_symbols_for_language = Длина синонима раздела "{0}" превышает {1} символов для языка {2}
+
+SubsystemSynonymTooLongCheck_Maximum_section_name_length = Максимальная длина названия раздела верхнего уровня
+
+SubsystemSynonymTooLongCheck_description = Длина названия раздела превышает 35 символов
+
+SubsystemSynonymTooLongCheck_title = Длина названия раздела превышает 35 символов
+
+UnsafePasswordStorageCheck_Avoid_storing_password_in_infobase = Не следует хранить пароли в информационной базе
+
+UnsafePasswordStorageCheck_Avoid_storing_password_in_infobase_description = Для сведения к минимуму возможности перехвата пароля злоумышленниками не следует хранить пароли в информационной базе
+
+UnsafePasswordStorageCheck_Avoid_storing_password_in_infobase_error = Не следует хранить пароли в информационной базе
diff --git a/bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/check/DocumentPostInPrivilegedModeCheck.java b/bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/document/check/DocumentPostInPrivilegedModeCheck.java
similarity index 96%
rename from bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/check/DocumentPostInPrivilegedModeCheck.java
rename to bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/document/check/DocumentPostInPrivilegedModeCheck.java
index bbe584ebc..c20b8b06f 100644
--- a/bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/check/DocumentPostInPrivilegedModeCheck.java
+++ b/bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/document/check/DocumentPostInPrivilegedModeCheck.java
@@ -11,13 +11,13 @@
* 1C-Soft LLC - initial API and implementation
*******************************************************************************/
-package com.e1c.v8codestyle.md.check;
+package com.e1c.v8codestyle.md.document.check;
import static com._1c.g5.v8.dt.metadata.mdclass.MdClassPackage.Literals.DOCUMENT;
import static com._1c.g5.v8.dt.metadata.mdclass.MdClassPackage.Literals.DOCUMENT__POSTING;
import static com._1c.g5.v8.dt.metadata.mdclass.MdClassPackage.Literals.DOCUMENT__POST_IN_PRIVILEGED_MODE;
-import static com._1c.g5.v8.dt.metadata.mdclass.MdClassPackage.Literals.DOCUMENT__UNPOST_IN_PRIVILEGED_MODE;
import static com._1c.g5.v8.dt.metadata.mdclass.MdClassPackage.Literals.DOCUMENT__REGISTER_RECORDS;
+import static com._1c.g5.v8.dt.metadata.mdclass.MdClassPackage.Literals.DOCUMENT__UNPOST_IN_PRIVILEGED_MODE;
import org.eclipse.core.runtime.IProgressMonitor;
@@ -30,6 +30,7 @@
import com.e1c.g5.v8.dt.check.settings.IssueType;
import com.e1c.v8codestyle.check.StandardCheckExtension;
import com.e1c.v8codestyle.internal.md.CorePlugin;
+import com.e1c.v8codestyle.md.check.SkipAdoptedInExtensionMdObjectExtension;
/**
* The check that in the document that allow posting set flags "Post in privileged mode"
diff --git a/bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/document/check/Messages.java b/bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/document/check/Messages.java
new file mode 100644
index 000000000..5df42da3e
--- /dev/null
+++ b/bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/document/check/Messages.java
@@ -0,0 +1,38 @@
+/*******************************************************************************
+ * Copyright (C) 2021, 1C-Soft LLC and others.
+ *
+ * This program and the accompanying materials are made
+ * available under the terms of the Eclipse Public License 2.0
+ * which is available at https://www.eclipse.org/legal/epl-2.0/
+ *
+ * SPDX-License-Identifier: EPL-2.0
+ *
+ * Contributors:
+ * 1C-Soft LLC - initial API and implementation
+ *******************************************************************************/
+package com.e1c.v8codestyle.md.document.check;
+
+import org.eclipse.osgi.util.NLS;
+
+/**
+ * @author Dmitriy Marmyshev
+ *
+ */
+final class Messages
+ extends NLS
+{
+ private static final String BUNDLE_NAME = Messages.class.getPackageName() + ".messages"; //$NON-NLS-1$
+ public static String DocumentPostInPrivilegedModeCheck_description;
+ public static String DocumentPostInPrivilegedModeCheck_message_Post_in_privileged_mode;
+ public static String DocumentPostInPrivilegedModeCheck_message_Unpost_in_privileged_mode;
+ public static String DocumentPostInPrivilegedModeCheck_title;
+ static
+ {
+ // initialize resource bundle
+ NLS.initializeMessages(BUNDLE_NAME, Messages.class);
+ }
+
+ private Messages()
+ {
+ }
+}
diff --git a/bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/document/check/messages.properties b/bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/document/check/messages.properties
new file mode 100644
index 000000000..0b91ad6a8
--- /dev/null
+++ b/bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/document/check/messages.properties
@@ -0,0 +1,8 @@
+
+DocumentPostInPrivilegedModeCheck_title = In document that allow posting don't set flag "Post/Unpost in privileged mode"
+
+DocumentPostInPrivilegedModeCheck_description = In document that allow posting don't set flag "Post/Unpost in privileged mode"
+
+DocumentPostInPrivilegedModeCheck_message_Post_in_privileged_mode = In document that allow posting don't set flag "Post in privileged mode"
+
+DocumentPostInPrivilegedModeCheck_message_Unpost_in_privileged_mode = In document that allow posting don't set flag "Unpost in privileged mode"
diff --git a/bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/document/check/messages_ru.properties b/bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/document/check/messages_ru.properties
new file mode 100644
index 000000000..5f04ea245
--- /dev/null
+++ b/bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/document/check/messages_ru.properties
@@ -0,0 +1,9 @@
+#Generated by ResourceBundle Editor (http://essiembre.github.io/eclipse-rbe/)
+
+DocumentPostInPrivilegedModeCheck_description = В документе, предполагающем проведение, не стоит флаг "Прив. режим при проведении/отмене проведения"
+
+DocumentPostInPrivilegedModeCheck_message_Post_in_privileged_mode = В документе, предполагающем проведение, не стоит флаг "Прив. режим при проведении"
+
+DocumentPostInPrivilegedModeCheck_message_Unpost_in_privileged_mode = В документе, предполагающем проведение, не стоит флаг "Прив. режим при отмене проведения"
+
+DocumentPostInPrivilegedModeCheck_title = В документе, предполагающем проведение, не стоит флаг "Прив. режим при проведении/отмене проведения"
diff --git a/bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/check/FunctionalOptionPrivilegedGetModeCheck.java b/bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/functionoption/check/FunctionalOptionPrivilegedGetModeCheck.java
similarity index 95%
rename from bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/check/FunctionalOptionPrivilegedGetModeCheck.java
rename to bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/functionoption/check/FunctionalOptionPrivilegedGetModeCheck.java
index 631662287..3bcabf9d7 100644
--- a/bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/check/FunctionalOptionPrivilegedGetModeCheck.java
+++ b/bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/functionoption/check/FunctionalOptionPrivilegedGetModeCheck.java
@@ -11,11 +11,11 @@
* 1C-Soft LLC - initial API and implementation
*******************************************************************************/
-package com.e1c.v8codestyle.md.check;
+package com.e1c.v8codestyle.md.functionoption.check;
import static com._1c.g5.v8.dt.metadata.mdclass.MdClassPackage.Literals.FUNCTIONAL_OPTION;
-import static com._1c.g5.v8.dt.metadata.mdclass.MdClassPackage.Literals.FUNCTIONAL_OPTION__PRIVILEGED_GET_MODE;
import static com._1c.g5.v8.dt.metadata.mdclass.MdClassPackage.Literals.FUNCTIONAL_OPTION__LOCATION;
+import static com._1c.g5.v8.dt.metadata.mdclass.MdClassPackage.Literals.FUNCTIONAL_OPTION__PRIVILEGED_GET_MODE;
import org.eclipse.core.runtime.IProgressMonitor;
@@ -27,6 +27,7 @@
import com.e1c.g5.v8.dt.check.settings.IssueType;
import com.e1c.v8codestyle.check.StandardCheckExtension;
import com.e1c.v8codestyle.internal.md.CorePlugin;
+import com.e1c.v8codestyle.md.check.SkipAdoptedInExtensionMdObjectExtension;
/**
* Check functional option use privileged get mode.
diff --git a/bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/functionoption/check/Messages.java b/bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/functionoption/check/Messages.java
new file mode 100644
index 000000000..a3058a391
--- /dev/null
+++ b/bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/functionoption/check/Messages.java
@@ -0,0 +1,37 @@
+/*******************************************************************************
+ * Copyright (C) 2021, 1C-Soft LLC and others.
+ *
+ * This program and the accompanying materials are made
+ * available under the terms of the Eclipse Public License 2.0
+ * which is available at https://www.eclipse.org/legal/epl-2.0/
+ *
+ * SPDX-License-Identifier: EPL-2.0
+ *
+ * Contributors:
+ * 1C-Soft LLC - initial API and implementation
+ *******************************************************************************/
+package com.e1c.v8codestyle.md.functionoption.check;
+
+import org.eclipse.osgi.util.NLS;
+
+/**
+ * @author Dmitriy Marmyshev
+ *
+ */
+final class Messages
+ extends NLS
+{
+ private static final String BUNDLE_NAME = Messages.class.getPackageName() + ".messages"; //$NON-NLS-1$
+ public static String FunctionalOptionPrivilegedGetModeCheck_description;
+ public static String FunctionalOptionPrivilegedGetModeCheck_message;
+ public static String FunctionalOptionPrivilegedGetModeCheck_title;
+ static
+ {
+ // initialize resource bundle
+ NLS.initializeMessages(BUNDLE_NAME, Messages.class);
+ }
+
+ private Messages()
+ {
+ }
+}
diff --git a/bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/functionoption/check/messages.properties b/bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/functionoption/check/messages.properties
new file mode 100644
index 000000000..a7e9c5e05
--- /dev/null
+++ b/bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/functionoption/check/messages.properties
@@ -0,0 +1,6 @@
+
+FunctionalOptionPrivilegedGetModeCheck_message = Functional option don't use privileged get mode
+
+FunctionalOptionPrivilegedGetModeCheck_description = Functional option don't use privileged get mode
+
+FunctionalOptionPrivilegedGetModeCheck_title = Functional option don't use privileged get mode
diff --git a/bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/functionoption/check/messages_ru.properties b/bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/functionoption/check/messages_ru.properties
new file mode 100644
index 000000000..1b10c960a
--- /dev/null
+++ b/bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/functionoption/check/messages_ru.properties
@@ -0,0 +1,7 @@
+#Generated by ResourceBundle Editor (http://essiembre.github.io/eclipse-rbe/)
+
+FunctionalOptionPrivilegedGetModeCheck_message = В функциональной опции не установлен флаг "Привилегированный режим при получении"
+
+FunctionalOptionPrivilegedGetModeCheck_description = В функциональной опции не установлен флаг "Привилегированный режим при получении"
+
+FunctionalOptionPrivilegedGetModeCheck_title = В функциональной опции не установлен флаг "Привилегированный режим при получении"
diff --git a/bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/register/check/Messages.java b/bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/register/check/Messages.java
new file mode 100644
index 000000000..5fc4db1b5
--- /dev/null
+++ b/bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/register/check/Messages.java
@@ -0,0 +1,37 @@
+/*******************************************************************************
+ * Copyright (C) 2021, 1C-Soft LLC and others.
+ *
+ * This program and the accompanying materials are made
+ * available under the terms of the Eclipse Public License 2.0
+ * which is available at https://www.eclipse.org/legal/epl-2.0/
+ *
+ * SPDX-License-Identifier: EPL-2.0
+ *
+ * Contributors:
+ * 1C-Soft LLC - initial API and implementation
+ *******************************************************************************/
+package com.e1c.v8codestyle.md.register.check;
+
+import org.eclipse.osgi.util.NLS;
+
+/**
+ * @author Dmitriy Marmyshev
+ *
+ */
+final class Messages
+ extends NLS
+{
+ private static final String BUNDLE_NAME = Messages.class.getPackageName() + ".messages"; //$NON-NLS-1$
+ public static String RegisterResourcePrecisionCheck_description;
+ public static String RegisterResourcePrecisionCheck_message;
+ public static String RegisterResourcePrecisionCheck_title;
+ static
+ {
+ // initialize resource bundle
+ NLS.initializeMessages(BUNDLE_NAME, Messages.class);
+ }
+
+ private Messages()
+ {
+ }
+}
diff --git a/bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/check/RegisterResourcePrecisionCheck.java b/bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/register/check/RegisterResourcePrecisionCheck.java
similarity index 99%
rename from bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/check/RegisterResourcePrecisionCheck.java
rename to bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/register/check/RegisterResourcePrecisionCheck.java
index 6180eb744..01b9b91dc 100644
--- a/bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/check/RegisterResourcePrecisionCheck.java
+++ b/bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/register/check/RegisterResourcePrecisionCheck.java
@@ -10,7 +10,7 @@
* Contributors:
* 1C-Soft LLC - initial API and implementation
*******************************************************************************/
-package com.e1c.v8codestyle.md.check;
+package com.e1c.v8codestyle.md.register.check;
import static com._1c.g5.v8.dt.mcore.McorePackage.Literals.TYPE_DESCRIPTION;
import static com._1c.g5.v8.dt.mcore.McorePackage.Literals.TYPE_DESCRIPTION__NUMBER_QUALIFIERS;
diff --git a/bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/register/check/messages.properties b/bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/register/check/messages.properties
new file mode 100644
index 000000000..ada6be838
--- /dev/null
+++ b/bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/register/check/messages.properties
@@ -0,0 +1,6 @@
+
+RegisterResourcePrecisionCheck_description = Accumulation or accounting register resource precision is more than 25
+
+RegisterResourcePrecisionCheck_message = Accumulation or accounting register resource "{0}" precision is more than {1}
+
+RegisterResourcePrecisionCheck_title = Accumulation or accounting register resource precision is more than 25
diff --git a/bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/register/check/messages_ru.properties b/bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/register/check/messages_ru.properties
new file mode 100644
index 000000000..cce27985a
--- /dev/null
+++ b/bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/register/check/messages_ru.properties
@@ -0,0 +1,7 @@
+#Generated by ResourceBundle Editor (http://essiembre.github.io/eclipse-rbe/)
+
+RegisterResourcePrecisionCheck_description = Превышена максимальная длина ресурса регистра накопления или бухгалтерии (25 знаков)
+
+RegisterResourcePrecisionCheck_message = Длина ресурса регистра "{0}" превышает {1}
+
+RegisterResourcePrecisionCheck_title = Превышена максимальная длина ресурса регистра накопления или бухгалтерии (25 знаков)
diff --git a/bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/check/MdScheduledJobDescriptionCheck.java b/bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/scheduledjob/check/MdScheduledJobDescriptionCheck.java
similarity index 95%
rename from bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/check/MdScheduledJobDescriptionCheck.java
rename to bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/scheduledjob/check/MdScheduledJobDescriptionCheck.java
index 3601aa1c9..4fecdfb0e 100644
--- a/bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/check/MdScheduledJobDescriptionCheck.java
+++ b/bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/scheduledjob/check/MdScheduledJobDescriptionCheck.java
@@ -11,7 +11,7 @@
* 1C-Soft LLC - initial API and implementation
* Sergey Kozynskiy - issue #431
*******************************************************************************/
-package com.e1c.v8codestyle.md.check;
+package com.e1c.v8codestyle.md.scheduledjob.check;
import static com._1c.g5.v8.dt.metadata.mdclass.MdClassPackage.Literals.SCHEDULED_JOB;
import static com._1c.g5.v8.dt.metadata.mdclass.MdClassPackage.Literals.SCHEDULED_JOB__DESCRIPTION;
@@ -28,6 +28,7 @@
import com.e1c.g5.v8.dt.check.settings.IssueType;
import com.e1c.v8codestyle.check.StandardCheckExtension;
import com.e1c.v8codestyle.internal.md.CorePlugin;
+import com.e1c.v8codestyle.md.check.SkipAdoptedInExtensionMdObjectExtension;
/**
diff --git a/bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/check/MdScheduledJobPeriodicityCheck.java b/bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/scheduledjob/check/MdScheduledJobPeriodicityCheck.java
similarity index 97%
rename from bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/check/MdScheduledJobPeriodicityCheck.java
rename to bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/scheduledjob/check/MdScheduledJobPeriodicityCheck.java
index e51164e3c..60a1fb600 100644
--- a/bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/check/MdScheduledJobPeriodicityCheck.java
+++ b/bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/scheduledjob/check/MdScheduledJobPeriodicityCheck.java
@@ -12,7 +12,7 @@
* Manaev Konstantin - issue #38
*******************************************************************************/
-package com.e1c.v8codestyle.md.check;
+package com.e1c.v8codestyle.md.scheduledjob.check;
import static com._1c.g5.v8.dt.schedule.model.SchedulePackage.Literals.DAILY_SCHEDULE;
import static com._1c.g5.v8.dt.schedule.model.SchedulePackage.Literals.DAILY_SCHEDULE__REPEAT_PAUSE;
@@ -36,6 +36,7 @@
import com.e1c.g5.v8.dt.check.settings.IssueType;
import com.e1c.v8codestyle.check.StandardCheckExtension;
import com.e1c.v8codestyle.internal.md.CorePlugin;
+import com.e1c.v8codestyle.md.check.SkipAdoptedInExtensionMdObjectExtension;
/**
* Check mdo ScheduledJobs that a periodicity of execution a job is less than one minute
diff --git a/bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/scheduledjob/check/Messages.java b/bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/scheduledjob/check/Messages.java
new file mode 100644
index 000000000..2966d6906
--- /dev/null
+++ b/bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/scheduledjob/check/Messages.java
@@ -0,0 +1,41 @@
+/*******************************************************************************
+ * Copyright (C) 2021, 1C-Soft LLC and others.
+ *
+ * This program and the accompanying materials are made
+ * available under the terms of the Eclipse Public License 2.0
+ * which is available at https://www.eclipse.org/legal/epl-2.0/
+ *
+ * SPDX-License-Identifier: EPL-2.0
+ *
+ * Contributors:
+ * 1C-Soft LLC - initial API and implementation
+ *******************************************************************************/
+package com.e1c.v8codestyle.md.scheduledjob.check;
+
+import org.eclipse.osgi.util.NLS;
+
+/**
+ * @author Dmitriy Marmyshev
+ *
+ */
+final class Messages
+ extends NLS
+{
+ private static final String BUNDLE_NAME = Messages.class.getPackageName() + ".messages"; //$NON-NLS-1$
+ public static String MdScheduledJobDescriptionCheck_title;
+ public static String MdScheduledJobDescriptionCheck_description;
+ public static String MdScheduledJobDescriptionCheck_message;
+ public static String MdScheduledJobPeriodicityCheck_description;
+ public static String MdScheduledJobPeriodicityCheck_The_minimum_job_interval_is_less_then_minute;
+ public static String MdScheduledJobPeriodicityCheck_title;
+ public static String MdScheduledJobPeriodicityCheck_Minimum_job_interval_description;
+ static
+ {
+ // initialize resource bundle
+ NLS.initializeMessages(BUNDLE_NAME, Messages.class);
+ }
+
+ private Messages()
+ {
+ }
+}
diff --git a/bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/scheduledjob/check/messages.properties b/bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/scheduledjob/check/messages.properties
new file mode 100644
index 000000000..772d3cc34
--- /dev/null
+++ b/bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/scheduledjob/check/messages.properties
@@ -0,0 +1,14 @@
+
+MdScheduledJobDescriptionCheck_description = The description of the predefine scheduled job is set
+
+MdScheduledJobDescriptionCheck_message = The description of the predefine scheduled job is set
+
+MdScheduledJobDescriptionCheck_title = The description of the predefine scheduled job is set
+
+MdScheduledJobPeriodicityCheck_Minimum_job_interval_description = Minimum job interval
+
+MdScheduledJobPeriodicityCheck_The_minimum_job_interval_is_less_then_minute = The minimum job interval is less then {0}s
+
+MdScheduledJobPeriodicityCheck_description = The minimum job interval is less then {0}s
+
+MdScheduledJobPeriodicityCheck_title = The minimum job interval is less then {0}s
diff --git a/bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/scheduledjob/check/messages_ru.properties b/bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/scheduledjob/check/messages_ru.properties
new file mode 100644
index 000000000..c01781dde
--- /dev/null
+++ b/bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/scheduledjob/check/messages_ru.properties
@@ -0,0 +1,15 @@
+#Generated by ResourceBundle Editor (http://essiembre.github.io/eclipse-rbe/)
+
+MdScheduledJobDescriptionCheck_description = Задано наименование предопределенного регламентного задания
+
+MdScheduledJobDescriptionCheck_message = Задано наименование предопределенного регламентного задания
+
+MdScheduledJobDescriptionCheck_title = Задано наименование предопределенного регламентного задания
+
+MdScheduledJobPeriodicityCheck_Minimum_job_interval_description = Минимальный интервал выполнения
+
+MdScheduledJobPeriodicityCheck_The_minimum_job_interval_is_less_then_minute = Периодичность выполнения регламентного задания меньше {0}сек
+
+MdScheduledJobPeriodicityCheck_description = Периодичность выполнения регламентного задания меньше {0}сек
+
+MdScheduledJobPeriodicityCheck_title = Периодичность выполнения регламентного задания меньше {0}сек
diff --git a/bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/subsystem/check/Messages.java b/bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/subsystem/check/Messages.java
new file mode 100644
index 000000000..d22d07808
--- /dev/null
+++ b/bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/subsystem/check/Messages.java
@@ -0,0 +1,39 @@
+/*******************************************************************************
+ * Copyright (C) 2021, 1C-Soft LLC and others.
+ *
+ * This program and the accompanying materials are made
+ * available under the terms of the Eclipse Public License 2.0
+ * which is available at https://www.eclipse.org/legal/epl-2.0/
+ *
+ * SPDX-License-Identifier: EPL-2.0
+ *
+ * Contributors:
+ * 1C-Soft LLC - initial API and implementation
+ *******************************************************************************/
+package com.e1c.v8codestyle.md.subsystem.check;
+
+import org.eclipse.osgi.util.NLS;
+
+/**
+ * @author Dmitriy Marmyshev
+ *
+ */
+final class Messages
+ extends NLS
+{
+ private static final String BUNDLE_NAME = Messages.class.getPackageName() + ".messages"; //$NON-NLS-1$
+ public static String SubsystemSynonymTooLongCheck_description;
+ public static String SubsystemSynonymTooLongCheck_Exclude_languages_comma_separated;
+ public static String SubsystemSynonymTooLongCheck_Length_of_section_name_more_than_symbols_for_language;
+ public static String SubsystemSynonymTooLongCheck_Maximum_section_name_length;
+ public static String SubsystemSynonymTooLongCheck_title;
+ static
+ {
+ // initialize resource bundle
+ NLS.initializeMessages(BUNDLE_NAME, Messages.class);
+ }
+
+ private Messages()
+ {
+ }
+}
diff --git a/bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/check/SubsystemSynonymTooLongCheck.java b/bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/subsystem/check/SubsystemSynonymTooLongCheck.java
similarity index 97%
rename from bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/check/SubsystemSynonymTooLongCheck.java
rename to bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/subsystem/check/SubsystemSynonymTooLongCheck.java
index a2edf5813..a94836900 100644
--- a/bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/check/SubsystemSynonymTooLongCheck.java
+++ b/bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/subsystem/check/SubsystemSynonymTooLongCheck.java
@@ -11,7 +11,7 @@
* 1C-Soft LLC - initial API and implementation
* Denis Maslennikov - issue #37
*******************************************************************************/
-package com.e1c.v8codestyle.md.check;
+package com.e1c.v8codestyle.md.subsystem.check;
import static com._1c.g5.v8.dt.metadata.mdclass.MdClassPackage.Literals.MD_OBJECT__SYNONYM;
import static com._1c.g5.v8.dt.metadata.mdclass.MdClassPackage.Literals.SUBSYSTEM;
@@ -35,6 +35,7 @@
import com.e1c.g5.v8.dt.check.settings.IssueType;
import com.e1c.v8codestyle.check.StandardCheckExtension;
import com.e1c.v8codestyle.internal.md.CorePlugin;
+import com.e1c.v8codestyle.md.check.SkipAdoptedInExtensionMdObjectExtension;
/**
* Check top subsystem synonym length that should be less then 35 by default or value
diff --git a/bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/subsystem/check/messages.properties b/bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/subsystem/check/messages.properties
new file mode 100644
index 000000000..4f4df3a02
--- /dev/null
+++ b/bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/subsystem/check/messages.properties
@@ -0,0 +1,10 @@
+
+SubsystemSynonymTooLongCheck_Exclude_languages_comma_separated = Exclude languages (codes, comma-separated)
+
+SubsystemSynonymTooLongCheck_Length_of_section_name_more_than_symbols_for_language = Length of section synonym "{0}" more than {1} symbols for language {2}
+
+SubsystemSynonymTooLongCheck_Maximum_section_name_length = Maximum section name length
+
+SubsystemSynonymTooLongCheck_description = Section name is more than 35 characters long
+
+SubsystemSynonymTooLongCheck_title = Section name is more than 35 characters long
diff --git a/bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/subsystem/check/messages_ru.properties b/bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/subsystem/check/messages_ru.properties
new file mode 100644
index 000000000..50c45d333
--- /dev/null
+++ b/bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/subsystem/check/messages_ru.properties
@@ -0,0 +1,11 @@
+#Generated by ResourceBundle Editor (http://essiembre.github.io/eclipse-rbe/)
+
+SubsystemSynonymTooLongCheck_Exclude_languages_comma_separated = Исключить языки (коды, разделенных запятыми)
+
+SubsystemSynonymTooLongCheck_Length_of_section_name_more_than_symbols_for_language = Длина синонима раздела "{0}" превышает {1} символов для языка {2}
+
+SubsystemSynonymTooLongCheck_Maximum_section_name_length = Максимальная длина названия раздела верхнего уровня
+
+SubsystemSynonymTooLongCheck_description = Длина названия раздела превышает 35 символов
+
+SubsystemSynonymTooLongCheck_title = Длина названия раздела превышает 35 символов
diff --git a/tests/com.e1c.v8codestyle.md.itests/src/com/e1c/v8codestyle/md/check/itests/CommonModuleNameCachedCheckTest.java b/tests/com.e1c.v8codestyle.md.itests/src/com/e1c/v8codestyle/md/commonmodule/check/itests/CommonModuleNameCachedCheckTest.java
similarity index 96%
rename from tests/com.e1c.v8codestyle.md.itests/src/com/e1c/v8codestyle/md/check/itests/CommonModuleNameCachedCheckTest.java
rename to tests/com.e1c.v8codestyle.md.itests/src/com/e1c/v8codestyle/md/commonmodule/check/itests/CommonModuleNameCachedCheckTest.java
index ea094bd02..27645002d 100644
--- a/tests/com.e1c.v8codestyle.md.itests/src/com/e1c/v8codestyle/md/check/itests/CommonModuleNameCachedCheckTest.java
+++ b/tests/com.e1c.v8codestyle.md.itests/src/com/e1c/v8codestyle/md/commonmodule/check/itests/CommonModuleNameCachedCheckTest.java
@@ -10,7 +10,7 @@
* Contributors:
* 1C-Soft LLC - initial API and implementation
*******************************************************************************/
-package com.e1c.v8codestyle.md.check.itests;
+package com.e1c.v8codestyle.md.commonmodule.check.itests;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
@@ -31,7 +31,7 @@
import com._1c.g5.v8.dt.validation.marker.Marker;
import com.e1c.g5.v8.dt.testing.check.CheckTestBase;
import com.e1c.v8codestyle.md.CommonModuleTypes;
-import com.e1c.v8codestyle.md.check.CommonModuleNameCachedCheck;
+import com.e1c.v8codestyle.md.commonmodule.check.CommonModuleNameCachedCheck;
/**
* Tests for {@link CommonModuleNameCachedCheck} check.
diff --git a/tests/com.e1c.v8codestyle.md.itests/src/com/e1c/v8codestyle/md/check/itests/CommonModuleNameClientCachedCheckTest.java b/tests/com.e1c.v8codestyle.md.itests/src/com/e1c/v8codestyle/md/commonmodule/check/itests/CommonModuleNameClientCachedCheckTest.java
similarity index 96%
rename from tests/com.e1c.v8codestyle.md.itests/src/com/e1c/v8codestyle/md/check/itests/CommonModuleNameClientCachedCheckTest.java
rename to tests/com.e1c.v8codestyle.md.itests/src/com/e1c/v8codestyle/md/commonmodule/check/itests/CommonModuleNameClientCachedCheckTest.java
index 0ee9c90e3..d8c363765 100644
--- a/tests/com.e1c.v8codestyle.md.itests/src/com/e1c/v8codestyle/md/check/itests/CommonModuleNameClientCachedCheckTest.java
+++ b/tests/com.e1c.v8codestyle.md.itests/src/com/e1c/v8codestyle/md/commonmodule/check/itests/CommonModuleNameClientCachedCheckTest.java
@@ -10,7 +10,7 @@
* Contributors:
* 1C-Soft LLC - initial API and implementation
*******************************************************************************/
-package com.e1c.v8codestyle.md.check.itests;
+package com.e1c.v8codestyle.md.commonmodule.check.itests;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
@@ -31,7 +31,7 @@
import com._1c.g5.v8.dt.validation.marker.Marker;
import com.e1c.g5.v8.dt.testing.check.CheckTestBase;
import com.e1c.v8codestyle.md.CommonModuleTypes;
-import com.e1c.v8codestyle.md.check.CommonModuleNameClientCachedCheck;
+import com.e1c.v8codestyle.md.commonmodule.check.CommonModuleNameClientCachedCheck;
/**
* Tests for {@link CommonModuleNameClientCachedCheck} check.
diff --git a/tests/com.e1c.v8codestyle.md.itests/src/com/e1c/v8codestyle/md/check/itests/CommonModuleNameClientServerTest.java b/tests/com.e1c.v8codestyle.md.itests/src/com/e1c/v8codestyle/md/commonmodule/check/itests/CommonModuleNameClientServerTest.java
similarity index 97%
rename from tests/com.e1c.v8codestyle.md.itests/src/com/e1c/v8codestyle/md/check/itests/CommonModuleNameClientServerTest.java
rename to tests/com.e1c.v8codestyle.md.itests/src/com/e1c/v8codestyle/md/commonmodule/check/itests/CommonModuleNameClientServerTest.java
index 787527083..d93a164e8 100644
--- a/tests/com.e1c.v8codestyle.md.itests/src/com/e1c/v8codestyle/md/check/itests/CommonModuleNameClientServerTest.java
+++ b/tests/com.e1c.v8codestyle.md.itests/src/com/e1c/v8codestyle/md/commonmodule/check/itests/CommonModuleNameClientServerTest.java
@@ -11,7 +11,7 @@
* 1C-Soft LLC - initial API and implementation
* Aleksandr Kapralov - issue #14
*******************************************************************************/
-package com.e1c.v8codestyle.md.check.itests;
+package com.e1c.v8codestyle.md.commonmodule.check.itests;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertNull;
@@ -32,7 +32,7 @@
import com._1c.g5.v8.dt.validation.marker.Marker;
import com.e1c.g5.v8.dt.testing.check.CheckTestBase;
import com.e1c.v8codestyle.md.CommonModuleTypes;
-import com.e1c.v8codestyle.md.check.CommonModuleNameClientServer;
+import com.e1c.v8codestyle.md.commonmodule.check.CommonModuleNameClientServer;
/**
* Tests for {@link CommonModuleNameClientServer} check.
diff --git a/tests/com.e1c.v8codestyle.md.itests/src/com/e1c/v8codestyle/md/check/itests/CommonModuleNameClientTest.java b/tests/com.e1c.v8codestyle.md.itests/src/com/e1c/v8codestyle/md/commonmodule/check/itests/CommonModuleNameClientTest.java
similarity index 97%
rename from tests/com.e1c.v8codestyle.md.itests/src/com/e1c/v8codestyle/md/check/itests/CommonModuleNameClientTest.java
rename to tests/com.e1c.v8codestyle.md.itests/src/com/e1c/v8codestyle/md/commonmodule/check/itests/CommonModuleNameClientTest.java
index 3dedf1ce8..ad74834ae 100644
--- a/tests/com.e1c.v8codestyle.md.itests/src/com/e1c/v8codestyle/md/check/itests/CommonModuleNameClientTest.java
+++ b/tests/com.e1c.v8codestyle.md.itests/src/com/e1c/v8codestyle/md/commonmodule/check/itests/CommonModuleNameClientTest.java
@@ -11,7 +11,7 @@
* 1C-Soft LLC - initial API and implementation
* Aleksandr Kapralov - issue #14
*******************************************************************************/
-package com.e1c.v8codestyle.md.check.itests;
+package com.e1c.v8codestyle.md.commonmodule.check.itests;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertNull;
@@ -32,7 +32,7 @@
import com._1c.g5.v8.dt.validation.marker.Marker;
import com.e1c.g5.v8.dt.testing.check.CheckTestBase;
import com.e1c.v8codestyle.md.CommonModuleTypes;
-import com.e1c.v8codestyle.md.check.CommonModuleNameClient;
+import com.e1c.v8codestyle.md.commonmodule.check.CommonModuleNameClient;
/**
* Tests for {@link CommonModuleNameClient} check.
diff --git a/tests/com.e1c.v8codestyle.md.itests/src/com/e1c/v8codestyle/md/check/itests/CommonModuleNameGlobalClientCheckTest.java b/tests/com.e1c.v8codestyle.md.itests/src/com/e1c/v8codestyle/md/commonmodule/check/itests/CommonModuleNameGlobalClientCheckTest.java
similarity index 96%
rename from tests/com.e1c.v8codestyle.md.itests/src/com/e1c/v8codestyle/md/check/itests/CommonModuleNameGlobalClientCheckTest.java
rename to tests/com.e1c.v8codestyle.md.itests/src/com/e1c/v8codestyle/md/commonmodule/check/itests/CommonModuleNameGlobalClientCheckTest.java
index e1226d321..416eb0693 100644
--- a/tests/com.e1c.v8codestyle.md.itests/src/com/e1c/v8codestyle/md/check/itests/CommonModuleNameGlobalClientCheckTest.java
+++ b/tests/com.e1c.v8codestyle.md.itests/src/com/e1c/v8codestyle/md/commonmodule/check/itests/CommonModuleNameGlobalClientCheckTest.java
@@ -1,7 +1,7 @@
/**
*
*/
-package com.e1c.v8codestyle.md.check.itests;
+package com.e1c.v8codestyle.md.commonmodule.check.itests;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertNull;
@@ -21,7 +21,7 @@
import com._1c.g5.v8.dt.validation.marker.Marker;
import com.e1c.g5.v8.dt.testing.check.CheckTestBase;
import com.e1c.v8codestyle.md.CommonModuleTypes;
-import com.e1c.v8codestyle.md.check.CommonModuleNameGlobalClientCheck;
+import com.e1c.v8codestyle.md.commonmodule.check.CommonModuleNameGlobalClientCheck;
/**
* Tests for {@link CommonModuleNameGlobalClientCheck} check.
diff --git a/tests/com.e1c.v8codestyle.md.itests/src/com/e1c/v8codestyle/md/check/itests/CommonModuleNameGlobalTest.java b/tests/com.e1c.v8codestyle.md.itests/src/com/e1c/v8codestyle/md/commonmodule/check/itests/CommonModuleNameGlobalTest.java
similarity index 98%
rename from tests/com.e1c.v8codestyle.md.itests/src/com/e1c/v8codestyle/md/check/itests/CommonModuleNameGlobalTest.java
rename to tests/com.e1c.v8codestyle.md.itests/src/com/e1c/v8codestyle/md/commonmodule/check/itests/CommonModuleNameGlobalTest.java
index 594174e9f..a82f08f99 100644
--- a/tests/com.e1c.v8codestyle.md.itests/src/com/e1c/v8codestyle/md/check/itests/CommonModuleNameGlobalTest.java
+++ b/tests/com.e1c.v8codestyle.md.itests/src/com/e1c/v8codestyle/md/commonmodule/check/itests/CommonModuleNameGlobalTest.java
@@ -11,7 +11,7 @@
* 1C-Soft LLC - initial API and implementation
* Aleksandr Kapralov - issue #14
*******************************************************************************/
-package com.e1c.v8codestyle.md.check.itests;
+package com.e1c.v8codestyle.md.commonmodule.check.itests;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertNull;
@@ -32,7 +32,7 @@
import com._1c.g5.v8.dt.validation.marker.Marker;
import com.e1c.g5.v8.dt.testing.check.CheckTestBase;
import com.e1c.v8codestyle.md.CommonModuleTypes;
-import com.e1c.v8codestyle.md.check.CommonModuleNameGlobal;
+import com.e1c.v8codestyle.md.commonmodule.check.CommonModuleNameGlobal;
/**
* Tests for {@link CommonModuleNameGlobal} check.
diff --git a/tests/com.e1c.v8codestyle.md.itests/src/com/e1c/v8codestyle/md/check/itests/CommonModuleNamePrivilegedCheckTest.java b/tests/com.e1c.v8codestyle.md.itests/src/com/e1c/v8codestyle/md/commonmodule/check/itests/CommonModuleNamePrivilegedCheckTest.java
similarity index 96%
rename from tests/com.e1c.v8codestyle.md.itests/src/com/e1c/v8codestyle/md/check/itests/CommonModuleNamePrivilegedCheckTest.java
rename to tests/com.e1c.v8codestyle.md.itests/src/com/e1c/v8codestyle/md/commonmodule/check/itests/CommonModuleNamePrivilegedCheckTest.java
index 0f08c90bd..4cabb7649 100644
--- a/tests/com.e1c.v8codestyle.md.itests/src/com/e1c/v8codestyle/md/check/itests/CommonModuleNamePrivilegedCheckTest.java
+++ b/tests/com.e1c.v8codestyle.md.itests/src/com/e1c/v8codestyle/md/commonmodule/check/itests/CommonModuleNamePrivilegedCheckTest.java
@@ -10,7 +10,7 @@
* Contributors:
* 1C-Soft LLC - initial API and implementation
*******************************************************************************/
-package com.e1c.v8codestyle.md.check.itests;
+package com.e1c.v8codestyle.md.commonmodule.check.itests;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertNull;
@@ -30,7 +30,7 @@
import com._1c.g5.v8.dt.validation.marker.Marker;
import com.e1c.g5.v8.dt.testing.check.CheckTestBase;
import com.e1c.v8codestyle.md.CommonModuleTypes;
-import com.e1c.v8codestyle.md.check.CommonModuleNamePrivilegedCheck;
+import com.e1c.v8codestyle.md.commonmodule.check.CommonModuleNamePrivilegedCheck;
/**
* Tests for {@link CommonModuleNamePrivilegedCheck} check.
diff --git a/tests/com.e1c.v8codestyle.md.itests/src/com/e1c/v8codestyle/md/check/itests/CommonModuleNameServerCallCachedCheckTest.java b/tests/com.e1c.v8codestyle.md.itests/src/com/e1c/v8codestyle/md/commonmodule/check/itests/CommonModuleNameServerCallCachedCheckTest.java
similarity index 96%
rename from tests/com.e1c.v8codestyle.md.itests/src/com/e1c/v8codestyle/md/check/itests/CommonModuleNameServerCallCachedCheckTest.java
rename to tests/com.e1c.v8codestyle.md.itests/src/com/e1c/v8codestyle/md/commonmodule/check/itests/CommonModuleNameServerCallCachedCheckTest.java
index 618e07e46..4cab5b52a 100644
--- a/tests/com.e1c.v8codestyle.md.itests/src/com/e1c/v8codestyle/md/check/itests/CommonModuleNameServerCallCachedCheckTest.java
+++ b/tests/com.e1c.v8codestyle.md.itests/src/com/e1c/v8codestyle/md/commonmodule/check/itests/CommonModuleNameServerCallCachedCheckTest.java
@@ -10,7 +10,7 @@
* Contributors:
* 1C-Soft LLC - initial API and implementation
*******************************************************************************/
-package com.e1c.v8codestyle.md.check.itests;
+package com.e1c.v8codestyle.md.commonmodule.check.itests;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
@@ -31,7 +31,7 @@
import com._1c.g5.v8.dt.validation.marker.Marker;
import com.e1c.g5.v8.dt.testing.check.CheckTestBase;
import com.e1c.v8codestyle.md.CommonModuleTypes;
-import com.e1c.v8codestyle.md.check.CommonModuleNameServerCallCachedCheck;
+import com.e1c.v8codestyle.md.commonmodule.check.CommonModuleNameServerCallCachedCheck;
/**
* Tests for {@link CommonModuleNameServerCallCachedCheck} check.
diff --git a/tests/com.e1c.v8codestyle.md.itests/src/com/e1c/v8codestyle/md/check/itests/CommonModuleNameServerCallCheckTest.java b/tests/com.e1c.v8codestyle.md.itests/src/com/e1c/v8codestyle/md/commonmodule/check/itests/CommonModuleNameServerCallCheckTest.java
similarity index 96%
rename from tests/com.e1c.v8codestyle.md.itests/src/com/e1c/v8codestyle/md/check/itests/CommonModuleNameServerCallCheckTest.java
rename to tests/com.e1c.v8codestyle.md.itests/src/com/e1c/v8codestyle/md/commonmodule/check/itests/CommonModuleNameServerCallCheckTest.java
index d0a7360d1..4875ed327 100644
--- a/tests/com.e1c.v8codestyle.md.itests/src/com/e1c/v8codestyle/md/check/itests/CommonModuleNameServerCallCheckTest.java
+++ b/tests/com.e1c.v8codestyle.md.itests/src/com/e1c/v8codestyle/md/commonmodule/check/itests/CommonModuleNameServerCallCheckTest.java
@@ -10,7 +10,7 @@
* Contributors:
* 1C-Soft LLC - initial API and implementation
*******************************************************************************/
-package com.e1c.v8codestyle.md.check.itests;
+package com.e1c.v8codestyle.md.commonmodule.check.itests;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
@@ -31,7 +31,7 @@
import com._1c.g5.v8.dt.validation.marker.Marker;
import com.e1c.g5.v8.dt.testing.check.CheckTestBase;
import com.e1c.v8codestyle.md.CommonModuleTypes;
-import com.e1c.v8codestyle.md.check.CommonModuleNameServerCallCheck;
+import com.e1c.v8codestyle.md.commonmodule.check.CommonModuleNameServerCallCheck;
/**
* Tests for {@link CommonModuleNameServerCallCheck} check.
diff --git a/tests/com.e1c.v8codestyle.md.itests/src/com/e1c/v8codestyle/md/check/itests/CommonModuleTypeTest.java b/tests/com.e1c.v8codestyle.md.itests/src/com/e1c/v8codestyle/md/commonmodule/check/itests/CommonModuleTypeTest.java
similarity index 98%
rename from tests/com.e1c.v8codestyle.md.itests/src/com/e1c/v8codestyle/md/check/itests/CommonModuleTypeTest.java
rename to tests/com.e1c.v8codestyle.md.itests/src/com/e1c/v8codestyle/md/commonmodule/check/itests/CommonModuleTypeTest.java
index 97940d605..512d88aa2 100644
--- a/tests/com.e1c.v8codestyle.md.itests/src/com/e1c/v8codestyle/md/check/itests/CommonModuleTypeTest.java
+++ b/tests/com.e1c.v8codestyle.md.itests/src/com/e1c/v8codestyle/md/commonmodule/check/itests/CommonModuleTypeTest.java
@@ -11,7 +11,7 @@
* 1C-Soft LLC - initial API and implementation
* Aleksandr Kapralov - issue #15
*******************************************************************************/
-package com.e1c.v8codestyle.md.check.itests;
+package com.e1c.v8codestyle.md.commonmodule.check.itests;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertNull;
@@ -30,7 +30,7 @@
import com._1c.g5.v8.dt.validation.marker.Marker;
import com.e1c.g5.v8.dt.testing.check.CheckTestBase;
import com.e1c.v8codestyle.md.CommonModuleTypes;
-import com.e1c.v8codestyle.md.check.CommonModuleType;
+import com.e1c.v8codestyle.md.commonmodule.check.CommonModuleType;
/**
* Tests for {@link CommonModuleType} check.
diff --git a/tests/com.e1c.v8codestyle.md.itests/src/com/e1c/v8codestyle/md/check/itests/ConfigurationDataLockTest.java b/tests/com.e1c.v8codestyle.md.itests/src/com/e1c/v8codestyle/md/configuration/check/itests/ConfigurationDataLockTest.java
similarity index 95%
rename from tests/com.e1c.v8codestyle.md.itests/src/com/e1c/v8codestyle/md/check/itests/ConfigurationDataLockTest.java
rename to tests/com.e1c.v8codestyle.md.itests/src/com/e1c/v8codestyle/md/configuration/check/itests/ConfigurationDataLockTest.java
index 69cd37f08..605911a12 100644
--- a/tests/com.e1c.v8codestyle.md.itests/src/com/e1c/v8codestyle/md/check/itests/ConfigurationDataLockTest.java
+++ b/tests/com.e1c.v8codestyle.md.itests/src/com/e1c/v8codestyle/md/configuration/check/itests/ConfigurationDataLockTest.java
@@ -10,7 +10,7 @@
* Contributors:
* 1C-Soft LLC - initial API and implementation
*******************************************************************************/
-package com.e1c.v8codestyle.md.check.itests;
+package com.e1c.v8codestyle.md.configuration.check.itests;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertNull;
@@ -26,7 +26,7 @@
import com._1c.g5.v8.dt.metadata.mdclass.DefaultDataLockControlMode;
import com._1c.g5.v8.dt.validation.marker.Marker;
import com.e1c.g5.v8.dt.testing.check.CheckTestBase;
-import com.e1c.v8codestyle.md.check.ConfigurationDataLock;
+import com.e1c.v8codestyle.md.configuration.check.ConfigurationDataLock;
/**
* Tests for {@link ConfigurationDataLock} check.
diff --git a/tests/com.e1c.v8codestyle.md.itests/src/com/e1c/v8codestyle/md/check/itests/DocumentPostInPrivilegedModeCheckTest.java b/tests/com.e1c.v8codestyle.md.itests/src/com/e1c/v8codestyle/md/document/check/itests/DocumentPostInPrivilegedModeCheckTest.java
similarity index 95%
rename from tests/com.e1c.v8codestyle.md.itests/src/com/e1c/v8codestyle/md/check/itests/DocumentPostInPrivilegedModeCheckTest.java
rename to tests/com.e1c.v8codestyle.md.itests/src/com/e1c/v8codestyle/md/document/check/itests/DocumentPostInPrivilegedModeCheckTest.java
index cdd59a2f7..ef30d660c 100644
--- a/tests/com.e1c.v8codestyle.md.itests/src/com/e1c/v8codestyle/md/check/itests/DocumentPostInPrivilegedModeCheckTest.java
+++ b/tests/com.e1c.v8codestyle.md.itests/src/com/e1c/v8codestyle/md/document/check/itests/DocumentPostInPrivilegedModeCheckTest.java
@@ -11,7 +11,7 @@
* 1C-Soft LLC - initial API and implementation
*******************************************************************************/
-package com.e1c.v8codestyle.md.check.itests;
+package com.e1c.v8codestyle.md.document.check.itests;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertNull;
@@ -21,7 +21,7 @@
import com._1c.g5.v8.dt.core.platform.IDtProject;
import com._1c.g5.v8.dt.validation.marker.Marker;
import com.e1c.g5.v8.dt.testing.check.CheckTestBase;
-import com.e1c.v8codestyle.md.check.DocumentPostInPrivilegedModeCheck;
+import com.e1c.v8codestyle.md.document.check.DocumentPostInPrivilegedModeCheck;
/**
* The test for class {@link DocumentPostInPrivilegedModeCheck}.
diff --git a/tests/com.e1c.v8codestyle.md.itests/src/com/e1c/v8codestyle/md/check/itests/FunctionalOptionPrivilegedGetModeTest.java b/tests/com.e1c.v8codestyle.md.itests/src/com/e1c/v8codestyle/md/functionaloption/check/itests/FunctionalOptionPrivilegedGetModeTest.java
similarity index 92%
rename from tests/com.e1c.v8codestyle.md.itests/src/com/e1c/v8codestyle/md/check/itests/FunctionalOptionPrivilegedGetModeTest.java
rename to tests/com.e1c.v8codestyle.md.itests/src/com/e1c/v8codestyle/md/functionaloption/check/itests/FunctionalOptionPrivilegedGetModeTest.java
index 3e98e9801..c573b1f8c 100644
--- a/tests/com.e1c.v8codestyle.md.itests/src/com/e1c/v8codestyle/md/check/itests/FunctionalOptionPrivilegedGetModeTest.java
+++ b/tests/com.e1c.v8codestyle.md.itests/src/com/e1c/v8codestyle/md/functionaloption/check/itests/FunctionalOptionPrivilegedGetModeTest.java
@@ -11,7 +11,7 @@
* 1C-Soft LLC - initial API and implementation
*******************************************************************************/
-package com.e1c.v8codestyle.md.check.itests;
+package com.e1c.v8codestyle.md.functionaloption.check.itests;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertNull;
@@ -21,7 +21,7 @@
import com._1c.g5.v8.dt.core.platform.IDtProject;
import com._1c.g5.v8.dt.validation.marker.Marker;
import com.e1c.g5.v8.dt.testing.check.CheckTestBase;
-import com.e1c.v8codestyle.md.check.FunctionalOptionPrivilegedGetModeCheck;
+import com.e1c.v8codestyle.md.functionoption.check.FunctionalOptionPrivilegedGetModeCheck;
/**
* The test class for {@link FunctionalOptionPrivilegedGetModeCheck}
diff --git a/tests/com.e1c.v8codestyle.md.itests/src/com/e1c/v8codestyle/md/check/itests/RegisterResourcePrecisionTest.java b/tests/com.e1c.v8codestyle.md.itests/src/com/e1c/v8codestyle/md/register/check/itests/RegisterResourcePrecisionTest.java
similarity index 98%
rename from tests/com.e1c.v8codestyle.md.itests/src/com/e1c/v8codestyle/md/check/itests/RegisterResourcePrecisionTest.java
rename to tests/com.e1c.v8codestyle.md.itests/src/com/e1c/v8codestyle/md/register/check/itests/RegisterResourcePrecisionTest.java
index f46931b9b..b16c55a1c 100644
--- a/tests/com.e1c.v8codestyle.md.itests/src/com/e1c/v8codestyle/md/check/itests/RegisterResourcePrecisionTest.java
+++ b/tests/com.e1c.v8codestyle.md.itests/src/com/e1c/v8codestyle/md/register/check/itests/RegisterResourcePrecisionTest.java
@@ -10,7 +10,7 @@
* Contributors:
* 1C-Soft LLC - initial API and implementation
*******************************************************************************/
-package com.e1c.v8codestyle.md.check.itests;
+package com.e1c.v8codestyle.md.register.check.itests;
import static org.junit.Assert.assertNotNull;
diff --git a/tests/com.e1c.v8codestyle.md.itests/src/com/e1c/v8codestyle/md/check/itests/MdScheduledJobPeriodicityCheckTest.java b/tests/com.e1c.v8codestyle.md.itests/src/com/e1c/v8codestyle/md/scheduledjob/check/itests/MdScheduledJobPeriodicityCheckTest.java
similarity index 97%
rename from tests/com.e1c.v8codestyle.md.itests/src/com/e1c/v8codestyle/md/check/itests/MdScheduledJobPeriodicityCheckTest.java
rename to tests/com.e1c.v8codestyle.md.itests/src/com/e1c/v8codestyle/md/scheduledjob/check/itests/MdScheduledJobPeriodicityCheckTest.java
index 2eca3e050..e49bbf26a 100644
--- a/tests/com.e1c.v8codestyle.md.itests/src/com/e1c/v8codestyle/md/check/itests/MdScheduledJobPeriodicityCheckTest.java
+++ b/tests/com.e1c.v8codestyle.md.itests/src/com/e1c/v8codestyle/md/scheduledjob/check/itests/MdScheduledJobPeriodicityCheckTest.java
@@ -12,7 +12,7 @@
* Manaev Konstantin - issue #38
*******************************************************************************/
-package com.e1c.v8codestyle.md.check.itests;
+package com.e1c.v8codestyle.md.scheduledjob.check.itests;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertNull;
@@ -25,7 +25,7 @@
import com._1c.g5.v8.dt.schedule.model.Schedule;
import com._1c.g5.v8.dt.validation.marker.Marker;
import com.e1c.g5.v8.dt.testing.check.SingleProjectReadOnlyCheckTestBase;
-import com.e1c.v8codestyle.md.check.MdScheduledJobPeriodicityCheck;
+import com.e1c.v8codestyle.md.scheduledjob.check.MdScheduledJobPeriodicityCheck;
/**
* Tests for {@link MdScheduledJobPeriodicityCheck} check.
diff --git a/tests/com.e1c.v8codestyle.md.itests/src/com/e1c/v8codestyle/md/check/itests/ScheduledJobDescriptionCheckTest.java b/tests/com.e1c.v8codestyle.md.itests/src/com/e1c/v8codestyle/md/scheduledjob/check/itests/ScheduledJobDescriptionCheckTest.java
similarity index 92%
rename from tests/com.e1c.v8codestyle.md.itests/src/com/e1c/v8codestyle/md/check/itests/ScheduledJobDescriptionCheckTest.java
rename to tests/com.e1c.v8codestyle.md.itests/src/com/e1c/v8codestyle/md/scheduledjob/check/itests/ScheduledJobDescriptionCheckTest.java
index 943c07ab7..decd43992 100644
--- a/tests/com.e1c.v8codestyle.md.itests/src/com/e1c/v8codestyle/md/check/itests/ScheduledJobDescriptionCheckTest.java
+++ b/tests/com.e1c.v8codestyle.md.itests/src/com/e1c/v8codestyle/md/scheduledjob/check/itests/ScheduledJobDescriptionCheckTest.java
@@ -11,7 +11,7 @@
* 1C-Soft LLC - initial API and implementation
* Sergey Kozynskiy - issue #431
*******************************************************************************/
-package com.e1c.v8codestyle.md.check.itests;
+package com.e1c.v8codestyle.md.scheduledjob.check.itests;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertNull;
@@ -21,7 +21,7 @@
import com._1c.g5.v8.dt.core.platform.IDtProject;
import com._1c.g5.v8.dt.validation.marker.Marker;
import com.e1c.g5.v8.dt.testing.check.CheckTestBase;
-import com.e1c.v8codestyle.md.check.MdScheduledJobDescriptionCheck;
+import com.e1c.v8codestyle.md.scheduledjob.check.MdScheduledJobDescriptionCheck;
/**
* The test for class {@link MdScheduledJobDescriptionCheck}.
diff --git a/tests/com.e1c.v8codestyle.md.itests/src/com/e1c/v8codestyle/md/check/itests/SubsystemSynonymTooLongCheckTest.java b/tests/com.e1c.v8codestyle.md.itests/src/com/e1c/v8codestyle/md/subsystem/check/itests/SubsystemSynonymTooLongCheckTest.java
similarity index 97%
rename from tests/com.e1c.v8codestyle.md.itests/src/com/e1c/v8codestyle/md/check/itests/SubsystemSynonymTooLongCheckTest.java
rename to tests/com.e1c.v8codestyle.md.itests/src/com/e1c/v8codestyle/md/subsystem/check/itests/SubsystemSynonymTooLongCheckTest.java
index b63995fa9..f173090a7 100644
--- a/tests/com.e1c.v8codestyle.md.itests/src/com/e1c/v8codestyle/md/check/itests/SubsystemSynonymTooLongCheckTest.java
+++ b/tests/com.e1c.v8codestyle.md.itests/src/com/e1c/v8codestyle/md/subsystem/check/itests/SubsystemSynonymTooLongCheckTest.java
@@ -11,7 +11,7 @@
* 1C-Soft LLC - initial API and implementation
* Denis Maslennikov- issue #37
*******************************************************************************/
-package com.e1c.v8codestyle.md.check.itests;
+package com.e1c.v8codestyle.md.subsystem.check.itests;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
@@ -27,7 +27,7 @@
import com._1c.g5.v8.dt.validation.marker.Marker;
import com.e1c.g5.v8.dt.check.settings.CheckUid;
import com.e1c.g5.v8.dt.testing.check.CheckTestBase;
-import com.e1c.v8codestyle.md.check.SubsystemSynonymTooLongCheck;
+import com.e1c.v8codestyle.md.subsystem.check.SubsystemSynonymTooLongCheck;
/**
* Tests for {@link SubsystemSynonymTooLongCheck} class