Beispiel #1
0
        public static void OnGluxLoaded()
        {
            // todo todo todo
            // This needs to move to plugins eventually
            LocalizationControl.Self.PopulateFromLocalizationManager();

            string essFileName = SettingsSaveFileName;

            if (File.Exists(essFileName))
            {
                try
                {
                    glueViewSettings = GlueViewSettings.Load(essFileName);
                }
                catch
                {
                    // do nothing? It's just a settings file
                }
            }

            if (glueViewSettings?.CollapsedPlugins != null)
            {
                ignoreCollapseChange = true;
                CollapsibleFormHelper.Self.SetCollapsedItems(glueViewSettings.CollapsedPlugins);
                ignoreCollapseChange = false;
            }

            InteractiveConnection.Initialize();

            WcfManager.Self.Initialize();
        }