use of org.platformlayer.service.jetty.model.JettyService in project platformlayer by platformlayer.
the class JettyServiceListViewImpl method populateColumns.
@Override
protected void populateColumns(BoundTable<JettyService> table) {
Column<JettyService, String> idColumn = new TextColumn<JettyService>() {
@Override
public String getValue(JettyService object) {
PlatformLayerKey key = object.getKey();
if (key == null) {
return "";
}
String id = key.getItemIdString();
if (id == null) {
return "";
}
return id;
}
};
table.addColumn(idColumn, "ID");
Column<JettyService, String> dnsName = JsTextColumn.build("dnsName");
table.addColumn(dnsName, "DNS Name");
}
Aggregations