@Nullable @Override public TableCellEditor getEditor(final NoSqlTreeNode treeNode) { Object value = treeNode.getDescriptor().getValue(); if (value instanceof Date) { return buildDateCellEditor(treeNode); } return defaultEditor; }
@Override public boolean isCellEditable(NoSqlTreeNode treeNode) { Object value = treeNode.getDescriptor().getValue(); if (value instanceof DBObject) { return false; } if (value instanceof ObjectId) { return false; } return true; }
public Object valueOf(Object obj) { NoSqlTreeNode node = (NoSqlTreeNode) obj; return node.getDescriptor(); }
@Override public void setValue(NoSqlTreeNode treeNode, Object value) { treeNode.getDescriptor().setValue(value); }
public Object valueOf(NoSqlTreeNode treeNode) { return treeNode.getDescriptor().getValue(); }
public NodeDescriptor valueOf(NoSqlTreeNode treeNode) { return treeNode.getDescriptor(); }