private Object fallbackGetValueAt(TableModel original, Object node, String columnID) throws UnknownTypeException { try { return original.getValueAt(node, columnID); } catch (UnknownTypeException x) { return ""; } }
colValue = original.getValueAt(((AttributeMap.Attribute)node).getValue(), columnID); else if (node instanceof JSPVariablesFilter.AttributeMap || node instanceof JSPVariablesFilter.ImplicitLocals) colValue = ""; else colValue = original.getValueAt(node, columnID);
@Override public Object getValueAt(TableModel original, Object node, String columnID) throws UnknownTypeException { if (node instanceof JPDAWatch && !isEnabled((JPDAWatch) node)) { return original.getValueAt(node, columnID); } if (node instanceof JSVariable) { JSVariable jsVar = (JSVariable) node; switch (columnID) { case LOCALS_TYPE_COLUMN_ID: return ""; case LOCALS_VALUE_COLUMN_ID: case LOCALS_TO_STRING_COLUMN_ID: return jsVar.getValue(); } } else if (node instanceof ObjectVariable) { switch (columnID) { case LOCALS_TYPE_COLUMN_ID: case WATCH_TYPE_COLUMN_ID: return ""; case LOCALS_VALUE_COLUMN_ID: case WATCH_VALUE_COLUMN_ID: case LOCALS_TO_STRING_COLUMN_ID: case WATCH_TO_STRING_COLUMN_ID: return DebuggerSupport.getVarValue(debugger, (ObjectVariable) node); } } return original.getValueAt(node, columnID); }
@Override public Object getValueAt(TableModel original, Object node, String columnID) throws UnknownTypeException { if (node instanceof JPDAWatch && !isEnabled((JPDAWatch) node)) { return original.getValueAt(node, columnID); return original.getValueAt(node, columnID);
return ds.getSessionHost(); } else { return original.getValueAt(node, columnID);