public void modify(Object element, String property, Object value) {
TableItem item = (TableItem) element;
Object target = item.getData();
if (target instanceof PWTableEntry) {
PWTableEntry tEntry = (PWTableEntry) target;
// Find the index of the column
if (PWTableEditor.KEY_COLUMN.equals(property)) {
tEntry.setName((String) value);
} else if (PWTableEditor.VALUE_COLUMN.equals(property)) {
try {
tEntry.setContent((String) value);
} catch (ElementDeletedException ex) {
String msg = "Entry was already deleted and should not be shown here, this is a bug";
logger.fatal(msg, ex);
throw new SysRuntimeException(msg, ex);
}