Ignore:
Timestamp:
Jun 10, 2010, 5:52:30 PM (11 years ago)
Author:
kopal
Message:
  • connectors now may only connect from output to InputConnection
  • view is disabled when editor is executing now
  • connector now has "lastData" which stores last used data
  • minwidth, minheight of an VisualElementModel can only be >=50 now
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/CrypPlugins/WorkspaceManager/Execution/ExecutionEngine.cs

    r1617 r1620  
    229229                    }
    230230                }
     231                foreach (ConnectionModel connectionModel in workspaceModel.AllConnectionModels)
     232                {
     233                    if (connectionModel.GuiNeedsUpdate)
     234                    {
     235                        if (connectionModel.UpdateableView != null)
     236                        {
     237                            connectionModel.UpdateableView.update();
     238                        }
     239                    }
     240                }
    231241            }
    232242            , null);
     
    263273            while (this.executionEngine.IsRunning)
    264274            {
    265                 yield return Timeout(10, HandleCheckExecutable);
     275                yield return Timeout(1, HandleCheckExecutable);
    266276            }
    267277        }
     
    353363                    PropertyInfo propertyInfo = pluginModel.Plugin.GetType().GetProperty(connectorModel.PropertyName);
    354364                    propertyInfo.SetValue(pluginModel.Plugin, connectorModel.Data, null);
     365                    connectorModel.HasLastData = true;
     366                    connectorModel.LastData = connectorModel.Data;
    355367                    connectorModel.Data = null;
    356368                    connectorModel.HasData = false;
Note: See TracChangeset for help on using the changeset viewer.