Esempio n. 1
0
        /// ------------------------------------------------------------------------------------
        /// <summary>
        /// Overridden to save the libronix setting (and the workspace).
        /// </summary>
        /// ------------------------------------------------------------------------------------
        public override void SaveSettings()
        {
            base.SaveSettings();
#if !__MonoCS__
            if (Options.AutoStartLibronix)
            {
                LibronixWorkspaceManager.SaveWorkspace(WorkspaceLocation());
            }
#else
            if (Options.AutoStartLibronix)
            {
                throw new NotImplementedException();
            }
            // TODO-Linux: Librionix not ported..
#endif
        }
Esempio n. 2
0
        /// <summary>
        /// Overridden to load the libronix setting and implement it.
        /// </summary>
        public override void LoadSettings()
        {
            base.LoadSettings();
#if !__MonoCS__
            if (Options.AutoStartLibronix)
            {
                LibronixWorkspaceManager.RestoreIfNotRunning(WorkspaceLocation());
            }
#else
            if (Options.AutoStartLibronix)
            {
                throw new NotImplementedException();
            }
            // TODO-Linux: Librionix not ported..
#endif
            TeProjectSettings.InitSettings(this);
        }