public XDIMEResult callOpenOnProtocol(XDIMEContextInternal context, XDIMEAttributes attributes)
throws XDIMEException {
try {
MapRenderer mapRenderer = null;
// First get the widget module, which is a part of protocol
// responsible for rendering widgets. Thec ask for renderer.
WidgetModule widgetModule = getWidgetModule(context);
if (null != widgetModule){
mapRenderer = widgetModule.getMapRenderer();
}
if (null != mapRenderer){
mapRenderer.renderMapView(getProtocol(context),
(WidgetAttributes)protocolAttributes);
}
} catch (ProtocolException e) {
logger.error("rendering-error", getTagName(), e);