Package de.willuhn.jameica.hbci.rmi

Examples of de.willuhn.jameica.hbci.rmi.Nachricht


   */
  public void bind() throws Exception {

    NachrichtControl control = new NachrichtControl(this);
   
    Nachricht n = control.getNachricht();

    GUI.getView().setTitle(i18n.tr("System-Nachricht vom {0}", HBCI.DATEFORMAT.format(n.getDatum())));
   
    SimpleContainer container = new SimpleContainer(getParent());
    container.addText(i18n.tr("{0} [BLZ: {1}]", new String[] {HBCIProperties.getNameForBank(n.getBLZ()),n.getBLZ()}) + "\n",true);
    container.addText(n.getNachricht(),true);

    ButtonArea buttons = new ButtonArea();
    buttons.addButton(i18n.tr("In Zwischenablage kopieren"),new NachrichtCopy(),n,false,"edit-copy.png");
    buttons.addButton(i18n.tr("L�schen"),new DBObjectDelete(),n,false,"user-trash-full.png");
    buttons.paint(getParent());
View Full Code Here


      ImportMessage im = (ImportMessage) message;
      GenericObject o = im.getObject();
      if (!(o instanceof Nachricht))
        return;
     
      final Nachricht n = (Nachricht) o;
     
      GUI.getDisplay().asyncExec(new Runnable() {
       
        @Override
        public void run()
View Full Code Here

        // werden, weil sie auftreten koennen, wenn kein currentPassport hier hinterlegt ist
        case HAVE_INST_MSG:
          // BUGZILLA 68 http://www.willuhn.de/bugzilla/show_bug.cgi?id=68
          try
          {
            Nachricht n = (Nachricht) Settings.getDBService().createObject(Nachricht.class,null);
            n.setBLZ(passport.getBLZ());
            n.setNachricht(msg);
            n.setDatum(new Date());
            n.store();
            String text = i18n.tr("Neue Institutsnachricht empfangen");
            Application.getMessagingFactory().sendMessage(new StatusBarMessage(text,StatusBarMessage.TYPE_SUCCESS));
            Application.getMessagingFactory().sendMessage(new ImportMessage(n));
            session.getProgressMonitor().setStatusText(text);
          }
View Full Code Here

    {
      public void format(TableItem item)
      {
        if (item == null || item.getData() == null)
          return;
        Nachricht n = (Nachricht) item.getData();
        try
        {
          item.setFont(n.isGelesen() ? Font.DEFAULT.getSWTFont() : Font.BOLD.getSWTFont());
        }
        catch (RemoteException e)
        {
          Logger.error("error while checking for message read status",e);
        }
View Full Code Here

TOP

Related Classes of de.willuhn.jameica.hbci.rmi.Nachricht

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.