Home Reference Source
import CablesStandalone from './standalone.js'
public class | source

CablesStandalone

frontend class for cables standalone 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

_log: *

private
private
private

Method Summary

Public Methods
public

init()

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

Private Methods
private
private
private

_logStartup(title: *)

private

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

private

_patchDir(args: ...*): *

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 _log: * 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

Private Methods

private _coreReady() source

private _incrementStartup() source

private _logStartup(title: *) source

Params:

NameTypeAttributeDescription
title *

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

Params:

NameTypeAttributeDescription
moduleName *
op *
thisClass *

Return:

{}

private _patchDir(args: ...*): * source

Params:

NameTypeAttributeDescription
args ...*

Return:

*

private _uiReady() source