1 | import { IRankedMenu, RankedMenu } from '@jupyterlab/ui-components';
|
2 | import { SemanticCommand } from '@jupyterlab/apputils';
|
3 |
|
4 |
|
5 |
|
6 | export interface IRunMenu extends IRankedMenu {
|
7 | |
8 |
|
9 |
|
10 | readonly codeRunners: IRunMenu.ICodeRunner;
|
11 | }
|
12 |
|
13 |
|
14 |
|
15 | export declare class RunMenu extends RankedMenu implements IRunMenu {
|
16 | |
17 |
|
18 |
|
19 | constructor(options: IRankedMenu.IOptions);
|
20 | /**
|
21 | * Semantic commands ICodeRunner for the Run menu.
|
22 | */
|
23 | readonly codeRunners: IRunMenu.ICodeRunner;
|
24 | }
|
25 | /**
|
26 | * A namespace for RunMenu statics.
|
27 | */
|
28 | export declare namespace IRunMenu {
|
29 | |
30 |
|
31 |
|
32 |
|
33 | interface ICodeRunner {
|
34 | |
35 |
|
36 |
|
37 | run: SemanticCommand;
|
38 | |
39 |
|
40 |
|
41 | runAll: SemanticCommand;
|
42 | |
43 |
|
44 |
|
45 | restart: SemanticCommand;
|
46 | }
|
47 | }
|