public void bind() throws Exception
{
SepaSammelUeberweisungControl control = new SepaSammelUeberweisungControl(this);
final de.willuhn.jameica.hbci.gui.parts.SepaSammelUeberweisungList table = control.getListe();
final PanelButtonPrint print = new PanelButtonPrint(new PrintSupportSepaSammelUeberweisung(table));
table.addSelectionListener(new Listener() {
public void handleEvent(Event event)
{
print.setEnabled(table.getSelection() != null);
}
});
GUI.getView().setTitle(i18n.tr("Vorhandene SEPA-Sammel�berweisungen"));
GUI.getView().addPanelButton(print);
ButtonArea buttons = table.getButtons();
buttons.addButton(i18n.tr("Importieren..."),new SepaSammelUeberweisungImport(),null,false,"document-open.png");
buttons.addButton(i18n.tr("Neue SEPA-Sammel�berweisung"),new de.willuhn.jameica.hbci.gui.action.SepaSammelUeberweisungNew(),null,false,"text-x-generic.png");
table.paint(getParent());
print.setEnabled(table.getSelection() != null); // einmal initial ausloesen
}