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

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


      DroppableImpl di = dragAndDropImpl.getDroppableImpl();
      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


  public DragAndDrop getDragAndDrop() {
    // a space saver, since only a few panels will support drag and drop.
    if (dragAndDropImpl == null) {
      dragAndDropImpl = new DragAndDropImpl(new DraggableCreator() {
        public Draggable createDraggable() {
          Draggable drag = new Draggable() {
            public List getContainerIds() {
              return Panel.this.draggableGetContainerIds();
            }

            public DragSource find(String dragElementId) {
View Full Code Here

TOP

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

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.