public TableCellEditor getEditor(final Object object) { if (!(object instanceof CvsFileRevision)) return null; return new AbstractTableCellEditor() { public Object getCellEditorValue() { return ""; } public Component getTableCellEditorComponent(JTable table, Object value, boolean isSelected, int row, int column) { final TagsPanel result = new TagsPanel(getName()); result.setTags(getValues((CvsFileRevision)object)); result.setSelected(true, table); return result; } }; }