package ol.source;

import jsinterop.annotations.JsProperty;
import jsinterop.annotations.JsType;

/**
 * 
 * @author Tino Desjardins
 *
 */
@JsType(isNative = true)
public interface ImageWMSParams {
    
    /**
     * 
     * @param layers comma seperated layernames
     */
    @JsProperty
    void setLayers(String layers);

    @JsProperty(name = "WIDTH")
    void setWidth(String width);

    @JsProperty(name = "HEIGHT")
    void setHeight(String height);
    
}


@@ -13,16 +13,56 @@
 ource;%0A%0A
+import jsinterop.annotations.JsPackage;%0A
 import j
@@ -201,26 +201,69 @@
 true
-)%0Apublic interface
+, namespace = JsPackage.GLOBAL, name = %22Object%22)%0Apublic class
  Ima
@@ -369,24 +369,38 @@
 roperty%0A    
+public native 
 void setLaye
@@ -451,24 +451,38 @@
 WIDTH%22)%0A    
+public native 
 void setWidt
@@ -536,16 +536,30 @@
 T%22)%0A    
+public native 
 void set

Convert ImageWMSParams interface to class