Hierarchy

Constructors

Properties

clearComponents: any
events: { optionsUpdated: Subject<undefined> }

Type declaration

  • optionsUpdated: Subject<undefined>
modifyComponent: any
syncPreset: any
tryFindComponent: any
updateInterationProps: any
updateReprParams: any

Accessors

  • get currentStructures(): readonly StructureRef[]
  • Returns readonly StructureRef[]

  • get dataState(): any
  • Returns any

  • get ev(): RxEventHelper
  • Returns RxEventHelper

  • get pivotStructure(): undefined | StructureRef
  • Returns undefined | StructureRef

  • get state(): State
  • Returns State

Methods

  • Parameters

    Returns Promise<void>

  • Parameters

    Returns undefined | Promise<void>

  • Parameters

    Returns Promise<void>

  • Parameters

    Returns void

  • Type Parameters

    • T

    Parameters

    • obs: Observable<T>
    • action: ((v: T) => void)
        • (v: T): void
        • Parameters

          • v: T

          Returns void

    Returns { unsubscribe: (() => void) }

    • unsubscribe: (() => void)
        • (): void
        • Returns void

  • Parameters

    Returns void

  • To update theme for all selected structures, use plugin.dataTransaction(async () => { for (const s of structure.hierarchy.selection.structures) await updateRepresentationsTheme(s.componets, ...); }, { canUndo: 'Update Theme' });

    Type Parameters

    • C extends "uniform" | "occupancy" | "element-index" | "element-symbol" | "shape-group" | "uncertainty" | "atom-id" | "carbohydrate-symbol" | "chain-id" | "operator-name" | "entity-id" | "entity-source" | "hydrophobicity" | "molecule-type" | "illustrative" | "model-index" | "operator-hkl" | "partial-charge" | "polymer-id" | "polymer-index" | "residue-name" | "secondary-structure" | "sequence-id" | "unit-index" | "volume-value"

    • S extends "uniform" | "physical" | "shape-group" | "uncertainty"

    Parameters

    Returns undefined | Promise<any>

  • Type Parameters

    • C extends "uniform" | "occupancy" | "element-index" | "element-symbol" | "shape-group" | "uncertainty" | "atom-id" | "carbohydrate-symbol" | "chain-id" | "operator-name" | "entity-id" | "entity-source" | "hydrophobicity" | "molecule-type" | "illustrative" | "model-index" | "operator-hkl" | "partial-charge" | "polymer-id" | "polymer-index" | "residue-name" | "secondary-structure" | "sequence-id" | "unit-index" | "volume-value"

    • S extends "uniform" | "physical" | "shape-group" | "uncertainty"

    Returns undefined | Promise<any>

Generated using TypeDoc