public boolean onResetClick(ClickEvent event) { blueprint.getMainMapLayers().clear(); ManagerCommandService.saveBlueprint(blueprint, SaveGeodeskRequest.SAVE_LAYERS); return true; }
public void execute(GetClientLayersResponse result) { layerSelect.setValues(null, result.getLayers(), blueprint.getMainMapLayers(), !blueprint.isPublic()); fireChangedHandler(); }
public void execute(GetClientLayersResponse result) { if (geodesk.getMainMapLayers() == null || geodesk.getMainMapLayers().size() == 0) { //If no layers is set, present default from blueprint layerSelect.setValues(geodesk.getBlueprint().getMainMapLayers(), result.getLayers(), geodesk.getBlueprint().getMainMapLayers(), !geodesk.isPublic()); } else { layerSelect.setValues(geodesk.getBlueprint().getMainMapLayers(), result.getLayers(), geodesk.getMainMapLayers(), !geodesk.isPublic()); } fireChangedHandler(); }
if (blueprint.getMainMapLayers() != null) { for (ClientLayer layer : blueprint.getMainMapLayers()) { bpDto.getMainMapLayers().add(toDto(layer));
if (blueprint.getMainMapLayers() != null) { for (ClientLayer layer : blueprint.getMainMapLayers()) { bpDto.getMainMapLayers().add(toDto(layer));
if (dto.getMainMapLayers() != null) { for (LayerDto layer : dto.getMainMapLayers()) { mainLayers.add(fromDto(layer));
if (dto.getMainMapLayers() != null) { for (LayerDto layer : dto.getMainMapLayers()) { mainLayers.add(fromDto(layer));