Ejemplo n.º 1
0
  @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);
  }
Ejemplo n.º 2
0
 @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());
 }