AddTrackModel
Auto-generated @jbrowse/mobx-state-tree API for the current JBrowse release —
see pluggable elements for concepts. Provided by the
data-management plugin.
View source.
Properties
| Member | Description |
|---|---|
idid: ElementId | |
typetype: types.literal('AddTrackWidget') | |
| view | |
trackContainerIdtrackContainerId: types.maybe(types.string) | Which of the view's track containers the new track opens in, by id. Absent — the usual case — means the view itself. See the same property on HierarchicalTrackSelectorWidget, which is what sets this. |
Getters
| Member | Description |
|---|---|
trackContainerTrackContainer | undefined | The track list a submitted track opens in. |
trackAdapterAdapterConfig | undefined | |
trackNamestring | |
submittableTrackNamestring | The name the track is added under, which is what an all-whitespace entry has to be judged on — !!trackName accepts ' ' and mints a track whose name renders as nothing in the selector. |
uris(string | undefined)[] | |
isFtpboolean | |
isRelativeUrlboolean | |
wrongProtocolboolean | |
adapterHintNotConfigurableboolean | Returns true if the user selected an adapter from the dropdown but the extension point couldn't build a config for it |
assemblystring | undefined | |
trackAdapterTypestring | undefined | |
trackTypestring | |
| warningMessage |
Methods
| Member | Description |
|---|---|
getTrackConfig(timestamp: number) => DraftTrackConfig | undefined |
Actions
| Member | Description |
|---|---|
setMixinData(arg: Record<string, unknown>) => void | |
updateBulkInput(patch: Partial<BulkInputState>) => void | Patch the bulk workflow's collected input. A patch rather than a setter per field: the bulk form edits several of these together (removing a row rewrites the input and forgets that row's rename). |
setAdapterHint(obj: string) => void | |
setTextIndexingConf(conf: IndexingAttr) => void | |
setTextIndexTrack(flag: boolean) => void | |
setTrackData(obj: FileLocation) => void | |
setIndexTrackData(obj: FileLocation) => void | |
setDetectedIndex(obj: FileLocation, name: string) => void | Records an index found beside the main file. Ignored when an index is already set, since a probe resolving late must never overwrite one typed while it was in flight. |
setAssembly(str: string) => void | |
setTrackName(str: string) => void | |
setTrackType(str: string) => void | |
clearData() => void |