Package org.geoserver.web.data.importer.LayerResource

Examples of org.geoserver.web.data.importer.LayerResource.LayerStatus


                    f.add(new Image("icon", new IconModel(itemModel)));
                    f.add(new Label("label", new StatusModel(itemModel)));
                    return f;
                } else if(property == WMSLayerProvider.ACTION) {
                    final LayerResource resource = (LayerResource) itemModel.getObject();
                    final LayerStatus status = resource.getStatus();
                    if(status == LayerStatus.PUBLISHED || status == LayerStatus.NEWLY_PUBLISHED || status == LayerStatus.UPDATED) {
                        return resourceChooserLink(id, itemModel, new ParamResourceModel("NewLayerPage.publishAgain", this));
                    } else {
                        return resourceChooserLink(id, itemModel, new ParamResourceModel("NewLayerPage.publish", this));
                    }
View Full Code Here


                    f.add(new Image("icon", new IconModel(itemModel)));
                    f.add(new Label("label", new StatusModel(itemModel)));
                    return f;
                } else if(property == WMSLayerProvider.ACTION) {
                    final LayerResource resource = (LayerResource) itemModel.getObject();
                    final LayerStatus status = resource.getStatus();
                    if(status == LayerStatus.PUBLISHED || status == LayerStatus.NEWLY_PUBLISHED || status == LayerStatus.UPDATED) {
                        return resourceChooserLink(id, itemModel, new ParamResourceModel("NewLayerPage.publishAgain", this));
                    } else {
                        return resourceChooserLink(id, itemModel, new ParamResourceModel("NewLayerPage.publish", this));
                    }
View Full Code Here

TOP

Related Classes of org.geoserver.web.data.importer.LayerResource.LayerStatus

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.