Exemplo n.º 1
0
        private void PopulateOptions()
        {
            DestroyMutableDropDownItems();

            // generate items from field's schema

            SchemaProvider.CacheSchema();

            EvaluateMutableValueForAdding("", SchemaSource.Mutable, SchemaProvider.Schema);
            GenerateMutableDropDownItems(MutableObject.IntersectOwnSchema(SchemaProvider.Schema), SchemaSource.Mutable, new Stack <string>());

            // generate items from cached schema
            if (CachedMutableDataStore.DataCached)
            {
                EvaluateMutableValueForAdding("", SchemaSource.Cached, CachedMutableDataStore.DataStore);
                GenerateMutableDropDownItems(MutableObject.IntersectOwnSchema(CachedMutableDataStore.DataStore), SchemaSource.Cached, new Stack <string>());
            }

            // generate items from the global variable store's schema

            AddMutableItem("", SchemaSource.Global, false, null);
            GenerateMutableDropDownItems(GlobalVariableDataStore.Instance.Schema, SchemaSource.Global, new Stack <string>());

            SchemaProvider.UnCacheSchema();
        }
Exemplo n.º 2
0
        private void PopulateOptions()
        {
            DestroyMutableDropDownItems();

            AddMutableItem("", true, null);

            GenerateMutableDropDownItems(MutableObject.IntersectOwnSchema(SchemaProvider.Schema),
                                         new Stack <string>());
        }
Exemplo n.º 3
0
        private void PopulateOptions()
        {
            DestroyMutableDropDownItems();

            // generate items from field's schema

            EvaluateMutableValueForAdding("", SchemaProvider.Schema, false);
            GenerateMutableDropDownItems(MutableObject.IntersectOwnSchema(SchemaProvider.Schema), new Stack <string>(), false);

            // generate items from the global variable store's schema
        }