void () { final TableCellEditor editor = getCellEditor(); if (editor instanceof StringTableCellEditor ed) { ed.clearListeners(); } else if (editor instanceof CodeFragmentTableCellEditorBase) { ((CodeFragmentTableCellEditorBase)editor).clearListeners(); } }