private void OnInboundParamComp_MouseLeftButtonDown(object sender, MouseButtonEventArgs e)
        {
            Point currPos =
                         new Point(e.GetPosition(ParamCanvas).X,
                                   e.GetPosition(ParamCanvas).Y);

            ParameterModel model = GetParamModelByCoord(currPos);
            currModel = model;
            ObservableCollection<ParameterModel> models = new ObservableCollection<ParameterModel>();

            for (int i = 0; i < model.SiblingModels.Length; i++)
                models.Add(model.SiblingModels[i]);


            ParamValueEditor valueEditor = new ParamValueEditor()
            {
                DataContext = models,
            };

            valueEditor.OnRefresh += new ParamValueEditor.RefreshEventHandler(valueEditor_OnRefresh);
            valueEditor.ParamDataForm.CurrentItem = model;

            valueEditor.Show();

            ParamValueChangesEvent(new EventArgs()); //Commitment was made
        }
 private void AssignParamValues(ParameterModel p, ParameterModel cloned, String parentName)
 {
     cloned.DataType = p.DataType;
     cloned.Description = p.Description;
     cloned.IsInputParam = p.IsInputParam;
     cloned.Label = p.Label;
     cloned.Name = p.Name;
     cloned.ParentName = parentName == null ? null : parentName;
     //cloned.Value = p.Value;
 }