/* 
 * Copyright 2016 iserge.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package org.ol3cesium.client.ol;

import com.google.gwt.core.client.JavaScriptObject;

/**
 *
 * @author Serge Silaev aka iSergio <s.serge.b@gmail.com>
 */
public class RendererType extends JavaScriptObject {
    protected RendererType() {
        //
    }
    
    public static final String CANVAS = "canvas";
    public static final String DOM    = "dom";
    public static final String WEBGL  = "webgl";
}

@@ -624,61 +624,8 @@
 l;%0A%0A
-import com.google.gwt.core.client.JavaScriptObject;%0A%0A
 /**%0A
@@ -700,13 +700,12 @@
 lic 
-class
+enum
  Ren
@@ -718,48 +718,134 @@
 ype 
-extends JavaScriptObject %7B
+%7B%0A    CANVAS(%22canvas%22), DOM(%22dom%22), WEBGL(%22webgl%22), UNKNOWN(%22unknown%22);%0A    %0A    private final String _value;%0A    
 %0A    pr
-otec
+iva
 te
-d
  Ren
@@ -858,178 +858,532 @@
 ype(
-) %7B%0A        //%0A    %7D%0A    %0A    public static final String CANVAS = %22canvas%22;%0A    public static final String
+String value) %7B%0A        _value = value;%0A    %7D%0A    %0A    public static RendererType fromString(String string) %7B%0A        if (CANVAS.toString().equalsIgnoreCase(string)) %7B%0A            return CANVAS;%0A        %7D%0A        else if (DOM.toString().equalsIgnoreCase(string)) %7B%0A            return
  DOM
+;%0A 
     
-= %22dom%22;%0A    public static final String WEBGL  = %22webgl%22;%0A
+   %7D%0A        else if (WEBGL.toString().equalsIgnoreCase(string)) %7B%0A            return WEBGL;%0A        %7D else %7B%0A            return UNKNOWN;%0A        %7D%0A    %7D%0A    %0A    @Override%0A    public String toString() %7B%0A        return _value;%0A    
 %7D%0A
+%7D

Add enumiration for renderer type.