Package org.eclipse.swt.dnd

Examples of org.eclipse.swt.dnd.TransferData


      return false;
    }
    boolean result = false;
    IStatus status = null;
    IResource[] resources = null;
    TransferData currentTransfer = getCurrentTransfer();
    if (LocalSelectionTransfer.getInstance().isSupportedType(
        currentTransfer)) {
      resources = getSelectedResources();
    } else if (ResourceTransfer.getInstance().isSupportedType(
        currentTransfer)) {
View Full Code Here


        Iterator iter = listeners.iterator();
        while (iter.hasNext()) {
            TransferDropTargetListener listener = (TransferDropTargetListener) iter
                    .next();
            TransferData dataType = getSupportedTransferType(event.dataTypes,
                    listener);
            if (dataType != null) {
                TransferData originalDataType = event.currentDataType;
                // set the data type supported by the drop listener
                event.currentDataType = dataType;
                if (listener.isEnabled(event)) {
                    // if the listener stays the same, set its previously determined 
                    // event detail
View Full Code Here

TOP

Related Classes of org.eclipse.swt.dnd.TransferData

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.