Examples of ChatControl


Examples of de.fu_berlin.inf.dpp.ui.widgets.chatControl.ChatControl

        this.setContentControl(this.chatRooms);

        this.chatRooms.setSimple(true);
        this.chatRooms.setBorderVisible(true);

        this.chatControl = new ChatControl(this.chatRooms, SWT.BORDER, white,
            white, 2);
        this.chatControl.addChatControlListener(chatControlListener);

        /*
         * IMPORTANT: The user can open and close Views as he wishes. This means
View Full Code Here

Examples of de.fu_berlin.inf.dpp.ui.widgets.chatControl.ChatControl

                        RosterEntryElement rosterEntryElement = (RosterEntryElement) Platform
                            .getAdapterManager().getAdapter(treeItem.getData(),
                                RosterEntryElement.class);

                        ChatControl chatControl = chatRooms
                            .getActiveChatControl();

                        /*
                         * TODO create links like those of the World of Warcraft
                         * chat which then can be clicked to execute some action
                         * e.g inviting user to a session are add them to the
                         * roster (but should not be done here at all)
                         */

                        if (rosterEntryElement != null && chatControl != null) {
                            String currentText = chatControl.getInputText();
                            chatControl.setInputText(currentText + "["
                                + rosterEntryElement.getJID().getBase() + "]");
                        }

                    }
                } else {
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.