Package org.openquark.gems.client

Examples of org.openquark.gems.client.SingleGemEntityDataFlavor


        Gem.PartInput input = (Gem.PartInput)userObject;
        for (final DataFlavor flavor : flavors) {
           
            if (flavor.equals(SingleGemEntityDataFlavor.getSingleGemEntityDataFlavor())) {

                SingleGemEntityDataFlavor entityDataFlavor = (SingleGemEntityDataFlavor)flavor;
                AutoburnLogic.AutoburnUnifyStatus unifyStatus = tableTopExplorer.getExplorerOwner().canConnect(entityDataFlavor.getGemEntity(), input);
               
                if (unifyStatus.isAutoConnectable()) {
                    dropTargetDragEvent.acceptDrag(DnDConstants.ACTION_MOVE);
                } else {
                    dropTargetDragEvent.rejectDrag();  
View Full Code Here

TOP

Related Classes of org.openquark.gems.client.SingleGemEntityDataFlavor

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.