public void SetErrorTypeOptions(IEnumerable <string> types, string selected, Func <string, string> unitValueOnTypeChanged) { _unitValueOnTypeChanged = unitValueOnTypeChanged; _errorEditorPresenter.SetOptions(new Dictionary <string, IEnumerable <string> >() { { "", types } }, selected); View.ShowErrorTypes(); if (selected != null && selected.Equals(Constants.STD_DEV_GEOMETRIC)) { View.HideUnits(); } }
public void SetOptions(IReadOnlyDictionary <string, IEnumerable <string> > options, bool lloqColumnsSelection, string selected = null) { View.SetLloqToggle(lloqColumnsSelection); _optionsEditorPresenter.SetOptions(options, selected); }