private void LoadFilter(XmlElement filterNode)
        {
            XmlAttribute attr = filterNode.Attributes["Guid"];

            if (attr == null)
            {
                return;
            }

            Guid guid = XmlConvert.ToGuid(attr.Value);

            ISignalFilterFactory factory = Root.SignalFilterFactories
                                           .FirstOrDefault(f => f.UniqueIdentifier == guid);

            if (factory == null)
            {
                return;
            }

            DataSourceInstanceViewModel selectedDataSource = SignalViewSelector.SelectedDataSource;

            ISignalFilter filter = factory.ProduceSignalFilter();

            try
            {
                filter.Load(filterNode);
                SignalFiltersPipeline.SignalFilters.Add(new SignalFilterViewModel(Root, filter));
            }
            catch { }
        }
        private void AcceptView()
        {
            if (SignalViewSelector.SelectedDataSource == null)
            {
                return;
            }

            DataSourceInstanceViewModel selectedDataSource = SignalViewSelector.SelectedDataSource;

            SetWorkingSignalView(selectedDataSource.DataSource, selectedDataSource.SelectedComponentIndex);

            Root.IsDataModified = true;
        }