Package org.geoserver.web.data.store.panel

Examples of org.geoserver.web.data.store.panel.DirectoryParamPanel


    public ShapefileDirectoryEditPanel(final String componentId, final Form storeEditForm) {
        super(componentId, storeEditForm);
    }

    protected FileParamPanel buildFileParamPanel(final IModel paramsModel) {
        FileParamPanel file = new DirectoryParamPanel("url", new MapModel(paramsModel, URLP.key),
                new ParamResourceModel("shapefile", this), true);
        file.setFileFilter(new Model<ExtensionFileFilter>(new ExtensionFileFilter(".shp")));
        return file;
    }
View Full Code Here


    public ShapefileDirectoryEditPanel(final String componentId, final Form storeEditForm) {
        super(componentId, storeEditForm);
    }

    protected FileParamPanel buildFileParamPanel(final IModel paramsModel) {
        FileParamPanel file = new DirectoryParamPanel("url", new MapModel(paramsModel, URLP.key),
                new ParamResourceModel("shapefile", this), true);
        file.setFileFilter(new Model<ExtensionFileFilter>(new ExtensionFileFilter(".shp")));
        return file;
    }
View Full Code Here

        final IModel paramsModel = new PropertyModel(model, "connectionParameters");

        FileParamPanel file;
        if (useDirectoryChooser) {
            file = new DirectoryParamPanel("url", new PropertyModel(model, "URL"),
                    new ResourceModel("url", "URL"), true);
        } else {
            file = new FileParamPanel("url", new PropertyModel(model, "URL"),
                    new ResourceModel("url", "URL"), true);
        }
View Full Code Here

TOP

Related Classes of org.geoserver.web.data.store.panel.DirectoryParamPanel

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.