public QueuedTestItem(Test test, IExecutionQueue queue, IScreenConductor shell)
     : this()
 {
     linkText.Content = test.LocatorPath();
     link.Click      += (x, y) => shell.OpenScreen(test);
     stop.Click      += (x, y) => queue.Cancel(test);
 }
Exemple #2
0
        public void SelectNode(TreeNode node)
        {
            if (_latched)
            {
                if (ReferenceEquals(node, node.Top()))
                {
                    _latched = false;
                }

                return;
            }

            // TODO -- harden this
            _conductor.OpenScreen(node.Subject);
            _latched = true;
        }
Exemple #3
0
 public void CreateNewProject()
 {
     _conductor.OpenScreen <NewProjectSubject>();
 }
Exemple #4
0
 public void SyntaxErrorSelected()
 {
     _conductor.OpenScreen(_errors);
 }