|
15 | 15 |
|
16 | 16 | ************************************************************************ */ |
17 | 17 |
|
| 18 | +/** |
| 19 | + Supports: |
| 20 | + "categories": [{ |
| 21 | + "id": "string", // required |
| 22 | + "title": "string", // required |
| 23 | + "description": "string" // optional |
| 24 | + }], |
| 25 | + "resources": [{ |
| 26 | + "resourceType": "study", // it will start an empty study |
| 27 | + "title": "string", // required |
| 28 | + "icon": "fontAwesome inner link | url", // optional |
| 29 | + "newStudyLabel": "string", // optional |
| 30 | + "idToWidget": "string" // optional |
| 31 | + }, { |
| 32 | + "resourceType": "template", // it will create a study from the template |
| 33 | + "expectedTemplateLabel": "string", // required |
| 34 | + "title": "string", // required |
| 35 | + "icon": "fontAwesome inner link | url", // optional |
| 36 | + "newStudyLabel": "string", // optional |
| 37 | + "category": "categories.id", // optional |
| 38 | + "idToWidget": "string" // optional |
| 39 | + }, { |
| 40 | + "resourceType": "service", // it will create a study from the service |
| 41 | + "expectedKey": "service.key", // required |
| 42 | + "title": "string", // required |
| 43 | + "icon": "fontAwesome inner link | url", // optional |
| 44 | + "newStudyLabel": "string", // optional |
| 45 | + "category": "categories.id", // optional |
| 46 | + "idToWidget": "string" // optional |
| 47 | + }, { |
| 48 | + "showDisabled": true, // it will show a disabled button on the defined item |
| 49 | + "title": "string", // required |
| 50 | + "icon": "fontAwesome inner link | url", // optional |
| 51 | + "reason": "string", // optional |
| 52 | + "newStudyLabel": "string", // optional |
| 53 | + "category": "categories.id", // optional |
| 54 | + "idToWidget": "string" // optional |
| 55 | + }] |
| 56 | + */ |
18 | 57 | qx.Class.define("osparc.dashboard.NewPlusMenu", { |
19 | 58 | extend: qx.ui.menu.Menu, |
20 | 59 |
|
|
0 commit comments