// Copyright (c) 2009-2026 SAP SE, All Rights Reserved
/**
 * @fileOverview sap.ushell.components.factsheet.views.ThingViewer
 * @deprecated since 1.120. Deprecated without successor.
 */
sap.ui.define([
    "sap/ui/model/odata/ODataModel",
    "sap/ushell/utils/DeprecationLog"
], (ODataModel, DeprecationLog) => {
    "use strict";

    DeprecationLog.logModuleDeprecation({
        module: "sap.ushell.components.factsheet.views.ThingViewer",
        since: "1.120",
        reason: "Deprecated without successor."
    });

    sap.ui.controller("sap.ushell.components.factsheet.views.ThingViewer", {
        setService: function (sUri) {
            this.getView().setModel(new ODataModel(sUri));
        }
    });
});
