@Override public void setValueAt(TableModel original, Object node, String columnID, Object value) throws UnknownTypeException { if (node instanceof JSVariable || node instanceof JSWatchVar) { return ; } original.setValueAt(node, columnID, value); }
@Override public void setValueAt(TableModel original, Object node, String columnID, Object value) throws UnknownTypeException { if (node instanceof JSVariable) { return ; } original.setValueAt(node, columnID, value); }
/** * Changes a value displayed in column <code>columnID</code> * and row <code>node</code>. Column ID is defined in by * {@link ColumnModel#getID}, and rows are defined by values returned from * {@TreeModel#getChildren}. You should not throw UnknownTypeException * directly from this method! * * @param original the original table model * @param node a object returned from {@TreeModel#getChildren} for this row * @param columnID a id of column defined by {@link ColumnModel#getID} * @param value a new value of variable on given position * @throws UnknownTypeException this exception can be thrown from * <code>original.setValueAt (...)</code> method call only! */ public void setValueAt(TableModel original, Object node, String columnID, Object value) throws UnknownTypeException { original.setValueAt(node, columnID, value); }
public void setValueAt(TableModel original, Object node, String columnID, Object value) throws UnknownTypeException { NativeSession ds = NativeSession.map((Session) node); if (ds != null) { // our stuff is all readonly // assert false; } else { original.setValueAt(node, columnID, value); } return; }