Examples of TreeDragSource


Examples of com.extjs.gxt.ui.client.dnd.TreeDragSource

  }

  private final void addDragAndDrop(final TreeBinder<TreeNode> binder) {
    final Tree tree = binder.getTree();
    // D 'n' D:
    TreeDragSource dragSource = new TreeDragSource(binder);
    dragSource.addDNDListener(new DNDListener() {
      @SuppressWarnings("unchecked")
      public void dragStart(DNDEvent e) {
        List selection = (List) e.data;
        if (!isValid(selection)) {
          e.doit = false;
View Full Code Here

Examples of rex.graphics.dimensiontree.dnd.TreeDragSource

      q = new Query(_restrictions.getCubeName(), this);

      dimTree = new DimensionTree(_restrictions, _properties, _smd, q);


      ds = new TreeDragSource(dimTree.getTree(), DnDConstants.ACTION_COPY_OR_MOVE);
      rightPane = new JPanel(){
//         Image image = imageIcon.getImage();
//         Image grayImage = GrayFilter.createDisabledImage(image);
         {
            setOpaque(false);
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.