import { TableSettingButtonSlimmer } from './table-setting-button-slimmer.abstract';
import { TableSettingType } from '../../../setting-event-handlers/setting-event-handler.abstract';
/**
 * Slimmer dedicated to building the column button.
 */
export class TablePropertiesButtonSlimmer extends TableSettingButtonSlimmer {
  constructor() {
    super({
      icon: 'rte-table-properties',
      title: 'table properties',
      showArrowIcon: false,
    });
  }
  renderBtnWrapper(renderBtn) {
    return renderBtn();
  }
  isSelected() {
    return false;
  }
  isDisabled() {
    return false;
  }
  handleClick() {
    this.emitClickEvent([TableSettingType.TABLE]);
  }
}
