Package org.olat.core.gui.control.dragdrop

Examples of org.olat.core.gui.control.dragdrop.DragSource


      if (di != null) {
        String dropid = ureq.getParameter("v");
        List accDrags = di.getAccepted();
        for (Iterator it_accdrags = accDrags.iterator(); it_accdrags.hasNext();) {
          Draggable dr = (Draggable) it_accdrags.next();
          DragSource ds = dr.find(dropid);
          if (ds != null) {
            // found!
            fireEvent(ureq, new DropEvent(ds, null));
            return;
          }
View Full Code Here


   * @param dragElementId
   * @return
   */
  protected DragSource draggableFind(String dragElementId) {
    Component toRender = getContent();
    DragSource ds = null;
    if (toRender != null) {
      String id = "o_c"+toRender.getDispatchID();
      if (dragElementId.equals(id)) {
        ds = new DragSource() {
 
          public Object getSource() {
            return Panel.this;
          }
 
View Full Code Here

TOP

Related Classes of org.olat.core.gui.control.dragdrop.DragSource

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.