Package org.dyno.visual.swing.plugin.spi

Examples of org.dyno.visual.swing.plugin.spi.IDesignOperation.dragOver()


        adapter = ExtensionRegistry.createWidgetAdapter(popup);
      Point sp = new Point(p);
      SwingUtilities.convertPointToScreen(sp, jmenu);
      SwingUtilities.convertPointFromScreen(sp, popup);
      IDesignOperation operation = (IDesignOperation) adapter.getAdapter(IDesignOperation.class);
      operation.dragOver(sp);
      return true;
    } else {
      inside_popup=false;
      if (isDroppingPermitted()) {
        setDropStatus(DROPPING_PERMITTED);
View Full Code Here


              operation.dragEnter(hoveredAdapter.convertToLocal(p));
          } else if (compositeAdapter != null) {
            hoveredAdapter = compositeAdapter;
            IDesignOperation operation = (IDesignOperation) hoveredAdapter.getAdapter(IDesignOperation.class);
            if (operation != null) {
              operation.dragOver(hoveredAdapter.convertToLocal(p));
            }
          }
        }
      } else {
        if (hoveredAdapter != null) {
View Full Code Here

      }
    } else if (currentAdapters != null) {
      hoveredAdapter = currentAdapters.get(0);
      IDesignOperation operation = (IDesignOperation) hoveredAdapter.getAdapter(IDesignOperation.class);
      if (operation != null) {
        operation.dragOver(hoveredAdapter.convertToLocal(p));
      }
    }
    glassPlane.repaint();
  }
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.