ICARulesModel m = (ICARulesModel) model;
ICARulesGrid g = m.getGrid();
// try to extract a custom cell renderer from the simulation configuration
Object userParameters = simConfig.getParameters().get("user.parameters");
IGridCellRenderer renderer = null;
if (userParameters instanceof IGridCellRenderer) {
renderer = (IGridCellRenderer) userParameters;
}
// System.out.println("Instrumenting the model");