Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

OMI SDK

IEditor Interface

The IEditor interface is used in the AppConfig Editor but is implemented within the internal framework.

IEditor

public interface IEditorBase
    {
        /// <summary>
        /// Gets the name of the editor instance.
        /// </summary>
        string EditorName { get; }
        /// <summary>
        /// Sets the editor's dirty flag to true, i.e., IsDirty returns true after calling this method.
        /// </summary>
        void SetDirty();
        /// <summary>
        /// Gets the editor's preferences.
        /// </summary>
        IPreference Preferences { get; }
        /// <summary>
        /// Gets the editor's CommandManager.
        /// </summary>
        IAppCommandManagerBase AppCommandManager { get; }
        /// <summary>
        /// Gets a value indicating whether the editor instance is read-only
        /// </summary>
        bool IsReadOnly { get; }
    }