@Override public void componentSelected(MenuEvent e) { final GPLayerBean layer = (GPLayerBean) this.treePanel.getSelectionModel().getSelectedItem(); bindLayersTree(layer); LayoutManager.getInstance() .getStatusMap() .setBusy(WFSTWidgetMessages.INSTANCE.checkingIfLayerIsAVectorMessage(layer.getName())); this.layerTypeHandlerManager.forwardLayerType(layer); }
@Override protected void defineStatusBarCancelMessage() { LayoutManager.getInstance() .getStatusMap() .setStatus( LayerModuleConstants.INSTANCE.GPLayerExpander_statusOperationCancelledText(), // TODO change message wrt widget that use this expander // AddFolderWidget ---> folder // LoadWmsGetMapFromUrlWidget --> layer // LoadKmlFromUrlWidget --> layer EnumSearchStatus.STATUS_SEARCH_ERROR.toString()); }