Package org.jdesktop.wonderland.client.contextmenu

Examples of org.jdesktop.wonderland.client.contextmenu.ContextMenuListener


                    // Also create and add a listener for context menu events
                    // to perform special processing right before the context
                    // menu is displayed
                    if (menuListener == null) {
                        menuListener = new ContextMenuListener() {

                            public void contextMenuDisplayed(
                                    ContextMenuEvent event) {
                                windowMenuDisplayed(event, contextMenuComp);
                            }
View Full Code Here


                ClientContext.getInputManager().postEvent(
                        new AvatarCollisionChangeRequestEvent(isCollisionResponse, isGravity));
            }
        });

        ctxListener = new ContextMenuListener() {
            public void contextMenuDisplayed(ContextMenuEvent event) {
                // only deal with invocations on AvatarCell
                if (!(event.getPrimaryCell() instanceof AvatarCell)) {
                    return;
                }
View Full Code Here

        voiceChatIcon = new ImageIcon(getClass().getResource(
                "/org/jdesktop/wonderland/modules/audiomanager/client/" +
                "resources/UserListChatVoice32x32.png"));
       
        ctxListener = new ContextMenuListener() {
            public void contextMenuDisplayed(ContextMenuEvent event) {
                // only deal with invocations on AvatarCell
                if (!(event.getPrimaryCell() instanceof AvatarCell)) {
                    return;
                }
View Full Code Here

TOP

Related Classes of org.jdesktop.wonderland.client.contextmenu.ContextMenuListener

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.