public UI_BaseNode() : base() { CategoriesToShow.AddRange(new string[] { "Global settings" }); if (ConfigurationRepository.IConfiguration.GetConfigurationValue(UI_Constants.DebugEnabled, false)) { CategoriesToShow.Add("Debugging"); } }
public UI_Branch() : base() { CategoriesToShow.AddRange(new string[] { "Global settings", "Expression", "Variable selection", "Value selection" }); if (ConfigurationRepository.IConfiguration.GetConfigurationValue(UI_Constants.DebugEnabled, false)) { CategoriesToShow.Add("Debugging"); } }
public void DefineProperties(UI_Constants.ePropertyCategories categories = UI_Constants.ePropertyCategories.None) { CategoriesToShow.Clear(); CategoriesToShow.AddRange(new string[] { "Global settings", "Sub model", "Domain methods" }); if (ConfigurationRepository.IConfiguration.GetConfigurationValue(UI_Constants.DebugEnabled, false)) { CategoriesToShow.Add("Debugging"); } if ((categories & UI_Constants.ePropertyCategories.DataInformation) == UI_Constants.ePropertyCategories.DataInformation) { CategoriesToShow.Add("Data Information"); } }