Package nu.fw.jeti.plugins.drawing.shapes

Examples of nu.fw.jeti.plugins.drawing.shapes.PictureChat


    return jid;
  }
 
  public void execute(Packet packet, Backend backend)
  {
    PictureChat chat = Plugin.getPictureChat(packet.getFrom(), getThread());
    chat.newMessage(this);
  }
View Full Code Here


        if (pictureChats == null) {
          pictureChats = Collections.synchronizedMap(new HashMap<String, PictureChat>());
        }
        Collection col = pictureChats.values();     
        for (Iterator iter = col.iterator(); iter.hasNext();) {
          PictureChat chat = (PictureChat)iter.next();
          if (jid != null && jid.equals(chat.getJID())) {
            chat.showWindow();
            return;
          }
        }
        String thread = backend.createThread();
        pictureChats.put(thread, new PictureChat(backend, jid, thread));     
      }
View Full Code Here

      public static PictureChat getPictureChat(JID jid, String thread) {
        if (pictureChats == null) {
          pictureChats = Collections.synchronizedMap(new HashMap<String, PictureChat>());
        }
        if (pictureChats.get(thread) == null) {
          pictureChats.put(thread, new PictureChat(backend, jid, thread));
        }
        return pictureChats.get(thread);
      }
View Full Code Here

TOP

Related Classes of nu.fw.jeti.plugins.drawing.shapes.PictureChat

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.