@@ -0,0 +1,1347 @@
+/*******************************************************************************%0A * Copyright (c) 2014 Codenvy, S.A.%0A * All rights reserved. This program and the accompanying materials%0A * are made available under the terms of the Eclipse Public License v1.0%0A * which accompanies this distribution, and is available at%0A * http://www.eclipse.org/legal/epl-v10.html%0A *%0A * Contributors:%0A *   Codenvy, S.A. - initial API and implementation%0A *******************************************************************************/%0Apackage com.codenvy.ide.editor.codemirror.client.jso.hints;%0A%0Aimport com.google.gwt.core.client.JavaScriptObject;%0A%0A/**%0A * Callback for asynchronous completion proposal retrieval.%0A */%0Apublic class CMHintCallback extends JavaScriptObject %7B%0A%0A    protected CMHintCallback() %7B%7D%0A%0A    public static final native CMHintCallback create(HintCallbackFunction callbackFun) /*-%7B%0A        return $entry(function(data) %7B%0A            callbackFun.@com.codenvy.ide.editor.codemirror.client.jso.hints.CMHintCallback.HintCallbackFunction::callback(Lcom/codenvy/ide/editor/codemirror/client/jso/hints/CMHintResultsOverlay;)(data);%0A        %7D);%0A    %7D-*/;%0A%0A    public final native void call(CMHintResultsOverlay data) /*-%7B%0A        this(data);%0A    %7D-*/;%0A%0A    public interface HintCallbackFunction %7B%0A        void callback(CMHintResultsOverlay data);%0A    %7D%0A%7D%0A

Add a callback for async proposals computation