@Override
@SuppressWarnings("unchecked")
// TODO(re027): this needs refactoring anyway
public void setValueAt(Object value, int row, int col) {
if (value != null) {
@SuppressWarnings("rawtypes")
IEditable parameter = visibleParameters.get(row);
if (!parameter.hasSubVariable()) {
parameter.setValue(value);
} else if (!(parameter.getSubVariable() instanceof IEditableSet)) {
parameter.getSubVariable().setValue(value);
}
}
}