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

Source file

products/jbrowse-desktop/src/sessionModel/index.ts

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; } & { stopTrackingUndo(): void; ... 5 more ...; redo(): void; } & IStateTreeNode<...>

getter: menus

// type
Menu[]

getter: assemblyManager

// type
{ assemblies: IMSTArray<IModelType<{ configuration: IMaybe<IReferenceType<IAnyType>>; }, { error: unknown; loaded: boolean; loadingP: Promise<void>; volatileRegions: BasicRegion[]; refNameAliases: RefNameAliases; lowerCaseRefNameAliases: RefNameAliases; cytobands: Feature[]; } & ... 5 more ... & { ...; }, _NotCustom...

getter: savedSessionNames

// type
IMSTArray<ISimpleType<string>> & IStateTreeNode<IMaybe<IArrayType<ISimpleType<string>>>>

JBrowseDesktopSessionModel - Methods

method: renderProps

// type signature
renderProps: () => {
theme: any
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: unknown): any; } & IStateTreeNode<ConfigurationSchemaType<{ name: { description: string; type: string; defaultValue: string; }; ... 8 more ...; formatAbout: ConfigurationSchemaType<...>; }, ConfigurationSchemaOptions<...>...