コード例 #1
0
        private void GridVEButton_Click(object sender, RoutedEventArgs e)
        {
            FlowControl FC = (FlowControl)FlowControlGrid.CurrentItem;
            ValueExpressionEditorPage VEEW = new ValueExpressionEditorPage(FC, FlowControl.Fields.Condition);

            VEEW.ShowAsWindow();
        }
コード例 #2
0
        private void VEGridInputGridVEButton_Click(object sender, RoutedEventArgs e)
        {
            ActInputValue             AIV  = (ActInputValue)VEGrid.CurrentItem;
            ValueExpressionEditorPage VEEW = new ValueExpressionEditorPage(AIV, nameof(ActInputValue.Value), mContext);

            VEEW.ShowAsWindow();
        }
コード例 #3
0
        private void RowSelectorValueVE_Click(object sender, RoutedEventArgs e)
        {
            ValueExpressionEditorPage w = new ValueExpressionEditorPage(mAct, ActTableElement.Fields.LocateRowValue, Context.GetAsContext(mAct.Context));

            w.ShowAsWindow(eWindowShowStyle.Dialog);
            RowSelectorValue.Text = mAct.LocateRowValue;
        }
コード例 #4
0
        private void SheetNamVEButton_Click(object sender, RoutedEventArgs e)
        {
            ValueExpressionEditorPage w = new ValueExpressionEditorPage(mAct, ActExcel.Fields.SheetName);

            w.ShowAsWindow(eWindowShowStyle.Dialog);
            SheetNamComboBox.Text = mAct.SheetName;
        }
コード例 #5
0
        private void ColumnsVEButton_Click(object sender, RoutedEventArgs e)
        {
            ValueExpressionEditorPage w = new ValueExpressionEditorPage(mValidationDB, ActDBValidation.Fields.Column);

            w.ShowAsWindow(eWindowShowStyle.Dialog);
            ColumnComboBox.Text = mValidationDB.Column;
        }
コード例 #6
0
        private void QueryParamGridVEButton_Click(object sender, RoutedEventArgs e)
        {
            ActInputValue             AIV  = (ActInputValue)QueryParamsGrid.CurrentItem;
            ValueExpressionEditorPage VEEW = new ValueExpressionEditorPage(AIV, ActInputValue.Fields.Value, Context.GetAsContext(mValidationDB.Context));

            VEEW.ShowAsWindow();
        }
コード例 #7
0
        private void GridConnStrVEButton_Click(object sender, RoutedEventArgs e)
        {
            Database selectedEnvDB         = (Database)grdAppDbs.CurrentItem;
            ValueExpressionEditorPage VEEW = new ValueExpressionEditorPage(selectedEnvDB, Database.Fields.ConnectionString, true);

            VEEW.ShowAsWindow();
        }
コード例 #8
0
        public void VEButton_Click(object sender, RoutedEventArgs e)
        {
            ValueExpressionEditorPage w = new ValueExpressionEditorPage(obj, AttrName);

            w.ShowAsWindow(eWindowShowStyle.Dialog);
            ComboBox.Text = w.ValueUCTextEditor.textEditor.Text;
        }
コード例 #9
0
        private void ParamsGridVEButton_Click(object sender, RoutedEventArgs e)
        {
            DriverConfigParam         DCP  = (DriverConfigParam)DriverConfigurationGrid.CurrentItem;
            ValueExpressionEditorPage VEEW = new ValueExpressionEditorPage(DCP, DriverConfigParam.Fields.Value, new Context());

            VEEW.ShowAsWindow();
        }
コード例 #10
0
        private void CapabilitiesGridVEButton_Click(object sender, RoutedEventArgs e)
        {
            DriverConfigParam         capability = (DriverConfigParam)xCapabilitiesGrid.CurrentItem;
            ValueExpressionEditorPage VEEW       = new ValueExpressionEditorPage(capability, DriverConfigParam.Fields.Value, new Context());

            VEEW.ShowAsWindow();
        }
コード例 #11
0
        private void ValueExpressionButton_Click(object sender, RoutedEventArgs e)
        {
            EnhancedActInputValue     AIV  = (EnhancedActInputValue)xAPIModelParamsValueUCGrid.CurrentItem;
            ValueExpressionEditorPage VEEW = new ValueExpressionEditorPage(AIV, nameof(ActInputValue.Value), mAddApiModelActionWizardPage.mContext);

            VEEW.ShowAsWindow();
        }
