Package de.willuhn.jameica.hbci.gui.controller

Examples of de.willuhn.jameica.hbci.gui.controller.EmpfaengerControl


   */
  public void bind() throws Exception
  {
    GUI.getView().setTitle(i18n.tr("Vorhandene Adressen"));
   
    EmpfaengerControl control = new EmpfaengerControl(this);
   
    control.getEmpfaengerListe().paint(getParent());

    ButtonArea buttons = new ButtonArea();
    buttons.addButton(i18n.tr("Neue Adresse"),new EmpfaengerNew(),null,true,"contact-new.png");
    buttons.paint(getParent());
  }
View Full Code Here


   */
  public void bind() throws Exception
  {
    GUI.getView().setTitle(i18n.tr("Adresse bearbeiten"));
   
    final EmpfaengerControl control = new EmpfaengerControl(this);

    ColumnLayout columns = new ColumnLayout(getParent(),2);

    SimpleContainer left = new SimpleContainer(columns.getComposite());
    left.addHeadline(i18n.tr("Nationale Bankverbindung"));
    left.addLabelPair(i18n.tr("Kontoinhaber"),              control.getName());
    left.addLabelPair(i18n.tr("Kontonummer"),               control.getKontonummer());
    left.addLabelPair(i18n.tr("Bankleitzahl"),              control.getBlz());
    left.addHeadline(i18n.tr("Europ�ische Bankverbindung (SEPA)"));
    left.addLabelPair(i18n.tr("IBAN"),                      control.getIban());
    left.addLabelPair(i18n.tr("BIC"),                       control.getBic());
    left.addLabelPair(i18n.tr("Name des Kredit-Instituts"), control.getBank());

    SimpleContainer right = new SimpleContainer(columns.getComposite(),true);
    right.addHeadline(i18n.tr("Notiz"));
    right.addPart(control.getKommentar());
    right.addLabelPair(i18n.tr("Gruppe"),control.getKategorie());

    // und noch die Abschicken-Knoepfe
    ButtonArea buttonArea = new ButtonArea();
   
    Button delete = new Button(i18n.tr("L�schen"), new DBObjectDelete(),control.getAddress(),false,"user-trash-full.png");
    delete.setEnabled(control.isHibiscusAdresse());
    buttonArea.addButton(delete);
   
    Button store = new Button(i18n.tr("Speichern"), new Action()
    {
      public void handleAction(Object context) throws ApplicationException
      {
        control.handleStore();
      }
    },null,true,"document-save.png");
    store.setEnabled(control.isHibiscusAdresse());
    buttonArea.addButton(store);

    buttonArea.paint(getParent());
     
    new Headline(getParent(),i18n.tr("Buchungen von/an diese Adresse"));
    TabFolder folder = new TabFolder(getParent(), SWT.NONE);
    GridData gd = new GridData(GridData.FILL_BOTH);
    gd.heightHint = 100; // wir verdecken sonst den Kommentar
    folder.setLayoutData(gd);

    TabGroup tab = new TabGroup(folder,i18n.tr("Ums�tze"), false,1);
    control.getUmsatzListe().paint(tab.getComposite());

    // BUGZILLA 107 http://www.willuhn.de/bugzilla/show_bug.cgi?id=107
    TabGroup tab2 = new TabGroup(folder,i18n.tr("Eingezogene SEPA-Sammellastschriften"));
    control.getSammelLastListe().paint(tab2.getComposite());

    TabGroup tab3 = new TabGroup(folder,i18n.tr("SEPA-Sammel�berweisungen"));
    control.getSammelUeberweisungListe().paint(tab3.getComposite());
  }
View Full Code Here

TOP

Related Classes of de.willuhn.jameica.hbci.gui.controller.EmpfaengerControl

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.