EmbeddedSessionMixin
Auto-generated from the @jbrowse/mobx-state-tree model in the source — see the developer guide for concepts. Built into JBrowse core. View source.
Everything the two single-view embedded products' sessions (react-linear-genome-view, react-circular-genome-view) share: the mixin set they compose and the three getters that read the root model. The twin of createEmbeddedRootModel one level down.
Each product composes this mixin. A factory taking the product's view type
and tracks mixin as parameters does not typecheck usefully:
types.compose's overloads are declared over IModelType<P, O, FC, FS>, so
a model passed as a naked type parameter gives nothing to infer those four
from, and session.view becomes any at every embedder call site with no
type error. Passing only concrete types to compose keeps the products'
views typed.
Each product therefore declares its tracks mixin, view prop, and the
views/addView/removeView members that read self.view, because those
members need its concrete view type.
Each section ends with the members a composed model contributes, linked to the page that documents them.
Properties
14 inherited properties from 3 models
From BaseSessionModel: id, name, focusedViewId, highlights, highlightsVisible, highlightLabelsVisible, heldForMissingPlugins
From DrawerWidgetSessionMixin: drawerPosition, drawerWidth, widgets, activeWidgets, minimized
From ConnectionManagementSessionMixin: connectionInstances, connectionTrackConfigs
Volatiles
9 inherited volatiles from 4 models
From BaseSessionModel: selection, hovered, queueOfDialogs, preferencesOverrides
From SnackbarModel: snackbarMessages, errorDialog
Getters
| Member | Description |
|---|---|
viewTitleBarsboolean | An embedded view is drawn with no title bar above it, so its menu lives in the view's own controls. |
versionstring | |
assemblyNamesstring[] | |
| assemblyManager |
21 inherited getters from 5 models
From BaseSessionModel: root, jbrowse, rpcManager, configuration, adminMode, textSearchManager, assemblies, DialogComponent, DialogProps, animationMode, scrollZoom, numberGrouping
From SnackbarModel: snackbarMessageSet
From DrawerWidgetSessionMixin: visibleWidget, drawerVisible, modalWidgetVisible
From ConnectionManagementSessionMixin: connections
From EmbeddedSessionThemeMixin: themeOptions, palette, styleTheme, theme
Methods
8 inherited methods from 4 models
From BaseSessionModel: getPreferenceDefault, getPreference, getPreferenceChanges
From ReferenceManagementSessionMixin: getReferringMultiple, getReferring
From TrackMenuSessionMixin: ,
Actions
52 inherited actions from 6 models
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
From DrawerWidgetSessionMixin: setDrawerPosition, updateDrawerWidth, resizeDrawer, addWidget, showWidget, hideWidget, minimizeWidgetDrawer, showWidgetDrawer, popoutWidget, returnWidgetToDrawer, setModalWidgets, hideAllWidgets, closeModalWidget, openWidget, editConfiguration
From ConnectionManagementSessionMixin: makeConnection, breakConnection, teardownConnection, deleteConnection, addConnectionConf, clearConnections, captureConnectionTrack, updateConnectionTrackConfig, setConnectionTrackConfig, pruneConnectionTrackConfig, hydrateConnection