-
Notifications
You must be signed in to change notification settings - Fork 183
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Свежие изменения из xUnitFor1C #80
Merged
Merged
Changes from 3 commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
0ddb0f9
Внес последние изменения из xUnitFor1C
artbear bf557da
Перенес шаблоны плагинов #79
artbear 4b8ba9c
Задал пример исключений для БСП 2.Х
artbear cd1a9b0
Пересены тесты и утилиты из xUnitFor1C
artbear ba18f21
Пересена утилита конвертации тестов из формата 3.Х в формат 4.0 и ее …
artbear cc5df74
В gitignore добавлен allure-report
artbear 3deb186
Исправил пути к внешним инструментам xunit
artbear 1e500d5
Временно отключил прогон всех тестов xunit и прогоняю только дымовые …
artbear e65c5b3
В шаблоны плагинов/утилит добавил переменную ПутьКФайлуПолный #74 и м…
artbear 2b3683f
Переменную ПутьКФайлуПолный сделал экспортной #74
artbear File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
94 changes: 94 additions & 0 deletions
94
doc/PluginsTemplates/ШаблонГенератораОтчета/ШаблонГенератораОтчета.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,94 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<MetaDataObject xmlns="http://v8.1c.ru/8.3/MDClasses" xmlns:app="http://v8.1c.ru/8.2/managed-application/core" xmlns:cfg="http://v8.1c.ru/8.1/data/enterprise/current-config" xmlns:cmi="http://v8.1c.ru/8.2/managed-application/cmi" xmlns:ent="http://v8.1c.ru/8.1/data/enterprise" xmlns:lf="http://v8.1c.ru/8.2/managed-application/logform" xmlns:style="http://v8.1c.ru/8.1/data/ui/style" xmlns:sys="http://v8.1c.ru/8.1/data/ui/fonts/system" xmlns:v8="http://v8.1c.ru/8.1/data/core" xmlns:v8ui="http://v8.1c.ru/8.1/data/ui" xmlns:web="http://v8.1c.ru/8.1/data/ui/colors/web" xmlns:win="http://v8.1c.ru/8.1/data/ui/colors/windows" xmlns:xen="http://v8.1c.ru/8.3/xcf/enums" xmlns:xpr="http://v8.1c.ru/8.3/xcf/predef" xmlns:xr="http://v8.1c.ru/8.3/xcf/readable" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="2.4"> | ||
<ExternalDataProcessor uuid="11c5f751-bfaf-480a-92fe-7f30023f2e9a"> | ||
<InternalInfo> | ||
<xr:ContainedObject> | ||
<xr:ClassId>c3831ec8-d8d5-4f93-8a22-f9bfae07327f</xr:ClassId> | ||
<xr:ObjectId>908d0aaf-e4ec-4668-8d14-3e8075d222fd</xr:ObjectId> | ||
</xr:ContainedObject> | ||
<xr:GeneratedType name="ExternalDataProcessorObject.ШаблонГенератораОтчета" category="Object"> | ||
<xr:TypeId>85629dd2-6be4-49c6-9a69-13411102aa57</xr:TypeId> | ||
<xr:ValueId>3fdd55c8-e92e-4f99-8b28-3ba8957b50ab</xr:ValueId> | ||
</xr:GeneratedType> | ||
</InternalInfo> | ||
<Properties> | ||
<Name>ШаблонГенератораОтчета</Name> | ||
<Synonym> | ||
<v8:item> | ||
<v8:lang>ru</v8:lang> | ||
<v8:content>Шаблон генератора отчета</v8:content> | ||
</v8:item> | ||
</Synonym> | ||
<Comment/> | ||
<DefaultForm>ExternalDataProcessor.ШаблонГенератораОтчета.Form.Форма</DefaultForm> | ||
<AuxiliaryForm/> | ||
</Properties> | ||
<ChildObjects> | ||
<Attribute uuid="b7f71bb8-94f2-46e2-96b7-ba71175a3f41"> | ||
<Properties> | ||
<Name>СостоянияТестов</Name> | ||
<Synonym> | ||
<v8:item> | ||
<v8:lang>ru</v8:lang> | ||
<v8:content>Состояния тестов</v8:content> | ||
</v8:item> | ||
</Synonym> | ||
<Comment/> | ||
<Type/> | ||
<PasswordMode>false</PasswordMode> | ||
<Format/> | ||
<EditFormat/> | ||
<ToolTip/> | ||
<MarkNegatives>false</MarkNegatives> | ||
<Mask/> | ||
<MultiLine>false</MultiLine> | ||
<ExtendedEdit>false</ExtendedEdit> | ||
<MinValue xsi:nil="true"/> | ||
<MaxValue xsi:nil="true"/> | ||
<FillChecking>DontCheck</FillChecking> | ||
<ChoiceFoldersAndItems>Items</ChoiceFoldersAndItems> | ||
<ChoiceParameterLinks/> | ||
<ChoiceParameters/> | ||
<QuickChoice>Auto</QuickChoice> | ||
<CreateOnInput>Auto</CreateOnInput> | ||
<ChoiceForm/> | ||
<LinkByType/> | ||
<ChoiceHistoryOnInput>Auto</ChoiceHistoryOnInput> | ||
</Properties> | ||
</Attribute> | ||
<Attribute uuid="eec25991-4d8f-4557-9bb0-26bc905e962d"> | ||
<Properties> | ||
<Name>ТипыУзловДереваТестов</Name> | ||
<Synonym> | ||
<v8:item> | ||
<v8:lang>ru</v8:lang> | ||
<v8:content>Типы узлов дерева тестов</v8:content> | ||
</v8:item> | ||
</Synonym> | ||
<Comment/> | ||
<Type/> | ||
<PasswordMode>false</PasswordMode> | ||
<Format/> | ||
<EditFormat/> | ||
<ToolTip/> | ||
<MarkNegatives>false</MarkNegatives> | ||
<Mask/> | ||
<MultiLine>false</MultiLine> | ||
<ExtendedEdit>false</ExtendedEdit> | ||
<MinValue xsi:nil="true"/> | ||
<MaxValue xsi:nil="true"/> | ||
<FillChecking>DontCheck</FillChecking> | ||
<ChoiceFoldersAndItems>Items</ChoiceFoldersAndItems> | ||
<ChoiceParameterLinks/> | ||
<ChoiceParameters/> | ||
<QuickChoice>Auto</QuickChoice> | ||
<CreateOnInput>Auto</CreateOnInput> | ||
<ChoiceForm/> | ||
<LinkByType/> | ||
<ChoiceHistoryOnInput>Auto</ChoiceHistoryOnInput> | ||
</Properties> | ||
</Attribute> | ||
<Form>Форма</Form> | ||
</ChildObjects> | ||
</ExternalDataProcessor> | ||
</MetaDataObject> |
33 changes: 33 additions & 0 deletions
33
doc/PluginsTemplates/ШаблонГенератораОтчета/ШаблонГенератораОтчета/Ext/ObjectModule.bsl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
| ||
// { Plugin interface | ||
Функция ОписаниеПлагина(ВозможныеТипыПлагинов) Экспорт | ||
Результат = Новый Структура; | ||
Результат.Вставить("Тип", ВозможныеТипыПлагинов.ГенераторОтчета); | ||
Результат.Вставить("Идентификатор", Метаданные().Имя); | ||
Результат.Вставить("Представление", ""); | ||
ВызватьИсключение "Необходимо указать представление"; | ||
|
||
Возврат Новый ФиксированнаяСтруктура(Результат); | ||
КонецФункции | ||
|
||
Процедура Инициализация(КонтекстЯдраПараметр) Экспорт | ||
КонецПроцедуры | ||
// } Plugin interface | ||
|
||
// { Report generator interface | ||
Функция СоздатьОтчет(КонтекстЯдра, РезультатыТестирования) Экспорт | ||
ЭтотОбъект.ТипыУзловДереваТестов = КонтекстЯдра.Плагин("ПостроительДереваТестов").ТипыУзловДереваТестов; | ||
ЭтотОбъект.СостоянияТестов = КонтекстЯдра.СостоянияТестов; | ||
ВызватьИсключение "Метод не реализован"; | ||
КонецФункции | ||
|
||
#Если ТолстыйКлиентОбычноеПриложение Тогда | ||
Процедура Показать(Отчет) Экспорт | ||
ВызватьИсключение "Метод не реализован"; | ||
КонецПроцедуры | ||
#КонецЕсли | ||
|
||
Процедура Экспортировать(Отчет, ПолныйПутьФайла) Экспорт | ||
ВызватьИсключение "Метод не реализован"; | ||
КонецПроцедуры | ||
// } Report generator interface |
22 changes: 22 additions & 0 deletions
22
doc/PluginsTemplates/ШаблонГенератораОтчета/ШаблонГенератораОтчета/Forms/Форма.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<MetaDataObject xmlns="http://v8.1c.ru/8.3/MDClasses" xmlns:app="http://v8.1c.ru/8.2/managed-application/core" xmlns:cfg="http://v8.1c.ru/8.1/data/enterprise/current-config" xmlns:cmi="http://v8.1c.ru/8.2/managed-application/cmi" xmlns:ent="http://v8.1c.ru/8.1/data/enterprise" xmlns:lf="http://v8.1c.ru/8.2/managed-application/logform" xmlns:style="http://v8.1c.ru/8.1/data/ui/style" xmlns:sys="http://v8.1c.ru/8.1/data/ui/fonts/system" xmlns:v8="http://v8.1c.ru/8.1/data/core" xmlns:v8ui="http://v8.1c.ru/8.1/data/ui" xmlns:web="http://v8.1c.ru/8.1/data/ui/colors/web" xmlns:win="http://v8.1c.ru/8.1/data/ui/colors/windows" xmlns:xen="http://v8.1c.ru/8.3/xcf/enums" xmlns:xpr="http://v8.1c.ru/8.3/xcf/predef" xmlns:xr="http://v8.1c.ru/8.3/xcf/readable" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="2.4"> | ||
<Form uuid="4e8e1a4a-a947-419b-95c8-58a411e3ffa4"> | ||
<Properties> | ||
<Name>Форма</Name> | ||
<Synonym> | ||
<v8:item> | ||
<v8:lang>ru</v8:lang> | ||
<v8:content>Форма</v8:content> | ||
</v8:item> | ||
</Synonym> | ||
<Comment/> | ||
<FormType>Managed</FormType> | ||
<IncludeHelpInContents>false</IncludeHelpInContents> | ||
<UsePurposes> | ||
<v8:Value xsi:type="app:ApplicationUsePurpose">PersonalComputer</v8:Value> | ||
<v8:Value xsi:type="app:ApplicationUsePurpose">MobileDevice</v8:Value> | ||
</UsePurposes> | ||
<ExtendedPresentation/> | ||
</Properties> | ||
</Form> | ||
</MetaDataObject> |
13 changes: 13 additions & 0 deletions
13
doc/PluginsTemplates/ШаблонГенератораОтчета/ШаблонГенератораОтчета/Forms/Форма/Ext/Form.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<Form xmlns="http://v8.1c.ru/8.3/xcf/logform" xmlns:app="http://v8.1c.ru/8.2/managed-application/core" xmlns:cfg="http://v8.1c.ru/8.1/data/enterprise/current-config" xmlns:dcscor="http://v8.1c.ru/8.1/data-composition-system/core" xmlns:dcsset="http://v8.1c.ru/8.1/data-composition-system/settings" xmlns:ent="http://v8.1c.ru/8.1/data/enterprise" xmlns:lf="http://v8.1c.ru/8.2/managed-application/logform" xmlns:style="http://v8.1c.ru/8.1/data/ui/style" xmlns:sys="http://v8.1c.ru/8.1/data/ui/fonts/system" xmlns:v8="http://v8.1c.ru/8.1/data/core" xmlns:v8ui="http://v8.1c.ru/8.1/data/ui" xmlns:web="http://v8.1c.ru/8.1/data/ui/colors/web" xmlns:win="http://v8.1c.ru/8.1/data/ui/colors/windows" xmlns:xr="http://v8.1c.ru/8.3/xcf/readable" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="2.4"> | ||
<VerticalScroll>useIfNecessary</VerticalScroll> | ||
<AutoCommandBar name="ФормаКоманднаяПанель" id="-1"/> | ||
<Attributes> | ||
<Attribute name="Объект" id="1"> | ||
<Type> | ||
<v8:Type>cfg:ExternalDataProcessorObject.ШаблонГенератораОтчета</v8:Type> | ||
</Type> | ||
<MainAttribute>true</MainAttribute> | ||
</Attribute> | ||
</Attributes> | ||
</Form> |
38 changes: 38 additions & 0 deletions
38
...nsTemplates/ШаблонГенератораОтчета/ШаблонГенератораОтчета/Forms/Форма/Ext/Form/Module.bsl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
| ||
// { Plugin interface | ||
&НаКлиенте | ||
Функция ОписаниеПлагина(ВозможныеТипыПлагинов) Экспорт | ||
Возврат ОписаниеПлагинаНаСервере(ВозможныеТипыПлагинов); | ||
КонецФункции | ||
|
||
&НаСервере | ||
Функция ОписаниеПлагинаНаСервере(ВозможныеТипыПлагинов) | ||
Возврат ЭтотОбъектНаСервере().ОписаниеПлагина(ВозможныеТипыПлагинов); | ||
КонецФункции | ||
// } Plugin interface | ||
|
||
// { Report generator interface | ||
&НаКлиенте | ||
Функция СоздатьОтчет(КонтекстЯдра, РезультатТестирования) Экспорт | ||
Объект.ТипыУзловДереваТестов = КонтекстЯдра.Плагин("ПостроительДереваТестов").Объект.ТипыУзловДереваТестов; | ||
Объект.СостоянияТестов = КонтекстЯдра.Объект.СостоянияТестов; | ||
ВызватьИсключение "Метод не реализован"; | ||
КонецФункции | ||
|
||
&НаКлиенте | ||
Процедура Показать(Отчет) Экспорт | ||
ВызватьИсключение "Метод не реализован"; | ||
КонецПроцедуры | ||
|
||
&НаКлиенте | ||
Процедура Экспортировать(Отчет, ПолныйПутьФайла) Экспорт | ||
ВызватьИсключение "Метод не реализован"; | ||
КонецПроцедуры | ||
// } Report generator interface | ||
|
||
// { Helpers | ||
&НаСервере | ||
Функция ЭтотОбъектНаСервере() | ||
Возврат РеквизитФормыВЗначение("Объект"); | ||
КонецФункции | ||
// } Helpers | ||
30 changes: 30 additions & 0 deletions
30
doc/PluginsTemplates/ШаблонЗагрузчика/ШаблонЗагрузчика.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<MetaDataObject xmlns="http://v8.1c.ru/8.3/MDClasses" xmlns:app="http://v8.1c.ru/8.2/managed-application/core" xmlns:cfg="http://v8.1c.ru/8.1/data/enterprise/current-config" xmlns:cmi="http://v8.1c.ru/8.2/managed-application/cmi" xmlns:ent="http://v8.1c.ru/8.1/data/enterprise" xmlns:lf="http://v8.1c.ru/8.2/managed-application/logform" xmlns:style="http://v8.1c.ru/8.1/data/ui/style" xmlns:sys="http://v8.1c.ru/8.1/data/ui/fonts/system" xmlns:v8="http://v8.1c.ru/8.1/data/core" xmlns:v8ui="http://v8.1c.ru/8.1/data/ui" xmlns:web="http://v8.1c.ru/8.1/data/ui/colors/web" xmlns:win="http://v8.1c.ru/8.1/data/ui/colors/windows" xmlns:xen="http://v8.1c.ru/8.3/xcf/enums" xmlns:xpr="http://v8.1c.ru/8.3/xcf/predef" xmlns:xr="http://v8.1c.ru/8.3/xcf/readable" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="2.4"> | ||
<ExternalDataProcessor uuid="51efd65a-ed36-4be7-a563-89b34ebfa851"> | ||
<InternalInfo> | ||
<xr:ContainedObject> | ||
<xr:ClassId>c3831ec8-d8d5-4f93-8a22-f9bfae07327f</xr:ClassId> | ||
<xr:ObjectId>dfe532e1-d0ef-4008-afd4-214781ee4960</xr:ObjectId> | ||
</xr:ContainedObject> | ||
<xr:GeneratedType name="ExternalDataProcessorObject.ШаблонЗагрузчика" category="Object"> | ||
<xr:TypeId>5cce5f28-d8c9-48d6-9f87-928be46d5662</xr:TypeId> | ||
<xr:ValueId>0f2fb654-1692-41fa-b66f-583222be369f</xr:ValueId> | ||
</xr:GeneratedType> | ||
</InternalInfo> | ||
<Properties> | ||
<Name>ШаблонЗагрузчика</Name> | ||
<Synonym> | ||
<v8:item> | ||
<v8:lang>ru</v8:lang> | ||
<v8:content>Шаблон загрузчика</v8:content> | ||
</v8:item> | ||
</Synonym> | ||
<Comment/> | ||
<DefaultForm>ExternalDataProcessor.ШаблонЗагрузчика.Form.Форма</DefaultForm> | ||
<AuxiliaryForm/> | ||
</Properties> | ||
<ChildObjects> | ||
<Form>Форма</Form> | ||
</ChildObjects> | ||
</ExternalDataProcessor> | ||
</MetaDataObject> |
46 changes: 46 additions & 0 deletions
46
doc/PluginsTemplates/ШаблонЗагрузчика/ШаблонЗагрузчика/Ext/ObjectModule.bsl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
| ||
// { Plugin interface | ||
Функция ОписаниеПлагина(ВозможныеТипыПлагинов) Экспорт | ||
Результат = Новый Структура; | ||
Результат.Вставить("Тип", ВозможныеТипыПлагинов.Загрузчик); | ||
Результат.Вставить("Идентификатор", Метаданные().Имя); | ||
Результат.Вставить("Представление", ""); | ||
ВызватьИсключение "Необходимо указать представление"; | ||
|
||
Возврат Новый ФиксированнаяСтруктура(Результат); | ||
КонецФункции | ||
|
||
Процедура Инициализация(КонтекстЯдраПараметр) Экспорт | ||
КонецПроцедуры | ||
// } Plugin interface | ||
|
||
// { Loader interface | ||
#Если ТолстыйКлиентОбычноеПриложение Тогда | ||
Функция ВыбратьПутьИнтерактивно(КонтекстЯдра, ТекущийПуть = "") Экспорт | ||
Перем ВыбранныйПуть; | ||
|
||
ВызватьИсключение "Метод не реализован"; | ||
|
||
Возврат ВыбранныйПуть; | ||
КонецФункции | ||
#КонецЕсли | ||
|
||
Функция Загрузить(КонтекстЯдра, Путь) Экспорт | ||
Перем ДеревоТестов; | ||
|
||
ПостроительДереваТестов = КонтекстЯдра.Плагин("ПостроительДереваТестов"); | ||
ИконкиУзловДереваТестов = ПостроительДереваТестов.ИконкиУзловДереваТестов; | ||
|
||
ВызватьИсключение "Метод не реализован"; | ||
|
||
Возврат ДеревоТестов; | ||
КонецФункции | ||
|
||
Функция ПолучитьКонтекстПоПути(КонтекстЯдра, Путь) Экспорт | ||
Перем Контекст; | ||
|
||
ВызватьИсключение "Метод не реализован"; | ||
|
||
Возврат Контекст; | ||
КонецФункции | ||
// } Loader interface |
22 changes: 22 additions & 0 deletions
22
doc/PluginsTemplates/ШаблонЗагрузчика/ШаблонЗагрузчика/Forms/Форма.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<MetaDataObject xmlns="http://v8.1c.ru/8.3/MDClasses" xmlns:app="http://v8.1c.ru/8.2/managed-application/core" xmlns:cfg="http://v8.1c.ru/8.1/data/enterprise/current-config" xmlns:cmi="http://v8.1c.ru/8.2/managed-application/cmi" xmlns:ent="http://v8.1c.ru/8.1/data/enterprise" xmlns:lf="http://v8.1c.ru/8.2/managed-application/logform" xmlns:style="http://v8.1c.ru/8.1/data/ui/style" xmlns:sys="http://v8.1c.ru/8.1/data/ui/fonts/system" xmlns:v8="http://v8.1c.ru/8.1/data/core" xmlns:v8ui="http://v8.1c.ru/8.1/data/ui" xmlns:web="http://v8.1c.ru/8.1/data/ui/colors/web" xmlns:win="http://v8.1c.ru/8.1/data/ui/colors/windows" xmlns:xen="http://v8.1c.ru/8.3/xcf/enums" xmlns:xpr="http://v8.1c.ru/8.3/xcf/predef" xmlns:xr="http://v8.1c.ru/8.3/xcf/readable" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="2.4"> | ||
<Form uuid="d75f146d-5027-4604-80fd-3b704ddd86a8"> | ||
<Properties> | ||
<Name>Форма</Name> | ||
<Synonym> | ||
<v8:item> | ||
<v8:lang>ru</v8:lang> | ||
<v8:content>Форма</v8:content> | ||
</v8:item> | ||
</Synonym> | ||
<Comment/> | ||
<FormType>Managed</FormType> | ||
<IncludeHelpInContents>false</IncludeHelpInContents> | ||
<UsePurposes> | ||
<v8:Value xsi:type="app:ApplicationUsePurpose">PersonalComputer</v8:Value> | ||
<v8:Value xsi:type="app:ApplicationUsePurpose">MobileDevice</v8:Value> | ||
</UsePurposes> | ||
<ExtendedPresentation/> | ||
</Properties> | ||
</Form> | ||
</MetaDataObject> |
13 changes: 13 additions & 0 deletions
13
doc/PluginsTemplates/ШаблонЗагрузчика/ШаблонЗагрузчика/Forms/Форма/Ext/Form.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<Form xmlns="http://v8.1c.ru/8.3/xcf/logform" xmlns:app="http://v8.1c.ru/8.2/managed-application/core" xmlns:cfg="http://v8.1c.ru/8.1/data/enterprise/current-config" xmlns:dcscor="http://v8.1c.ru/8.1/data-composition-system/core" xmlns:dcsset="http://v8.1c.ru/8.1/data-composition-system/settings" xmlns:ent="http://v8.1c.ru/8.1/data/enterprise" xmlns:lf="http://v8.1c.ru/8.2/managed-application/logform" xmlns:style="http://v8.1c.ru/8.1/data/ui/style" xmlns:sys="http://v8.1c.ru/8.1/data/ui/fonts/system" xmlns:v8="http://v8.1c.ru/8.1/data/core" xmlns:v8ui="http://v8.1c.ru/8.1/data/ui" xmlns:web="http://v8.1c.ru/8.1/data/ui/colors/web" xmlns:win="http://v8.1c.ru/8.1/data/ui/colors/windows" xmlns:xr="http://v8.1c.ru/8.3/xcf/readable" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="2.4"> | ||
<VerticalScroll>useIfNecessary</VerticalScroll> | ||
<AutoCommandBar name="ФормаКоманднаяПанель" id="-1"/> | ||
<Attributes> | ||
<Attribute name="Объект" id="1"> | ||
<Type> | ||
<v8:Type>cfg:ExternalDataProcessorObject.ШаблонЗагрузчика</v8:Type> | ||
</Type> | ||
<MainAttribute>true</MainAttribute> | ||
</Attribute> | ||
</Attributes> | ||
</Form> |
51 changes: 51 additions & 0 deletions
51
doc/PluginsTemplates/ШаблонЗагрузчика/ШаблонЗагрузчика/Forms/Форма/Ext/Form/Module.bsl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
| ||
// { Plugin interface | ||
&НаКлиенте | ||
Функция ОписаниеПлагина(ВозможныеТипыПлагинов) Экспорт | ||
Возврат ОписаниеПлагинаНаСервере(ВозможныеТипыПлагинов); | ||
КонецФункции | ||
|
||
&НаСервере | ||
Функция ОписаниеПлагинаНаСервере(ВозможныеТипыПлагинов) | ||
Возврат ЭтотОбъектНаСервере().ОписаниеПлагина(ВозможныеТипыПлагинов); | ||
КонецФункции | ||
// } Plugin interface | ||
|
||
// { Loader interface | ||
&НаКлиенте | ||
Функция ВыбратьПутьИнтерактивно(КонтекстЯдра, ТекущийПуть = "") Экспорт | ||
Перем ВыбранныйПуть; | ||
|
||
ВызватьИсключение "Метод не реализован"; | ||
|
||
Возврат ВыбранныйПуть; | ||
КонецФункции | ||
|
||
&НаКлиенте | ||
Функция Загрузить(КонтекстЯдра, Путь) Экспорт | ||
Перем ДеревоТестов; | ||
|
||
ПостроительДереваТестов = КонтекстЯдра.Плагин("ПостроительДереваТестов"); | ||
ИконкиУзловДереваТестов = ПостроительДереваТестов.Объект.ИконкиУзловДереваТестов; | ||
|
||
ВызватьИсключение "Метод не реализован"; | ||
|
||
Возврат ДеревоТестов; | ||
КонецФункции | ||
|
||
&НаКлиенте | ||
Функция ПолучитьКонтекстПоПути(КонтекстЯдра, Путь) Экспорт | ||
Перем Контекст; | ||
|
||
ВызватьИсключение "Метод не реализован"; | ||
|
||
Возврат Контекст; | ||
КонецФункции | ||
// } Loader interface | ||
|
||
// { Helpers | ||
&НаСервере | ||
Функция ЭтотОбъектНаСервере() | ||
Возврат РеквизитФормыВЗначение("Объект"); | ||
КонецФункции | ||
// } Helpers |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
А почему нет экспортной процедуры "Инициализация типа,
Процедура Инициализация(КонтекстЯдра) Экспорт
КонецПроцедуры
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@pumbaEO Исправил.
Заодно добавил полезную переменную ПутьКФайлуПолный