/** * Load all widget editors that are available on this blueprints user application, and add them to the tabset. * * @param bgd * the basegeodesk. */ private void loadWidgetTabs(LayerModelDto bgd) { for (String key : WidgetEditorFactoryRegistry.getLayerRegistry().getWidgetEditors().keySet()) { addWidgetTab(WidgetEditorFactoryRegistry.getMapRegistry().get(key), bgd.getWidgetInfo(), bgd); } }
public LayerModel fromDto(LayerModelDto dto) throws GeomajasException { if (dto == null) { return null; } LayerModel lm = new LayerModel(); lm.setActive(dto.isActive()); lm.setClientLayerId(dto.getClientLayerId()); lm.setId(dto.getId()); lm.setName(dto.getName()); lm.setPublic(dto.isPublic()); lm.setLayerType(dto.getLayerType()); lm.setReadOnly(dto.isReadOnly()); lm.setDynamicLayerConfiguration(dto.getLayerConfiguration()); lm.getWidgetInfo().putAll(dto.getWidgetInfo()); return lm; }
public LayerModel fromDto(LayerModelDto dto) throws GeomajasException { if (dto == null) { return null; } LayerModel lm = new LayerModel(); lm.setActive(dto.isActive()); lm.setClientLayerId(dto.getClientLayerId()); lm.setId(dto.getId()); lm.setName(dto.getName()); lm.setPublic(dto.isPublic()); lm.setLayerType(dto.getLayerType()); lm.setReadOnly(dto.isReadOnly()); lm.setDynamicLayerConfiguration(dto.getLayerConfiguration()); lm.getWidgetInfo().putAll(dto.getWidgetInfo()); return lm; }
lmDto.setReadOnly(layerModel.isReadOnly()); lmDto.setLayerType(layerModel.getLayerType()); lmDto.getWidgetInfo().putAll(layerModel.getWidgetInfo()); String owner; if (layerModel.getOwner() == null) {
lmDto.setReadOnly(layerModel.isReadOnly()); lmDto.setLayerType(layerModel.getLayerType()); lmDto.getWidgetInfo().putAll(layerModel.getWidgetInfo()); String owner; if (layerModel.getOwner() == null) {