@Override public void init( ModuleType moduleType, _ComponentPositionType componentPosition, ApplicationContainer<T> appCont, IModule<T> parent, Map<String, String> initParams) { super.init(moduleType, componentPosition, appCont, parent, initParams); this.mapModule = appContainer.getActiveMapModule(); if (this.mapModule == null) { LOG.logError("no map module found "); return; } this.mapModule.getMapTool().addChangeListener(this); }