Package de.willuhn.jameica.system

Examples of de.willuhn.jameica.system.OperationCanceledException


    },null,false,"user-trash-full.png");
    b.addButton(i18n.tr("Abbrechen"), new Action()
    {
      public void handleAction(Object context) throws ApplicationException
      {
        throw new OperationCanceledException();
      }
    },null,true,"process-stop.png");
   
    group.addButtonArea(b);
  }
View Full Code Here


    },null,false,"ok.png");
    b.addButton(i18n.tr("Abbrechen"), new Action()
    {
      public void handleAction(Object context) throws ApplicationException
      {
        throw new OperationCanceledException();
      }
    },null,false,"process-stop.png");

    container.addButtonArea(b);
    getShell().setMinimumSize(getShell().computeSize(550,SWT.DEFAULT));
View Full Code Here

      dialog.setText(Application.getI18n().tr("Bitte w�hlen einen Pfad und Dateinamen, an dem der Schl�ssel gespeichert werden soll."));
      dialog.setFileName("hibiscus-" + System.currentTimeMillis() + ".rdh");
      dialog.setFilterPath(Application.getPluginLoader().getPlugin(HBCI.class).getResources().getWorkPath());
      String newFile = dialog.open();
      if (newFile == null || newFile.length() == 0)
        throw new OperationCanceledException("no key file choosen");
     
      File newKey = new File(newFile);
     
      RDHKeyFactory.createKey(newKey);
      GUI.startView(View.class,null);
View Full Code Here

            if (this.addressbook == null)
              this.addressbook = (AddressbookService) Application.getServiceFactory().lookup(HBCI.class,"addressbook");

            HibiscusAddress t = (HibiscusAddress) data;
            if (this.addressbook.contains(t) != null)
              throw new OperationCanceledException(i18n.tr("Adresse (Kto {0}, BLZ {1}) existiert bereits, �berspringe Zeile", new String[]{t.getKontonummer(),t.getBlz()}));
          }
          catch (OperationCanceledException oce)
          {
            throw oce;
          }
View Full Code Here

              u.setKonto(konto);
            }
          }
          catch (OperationCanceledException oce)
          {
            throw new OperationCanceledException(i18n.tr("Kein Konto ausgew�hlt"));
          }
          catch (Exception e)
          {
            Logger.write(Level.WARN,"error while assigning account",e);
          }
View Full Code Here

    ButtonArea buttons = new ButtonArea();
    buttons.addButton(i18n.tr("�bernehmen"), action,null,false,"ok.png");
    buttons.addButton(i18n.tr("Abbrechen"), new Action() {
      public void handleAction(Object context) throws ApplicationException
      {
        throw new OperationCanceledException("cancelled in key format dialog");
      }
    },null,false,"process-stop.png");

    c.addButtonArea(buttons);
   
View Full Code Here

    b.addButton(this.getApplyButton());
    b.addButton(i18n.tr("Abbrechen"), new Action()
    {
      public void handleAction(Object context) throws ApplicationException
      {
        throw new OperationCanceledException();
      }
    },null,false,"process-stop.png");
    group.addButtonArea(b);
   
    getShell().setMinimumSize(getShell().computeSize(400,SWT.DEFAULT));
View Full Code Here

    },null,false,"ok.png");
    b.addButton(i18n.tr("Abbrechen"), new Action()
    {
      public void handleAction(Object context) throws ApplicationException
      {
        throw new OperationCanceledException();
      }
    },null,false,"process-stop.png");

    container.addButtonArea(b);
    getShell().setMinimumSize(getShell().computeSize(350,SWT.DEFAULT));
View Full Code Here

      }
    },null,true,"ok.png");
    buttons.addButton(i18n.tr("Abbrechen"),new Action() {
      public void handleAction(Object context) throws ApplicationException
      {
        throw new OperationCanceledException();
      }
    },null,false,"process-stop.png");
    group.addButtonArea(buttons);
  }
View Full Code Here

    },null,true,"ok.png");
    buttons.addButton(i18n.tr("Abbrechen"), new Action()
    {
      public void handleAction(Object context) throws ApplicationException
      {
        throw new OperationCanceledException();
      }
    },null,false,"process-stop.png");
   
    group.addButtonArea(buttons);
  }
View Full Code Here

TOP

Related Classes of de.willuhn.jameica.system.OperationCanceledException

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.