Ejemplo n.º 1
0
        public UI_BaseNode() : base()
        {
            CategoriesToShow.AddRange(new string[] { "Global settings" });

            if (ConfigurationRepository.IConfiguration.GetConfigurationValue(UI_Constants.DebugEnabled, false))
            {
                CategoriesToShow.Add("Debugging");
            }
        }
Ejemplo n.º 2
0
        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");
            }
        }
Ejemplo n.º 3
0
        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");
            }
        }