コード例 #12
0
        private void ValueExpressionButton_Click(object sender, RoutedEventArgs e)
        {
            EnhancedActInputValue     AIV  = (EnhancedActInputValue)xAPIModelParamsValueUCGrid.CurrentItem;
            ValueExpressionEditorPage VEEW = new ValueExpressionEditorPage(AIV, ActInputValue.Fields.Value);

            VEEW.ShowAsWindow();
        }
コード例 #13
0
        private void InputGridVEButton_Click(object sender, RoutedEventArgs e)
        {
            ActInputValue             AIV  = (ActInputValue)DynamicXMLElementsGrid.CurrentItem;
            ValueExpressionEditorPage VEEW = new ValueExpressionEditorPage(AIV, ActInputValue.Fields.Value);

            VEEW.ShowAsWindow();
        }
コード例 #14
0
        private void ParamsGridVEButton_Click(object sender, RoutedEventArgs e)
        {
            ActInputValue             AIV  = (ActInputValue)grdTestNGReportParameters.CurrentItem;
            ValueExpressionEditorPage VEEW = new ValueExpressionEditorPage(AIV, nameof(ActInputValue.Value), null);

            VEEW.ShowAsWindow();
        }
コード例 #15
0
        private void TestCaseVEButton_Click(object sender, RoutedEventArgs e)
        {
            ValueExpressionEditorPage w = new ValueExpressionEditorPage(mAct, ActSoapUI.Fields.TestCase, Context.GetAsContext(mAct.Context));

            w.ShowAsWindow(eWindowShowStyle.Dialog);
            TestCaseComboBox.Text = w.ValueUCTextEditor.textEditor.Text;
        }
コード例 #16
0
        private void GridPswdVEButton_Click(object sender, RoutedEventArgs e)
        {
            Database selectedEnvDB         = (Database)grdAppDbs.CurrentItem;
            ValueExpressionEditorPage VEEW = new ValueExpressionEditorPage(selectedEnvDB, nameof(Database.Pass), null);

            VEEW.ShowAsWindow();
        }
コード例 #17
0
        private void TablesVEButton_Click(object sender, RoutedEventArgs e)
        {
            ValueExpressionEditorPage w = new ValueExpressionEditorPage(mValidationDB, ActDBValidation.Fields.Table, Context.GetAsContext(mValidationDB.Context));

            w.ShowAsWindow(eWindowShowStyle.Dialog);
            TablesComboBox.Text = mValidationDB.Table;
        }
コード例 #18
0
        private void SheetNamVEButton_Click(object sender, RoutedEventArgs e)
        {
            ValueExpressionEditorPage w = new ValueExpressionEditorPage(mAct, nameof(ActExcel.SheetName), Context.GetAsContext(mAct.Context));

            w.ShowAsWindow(eWindowShowStyle.Dialog);
            SheetNamComboBox.Text = mAct.SheetName;
        }
コード例 #19
0
        private void ParamsGridVEButton_Click(object sender, RoutedEventArgs e)
        {
            GeneralParam selectedVarb      = (GeneralParam)grdAppParams.CurrentItem;
            ValueExpressionEditorPage VEEW = new ValueExpressionEditorPage(selectedVarb, GeneralParam.Fields.Value, true);

            VEEW.ShowAsWindow();
        }
コード例 #20
0
        private void ValueExpressionButton_Click(object sender, RoutedEventArgs e)
        {
            EnhancedActInputValue     AIV  = (EnhancedActInputValue)APIModelParamsValueUCGrid.CurrentItem;
            ValueExpressionEditorPage VEEW = new ValueExpressionEditorPage(AIV, nameof(ActInputValue.Value), Context.GetAsContext(mAct.Context));

            VEEW.ShowAsWindow();
        }
コード例 #21
0
        private void KeySpaceVEButton_Click(object sender, RoutedEventArgs e)
        {
            ValueExpressionEditorPage w = new ValueExpressionEditorPage(mAct, ActDBValidation.Fields.Keyspace, Context.GetAsContext(mAct.Context));

            w.ShowAsWindow(eWindowShowStyle.Dialog);
            KeySpaceComboBox.Text = mAct.Keyspace;
        }
コード例 #22
0
        private void RowSelectorValueVE_Click(object sender, RoutedEventArgs e)
        {
            ValueExpressionEditorPage w = new ValueExpressionEditorPage(mAct, ActTableElement.Fields.LocateRowValue, Context.GetAsContext(mAct.Context));

            w.ShowAsWindow(eWindowShowStyle.Dialog);
            RowSelectorValue.ComboBox.Text = mAct.GetOrCreateInputParam(ActUIElement.Fields.LocateRowValue).ToString();
        }
