コード例 #1
0
 private Widget createStateInformation() {
   TableBuilder tb = ScrumGwt.createFieldTable();
   tb.addFieldRow(
       "activeServiceCallCount",
       new Label(String.valueOf(serviceCaller.getActiveServiceCallCount())));
   tb.addFieldRow(
       "conversationNumber", new Label(String.valueOf(serviceCaller.getConversationNumber())));
   tb.addFieldRow("entityIdBase", new Label(dao.getEntityIdBase()));
   tb.addFieldRow("entityIdCounter", new Label(String.valueOf(dao.getEntityIdCounter())));
   return tb.createTable();
 }
コード例 #2
0
 @Override
 protected void onUpdate() {
   TableBuilder tb = new TableBuilder();
   tb.setWidth(null);
   tb.setCellSpacing(5);
   for (Map.Entry<String, Integer> entry : dao.getEntityCounts().entrySet()) {
     tb.addRow(Gwt.createFieldLabel(entry.getKey()), new Label(String.valueOf(entry.getValue())));
   }
   entityCountWrapper.setWidget(tb.createTable());
   stateInformationWrapper.setWidget(createStateInformation());
   super.onUpdate();
 }
コード例 #3
0
ファイル: GQuality.java プロジェクト: evanleonard/kunagi
 protected scrum.client.Dao getDao() {
   return scrum.client.Dao.get();
 }