Package org.fusesource.ide.commons.ui.drop

Examples of org.fusesource.ide.commons.ui.drop.DropHandler


      DropTargetEvent aDropTargetEvent, Object aTarget) {
    if (aTarget != null && aTarget instanceof EndpointNode) {
      EndpointNode node = (EndpointNode)aTarget;
      Object data = aDropTargetEvent.data;
      if (isSupported(data)) {
        DropHandler dh = node.createDropHandler(aDropTargetEvent);
        dh.drop(aDropTargetEvent);
        return Status.OK_STATUS;
      }
    }     
    return Status.CANCEL_STATUS;
  }
View Full Code Here

TOP

Related Classes of org.fusesource.ide.commons.ui.drop.DropHandler

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.