package ol.source;

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

import ol.Options;
import ol.proj.Projection;

/**
 * 
 * @author Tino Desjardins
 *
 */
@JsType(isNative = true)
public interface ImageWMSOptions extends Options {

    /**
     * 
     * @param imageWMSParams
     *            params for WMS-requests
     */
    @JsProperty
    void setParams(ImageWMSParams imageWMSParams);

    /**
     * 
     * @param ratio
     */
    @JsProperty
    void setRatio(float ratio);

    /**
     * 
     * @param url
     *            WMS service URL
     */
    @JsProperty
    void setUrl(String url);
    
    /**
     * 
     * @param projection
     */
    @JsProperty
    void setProjection(Projection projection);

}

@@ -9,24 +9,64 @@
 ol.source;%0A%0A
+import jsinterop.annotations.JsPackage;%0A
 import jsint
@@ -94,16 +94,16 @@
 operty;%0A
-
 import j
@@ -248,26 +248,69 @@
 true
-)%0Apublic interface
+, namespace = JsPackage.GLOBAL, name = %22Object%22)%0Apublic class
  Ima
@@ -326,14 +326,17 @@
 ons 
-extend
+implement
 s Op
@@ -451,32 +451,46 @@
 @JsProperty%0A    
+public native 
 void setParams(I
@@ -577,32 +577,46 @@
 @JsProperty%0A    
+public native 
 void setRatio(fl
@@ -716,32 +716,46 @@
 @JsProperty%0A    
+public native 
 void setUrl(Stri
@@ -833,20 +833,34 @@
 roperty%0A
-
     
+public native 
 void set

Convert ImageWMSOptions interface to class