2336
2337
setGroupHidden(vendor: string, groupName: string, hidden: boolean): void {
2339
>
const modelIds = this._getModelIdsInGroup(vendor, groupName);
2340
>
for (const id of modelIds) {
2341
>
if (hidden) {
2342
>
if (!this._hiddenModelIds.has(id)) {
2343
>
this._hiddenModelIds.add(id);
2344
>
changed = true;
2345
>
}
2346
>
} else if (this._hiddenModelIds.delete(id)) {
2347
changed = true;
2348
}
2350
>
if (changed) {
2351
>
this._saveVisibility();
2352
>
this._onDidChangeModelVisibility.fire();
2353
>
}
2354
>
}
2355
2356
setModelHidden(modelIdentifier: string, hidden: boolean): void {