public void Edit(IUserSettings userSettings) { _view.LayoutViewVisible = _runOptions.IsDeveloperMode; _diagramOptionsPresenter.Edit(userSettings.DiagramOptions); _forceLayoutConfigurationPresenter.Edit(userSettings.ForceLayoutConfigutation); _chartOptionsPresenter.Edit(userSettings.ChartOptions); _validationOptionsPresenter.Edit(userSettings.ValidationSettings); _displayUnitsPresenter.Edit(userSettings.DisplayUnits); _view.BindTo(userSettings); _view.Display(); }
public void Edit(IMoBiSimulation simulation) { _validationOptionsPresenter.Edit(_userSettings.ValidationSettings); }