Home Reference Source
import ElectronEditor from './electron_editor.js'
public class | source

ElectronEditor

cables editor instance for electron standalone version handles ipc messages from and to the ui

Constructor Summary

Public Constructor
public

Member Summary

Public Members
public

config: *

Private Members
private
private

_talker: *

private

_talkerTopics: {"getOpInfo": *, "savePatch": *, "getPatch": *, "newPatch": *, "getAllProjectOps": *, "getOpDocsAll": *, "getOpDocs": *, "saveOpCode": *, "getOpCode": *, "opAttachmentGet": *, "formatOpCode": *, "saveUserSettings": *, "checkProjectUpdated": *, "opAddLib": *, "opAddCoreLib": *, "opAttachmentAdd": *, "opAttachmentDelete": *, "opRemoveLib": *, "opRemoveCoreLib": *, "getChangelog": *, "opAttachmentSave": *, "setIconSaved": *, "setIconUnsaved": *, "saveScreenshot": *, "getFilelist": *, "getFileDetails": *, "getLibraryFileInfo": *, "checkOpName": *, "getRecentPatches": *, "opCreate": *, "opRename": *, "opUpdate": *, "opDelete": *, "opClone": *, "opSaveLayout": *, "opSetSummary": *, "checkNumAssetPatches": *, "saveProjectAs": *, "gotoPatch": *, "getProjectOpDirs": *, "openDir": *, "selectFile": *, "selectDir": *, "setProjectName": *, "collectAssets": *, "collectOps": *, "getCollectionOpDocs": *, "patchCreateBackup": *, "addOpDependency": *, "removeOpDependency": *, "saveProjectOpDirOrder": *, "removeProjectOpDir": *, "exportPatch": *, "exportPatchBundle": *}

Method Summary

Public Methods
public

api(cmd: *, data: *, next: *)

make a call to a method in electron_api

public

editor(cmd: *, data: *, next: *)

Public Constructors

public constructor() source

Public Members

public config: * source

Private Members

private _patchId: * source

private _talker: * source

private _talkerTopics: {"getOpInfo": *, "savePatch": *, "getPatch": *, "newPatch": *, "getAllProjectOps": *, "getOpDocsAll": *, "getOpDocs": *, "saveOpCode": *, "getOpCode": *, "opAttachmentGet": *, "formatOpCode": *, "saveUserSettings": *, "checkProjectUpdated": *, "opAddLib": *, "opAddCoreLib": *, "opAttachmentAdd": *, "opAttachmentDelete": *, "opRemoveLib": *, "opRemoveCoreLib": *, "getChangelog": *, "opAttachmentSave": *, "setIconSaved": *, "setIconUnsaved": *, "saveScreenshot": *, "getFilelist": *, "getFileDetails": *, "getLibraryFileInfo": *, "checkOpName": *, "getRecentPatches": *, "opCreate": *, "opRename": *, "opUpdate": *, "opDelete": *, "opClone": *, "opSaveLayout": *, "opSetSummary": *, "checkNumAssetPatches": *, "saveProjectAs": *, "gotoPatch": *, "getProjectOpDirs": *, "openDir": *, "selectFile": *, "selectDir": *, "setProjectName": *, "collectAssets": *, "collectOps": *, "getCollectionOpDocs": *, "patchCreateBackup": *, "addOpDependency": *, "removeOpDependency": *, "saveProjectOpDirOrder": *, "removeProjectOpDir": *, "exportPatch": *, "exportPatchBundle": *} source

Public Methods

public api(cmd: *, data: *, next: *) source

make a call to a method in electron_api

Params:

NameTypeAttributeDescription
cmd *
data *
next *

public editor(cmd: *, data: *, next: *) source

Params:

NameTypeAttributeDescription
cmd *
data *
next *