/*******************************************************************************
 * Copyright (c) 2014 Codenvy, S.A.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *   Codenvy, S.A. - initial API and implementation
 *******************************************************************************/
package com.codenvy.ide.editor.codemirror.client.jso.hints;

import com.codenvy.ide.editor.codemirror.client.jso.CMPositionOverlay;
import com.google.gwt.core.client.JavaScriptObject;

public class CMCompletionOverlay extends JavaScriptObject {

    protected CMCompletionOverlay() {
    }

    public native final String getText() /*-{
        return this.text;
    }-*/;

    public native final String getDisplayText() /*-{
        return this.displayText;
    }-*/;

    public native final String getClassName() /*-{
        return this.className;
    }-*/;

    public native final CMRenderFunctionOverlay getRender() /*-{
        return this.render;
    }-*/;

    public native final CMHintApplyOverlay getHint() /*-{
        return this.hint;
    }-*/;

    public native final CMPositionOverlay getFrom() /*-{
        return this.from;
    }-*/;

    public native final CMPositionOverlay getTo() /*-{
        return this.to;
    }-*/;
}

@@ -876,32 +876,124 @@
 ext;%0A    %7D-*/;%0A%0A
+    public native final void setText(String text) /*-%7B%0A        this.text = text;%0A    %7D-*/;%0A%0A
     public nativ
@@ -1101,445 +1101,1096 @@
 nal 
-String getClassName() /*-%7B%0A        return this.className;%0A    %7D-*/;%0A%0A    public native final CMRenderFunctionOverlay getRender() /*-%7B%0A        return this.render;%0A    %7D-*/;%0A%0A    public native final CMHintApplyOverlay getHint() /*-%7B%0A        return this.hint;%0A    %7D-*/;%0A%0A    public native final CMPositionOverlay getFrom() /*-%7B%0A        return this.from;%0A    %7D-*/;%0A%0A    public native final CMPositionOverlay getTo() /*-%7B%0A        return this.
+void setDisplayText(String displayText) /*-%7B%0A        this.displayText = displayText;%0A    %7D-*/;%0A%0A    public native final String getClassName() /*-%7B%0A        return this.className;%0A    %7D-*/;%0A%0A    public native final void setClassName(String className) /*-%7B%0A        this.className = className;%0A    %7D-*/;%0A%0A    public native final CMRenderFunctionOverlay getRender() /*-%7B%0A        return this.render;%0A    %7D-*/;%0A%0A    public native final void setRender(CMRenderFunctionOverlay render) /*-%7B%0A        this.render = render;%0A    %7D-*/;%0A%0A    public native final CMHintApplyOverlay getHint() /*-%7B%0A        return this.hint;%0A    %7D-*/;%0A%0A    public native final void setHint(CMHintApplyOverlay hint) /*-%7B%0A        this.hint = hint;%0A    %7D-*/;%0A%0A    public native final CMPositionOverlay getFrom() /*-%7B%0A        return this.from;%0A    %7D-*/;%0A%0A    public native final void setFrom(CMPositionOverlay from) /*-%7B%0A        this.from = from;%0A    %7D-*/;%0A%0A    public native final CMPositionOverlay getTo() /*-%7B%0A        return this.to;%0A    %7D-*/;%0A%0A    public native final void setTo(CMPositionOverlay to) /*-%7B%0A        this.to = 
 to;%0A

Add setters for completion overlays