dockLayoutPanel.addNorth(toolbarPanel, 7.7);
messageTable = new CellTable<MessageGWT>();
dockLayoutPanel.add(messageTable);
Column<MessageGWT, Date> column = new Column<MessageGWT, Date>(new DateCell()) {
@Override
public Date getValue(MessageGWT object) {
return new Date(object.getPublishedTimestamp());
}
};
messageTable.addColumn(column, "Published");
TextColumn<MessageGWT> textColumn = new TextColumn<MessageGWT>() {
@Override
public String getValue(MessageGWT object) {
return object.getGuid();
}
};
messageTable.addColumn(textColumn, "GUID");
TextColumn<MessageGWT> textColumn_1 = new TextColumn<MessageGWT>() {
@Override
public String getValue(MessageGWT object) {
return object.getTopicGuid();
}
};
messageTable.addColumn(textColumn_1, "Topic");
TextColumn<MessageGWT> textColumn_2 = new TextColumn<MessageGWT>() {
@Override
public String getValue(MessageGWT object) {
return object.getPublisherGuid();
}
};
messageTable.addColumn(textColumn_2, "Publisher ID");
Column<MessageGWT, Date> column_1 = new Column<MessageGWT, Date>(new DateCell()) {
@Override
public Date getValue(MessageGWT object) {
return new Date(object.getExpiresTimestamp());
}
};