import { ChannelModelRepo } from "../Entities/ChannelModelRepo";
import { UnhideAllChannelModelObjectsUC } from "../UC/UnhideAllChannelModelObjectsUC";
export function unhideAllActiveObjects(appObjects) {
    const repo = ChannelModelRepo.get(appObjects);
    if (!repo) {
        appObjects.submitError("unhideAllActiveObjects", "Unable to find ChannelModelRepo");
        return;
    }
    if (!repo.activeModel) {
        appObjects.submitWarning("unhideAllActiveObjects", "No Model is Active");
        return;
    }
    const uc = UnhideAllChannelModelObjectsUC.get(repo.activeModel, appObjects);
    if (!uc) {
        appObjects.submitError("unhideAllActiveObjects", "Unable to find UnhideAllChannelModelObjectsUC");
        return;
    }
    uc.unhideAll();
}
//# sourceMappingURL=unhideAllActiveObjects.js.map