Beispiel #1
0
 private void OnNodeAdded(Graph.Nodes.NodeModel obj)
 {
     if (!NotificationTracker.ContainsKey(CurrentWorkspace.Guid) &&
         GraphPythonDependencies.IsIronPythonNode(obj))
     {
         LogIronPythonNotification();
     }
 }
Beispiel #2
0
        private void OnNodeAdded(Graph.Nodes.NodeModel obj)
        {
            if (!NotificationTracker.ContainsKey(CurrentWorkspace.Guid) &&
                GraphPythonDependencies.IsIronPythonNode(obj))
            {
                LogIronPythonNotification();
            }

            if (obj is PythonNodeBase)
            {
                SubscribeToPythonNodeEvents(obj as PythonNodeBase);
            }
        }