Package de.willuhn.jameica.messaging

Examples of de.willuhn.jameica.messaging.MessageConsumer


   * @see de.willuhn.jameica.gui.parts.TreePart#paint(org.eclipse.swt.widgets.Composite)
   */
  public void paint(Composite parent) throws RemoteException
  {
    super.paint(parent);
    final MessageConsumer mc = new MyMessageConsumer();
    Application.getMessagingFactory().registerMessageConsumer(mc);
    parent.addDisposeListener(new DisposeListener()
    {
      /**
       * @see org.eclipse.swt.events.DisposeListener#widgetDisposed(org.eclipse.swt.events.DisposeEvent)
View Full Code Here


    if (!(this.input instanceof DialogInput))
      return;
   
    // wir registrieren hier noch einen Message-Consumer, damit wir benachrichtigt werden,
    // wenn das Datum geaendert wurde.
    final MessageConsumer mc = new DateChangedConsumer();
    final MessagingQueue queue = Application.getMessagingFactory().getMessagingQueue(TerminInput.QUEUE_TERMIN_CHANGED);
    queue.registerMessageConsumer(mc);
    parent.addDisposeListener(new DisposeListener() {
      public void widgetDisposed(DisposeEvent e)
      {
View Full Code Here

TOP

Related Classes of de.willuhn.jameica.messaging.MessageConsumer

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.