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.api.ActionContext.java

public class ActionContext extends JavaScriptObject {
    static final native void init() /*-{
                                    var Gerrit = $wnd.Gerrit;
                                    var doc = $wnd.document;
                                    var stopPropagation = function (e) {
                                    if (e && e.stopPropagation) e.stopPropagation();

From source file com.google.gerrit.client.api.Plugin.java

final class Plugin extends JavaScriptObject {
    private static final JavaScriptObject TYPE = createType();

    static Plugin create(String url) {
        int s = "plugins/".length();
        int e = url.indexOf('/', s);

From source file com.google.gerrit.client.blame.BlameInfo.java

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

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

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

From source file com.google.gerrit.client.changes.ChangeInfo.java

public class ChangeInfo extends JavaScriptObject {
    public final void init() {
        if (labels0() != null) {
            labels0().copyKeysIntoChildren("_name");
        }
    }

From source file com.google.gerrit.client.changes.CommentInfo.java

public class CommentInfo extends JavaScriptObject {
    public static CommentInfo create(String path, Side side, int line, CommentRange range, Boolean unresolved) {
        return create(path, side, 0, line, range, unresolved);
    }

    public static CommentInfo create(String path, Side side, int parent, int line, CommentRange range,

From source file com.google.gerrit.client.changes.ReviewInfo.java

public class ReviewInfo extends JavaScriptObject {

    public final native NativeMap<?> labels() /*-{ return this.labels }-*/;

    protected ReviewInfo() {
    }

From source file com.google.gerrit.client.changes.ReviewInput.java

public class ReviewInput extends JavaScriptObject {
    public enum NotifyHandling {
        NONE, OWNER, OWNER_REVIEWERS, ALL
    }

    public enum DraftHandling {

From source file com.google.gerrit.client.changes.SubmitInfo.java

class SubmitInfo extends JavaScriptObject {
    final Change.Status status() {
        return Change.Status.valueOf(statusRaw());
    }

    private final native String statusRaw() /*-{ return this.status; }-*/;

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

public class AuthInfo extends JavaScriptObject {
    public final AuthType authType() {
        return AuthType.valueOf(authTypeRaw());
    }

    public final boolean isOpenId() {

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

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

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

    protected CapabilityInfo() {