Package org.jdesktop.wonderland.client.jme.dnd

Examples of org.jdesktop.wonderland.client.jme.dnd.DragAndDropManager$DragAndDropManagerHolder


        JmeClientMain.getFrame().addToWindowMenu(paletteHUDMI, 6);

        // Register the handler for CellServerState flavors with the system-wide
        // drag and drop manager. When the preview icon is dragged from the Cell
        // Palette this handler creates an instance of the cell in the world.
        DragAndDropManager
          dndManager =
                DragAndDropManager.getDragAndDropManager();
       
        dndManager.registerDataFlavorHandler(dndHandler);
    }
View Full Code Here


    protected void deactivate() {
        // deactivate
        JmeClientMain.getFrame().removeFromInsertMenu(paletteMI);
        JmeClientMain.getFrame().removeFromWindowMenu(paletteHUDMI);

        DragAndDropManager
          dndManager =
                DragAndDropManager.getDragAndDropManager();
       
        dndManager.unregisterDataFlavorHandler(dndHandler);
    }
View Full Code Here

TOP

Related Classes of org.jdesktop.wonderland.client.jme.dnd.DragAndDropManager$DragAndDropManagerHolder

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.