コード例 #1
0
        private void zCreateDataSetIterator(DataSetIteration iteration)
        {
            DataSetIterator   iterator          = new DataSetIterator(iteration);
            ListStateVariable listStateVariable = (ListStateVariable)CurrentScope.DataScope.GetStateVariable(iteration.ObjectSetListName);

            iterator.SetDataSet(listStateVariable.Value.OfType <ObjectStateVariable>());
            zCompleteGroupStep(iterator);
        }
コード例 #2
0
        public override void SetContext(StepEditContext context, DataSetIteration iteration)
        {
            base.SetContext(context, iteration);

            m_Loading = true;
            cbListVariableList.DataSource = context.StateVariables.Lists();
            if (iteration.ObjectSetListName != null)
            {
                cbListVariableList.Text = iteration.ObjectSetListName;
            }
            if (iteration.ObjectSetClassName != null)
            {
                cbObjectClassList.Text = iteration.ObjectSetClassName;
            }
            else
            {
                cbObjectClassList.Text = "[Any]";
            }
            if (this.Target.ObjectSetScopeName != null)
            {
                txtScopeName.Text = this.Target.ObjectSetScopeName;
            }
            m_Loading = false;
        }
コード例 #3
0
 public DataSetIterationEditor(StepEditContext context, DataSetIteration iteration)
     : this()
 {
     this.SetContext(context, iteration);
 }