"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.labelDropEditingIdAdapter = void 0;
const LabelDropEditingIDPM_1 = require("../PM/LabelDropEditingIDPM");
exports.labelDropEditingIdAdapter = {
    defaultVM: LabelDropEditingIDPM_1.defaultLabelDropEditingIDVM,
    subscribe: (appObjects, setVM) => {
        const pm = LabelDropEditingIDPM_1.LabelDropEditingIDPM.get(appObjects);
        if (!pm) {
            appObjects.submitError("labelDropEditingIdAdapter", "Unable to find LabelDropListPM");
            return;
        }
        pm.addView(setVM);
    },
    unsubscribe: (appObjects, setVM) => {
        LabelDropEditingIDPM_1.LabelDropEditingIDPM.get(appObjects)?.removeView(setVM);
    },
};
//# sourceMappingURL=labelDropEditingIdAdapter.js.map