[ACA-2180] Viewer toolbar - rearrange actions layout (#962)

* merge action in toolbar submenu

* viewer add info drawer action

* toggle infoDrawer extension action

* hide viewer toolbar info drawer action

* fix typo

* allow to  unsubscribe from infoDrawerOpened event
This commit is contained in:
Cilibiu Bogdan
2019-02-24 16:20:21 +02:00
committed by Denys Vuika
parent 525ba7e73e
commit 2be93af273
5 changed files with 43 additions and 16 deletions

View File

@@ -51,18 +51,23 @@
}
],
"viewer": {
"openWith": [
"toolbarActions": [
{
"id": "aos.viewer.openWith.office",
"type": "button",
"icon": "adf:application/msword",
"title": "Microsoft Office",
"actions": {
"click": "aos.openWith.office"
},
"rules": {
"visible": "aos.canOpenWithOffice"
}
"id": "app.viewer.toolbar.more",
"children": [
{
"id": "aos.viewer.openWith.office",
"order": 1,
"icon": "adf:application/msword",
"title": "Microsoft Office™",
"actions": {
"click": "aos.openWith.office"
},
"rules": {
"visible": "aos.canOpenWithOffice"
}
}
]
}
]
}