source: branches/2.2/jabberit_messenger/java_source/src/nu/fw/jeti/applet/LoadGroupChat.java @ 3102

Revision 3102, 2.1 KB checked in by amuller, 14 years ago (diff)

Ticket #986 - Efetuado merge para o Branch 2.2( atualizacao do modulo)

  • Property svn:executable set to *
Line 
1/*
2 *      Jeti, a Java Jabber client, Copyright (C) 2001 E.S. de Boer 
3 *
4 *  This program is free software; you can redistribute it and/or modify
5 *  it under the terms of the GNU General Public License as published by
6 *  the Free Software Foundation; either version 2 of the License, or
7 *  (at your option) any later version.
8 *
9 *  This program is distributed in the hope that it will be useful,
10 *      but WITHOUT ANY WARRANTY; without even the implied warranty of
11 *      MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12 *      GNU General Public License for more details.
13 *
14 *  You should have received a copy of the GNU General Public License
15 *  along with this program; if not, write to the Free Software
16 *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
17 *
18 *      For questions, comments etc,
19 *      use the website at http://jeti.jabberstudio.org
20 *  or mail/IM me at jeti@jabber.org
21 * 
22 *  Created on 26-okt-2005
23 */
24
25
26
27/*
28  Classe Comentada - Retirado o pacote java plugins
29  Date : 31/03/2009
30
31
32package nu.fw.jeti.applet;
33
34import javax.swing.JMenu;
35import javax.swing.JPanel;
36
37import nu.fw.jeti.jabber.Backend;
38import nu.fw.jeti.jabber.JID;
39import nu.fw.jeti.jabber.elements.Message;
40
41import nu.fw.jeti.plugins.groupchat.GroupchatSignin;
42import nu.fw.jeti.plugins.groupchat.GroupchatWindow;
43import nu.fw.jeti.plugins.groupchat.Plugin;
44import nu.fw.jeti.plugins.groupchat.elements.XMUCUserInvite;
45
46public class LoadGroupChat
47{
48       
49          public static JPanel createGroupChatWindow(JID jid)
50          {
51                return Plugin.createGroupChatWindow(jid);
52          }
53         
54          public static JMenu[] getMenu(JPanel gw)
55          {
56                  return ((GroupchatWindow)gw).getMenu();
57          }
58
59          public static void startGroupchat(JID jid,Backend backend)
60          {
61                  Plugin.startGroupchat(jid,backend);
62          }
63         
64          public static void signin(Backend backend, String server)
65          {
66                  GroupchatSignin g = new GroupchatSignin(backend);
67                  g.setChatRoomServer(server);
68                  g.setVisible(true);
69          }
70         
71          public static void invite(Backend backend, JID jid,JID roomJID)
72          {
73                  backend.send(new Message(null,roomJID,new XMUCUserInvite(jid,null)));
74          }
75
76
77}
78*/
Note: See TracBrowser for help on using the repository browser.