Examples of GwtDebugStatisticsValue


Examples of com.google.gwt.debugpanel.models.GwtDebugStatisticsValue

    }

    private void setActivityMethod(GwtDebugStatisticsModel model, GwtNode node, StatisticsEvent event) {
      Object method = event.getExtraParameter("method");
      if (method != null) {
        GwtDebugStatisticsValue value = node.getValue();
        value.setRpcMethod(String.valueOf(method));
      }
    }
View Full Code Here

Examples of com.google.gwt.debugpanel.models.GwtDebugStatisticsValue

  }

  private void setRpcMethod(GwtDebugStatisticsModel model, GwtNode node, StatisticsEvent event) {
    Object method = event.getExtraParameter("method");
    if (method != null) {
      GwtDebugStatisticsValue value = node.getValue();
      value.setRpcMethod(String.valueOf(method));
    }
  }
View Full Code Here

Examples of com.google.gwt.debugpanel.models.GwtDebugStatisticsValue

  }

  private void setRpcMethod(GwtDebugStatisticsModel model, GwtNode node, StatisticsEvent event) {
    Object method = event.getExtraParameter("method");
    if (method != null) {
      GwtDebugStatisticsValue value = node.getValue();
      value.setRpcMethod(String.valueOf(method));
    }
  }
View Full Code Here

Examples of com.google.gwt.debugpanel.models.GwtDebugStatisticsValue

    //@Override
    public boolean include(DebugStatisticsValue value) {
      if (pattern == null || pattern.length() == 0) {
        return true;
      } else if (value instanceof GwtDebugStatisticsValue) {
        GwtDebugStatisticsValue v = (GwtDebugStatisticsValue) value;
        return v.hasRpcMethod() && v.getRpcMethod().matches(pattern);
      }
      return false;
    }
View Full Code Here

Examples of com.google.gwt.debugpanel.models.GwtDebugStatisticsValue

  private static DebugStatisticsValue value(final long start, final long end) {
    return new DebugStatisticsValue("name", "module", start, end) {};
  }

  private static DebugStatisticsValue value(String rpc) {
    GwtDebugStatisticsValue value = new GwtDebugStatisticsValue("name", "module", 10, 20);
    if (rpc != null) {
      value.setRpcMethod(rpc);
    }
    return value;
  }
View Full Code Here

Examples of com.google.gwt.debugpanel.models.GwtDebugStatisticsValue

    assertEquals(2, view.getChildCount(parent));
    listener.assertAddedAndReset(parent, view.getChild(parent, 1), 1);
  }

  public void testChangeInValueIsPropagated() {
    GwtDebugStatisticsValue value1 = value(), value2 = value();
    Node<GwtDebugStatisticsValue> myParent = new Node<GwtDebugStatisticsValue>(value1);
    view.nodeAdded(myRoot, myParent, 0);
    Object node = view.getChild(root, 0);
    listener.reset();
View Full Code Here

Examples of com.google.gwt.debugpanel.models.GwtDebugStatisticsValue

    assertEquals(0, listener.removed);
    assertEquals(0, listener.changed);
  }

  private static GwtDebugStatisticsValue value() {
    return new GwtDebugStatisticsValue("label", "module", 0, 1);
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.