private void OnGraphSaved(object sender, EventArgs e)
        {
            if (null == this.runner) // Running in headless mode.
            {
                return;
            }
            GraphController controller = sender as GraphController;

            if (null != controller)
            {
                LiveRunner liveRunner = runner as LiveRunner;
                //Update the options with new path.
                liveRunner.SetOptions(LiveRunnerFactory.CreateLiveRunnerOptions(controller));
                GraphUtilities.SetRootModulePath(controller.FilePath);
            }
        }
示例#2
0
 public PropertyChangedTask(LiveRunner runner, GraphNode graphNode)
     : base(runner)
 {
     objectCreationGraphNode = graphNode;
 }
示例#3
0
 public NodeValueRequestTask(uint nodeId, LiveRunner runner)
     : base(runner)
 {
     this.nodeId = nodeId;
 }
示例#4
0
            public ConvertNodesToCodeTask(List<SnapshotNode> snapshotNodes, LiveRunner runner)
                : base(runner)
            {
                if (null == snapshotNodes || (snapshotNodes.Count <= 0))
                    throw new ArgumentException("snapshotNodes", "Invalid SnapshotNode list (35CA7759D0C9)");

                this.snapshotNodes = snapshotNodes;
            }
示例#5
0
 public UpdateGraphTask(SynchronizeData syncData, LiveRunner runner)
     : base(runner)
 {
     this.syncData = syncData;
 }
示例#6
0
 public UpdateCmdLineInterpreterTask(string code, LiveRunner runner)
     : base(runner)
 {
     this.cmdLineString = code;
 }
示例#7
0
 protected Task(LiveRunner runner)
 {
     this.runner = runner;
 }
示例#8
0
 protected Task(LiveRunner runner)
 {
     this.runner = runner;
 }