/// <summary>
        /// Displays the Dialog as modal
        /// </summary>
        /// <returns>Signal ID</returns>
        public NodeSignalIn ShowDialog(INodeWrapper requester, NodeSignalIn originalSignalIn)
        {
            m_dataTypefilter = originalSignalIn.CompatibleTypes.DataType;
            OriginalSignalIn = originalSignalIn;
            setDefaultValues();
            NodeItem = requester;
            Window dlg = new SignalChooserDialogView();

            dlg.Owner       = mainWindowExport.Value;
            dlg.DataContext = this;
            dlg.ShowDialog();
            if (SignalSelected)
            {
                return(NodeSignalIn.BuildWith(OriginalSignalIn.DataType, OriginalSignalIn.CompatibleTypes, SignalId));
            }
            else
            {
                return(NodeSignalIn.BuildWith(OriginalSignalIn.DataType, OriginalSignalIn.CompatibleTypes, Literal));
            }
        }
 /// <summary>
 /// Displays the Dialog as modal
 /// </summary>
 /// <returns>Signal ID</returns>
 public NodeSignalIn ShowDialog(INodeWrapper requester, NodeSignalIn originalSignalIn)
 {
     m_dataTypefilter = originalSignalIn.CompatibleTypes.DataType;
     OriginalSignalIn = originalSignalIn;
     setDefaultValues();
     NodeItem = requester;
     Window dlg = new SignalChooserDialogView();
     dlg.Owner = mainWindowExport.Value;
     dlg.DataContext = this;
     dlg.ShowDialog();
     if (SignalSelected)
     {
         return NodeSignalIn.BuildWith(OriginalSignalIn.DataType, OriginalSignalIn.CompatibleTypes, SignalId);
     }
     else
     {
         return NodeSignalIn.BuildWith(OriginalSignalIn.DataType, OriginalSignalIn.CompatibleTypes, Literal);
     }
 }