Package org.geoserver.web.publish

Source Code of org.geoserver.web.publish.BasicLayerConfig

/* Copyright (c) 2001 - 2007 TOPP - www.openplans.org. All rights reserved.
* This code is licensed under the GPL 2.0 license, available at the root
* application directory.
*/
package org.geoserver.web.publish;

import org.apache.wicket.markup.html.form.CheckBox;
import org.apache.wicket.markup.html.form.TextField;
import org.apache.wicket.model.IModel;

public class BasicLayerConfig extends LayerConfigurationPanel {
 
  public BasicLayerConfig(String id, IModel model) {
    super(id, model);
    init();
    // atm the layer follows the resource name, so it's not editable
    TextField name = new TextField("name");
    name.setEnabled(false);
   
        add(name);
    add(new CheckBox("enabled"));
  }
 
  private void init(){
  }
 
  private static final long serialVersionUID = 677955476932894110L;
}
TOP

Related Classes of org.geoserver.web.publish.BasicLayerConfig

TOP
Copyright © 2018 www.massapi.com. 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.