(msWorkspace: MsWorkspace)
| 916 | } |
| 917 | |
| 918 | setMsWorkspace(msWorkspace: MsWorkspace) { |
| 919 | this.msWorkspace = msWorkspace; |
| 920 | if (this.lifecycleState.type === 'window') { |
| 921 | [ |
| 922 | ...this.lifecycleState.dialogs.map( |
| 923 | (dialog) => dialog.metaWindow |
| 924 | ), |
| 925 | this.lifecycleState.metaWindow, |
| 926 | ].forEach((metaWindow) => { |
| 927 | if (metaWindow) { |
| 928 | WindowUtils.updateTitleBarVisibility(metaWindow); |
| 929 | this.updateWorkspaceAndMonitor(metaWindow); |
| 930 | } |
| 931 | }); |
| 932 | this.resizeMetaWindows(); |
| 933 | } |
| 934 | } |
| 935 | |
| 936 | async setWindow(metaWindow: MetaWindowWithMsProperties): Promise<void> { |
| 937 | assert( |
no test coverage detected