Examples of handleDrop()


Examples of org.apache.sling.ide.eclipse.ui.nav.model.JcrNode.handleDrop()

            return Status.CANCEL_STATUS;
        }
        JcrNode node = (JcrNode)aTarget;
        if (LocalSelectionTransfer.getTransfer().isSupportedType(aDropAdapter.getCurrentTransfer())) {
            try {
                IStatus status = node.handleDrop(aDropTargetEvent.data, aDropTargetEvent.detail);
                if (!status.isOK()) {
                    final String message = status.getMessage();
                    if (message!=null && message.trim().length()>0) {
                        StatusLineUtils.setErrorMessage(5000, message);
                    }
View Full Code Here

Examples of org.jdesktop.wonderland.client.jme.dnd.spi.DataFlavorHandlerSPI.handleDrop()

            for (DataFlavor dataFlavor : supportedFlavors) {
                // Check to see whether the handler will accept the drop,
                // if not just go into the next in the list
                DataFlavorHandlerSPI handler = getDataFlavorHandler(dataFlavor);
                if (handler.accept(dtde, dataFlavor) == true) {
                    handler.handleDrop(dtde, dataFlavor);
                    return;
                }
            }
        }
    }
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.