if (geoResource.canResolve(RendererImpl.class)) {
// if the service wants to use its own renderer, let it be
RendererImpl rendererImpl = geoResource.resolve(RendererImpl.class, monitor);
rendererImpl.setContext(currentContext);
rendererImpl.render(graphics, monitor);
rendererImpl.dispose();
return;
}
//check that actually we have something to draw
currentContext.setStatus(ILayer.WAIT);