Skip to content

Commit

Permalink
Передача выполненных шагов частями #47
Browse files Browse the repository at this point in the history
  • Loading branch information
lintest committed Jun 8, 2020
1 parent 45a78da commit a8f84e9
Show file tree
Hide file tree
Showing 5 changed files with 131 additions and 331 deletions.
257 changes: 68 additions & 189 deletions example/VanessaEditorSample/Forms/Form/Ext/Form.xml
Original file line number Diff line number Diff line change
Expand Up @@ -895,6 +895,59 @@
</CommandBar>
</ChildItems>
</UsualGroup>
<InputField name="RuntimeStatus" id="335">
<DataPath>RuntimeStatus</DataPath>
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Status</v8:content>
</v8:item>
</Title>
<ListChoiceMode>true</ListChoiceMode>
<ChoiceList>
<xr:Item>
<xr:Presentation/>
<xr:CheckState>0</xr:CheckState>
<xr:Value xsi:type="FormChoiceListDesTimeValue">
<Presentation>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Error</v8:content>
</v8:item>
</Presentation>
<Value xsi:type="xs:string">error</Value>
</xr:Value>
</xr:Item>
<xr:Item>
<xr:Presentation/>
<xr:CheckState>0</xr:CheckState>
<xr:Value xsi:type="FormChoiceListDesTimeValue">
<Presentation>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Complete</v8:content>
</v8:item>
</Presentation>
<Value xsi:type="xs:string">complete</Value>
</xr:Value>
</xr:Item>
<xr:Item>
<xr:Presentation/>
<xr:CheckState>0</xr:CheckState>
<xr:Value xsi:type="FormChoiceListDesTimeValue">
<Presentation>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>&lt;empty&gt;</v8:content>
</v8:item>
</Presentation>
<Value xsi:type="xs:string"/>
</xr:Value>
</xr:Item>
</ChoiceList>
<ContextMenu name="RuntimeStatusContextMenu" id="336"/>
<ExtendedTooltip name="RuntimeStatusExtendedTooltip" id="337"/>
</InputField>
<Table name="CompleteSteps" id="96">
<Representation>List</Representation>
<TitleLocation>Auto</TitleLocation>
Expand Down Expand Up @@ -987,112 +1040,6 @@
</InputField>
</ChildItems>
</Table>
<Table name="ErrorSteps" id="118">
<Representation>List</Representation>
<TitleLocation>Auto</TitleLocation>
<HeightControlVariant>UseContentHeight</HeightControlVariant>
<AutoInsertNewRow>true</AutoInsertNewRow>
<EnableStartDrag>true</EnableStartDrag>
<EnableDrag>true</EnableDrag>
<DataPath>ErrorSteps</DataPath>
<Title>
<v8:item>
<v8:lang>en</v8:lang>
<v8:content>Error steps</v8:content>
</v8:item>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Error steps</v8:content>
</v8:item>
</Title>
<CommandSet>
<ExcludedCommand>Copy</ExcludedCommand>
<ExcludedCommand>SortListAsc</ExcludedCommand>
<ExcludedCommand>MoveUp</ExcludedCommand>
<ExcludedCommand>CancelSearch</ExcludedCommand>
<ExcludedCommand>OutputList</ExcludedCommand>
<ExcludedCommand>SelectAll</ExcludedCommand>
<ExcludedCommand>SortListDesc</ExcludedCommand>
<ExcludedCommand>CopyToClipboard</ExcludedCommand>
<ExcludedCommand>ShowRowRearrangement</ExcludedCommand>
<ExcludedCommand>EndEdit</ExcludedCommand>
<ExcludedCommand>Change</ExcludedCommand>
<ExcludedCommand>Find</ExcludedCommand>
<ExcludedCommand>ShowMultipleSelection</ExcludedCommand>
<ExcludedCommand>MoveDown</ExcludedCommand>
</CommandSet>
<RowFilter xsi:nil="true"/>
<ContextMenu name="ErrorStepsContextMenu" id="119"/>
<AutoCommandBar name="ErrorStepsCommandBar" id="120">
<Autofill>false</Autofill>
<ChildItems>
<Button name="ErrorStepsAdd" id="137">
<Type>CommandBarButton</Type>
<Representation>Picture</Representation>
<OnlyInAllActions>true</OnlyInAllActions>
<CommandName>Form.Item.ErrorSteps.StandardCommand.Add</CommandName>
<ExtendedTooltip name="ErrorStepsAddExtendedTooltip" id="138"/>
</Button>
<Button name="ErrorStepsDelete" id="139">
<Type>CommandBarButton</Type>
<Representation>Picture</Representation>
<OnlyInAllActions>true</OnlyInAllActions>
<CommandName>Form.Item.ErrorSteps.StandardCommand.Delete</CommandName>
<ExtendedTooltip name="ErrorStepsDeleteExtendedTooltip" id="140"/>
</Button>
<Button name="ErrorStepsSendErrorSteps" id="141">
<Type>CommandBarButton</Type>
<CommandName>Form.Command.SendErrorSteps</CommandName>
<ExtendedTooltip name="ErrorStepsSendErrorStepsExtendedTooltip" id="142"/>
</Button>
</ChildItems>
</AutoCommandBar>
<ExtendedTooltip name="ErrorStepsExtendedTooltip" id="121"/>
<SearchStringAddition name="ErrorStepsSearchString" id="122">
<AdditionSource>
<Item>ErrorSteps</Item>
<Type>SearchStringRepresentation</Type>
</AdditionSource>
<ContextMenu name="ErrorStepsSearchStringContextMenu" id="123"/>
<ExtendedTooltip name="ErrorStepsSearchStringExtendedTooltip" id="124"/>
</SearchStringAddition>
<ViewStatusAddition name="ErrorStepsViewStatus" id="125">
<AdditionSource>
<Item>ErrorSteps</Item>
<Type>ViewStatusRepresentation</Type>
</AdditionSource>
<ContextMenu name="ErrorStepsViewStatusContextMenu" id="126"/>
<ExtendedTooltip name="ErrorStepsViewStatusExtendedTooltip" id="127"/>
</ViewStatusAddition>
<SearchControlAddition name="ErrorStepsSearchControl" id="128">
<AdditionSource>
<Item>ErrorSteps</Item>
<Type>SearchControl</Type>
</AdditionSource>
<ContextMenu name="ErrorStepsSearchControlContextMenu" id="129"/>
<ExtendedTooltip name="ErrorStepsSearchControlExtendedTooltip" id="130"/>
</SearchControlAddition>
<ChildItems>
<InputField name="ErrorStepsLineNumber" id="131">
<DataPath>ErrorSteps.LineNumber</DataPath>
<EditMode>EnterOnInput</EditMode>
<ContextMenu name="ErrorStepsLineNumberContextMenu" id="132"/>
<ExtendedTooltip name="ErrorStepsLineNumberExtendedTooltip" id="133"/>
</InputField>
<InputField name="ErrorStepsUID" id="134">
<DataPath>ErrorSteps.UID</DataPath>
<EditMode>EnterOnInput</EditMode>
<ContextMenu name="ErrorStepsUIDContextMenu" id="135"/>
<ExtendedTooltip name="ErrorStepsUIDExtendedTooltip" id="136"/>
</InputField>
<InputField name="ErrorStepsTitle" id="156">
<DataPath>ErrorSteps.Title</DataPath>
<EditMode>EnterOnInput</EditMode>
<ContextMenu name="ErrorStepsTitleContextMenu" id="157"/>
<ExtendedTooltip name="ErrorStepsTitleExtendedTooltip" id="158"/>
</InputField>
</ChildItems>
</Table>
<CommandBar name="CleanRuntimeProgressBar" id="154">
<Title>
<v8:item>
Expand Down Expand Up @@ -1779,69 +1726,6 @@
</Column>
</Columns>
</Attribute>
<Attribute name="ErrorSteps" id="9">
<Title>
<v8:item>
<v8:lang>en</v8:lang>
<v8:content>Error steps</v8:content>
</v8:item>
</Title>
<Type>
<v8:Type>v8:ValueTable</v8:Type>
</Type>
<Columns>
<Column name="LineNumber" id="1">
<Title>
<v8:item>
<v8:lang>en</v8:lang>
<v8:content>Line number</v8:content>
</v8:item>
</Title>
<Type>
<v8:Type>xs:decimal</v8:Type>
<v8:NumberQualifiers>
<v8:Digits>10</v8:Digits>
<v8:FractionDigits>0</v8:FractionDigits>
<v8:AllowedSign>Any</v8:AllowedSign>
</v8:NumberQualifiers>
</Type>
</Column>
<Column name="UID" id="2">
<Title>
<v8:item>
<v8:lang>en</v8:lang>
<v8:content>UID</v8:content>
</v8:item>
</Title>
<Type>
<v8:Type>xs:string</v8:Type>
<v8:StringQualifiers>
<v8:Length>0</v8:Length>
<v8:AllowedLength>Variable</v8:AllowedLength>
</v8:StringQualifiers>
</Type>
</Column>
<Column name="Title" id="3">
<Title>
<v8:item>
<v8:lang>en</v8:lang>
<v8:content>Title</v8:content>
</v8:item>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Error hint</v8:content>
</v8:item>
</Title>
<Type>
<v8:Type>xs:string</v8:Type>
<v8:StringQualifiers>
<v8:Length>0</v8:Length>
<v8:AllowedLength>Variable</v8:AllowedLength>
</v8:StringQualifiers>
</Type>
</Column>
</Columns>
</Attribute>
<Attribute name="CurrentStep" id="10">
<Title>
<v8:item>
Expand Down Expand Up @@ -2050,6 +1934,21 @@
</Column>
</Columns>
</Attribute>
<Attribute name="RuntimeStatus" id="9">
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Runtime status</v8:content>
</v8:item>
</Title>
<Type>
<v8:Type>xs:string</v8:Type>
<v8:StringQualifiers>
<v8:Length>0</v8:Length>
<v8:AllowedLength>Variable</v8:AllowedLength>
</v8:StringQualifiers>
</Type>
</Attribute>
</Attributes>
<Commands>
<Command name="LoadFile" id="2">
Expand Down Expand Up @@ -2121,26 +2020,6 @@
<Action>SendCompleteSteps</Action>
<Representation>Picture</Representation>
</Command>
<Command name="SendErrorSteps" id="4">
<Title>
<v8:item>
<v8:lang>en</v8:lang>
<v8:content>Send error steps</v8:content>
</v8:item>
</Title>
<ToolTip>
<v8:item>
<v8:lang>en</v8:lang>
<v8:content>Send error steps</v8:content>
</v8:item>
</ToolTip>
<Picture>
<xr:Ref>StdPicture.BusinessProcessStart</xr:Ref>
<xr:LoadTransparent>true</xr:LoadTransparent>
</Picture>
<Action>SendErrorSteps</Action>
<Representation>Picture</Representation>
</Command>
<Command name="SendCurrentStep" id="5">
<Title>
<v8:item>
Expand Down
Loading

0 comments on commit a8f84e9

Please sign in to comment.