コード例 #1
0
 private void RefreshProperties()
 {
     propertyPresenter.RefreshView(scriptModel);
 }
コード例 #2
0
 /// <summary>
 /// Refresh the view with the model's current state.
 /// </summary>
 private void RefreshView()
 {
     view.SetGraph(model.Nodes, model.Arcs);
     propertiesPresenter.RefreshView(model);
 }
コード例 #3
0
 /// <summary>
 /// Invoked when the model has been changed via the undo command.
 /// </summary>
 /// <param name="changedModel">The model which has changed.</param>
 private void OnModelChanged(object changedModel)
 {
     propertyPresenter.RefreshView(forestryModel);
     forestryViewer.SpatialData = forestryModel.Table;
     forestryViewer.SetupHeights(forestryModel.Dates, forestryModel.Heights, forestryModel.NDemands, forestryModel.ShadeModifiers);
 }