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. The same property on HierarchicalTrackSelectorWidget sets this one. |
Getters
| Member | Description |
|---|---|
trackContainerTrackContainer | undefined | The track list a submitted track opens in. |
trackAdapterAdapterConfig | undefined | |
trackNamestring | |
submittableTrackNamestring | The trimmed name the track is added under. Check this one for an all-whitespace entry: !!trackName accepts ' ' and creates a track whose name is blank 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 |