Package de.willuhn.util

Examples of de.willuhn.util.I18N.tr()


  public void handleAction(Object context) throws ApplicationException
  {
    I18N i18n = Application.getPluginLoader().getPlugin(HBCI.class).getResources().getI18N();

    if (context == null)
      throw new ApplicationException(i18n.tr("Bitte w�hlen Sie mindestens eine Adresse aus"));

    Object[] u = null;
    try
    {
      if (context instanceof Address)
View Full Code Here


        u = (Object[])context;
      }

      if (u == null)
        throw new ApplicationException(i18n.tr("Bitte w�hlen Sie einen oder mehrere Adressen aus"));

      ExportDialog d = new ExportDialog(u, Address.class);
      d.open();
    }
    catch (OperationCanceledException oce)
View Full Code Here

      throw ae;
    }
    catch (Exception e)
    {
      Logger.error("error while exporting addresses",e);
      GUI.getStatusBar().setErrorText(i18n.tr("Fehler beim Exportieren der Adressen"));
    }
  }

}
View Full Code Here

  public void handleAction(Object context) throws ApplicationException
  {
    I18N i18n = Application.getPluginLoader().getPlugin(HBCI.class).getResources().getI18N();

    if (context == null || !(context instanceof Konto))
      throw new ApplicationException(i18n.tr("Kein Konto ausgew�hlt"));

    try {

      Konto k = (Konto) context;
      if (k.isNewObject())
View Full Code Here

      Konto k = (Konto) context;
      if (k.isNewObject())
        return;

      YesNoDialog d = new YesNoDialog(YesNoDialog.POSITION_CENTER);
      d.setTitle(i18n.tr("Bankverbindung l�schen"));
      d.setText(i18n.tr("Wollen Sie diese Bankverbindung wirklich l�schen?\nHierbei werden auch alle Ums�tze, �berweisungen und Dauerauftr�ge des Kontos lokal gel�scht."));

      try {
        Boolean choice = (Boolean) d.open();
        if (!choice.booleanValue())
View Full Code Here

      throw ae;
    }
    catch (Exception e)
    {
      Logger.error("error while importing transfers",e);
      GUI.getStatusBar().setErrorText(i18n.tr("Fehler beim Importieren der SEPA-Sammellastschriften"));
    }
  }
}
View Full Code Here

  public void handleAction(Object context) throws ApplicationException
  {
    I18N i18n = Application.getPluginLoader().getPlugin(HBCI.class).getResources().getI18N();

    if (context == null)
      throw new ApplicationException(i18n.tr("Bitte w�hlen Sie die zu exportierenden Ums�tze aus"));

    if (!(context instanceof UmsatzTree))
      throw new ApplicationException(i18n.tr("Bitte w�hlen Sie die zu exportierenden Ums�tze aus"));

    try
View Full Code Here

    if (context == null)
      throw new ApplicationException(i18n.tr("Bitte w�hlen Sie die zu exportierenden Ums�tze aus"));

    if (!(context instanceof UmsatzTree))
      throw new ApplicationException(i18n.tr("Bitte w�hlen Sie die zu exportierenden Ums�tze aus"));

    try
    {
      ExportDialog d = new ExportDialog(new UmsatzTree[]{(UmsatzTree)context}, UmsatzTree.class);
      d.open();
View Full Code Here

      throw ae;
    }
    catch (Exception e)
    {
      Logger.error("error while writing report", e);
      Application.getMessagingFactory().sendMessage(new StatusBarMessage(i18n.tr("Fehler bei der Erstellung der Liste"), StatusBarMessage.TYPE_ERROR));
    }
  }

}
View Full Code Here

      if (k.isNewObject())
        return;

      YesNoDialog d = new YesNoDialog(YesNoDialog.POSITION_CENTER);
      d.setTitle(i18n.tr("Bankverbindung l�schen"));
      d.setText(i18n.tr("Wollen Sie diese Bankverbindung wirklich l�schen?\nHierbei werden auch alle Ums�tze, �berweisungen und Dauerauftr�ge des Kontos lokal gel�scht."));

      try {
        Boolean choice = (Boolean) d.open();
        if (!choice.booleanValue())
          return;
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.