class CodeEditorFactory

Interface for factory that creates a specific implementation(s) of a code editor.

Public

Methods

~CodeEditorFactory

virtual ~CodeEditorFactory() noexcept

GetAvailableEditors

virtual const Vector<CodeEditorType> &GetAvailableEditors() const = 0

Returns a list of code editors supported by this factory.

Create

virtual CodeEditor *Create(CodeEditorType editor) const = 0

Creates a specific implementation of a code editor.

editor
Type of editor to create. Make sure to provide a valid value returned by getAvailableEditors().