private void RefreshProperties() { propertyPresenter.RefreshView(scriptModel); }
/// <summary> /// Refresh the view with the model's current state. /// </summary> private void RefreshView() { view.SetGraph(model.Nodes, model.Arcs); propertiesPresenter.RefreshView(model); }
/// <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); }