Package de.willuhn.jameica.hbci.gui.parts

Examples of de.willuhn.jameica.hbci.gui.parts.PassportPropertyList$PropertyTable


   */
  protected void paint(Composite parent) throws Exception
  {
    Container container = new SimpleContainer(parent);
    container.addText(i18n.tr("Bank-Parameter (BPD) und User-Parameter (UPD) dieses Sicherheitsmediums"),true);
    final PassportPropertyList table = new PassportPropertyList(this.passport);
    table.paint(parent);
   
    ButtonArea buttons = new ButtonArea();
    buttons.addButton(i18n.tr("BPD l�schen"),new Action() {
      public void handleAction(Object context) throws ApplicationException
      {
        String s = i18n.tr("Die BPD (Bank-Parameter-Daten) werden beim n�chsten Verbindungsaufbau \n" +
                           "mit der Bank automatisch erneut abgerufen.\n\n" +
                           "Hinweis: Bei Verwendung einer Chipkarte m�ssen Sie gleich die PIN eingeben.\n\n" +
                           "BPD jetzt l�schen?");
        try
        {
          if (!Application.getCallback().askUser(s))
            return;
         
          passport.clearBPD();
         
          // Das triggert beim naechsten Verbindungsaufbau
          // HBCIHandler.<clinit>
          // -> HBCIHandler.registerUser()
          // -> HBCIUser.register()
          // -> HBCIUser.updateUserData()
          // -> HBCIUser.fetchSysId() - und das holt die BPD beim naechsten mal ueber einen nicht-anonymen Dialog
          ((AbstractHBCIPassport)passport).syncSysId();
         
          passport.saveChanges();
          table.clearBPD();
         
          // Noch aus der Tabelle loeschen
          Application.getMessagingFactory().sendMessage(new StatusBarMessage(i18n.tr("BPD gel�scht"),StatusBarMessage.TYPE_SUCCESS));
        }
        catch (OperationCanceledException oce)
View Full Code Here

TOP

Related Classes of de.willuhn.jameica.hbci.gui.parts.PassportPropertyList$PropertyTable

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.