Interface IAtomStatic

Hierarchy

Index

Construct signatures

Properties

Methods

Construct signatures

constructor(state: IAtomState): IAtom

Parameters

Returns

IAtom

Properties

public loadSettings: IAtomSettings

public version: number

Methods

public deserialize(data: ISerializationInfo): T in AtomCore.ISerializationStatic<T>

Parameters

Returns

T in AtomCore.ISerializationStatic<T>

public getConfigDirPath(): string

Returns

string

public getCurrentWindow(): IBrowserWindow

Returns

IBrowserWindow

public getLoadSettings(): IAtomSettings

Returns

IAtomSettings

public getStatePath(mode: any): string

Parameters

  • mode: any

Returns

string

public getStorageDirPath(): string

Returns

string

public getVersion(): string

Returns

string

public isReleasedVersion(): boolean

Returns

boolean

public loadOrCreate(mode: "'editor'"): IAtom

Parameters

  • mode: "'editor'"

Returns

IAtom

public loadOrCreate(mode: "'spec'"): IAtom

Parameters

  • mode: "'spec'"

Returns

IAtom

public loadOrCreate(mode: string): IAtom

Parameters

  • mode: string

Returns

IAtom

public loadState(mode: any)

Parameters

  • mode: any