コード例 #1
0
 private void updateDisplay() {
   if (metricsPresenter == null) {
     GWT.log("MetricsPresenter is not initialized");
   }
   setTitle("Metrics");
   metricsPresenter.reload();
 }
コード例 #2
0
 @Override
 public void initialize() {
   view = new MetricsViewImpl();
   add(view.asWidget());
   metricsPresenter = new MetricsPresenter(getProjectId(), view, DispatchServiceManager.get());
   metricsPresenter.bind(this);
   setHeight(500);
   updateDisplay();
 }