Skip to main content

JBrowseDesktopSessionModel

Note: this document is automatically generated from mobx-state-tree objects in our source code. See Core concepts and intro to pluggable elements for more info

Also note: this document represents the state model API for the current released version of jbrowse. If you are not using the current version, please cross reference the markdown files in our repo of the checked out git tag

Source code

GitHub page

Docs

composed of

  • ReferenceManagementSessionMixin
  • ConnectionManagementSessionMixin
  • DrawerWidgetSessionMixin
  • DialogQueueSessionMixin
  • ThemeManagerSessionMixin
  • TracksManagerSessionMixin
  • MultipleViewsSessionMixin
  • DesktopSessionMixin
  • SessionAssembliesMixin
  • TemporaryAssembliesMixin
  • DesktopSessionTrackMenuMixin
  • SnackbarModel
  • AppFocusMixin

JBrowseDesktopSessionModel - Getters

getter: assemblies

// type
ConfigurationSchemaType<{ aliases: { type: string; defaultValue: any[]; description: string; }; sequence: AnyConfigurationSchemaType; refNameColors: { type: string; defaultValue: any[]; description: string; }; refNameAliases: ConfigurationSchemaType<...>; cytobands: ConfigurationSchemaType<...>; displayName: { ...; ...

getter: root

// type
{ jbrowse: any; session: any; sessionPath: string; assemblyManager: { assemblies: IMSTArray<IModelType<{ configuration: IMaybe<IReferenceType<IAnyType>>; }, { ...; } & ... 5 more ... & { ...; }, _NotCustomized, _NotCustomized>> & IStateTreeNode<...>; } & ... 5 more ... & IStateTreeNode<...>; internetAccounts: IMSTAr...

getter: assemblyNames

// type
string[]

getter: version

// type
any

getter: history

// type
{ undoIdx: number; targetPath: string; } & NonEmptyObject & { history: unknown[]; notTrackingUndo: boolean; } & { readonly canUndo: boolean; readonly canRedo: boolean; } & { ...; } & IStateTreeNode<...>

getter: menus

// type
() => Menu[]

getter: assemblyManager

// type
{ assemblies: IMSTArray<IModelType<{ configuration: IMaybe<IReferenceType<IAnyType>>; }, { error: unknown; loadingP: Promise<void> | undefined; volatileRegions: BasicRegion[] | undefined; refNameAliases: RefNameAliases | undefined; lowerCaseRefNameAliases: RefNameAliases | undefined; cytobands: Feature[] | undefined...

JBrowseDesktopSessionModel - Methods

method: renderProps

// type signature
renderProps: () => {
theme: Theme
highResolutionScaling: any
}

JBrowseDesktopSessionModel - Actions

action: renameCurrentSession

// type signature
renameCurrentSession: (sessionName: string) => void

action: editTrackConfiguration

// type signature
editTrackConfiguration: (configuration: { [x: string]: any; } & NonEmptyObject & { setSubschema(slotName: string, data: Record<string, unknown>): Record<string, unknown> | ({ [x: string]: any; } & NonEmptyObject & { ...; } & IStateTreeNode<...>); } & IStateTreeNode<...>) => void