(
tabId: UniqueId,
filterGroups?: IEditorGroup<any, any>[]
)
| 258 | } |
| 259 | |
| 260 | public isOpened( |
| 261 | tabId: UniqueId, |
| 262 | filterGroups?: IEditorGroup<any, any>[] |
| 263 | ): boolean { |
| 264 | const groups = filterGroups || this.state.groups || []; |
| 265 | return groups.some((group) => this.getTabById(tabId, group.id!)); |
| 266 | } |
| 267 | |
| 268 | public setDefaultActions(actions: IEditorActionsProps[]): void { |
| 269 | this.defaultActions = actions; |
no test coverage detected