1 | import { ITranslator } from '@jupyterlab/translation';
|
2 | import { VDomModel, VDomRenderer } from '@jupyterlab/ui-components';
|
3 | import { IDisposable } from '@lumino/disposable';
|
4 | import * as React from 'react';
|
5 | import { ILauncher } from './tokens';
|
6 |
|
7 |
|
8 |
|
9 |
|
10 | export declare class LauncherModel extends VDomModel implements ILauncher.IModel {
|
11 | |
12 |
|
13 |
|
14 |
|
15 |
|
16 |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 | add(options: ILauncher.IItemOptions): IDisposable;
|
22 | |
23 |
|
24 |
|
25 | items(): IterableIterator<ILauncher.IItemOptions>;
|
26 | protected itemsList: ILauncher.IItemOptions[];
|
27 | }
|
28 |
|
29 |
|
30 |
|
31 | export declare class Launcher extends VDomRenderer<ILauncher.IModel> {
|
32 | |
33 |
|
34 |
|
35 | constructor(options: ILauncher.IOptions);
|
36 | /**
|
37 | * The cwd of the launcher.
|
38 | */
|
39 | get cwd(): string;
|
40 | set cwd(value: string);
|
41 | /**
|
42 | * Whether there is a pending item being launched.
|
43 | */
|
44 | get pending(): boolean;
|
45 | set pending(value: boolean);
|
46 | /**
|
47 | * Render the launcher to virtual DOM nodes.
|
48 | */
|
49 | protected render(): React.ReactElement<any> | null;
|
50 | protected translator: ITranslator;
|
51 | private _trans;
|
52 | private _commands;
|
53 | private _callback;
|
54 | private _pending;
|
55 | private _cwd;
|
56 | }
|