Examples of ExportDialog


Examples of bdsup2sub.gui.export.ExportDialog

                    path += "sup";
                } else {
                    path += "xml";
                }

                ExportDialog exportDialog = new ExportDialog(path, view);
                exportDialog.setVisible(true);

                String fn = exportDialog.getFilename();
                if (!exportDialog.wasCanceled() && !fn.isEmpty()) {
                    model.setSavePath(FilenameUtils.getParent(fn));
                    model.setSaveFilename(FilenameUtils.removeExtension(FilenameUtils.getName(fn)).replaceAll("_exp$",""));
                    //
                    File fi,fs;
                    if (outputMode == OutputMode.VOBSUB) {
View Full Code Here

Examples of de.willuhn.jameica.hbci.gui.dialogs.ExportDialog

      else
      {
        u = (Object[])context;
      }

      ExportDialog d = new ExportDialog(u, UmsatzTyp.class);
      d.open();
    }
    catch (OperationCanceledException oce)
    {
      Logger.info(oce.getMessage());
      return;
View Full Code Here

Examples of de.willuhn.jameica.hbci.gui.dialogs.ExportDialog

      else if (context instanceof Umsatz[])
      {
        u = (Umsatz[]) context;
      }

      ExportDialog d = new ExportDialog(u, Umsatz.class);
      d.open();
    }
    catch (OperationCanceledException oce)
    {
      Logger.info(oce.getMessage());
      return;
View Full Code Here

Examples of de.willuhn.jameica.hbci.gui.dialogs.ExportDialog

    if (context == null || !(context instanceof EinnahmeAusgabe[]))
      throw new ApplicationException(i18n.tr("Bitte w�hlen Sie die zu exportierenden Daten aus"));

    try
    {
      ExportDialog d = new ExportDialog((EinnahmeAusgabe[]) context,EinnahmeAusgabe.class);
      d.open();
    }
    catch (OperationCanceledException oce)
    {
      Logger.info(oce.getMessage());
      return;
View Full Code Here

Examples of de.willuhn.jameica.hbci.gui.dialogs.ExportDialog

      if (context instanceof SammelTransfer)
        list = new SammelTransfer[]{(SammelTransfer) context};
      else
        list = (SammelTransfer[]) context;
     
      ExportDialog d = new ExportDialog(list, getExportClass());
      d.open();
    }
    catch (OperationCanceledException oce)
    {
      Logger.info(oce.getMessage());
      return;
View Full Code Here

Examples of de.willuhn.jameica.hbci.gui.dialogs.ExportDialog

    else
      objects = new Object[]{export};

    try
    {
      ExportDialog d = new ExportDialog(objects, type);
      d.open();
    }
    catch (OperationCanceledException oce)
    {
      Logger.info(oce.getMessage());
      return;
View Full Code Here

Examples of de.willuhn.jameica.hbci.gui.dialogs.ExportDialog

      }

      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)
    {
      Logger.info(oce.getMessage());
      return;
View Full Code Here

Examples of de.willuhn.jameica.hbci.gui.dialogs.ExportDialog

    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();
    }
    catch (OperationCanceledException oce)
    {
      Logger.info(oce.getMessage());
      return;
View Full Code Here

Examples of de.willuhn.jameica.hbci.gui.dialogs.ExportDialog

      if (context instanceof SepaSammelTransfer)
        list = new SepaSammelTransfer[]{(SepaSammelTransfer) context};
      else
        list = (SepaSammelTransfer[]) context;
     
      ExportDialog d = new ExportDialog(list, getExportClass());
      d.open();
    }
    catch (OperationCanceledException oce)
    {
      Logger.info(oce.getMessage());
      return;
View Full Code Here

Examples of de.willuhn.jameica.hbci.gui.dialogs.ExportDialog

  public void extend(Extendable extendable)
  {
    if (!(extendable instanceof ExportDialog))
      return;
   
    ExportDialog e = (ExportDialog) extendable;
   
    Class type = e.getType();
    if (!type.isAssignableFrom(Umsatz.class))
      return;
   
    // Erstmal per Default nicht ausblenden
    Exporter.SESSION.put(KEY_SALDO_HIDE,false);
   
    final CheckboxInput check = new CheckboxInput(false);
    check.setName(i18n.tr("Spalte \"Saldo\" in Export ausblenden"));
    check.addListener(new Listener() {
      public void handleEvent(Event event)
      {
        Exporter.SESSION.put(KEY_SALDO_HIDE,check.getValue());
      }
    });
   
    final Container c = e.getContainer();
    c.addInput(check);
  }
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.