@@ -0,0 +1,2008 @@
+/*******************************************************************************%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;%0A%0Aimport javax.annotation.Nullable;%0A%0Aimport com.google.gwt.core.client.JavaScriptObject;%0Aimport com.google.gwt.core.client.JsArrayString;%0A%0A/**%0A * Catalog of modes available in codemirror.%0A * @see http://codemirror.net/doc/manual.html#addon_meta and http://codemirror.net/mode/meta.js%0A */%0Apublic class CMModeInfoOverlay extends JavaScriptObject %7B%0A%0A    /** JSO mandated protected constructor. */%0A    protected CMModeInfoOverlay() %7B%7D%0A%0A    /**%0A     * Returns the human-readable name of the mode.%0A     * @return the name%0A     */%0A    public final native String getName() /*-%7B%0A        return this.name;%0A    %7D-*/;%0A%0A    /**%0A     * Returns the mime-type.%0A     * @return the mime-type%0A     */%0A    public final native String getMime() /*-%7B%0A        return this.mime;%0A    %7D-*/;%0A%0A    /**%0A     * Returns  the name of the mode file that defines this MIME.%0A     * @return the name of the mode file%0A     */%0A    public final native String getMode() /*-%7B%0A        return this.mode;%0A    %7D-*/;%0A%0A    /**%0A     * Returns the optional array of MIME types for modes with multiple MIMEs associated%0A     * @return mime-types%0A     */%0A    @Nullable%0A    public final native JsArrayString getMimes() /*-%7B%0A        return this.mimes;%0A    %7D-*/;%0A%0A    /**%0A     * Returns the optional array of file extensions associated with this mode.%0A     * @return file extensions%0A     */%0A    @Nullable%0A    public final native JsArrayString getExt() /*-%7B%0A        return this.ext;%0A    %7D-*/;%0A%7D%0A

Create an overlay for mode info objects