applicationPanel.add(namespacePanel);
HorizontalPanel buttonPanel = new HorizontalPanel();
buttonPanel.add(new HTML(" "));
Button addExtNamespaceButton = new Button(GuiFactory.strings.addExtNamespace());
addExtNamespaceButton.addClickListener(new ClickListener() {
public void onClick(Widget sender) {
NamespaceAttribute namespace = new NamespaceAttribute(null, GuiFactory.strings.newExtNamespace());
application.addNamespace(namespace);
listExtNamespaces(application, namespacePanelRight);
}
});
buttonPanel.add(addExtNamespaceButton);
applicationPanel.add(buttonPanel);
HorizontalPanel autoDiscoverPanel = new HorizontalPanel();
autoDiscoverPanel.add(new HTML(" "));
Button autoDiscoverButton = new Button(GuiFactory.strings.autoDiscover());
autoDiscoverButton.addClickListener(new ClickListener() {
public void onClick(Widget sender) {
Vector requests = new Vector();
for (Iterator allRequestUrisIterator = ReferenceManager.allRequestStrings.iterator(); allRequestUrisIterator.hasNext(); /* empty */) {
String uriString = (String) allRequestUrisIterator.next();
Uri uri = new Uri(uriString.substring(uriString.indexOf(" ") + 1));