コード例 #23
0
        private void InputGridVEButton_Click(object sender, RoutedEventArgs e)
        {
            ActInputValue             AIV  = (ActInputValue)DynamicParametersGrid.CurrentItem;
            ValueExpressionEditorPage VEEW = new ValueExpressionEditorPage(AIV, nameof(ActInputValue.Value), Context.GetAsContext(mAct.Context));

            VEEW.ShowAsWindow();
        }
コード例 #24
0
        private void HttpHeadersInputGridVEButton_Click(object sender, RoutedEventArgs e)
        {
            ActInputValue             AIV  = (ActInputValue)HttpHeadersGrid.CurrentItem;
            ValueExpressionEditorPage VEEW = new ValueExpressionEditorPage(AIV, ActInputValue.Fields.Value, Context.GetAsContext(mActREST.Context));

            VEEW.ShowAsWindow();
        }
コード例 #25
0
        private void GridVEButton_Click(object sender, RoutedEventArgs e)
        {
            //ValueExpressionButton clicked
            ActDSConditon             ADSC = (ActDSConditon)xGrdExportCondition.CurrentItem;
            ValueExpressionEditorPage VEEW = new ValueExpressionEditorPage(ADSC, ActDSConditon.Fields.wValue, Context.GetAsContext(mActDSTableElement.Context));

            VEEW.ShowAsWindow();
        }
コード例 #26
0
        private void GridParamVEButton_Click(object sender, RoutedEventArgs e)
        {
            EmailAttachment item = (EmailAttachment)AttachmentsGrid.CurrentItem;

            if (item.AttachmentType == EmailAttachment.eAttachmentType.File)
            {
                ValueExpressionEditorPage VEEW = new ValueExpressionEditorPage(AttachmentsGrid.CurrentItem, EmailAttachment.Fields.Name, null);

                VEEW.ShowAsWindow();
            }
        }
コード例 #27
0
        private void GridVEButton_Click(object sender, RoutedEventArgs e)
        {
            dynamic currentListItem = (dynamic)xListInputGrid.CurrentItem;
            //get name of relevent field
            int    currentColIndex         = xListInputGrid.Grid.CurrentColumn.DisplayIndex;
            object field                   = xListInputGrid.Grid.Columns[currentColIndex - 1].Header;
            ValueExpressionEditorPage VEEW = new ValueExpressionEditorPage(currentListItem, field.ToString());

            VEEW.ShowAsWindow();
            UpdateListValues();
        }
コード例 #28
0
        public void VEButton_Click(object sender, RoutedEventArgs e)
        {
            if (obj is Act)
            {
                mContext = Context.GetAsContext(((Act)obj).Context);
            }
            ValueExpressionEditorPage w = new ValueExpressionEditorPage(obj, AttrName, mContext);

            w.ShowAsWindow(eWindowShowStyle.Dialog);
            ComboBox.Text = w.ValueUCTextEditor.textEditor.Text;
        }
コード例 #29
0
        private void xPropertyValueVEButton_Click(object sender, RoutedEventArgs e)
        {
            ControlProperty selectedVerb = (ControlProperty)xPropertiesGrid.CurrentItem;
            ElementInfo     elementInfo  = (ElementInfo)xMainElementsGrid.CurrentItem;

            if (elementInfo.IsAutoLearned)
            {
                Reporter.ToUser(eUserMsgKey.StaticWarnMessage, "You can not edit Property which was auto learned.");
                disabeledLocatorsMsgShown = true;
            }
            else
            {
                ValueExpressionEditorPage VEEW = new ValueExpressionEditorPage(selectedVerb, nameof(ControlProperty.Value), null);
                VEEW.ShowAsWindow();
            }
        }
コード例 #30
0
        private void XLocateValueVEButton_Click(object sender, RoutedEventArgs e)
        {
            ElementLocator selectedVarb = (ElementLocator)xLocatorsGrid.CurrentItem;

            if (selectedVarb.IsAutoLearned)
            {
                if (!disabeledLocatorsMsgShown)
                {
                    Reporter.ToUser(eUserMsgKey.StaticWarnMessage, "You can not edit Locator which was auto learned, please duplicate it and create customized Locator.");
                    disabeledLocatorsMsgShown = true;
                }
            }
            else
            {
                ValueExpressionEditorPage VEEW = new ValueExpressionEditorPage(selectedVarb, nameof(ElementLocator.LocateValue), null);
                VEEW.ShowAsWindow();
            }
        }