"use strict";
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
const editorTheme = require("../editorTheme.js");
class ViewContext {
  constructor(configuration, theme, model) {
    this.configuration = configuration;
    this.theme = new editorTheme.EditorTheme(theme);
    this.viewModel = model;
    this.viewLayout = model.viewLayout;
  }
  addEventHandler(eventHandler) {
    this.viewModel.addViewEventHandler(eventHandler);
  }
  removeEventHandler(eventHandler) {
    this.viewModel.removeViewEventHandler(eventHandler);
  }
}
exports.ViewContext = ViewContext;
