}
canvas.display(ui);
}
private JComponent createUi() {
OneColumnPanel p = new OneColumnPanel();
p.setFill(OneColumnPanel.HORIZONTAL);
p.setWeightX(1.0);
p.setInsets(0, 0, 10, 0);
p.add(createBrowserCapsule());
p.add(destinationPanel);
p.add(parametersDefiner);
/* TODO: Display the search UI in a popup dialog.
p.setFill(OneColumnPanel.BOTH);
p.add(searchDropDown.getDisplayer());
*/
if (doImportAction != null) {
p.setFillNone();
p.add(createImportButtonCapsule());
}
JComponent p2 = fixedWidth ? InvisiblePanel.newPanel(p) : new BorderLayoutBuilder().north(p).container();
UiUtils.setOpaqueRecursivelySkipDefaults(p2, false);
p2.setBorder(Empty.border(5));
return p2;