@Nullable
  @Override
  protected DesignerEditorPanelFacade getDesigner(FileEditor editor) {
    if (editor instanceof DesignerEditor designerEditor) {
      return designerEditor.getDesignerPanel();
    }
    return null;
  }
@Nullable
  @Override
  protected DesignerEditorPanelFacade getDesigner(FileEditor editor)