addLayer(layer) {
    this.#allLayers.set(layer.pageIndex, layer);
    if (this.#isEnabled) {
      layer.enable();
    } else {
      layer.disable();
    }
  }
Add a new layer for a page which will contains the editors.
@param {AnnotationEditorLayer} layer