add(UISupport.createTabPanel(tabs, true), BorderLayout.CENTER);
}
private Component buildServiceOverviewTab() {
metrics = new MetricsPanel();
MetricsSection section = metrics.addSection("WSDL Definition");
try {
section.addMetric("WADL URL", MetricType.URL).set(
restService.getWadlUrl() + (restService.isGenerated() ? " - generated" : ""));
// section.addMetric( "Namespace" ).set(
// iface.getBindingName().getNamespaceURI() );
// section.addMetric( "Binding" ).set(
// iface.getBindingName().getLocalPart() );
// section.addMetric( "SOAP Version" ).set(
// iface.getSoapVersion().toString() );
// section.addMetric( "Style" ).set( iface.getStyle() );
// section.addMetric( "WS-A version" ).set( iface.getWsaVersion());
} catch (Exception e) {
UISupport.showErrorMessage(e);
}
section.finish();
metrics.addSection("Definition Parts");
section = metrics.addSection("Resources");
operationsTableModel = new ResourcesTableModel();
JXTable table = section.addTable(operationsTableModel);
table.getColumn(1).setPreferredWidth(60);
section.finish();
return new JScrollPane(metrics);
}