Exemple #1
0
        public void AddToAnalyzer(AnalyzerTreeNode node)
        {
            if (analyzerTree.Root == null)
            {
                analyzerTree.Root = new AnalyzerTreeNode {
                    Language = sessionSettings.FilterSettings.Language
                }
            }
            ;

            if (!showAnalyzer.IsChecked)
            {
                showAnalyzer.IsChecked = true;
            }

            node.IsExpanded = true;
            analyzerTree.Root.Children.Add(node);
            analyzerTree.SelectedItem = node;
            analyzerTree.FocusNode(node);
        }