BaseWebSessionModel
Auto-generated from the @jbrowse/mobx-state-tree model in the source. See the developer guide for concepts. Built into JBrowse core. View source.
Composable web session shared by jbrowse-web and react-app, before
finalizeSession (the snapshotProcessor can't be composed).
jbrowse-web composes WebSessionManagementMixin onto this; react-app uses it
as-is.
Each section ends with the members a composed model contributes, linked to the page that documents them.
Properties
| Member | Description |
|---|---|
sessionPlugins(PluginDefinition & { name: string; })[] |
24 inherited properties from 8 models
From WebSessionConnectionsMixin: sessionConnections
From ConnectionManagementSessionMixin: connectionInstances, connectionTrackConfigs
From WorkspaceLayoutMixin: layout, activePanelId, maximizedPanelId
From AssembliesMixin: sessionAssemblies, temporaryAssemblies
From SessionTracksManagerSessionMixin: sessionTracks, trackConfigDeltas
From BaseSessionModel: id, name, focusedViewId, highlights, highlightsVisible, highlightLabelsVisible, heldForMissingPlugins
From MultipleViewsSessionMixin: views, stickyViewHeaders
From DrawerWidgetSessionMixin: drawerPosition, drawerWidth, widgets, activeWidgets, minimized
Volatiles
| Member | Description |
|---|---|
pendingFileHandleIdsstring[] |
12 inherited volatiles from 5 models
From SessionTracksManagerSessionMixin: editableTrackConfigs
From BaseSessionModel: selection, selectionTrackId, hovered, queueOfDialogs, preferencesOverrides
From SnackbarModel: snackbarMessages, errorDialog
From DrawerWidgetSessionMixin: poppedOut, modalWidgets
From ThemeManagerSessionMixin: systemPrefersDark, darkReaderDark
Getters
| Member | Description |
|---|---|
rootAbstractWebRootModel |
|
string |
39 inherited getters from 9 models
From WebSessionConnectionsMixin: connections
From WorkspaceLayoutMixin: tree, panels, tabs, visibleTree
From AppSessionMixin: version, gitCommit, history, assemblyManager
From AssembliesMixin: takenAssemblyNames, assemblies, assemblyNames
From SessionTracksManagerSessionMixin: trackBasesById, tracks, promotableTrackIds
From BaseSessionModel: jbrowse, rpcManager, configuration, adminMode, textSearchManager, DialogComponent, DialogProps, animationMode, scrollZoom, numberGrouping
From SnackbarModel: snackbarMessageSet
From DrawerWidgetSessionMixin: visibleWidget, drawerVisible, effectiveDrawerWidth, modalWidgetVisible
From ThemeManagerSessionMixin: themeName, themeMode, selectedThemeMode, effectiveThemeMode, themeIsDark, themeOptions, palette, styleTheme, theme
Methods
| Member | Description |
|---|---|
canEditTrack(trackId: string) => boolean |
whether the user may edit this track's config (admins may edit any; everyone else only session tracks) |
getTrackActions(config: AnyTrackConfig, view?: TrackActionView) => MenuItem[] |
raw track actions (Settings, Copy, Delete) without submenu wrapper |
27 inherited methods from 9 models
From TrackMenuItemsSessionMixin: ,
From ReferenceManagementSessionMixin: getReferringMultiple, getReferring
From WorkspaceLayoutMixin: hasPanel, findTab, tabContainingView, panelContainingView
From AppSessionMixin:
From AssembliesMixin: findAssemblyConf, canEditAssembly
From SessionTracksManagerSessionMixin: withTrackEdits, withSequenceEdits, baseTrackConfig, getEditableTrackConfig, getTrackConfigChanges, isTrackOverride
From TracksManagerSessionMixin: canonicalTrackId, getTrackById, assemblySequenceById, trackBaseById, getTracksById
From BaseSessionModel: getPreferenceDefault, getPreference, getPreferenceChanges
From ThemeManagerSessionMixin: allThemes, getActiveThemeOptions
Actions
| Member | Description |
|---|---|
addAssemblyConf(conf: AnyConfiguration) => void |
|
addSessionPlugin(plugin: PluginDefinition & { name: string; }) => void |
|
removeSessionPlugin(pluginDefinition: PluginDefinition) => void |
|
setSession(sessionSnapshot: Record<string, unknown>) => void |
|
setPendingFileHandleIds(ids: string[]) => void |
108 inherited actions from 12 models
From WebSessionConnectionsMixin: addSessionConnectionConf, addConnectionConf, deleteConnection
From ConnectionManagementSessionMixin: makeConnection, breakConnection, teardownConnection, clearConnections, captureConnectionTrack, setConnectionTrackConfig, pruneConnectionTrackConfig, hydrateConnection
From ReferenceManagementSessionMixin: dereferenceTrack
From WorkspaceLayoutMixin: setActivePanelId, toggleMaximizedPanel, restorePanels, setActiveTab, renameTab, splitPanel, closePanel, addTab, closeTab, addViewToTab, closeView, dropTabInPanel, dropTabInNewSplit, setSizes, applyLayoutSpec, moveViewToNewTab, moveViewToSplit, moveViewToTab, homeUnassignedViews, setPendingMove, tileViews, layoutViews
From AppSessionMixin: renameCurrentSession
From AssembliesMixin: addSessionAssembly, addAssembly, removeAssembly, removeSessionAssembly, addTemporaryAssembly, removeTemporaryAssembly, editAssembly
From SessionTracksManagerSessionMixin: addSessionTrackConf, publishTrackConf, addTrackConf, updateTrackConfiguration, promoteTrackConfigDeltas, resetTrackConfiguration, deleteTrackConf, deleteTrackConfWithUndo, restoreTrackConf
From BaseSessionModel: setSelection, clearSelection, setHovered, setHighlightsVisible, setHighlightLabelsVisible, addHighlight, removeHighlight, updateHighlight, setHighlights, setPreferenceOverride, clearPreferenceOverrides, clearPreferenceOverride, setScrollZoom, setName, setFocusedViewId, removeActiveDialog, queueDialog, removeDialog
From SnackbarModel: notify, notifyError, setErrorDialog, pushSnackbarMessage, popSnackbarMessage, removeSnackbarMessage, removeSnackbarEntry
From MultipleViewsSessionMixin: moveViewDown, moveViewUp, moveViewToTop, moveViewToBottom, orderViews, addView, replaceView, removeView, takeOutViewsMissingFrom, setStickyViewHeaders, setUseWorkspaces, launchView
From DrawerWidgetSessionMixin: setDrawerPosition, updateDrawerWidth, resizeDrawer, addWidget, showWidget, hideWidget, minimizeWidgetDrawer, showWidgetDrawer, popoutWidget, returnWidgetToDrawer, setModalWidgets, hideAllWidgets, closeModalWidget, openWidget, editConfiguration
From ThemeManagerSessionMixin: setThemeName, noteDarkReader, setSystemPrefersDark, setSystemThemeOverride, setThemeMode