g.setColor(Color.BLUE);
int index = 0;
if (IGeometry.class.isAssignableFrom(valuesClass)) {
for (Object o : outputValues) {
IGeometry geo = (IGeometry) o;
for (nodebox.graphics.Point pt : geo.getPoints())
paintPointNumber(g, pt, index++);
}
} else if (nodebox.graphics.Point.class.isAssignableFrom(valuesClass)) {
for (Object o : outputValues)
paintPointNumber(g, (nodebox.graphics.Point) o, index++);