Search Results for

    Show / Hide Table of Contents

    Class EmbeddedFileEditorManager

    Repository embedded editor manager

    Inheritance
    System.Object
    EmbeddedFileEditorManager
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Simplic.Framework.Repository.Editor
    Assembly: Simplic.Framework.Repository.dll
    Syntax
    public class EmbeddedFileEditorManager

    Methods

    | Improve this Doc View Source

    OpenFile(RepositoryFileInfo)

    Open a file in a new editor

    Declaration
    public static void OpenFile(RepositoryFileInfo file)
    Parameters
    Type Name Description
    RepositoryFileInfo file

    File to edit

    | Improve this Doc View Source

    RegisterEditorFactory(String, IEmbeddedFileEditorFactory)

    Register a new editor factory for a file exteion. Updates the editor for an extension if it is already existing

    Declaration
    public static void RegisterEditorFactory(string extension, IEmbeddedFileEditorFactory factory)
    Parameters
    Type Name Description
    System.String extension

    Extension to open the editor for

    IEmbeddedFileEditorFactory factory

    Factory which create the new editor

    | Improve this Doc View Source

    UnregisterEditorFactory(String)

    Remove/Unregister an editor for a file extension. If there is no extension registered, nothing will be done.

    Declaration
    public static void UnregisterEditorFactory(string extension)
    Parameters
    Type Name Description
    System.String extension

    Extension to unregister the editor for

    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2018 SIMPLIC GmbH
    Generated by DocFx