Examples of PassportDetail


Examples of de.willuhn.jameica.hbci.gui.action.PassportDetail

    super(init(),new Action() {
      public void handleAction(Object context) throws ApplicationException
      {
        if (context == null || (context instanceof Object[]))
          return;
        Action a = new PassportDetail();

        if (context instanceof PassportObject)
          a.handleAction(((PassportObject) context).passport);
        else if (context instanceof ConfigObject)
          a.handleAction(((ConfigObject) context).config);
      }
    });
    this.addColumn(i18n.tr("Bezeichnung"),"name");
   
    this.setFormatter(new TreeFormatter() {
      public void format(TreeItem item)
      {
        Object data = item.getData();
        if (data instanceof ConfigObject)
          item.setImage(SWTUtil.getImage("seahorse-preferences.png"));
      }
    });
    this.setMulti(false);
   
    ContextMenu menu = new ContextMenu();
    menu.addItem(new CheckedSingleContextMenuItem(i18n.tr("�ffnen"),new Action() {
      public void handleAction(Object context) throws ApplicationException
      {
        if (context == null || !(context instanceof ConfigObject))
          return;

        new PassportDetail().handleAction(((ConfigObject) context).config);
      }
    },"document-open.png")
    {
      public boolean isEnabledFor(Object o)
      {
        return (o instanceof ConfigObject) && super.isEnabledFor(o);
      }
    });
    menu.addItem(new ContextMenuItem(i18n.tr("Neuer Bank-Zugang..."),new Action() {
      public void handleAction(Object context) throws ApplicationException
      {
        new PassportDetail().handleAction(getPassport());
      }
    },"seahorse-preferences.png"));
   
    menu.addItem(ContextMenuItem.SEPARATOR);
    menu.addItem(new CheckedSingleContextMenuItem(i18n.tr("L�schen"),new Action() {
View Full Code Here

Examples of de.willuhn.jameica.hbci.gui.action.PassportDetail

    ButtonArea buttons = new ButtonArea();
    buttons.addButton(new Button(i18n.tr("Neuer Bank-Zugang..."),new Action() {
      public void handleAction(Object context) throws ApplicationException
      {
        new PassportDetail().handleAction(tree.getPassport());
      }
    },null,false,"seahorse-preferences.png"));
    buttons.paint(getParent());

    tree.paint(getParent());
View Full Code Here

Examples of de.willuhn.jameica.hbci.gui.action.PassportDetail

          "Wechseln Sie anschlie�end zur Konten-�bersicht und pr�fen Sie die angelegten Konten. " +
          "Falls sie nicht automatisch angelegt wurden, dann erstellen Sie das Konto bitte manuell."));
    }
     
    ButtonArea buttons = new ButtonArea();
    buttons.addButton(i18n.tr("Bank-Zugang einrichten"),new PassportDetail(),null,true,"seahorse-preferences.png");
    buttons.addButton(i18n.tr("Konten-�bersicht"),new KontoList(),null,false,"system-file-manager.png");
    buttons.paint(comp);
  }
View Full Code Here

Examples of de.willuhn.jameica.hbci.gui.action.PassportDetail

  public PassportList(final Action action) throws RemoteException
  {
    super(init(),action);

    ContextMenu menu = new ContextMenu();
    menu.addItem(new CheckedSingleContextMenuItem(i18n.tr("�ffnen..."),new PassportDetail(),"document-open.png"));
    this.setContextMenu(menu);

    this.setMulti(false);
    this.setSummary(false);
    addColumn(i18n.tr("Bezeichnung"),"name");
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.