Example usage for com.google.gwt.core.client JavaScriptObject subclass-usage

List of usage examples for com.google.gwt.core.client JavaScriptObject subclass-usage

Introduction

In this page you can find the example usage for com.google.gwt.core.client JavaScriptObject subclass-usage.

Usage

From source file com.google.gerrit.client.config.DownloadInfo.java

public class DownloadInfo extends JavaScriptObject {
    public final Set<String> schemes() {
        return Natives.keys(_schemes());
    }

    public final native DownloadSchemeInfo scheme(String n) /*-{ return this.schemes[n]; }-*/;

From source file com.google.gerrit.client.config.GerritInfo.java

public class GerritInfo extends JavaScriptObject {
    public final Project.NameKey allProjectsNameKey() {
        return new Project.NameKey(allProjects());
    }

    public final boolean isAllProjects(Project.NameKey p) {

From source file com.google.gerrit.client.config.ServerInfo.java

public class ServerInfo extends JavaScriptObject {
    public final native AuthInfo auth() /*-{ return this.auth; }-*/;

    public final native ContactStoreInfo contactStore() /*-{ return this.contact_store; }-*/;

    public final native DownloadInfo download() /*-{ return this.download; }-*/;

From source file com.google.gerrit.client.dashboards.DashboardInfo.java

public class DashboardInfo extends JavaScriptObject {
    public final native String id() /*-{ return this.id; }-*/;

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

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

From source file com.google.gerrit.client.diff.CommentRange.java

public class CommentRange extends JavaScriptObject {
    public static CommentRange create(int sl, int sc, int el, int ec) {
        CommentRange r = createObject().cast();
        r.set(sl, sc, el, ec);
        return r;
    }

From source file com.google.gerrit.client.diff.DiffInfo.java

public class DiffInfo extends JavaScriptObject {
    public static final String GITLINK = "x-git/gitlink";
    public static final String SYMLINK = "x-git/symlink";

    public final native FileMeta meta_a() /*-{ return this.meta_a; }-*/;

From source file com.google.gerrit.client.diff.FileInfo.java

public class FileInfo extends JavaScriptObject {
    public final native String path() /*-{ return this.path; }-*/;

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

    public final native int lines_inserted() /*-{ return this.lines_inserted || 0; }-*/;

From source file com.google.gerrit.client.documentation.DocInfo.java

public class DocInfo extends JavaScriptObject {

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

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

From source file com.google.gerrit.client.editor.EditFileInfo.java

public class EditFileInfo extends JavaScriptObject {
    public final native JsArray<DiffWebLinkInfo> webLinks() /*-{ return this.web_links; }-*/;

    protected EditFileInfo() {
    }
}

From source file com.google.gerrit.client.extensions.TopMenu.java

public class TopMenu extends JavaScriptObject {

    protected TopMenu() {
    }

    public final native String getName() /*-{ return this.name; }-*/;