Home Reference Source
import CablesElectron from './cables_electron.js'
public class | source

CablesElectron

frontend class for cablesElectron initializes the ui, starts the editor and adds functions custom to this platform

Constructor Summary

Public Constructor
public

Member Summary

Public Members
public get

CABLES: {}|null

the CABLES core instance of the current editor window, if initialized

public

editor: *

public
public get

editorWindow: {}|null

the current editor window, if initialized

public get

gui: Gui | null

the gui object of the current editor, if initialized

Private Members
private

_config: *

private
private
private
private get
private

_logger: *

private
private
private

Method Summary

Public Methods
public

init()

initialize the editor, wait for core and ui to be ready, add custom functionality

public
Private Methods
private
private

_logStartup(title: *)

private

_opRequire(moduleName: *, op: *, thisClass: *): {}

private

Public Constructors

public constructor() source

Public Members

public get CABLES: {}|null source

the CABLES core instance of the current editor window, if initialized

public editor: * source

public editorIframe: * source

public get editorWindow: {}|null source

the current editor window, if initialized

public get gui: Gui | null source

the gui object of the current editor, if initialized

Private Members

private _config: * source

private _electron: * source

private _importSync: * source

private _loadedModules: {} source

private get _log: Logger source

private _logger: * source

private _settings: * source

private _startUpLogItems: * source

private _usersettings: * source

Public Methods

public init() source

initialize the editor, wait for core and ui to be ready, add custom functionality

public openOpDirsTab() source

Private Methods

private _incrementStartup() source

private _logStartup(title: *) source

Params:

NameTypeAttributeDescription
title *

private _opRequire(moduleName: *, op: *, thisClass: *): {} source

Params:

NameTypeAttributeDescription
moduleName *
op *
thisClass *

Return:

{}

private _uiReady() source